Capacity Details
Represents an instance of a Dedicated Capacity resource. Uses Azure REST API version 2021-01-01. In version 2.x of the Azure Native provider, it used API version 2021-01-01.
Example Usage
Create capacity
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var capacityDetails = new AzureNative.PowerBIDedicated.CapacityDetails("capacityDetails", new()
{
Administration = new AzureNative.PowerBIDedicated.Inputs.DedicatedCapacityAdministratorsArgs
{
Members = new[]
{
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com",
},
},
DedicatedCapacityName = "azsdktest",
Location = "West US",
ResourceGroupName = "TestRG",
Sku = new AzureNative.PowerBIDedicated.Inputs.CapacitySkuArgs
{
Name = "A1",
Tier = AzureNative.PowerBIDedicated.CapacitySkuTier.PBIE_Azure,
},
Tags =
{
{ "testKey", "testValue" },
},
});
});
Content copied to clipboard
package main
import (
powerbidedicated "github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := powerbidedicated.NewCapacityDetails(ctx, "capacityDetails", &powerbidedicated.CapacityDetailsArgs{
Administration: &powerbidedicated.DedicatedCapacityAdministratorsArgs{
Members: pulumi.StringArray{
pulumi.String("azsdktest@microsoft.com"),
pulumi.String("azsdktest2@microsoft.com"),
},
},
DedicatedCapacityName: pulumi.String("azsdktest"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestRG"),
Sku: &powerbidedicated.CapacitySkuArgs{
Name: pulumi.String("A1"),
Tier: pulumi.String(powerbidedicated.CapacitySkuTier_PBIE_Azure),
},
Tags: pulumi.StringMap{
"testKey": pulumi.String("testValue"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.powerbidedicated.CapacityDetails;
import com.pulumi.azurenative.powerbidedicated.CapacityDetailsArgs;
import com.pulumi.azurenative.powerbidedicated.inputs.DedicatedCapacityAdministratorsArgs;
import com.pulumi.azurenative.powerbidedicated.inputs.CapacitySkuArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var capacityDetails = new CapacityDetails("capacityDetails", CapacityDetailsArgs.builder()
.administration(DedicatedCapacityAdministratorsArgs.builder()
.members(
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com")
.build())
.dedicatedCapacityName("azsdktest")
.location("West US")
.resourceGroupName("TestRG")
.sku(CapacitySkuArgs.builder()
.name("A1")
.tier("PBIE_Azure")
.build())
.tags(Map.of("testKey", "testValue"))
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:powerbidedicated:CapacityDetails azsdktest /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}
Content copied to clipboard
Properties
Link copied to clipboard
A collection of Dedicated capacity administrators
Link copied to clipboard
The Azure API version of the resource.
Link copied to clipboard
Capacity name
Link copied to clipboard
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More
Link copied to clipboard
The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The SKU of the PowerBI Dedicated capacity resource.
Link copied to clipboard
Metadata pertaining to creation and last modification of the resource.