This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
getCapacityDetails.go
44 lines (39 loc) · 1.97 KB
/
getCapacityDetails.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20171001
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func LookupCapacityDetails(ctx *pulumi.Context, args *LookupCapacityDetailsArgs, opts ...pulumi.InvokeOption) (*LookupCapacityDetailsResult, error) {
var rv LookupCapacityDetailsResult
err := ctx.Invoke("azure-nextgen:powerbidedicated/v20171001:getCapacityDetails", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type LookupCapacityDetailsArgs struct {
// The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
DedicatedCapacityName string `pulumi:"dedicatedCapacityName"`
// The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
ResourceGroupName string `pulumi:"resourceGroupName"`
}
// Represents an instance of a Dedicated Capacity resource.
type LookupCapacityDetailsResult struct {
// A collection of Dedicated capacity administrators
Administration *DedicatedCapacityAdministratorsResponse `pulumi:"administration"`
// Location of the PowerBI Dedicated resource.
Location string `pulumi:"location"`
// The name of the PowerBI Dedicated resource.
Name string `pulumi:"name"`
// The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.
ProvisioningState string `pulumi:"provisioningState"`
// The SKU of the PowerBI Dedicated resource.
Sku ResourceSkuResponse `pulumi:"sku"`
// The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning.
State string `pulumi:"state"`
// Key-value pairs of additional resource provisioning properties.
Tags map[string]string `pulumi:"tags"`
// The type of the PowerBI Dedicated resource.
Type string `pulumi:"type"`
}