CapacityDetails

class CapacityDetails : KotlinCustomResource

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" },
},
});
});
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
})
}
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());
}
}

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}

Properties

Link copied to clipboard

A collection of Dedicated capacity administrators

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val friendlyName: Output<String>

Capacity name

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

Location of the PowerBI Dedicated resource.

Link copied to clipboard
val mode: Output<String>?

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
val name: Output<String>

The name of the PowerBI Dedicated resource.

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
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The SKU of the PowerBI Dedicated capacity resource.

Link copied to clipboard
val state: Output<String>

The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning.

Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value pairs of additional resource provisioning properties.

Link copied to clipboard
val tenantId: Output<String>

Tenant ID for the capacity. Used for creating Pro Plus capacity.

Link copied to clipboard
val type: Output<String>

The type of the PowerBI Dedicated resource.

Link copied to clipboard
val urn: Output<String>