CapacityDetailsArgs

data class CapacityDetailsArgs(val administration: Output<DedicatedCapacityAdministratorsArgs>? = null, val dedicatedCapacityName: Output<String>? = null, val location: Output<String>? = null, val mode: Output<Either<String, Mode>>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<CapacitySkuArgs>? = null, val systemData: Output<SystemDataArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<CapacityDetailsArgs>

Represents an instance of a Dedicated Capacity resource. 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 = "PBIE_Azure",
},
Tags =
{
{ "testKey", "testValue" },
},
});
});
package main
import (
powerbidedicated "github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated"
"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("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 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(Map.of("members",
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"))
.dedicatedCapacityName("azsdktest")
.location("West US")
.resourceGroupName("TestRG")
.sku(Map.ofEntries(
Map.entry("name", "A1"),
Map.entry("tier", "PBIE_Azure")
))
.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/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest

Constructors

Link copied to clipboard
constructor(administration: Output<DedicatedCapacityAdministratorsArgs>? = null, dedicatedCapacityName: Output<String>? = null, location: Output<String>? = null, mode: Output<Either<String, Mode>>? = null, resourceGroupName: Output<String>? = null, sku: Output<CapacitySkuArgs>? = null, systemData: Output<SystemDataArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard

A collection of Dedicated capacity administrators

Link copied to clipboard
val dedicatedCapacityName: Output<String>? = null

The name of the Dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.

Link copied to clipboard
val location: Output<String>? = null

Location of the PowerBI Dedicated resource.

Link copied to clipboard
val mode: Output<Either<String, Mode>>? = null

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 resourceGroupName: Output<String>? = null

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.

Link copied to clipboard
val sku: Output<CapacitySkuArgs>? = null

The SKU of the PowerBI Dedicated capacity resource.

Link copied to clipboard
val systemData: Output<SystemDataArgs>? = null

Metadata pertaining to creation and last modification of the resource.

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

Key-value pairs of additional resource provisioning properties.

Functions

Link copied to clipboard
open override fun toJava(): CapacityDetailsArgs