CapacityDetails

Represents an instance of a Dedicated Capacity resource. API Version: 2021-01-01.

Example Usage

Create capacity

using System.Collections.Generic;
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/go/azure/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 pulumi
import pulumi_azure_native as azure_native

capacity_details = azure_native.powerbidedicated.CapacityDetails("capacityDetails",
    administration=azure_native.powerbidedicated.DedicatedCapacityAdministratorsArgs(
        members=[
            "azsdktest@microsoft.com",
            "azsdktest2@microsoft.com",
        ],
    ),
    dedicated_capacity_name="azsdktest",
    location="West US",
    resource_group_name="TestRG",
    sku=azure_native.powerbidedicated.CapacitySkuArgs(
        name="A1",
        tier="PBIE_Azure",
    ),
    tags={
        "testKey": "testValue",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const capacityDetails = new azure_native.powerbidedicated.CapacityDetails("capacityDetails", {
    administration: {
        members: [
            "azsdktest@microsoft.com",
            "azsdktest2@microsoft.com",
        ],
    },
    dedicatedCapacityName: "azsdktest",
    location: "West US",
    resourceGroupName: "TestRG",
    sku: {
        name: "A1",
        tier: "PBIE_Azure",
    },
    tags: {
        testKey: "testValue",
    },
});
resources:
  capacityDetails:
    type: azure-native:powerbidedicated:CapacityDetails
    properties:
      administration:
        members:
          - azsdktest@microsoft.com
          - azsdktest2@microsoft.com
      dedicatedCapacityName: azsdktest
      location: West US
      resourceGroupName: TestRG
      sku:
        name: A1
        tier: PBIE_Azure
      tags:
        testKey: testValue

Create CapacityDetails Resource

new CapacityDetails(name: string, args: CapacityDetailsArgs, opts?: CustomResourceOptions);
@overload
def CapacityDetails(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    administration: Optional[DedicatedCapacityAdministratorsArgs] = None,
                    dedicated_capacity_name: Optional[str] = None,
                    location: Optional[str] = None,
                    mode: Optional[Union[str, Mode]] = None,
                    resource_group_name: Optional[str] = None,
                    sku: Optional[CapacitySkuArgs] = None,
                    system_data: Optional[SystemDataArgs] = None,
                    tags: Optional[Mapping[str, str]] = None)
@overload
def CapacityDetails(resource_name: str,
                    args: CapacityDetailsArgs,
                    opts: Optional[ResourceOptions] = None)
func NewCapacityDetails(ctx *Context, name string, args CapacityDetailsArgs, opts ...ResourceOption) (*CapacityDetails, error)
public CapacityDetails(string name, CapacityDetailsArgs args, CustomResourceOptions? opts = null)
public CapacityDetails(String name, CapacityDetailsArgs args)
public CapacityDetails(String name, CapacityDetailsArgs args, CustomResourceOptions options)
type: azure-native:powerbidedicated:CapacityDetails
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CapacityDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CapacityDetailsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CapacityDetailsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CapacityDetailsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CapacityDetailsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CapacityDetails Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CapacityDetails resource accepts the following input properties:

ResourceGroupName string

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.

Sku Pulumi.AzureNative.PowerBIDedicated.Inputs.CapacitySkuArgs

The SKU of the PowerBI Dedicated capacity resource.

Administration Pulumi.AzureNative.PowerBIDedicated.Inputs.DedicatedCapacityAdministratorsArgs

A collection of Dedicated capacity administrators

DedicatedCapacityName string

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

Location string

Location of the PowerBI Dedicated resource.

Mode string | Pulumi.AzureNative.PowerBIDedicated.Mode

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

SystemData Pulumi.AzureNative.PowerBIDedicated.Inputs.SystemDataArgs

Metadata pertaining to creation and last modification of the resource.

Tags Dictionary<string, string>

Key-value pairs of additional resource provisioning properties.

ResourceGroupName string

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.

Sku CapacitySkuArgs

The SKU of the PowerBI Dedicated capacity resource.

Administration DedicatedCapacityAdministratorsArgs

A collection of Dedicated capacity administrators

DedicatedCapacityName string

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

Location string

Location of the PowerBI Dedicated resource.

Mode string | Mode

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

SystemData SystemDataArgs

Metadata pertaining to creation and last modification of the resource.

Tags map[string]string

Key-value pairs of additional resource provisioning properties.

resourceGroupName String

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.

sku CapacitySkuArgs

The SKU of the PowerBI Dedicated capacity resource.

administration DedicatedCapacityAdministratorsArgs

A collection of Dedicated capacity administrators

dedicatedCapacityName String

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

location String

Location of the PowerBI Dedicated resource.

mode String | Mode

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

systemData SystemDataArgs

Metadata pertaining to creation and last modification of the resource.

tags Map<String,String>

Key-value pairs of additional resource provisioning properties.

resourceGroupName string

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.

sku CapacitySkuArgs

The SKU of the PowerBI Dedicated capacity resource.

administration DedicatedCapacityAdministratorsArgs

A collection of Dedicated capacity administrators

dedicatedCapacityName string

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

location string

Location of the PowerBI Dedicated resource.

mode string | Mode

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

systemData SystemDataArgs

Metadata pertaining to creation and last modification of the resource.

tags {[key: string]: string}

Key-value pairs of additional resource provisioning properties.

resource_group_name str

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.

sku CapacitySkuArgs

The SKU of the PowerBI Dedicated capacity resource.

administration DedicatedCapacityAdministratorsArgs

A collection of Dedicated capacity administrators

dedicated_capacity_name str

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

location str

Location of the PowerBI Dedicated resource.

mode str | Mode

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

system_data SystemDataArgs

Metadata pertaining to creation and last modification of the resource.

tags Mapping[str, str]

Key-value pairs of additional resource provisioning properties.

resourceGroupName String

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.

sku Property Map

The SKU of the PowerBI Dedicated capacity resource.

administration Property Map

A collection of Dedicated capacity administrators

dedicatedCapacityName String

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

location String

Location of the PowerBI Dedicated resource.

mode String | "Gen1" | "Gen2"

Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

tags Map<String>

Key-value pairs of additional resource provisioning properties.

Outputs

All input properties are implicitly available as output properties. Additionally, the CapacityDetails resource produces the following output properties:

FriendlyName string

Capacity name

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the PowerBI Dedicated resource.

ProvisioningState string

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

State string

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

TenantId string

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

Type string

The type of the PowerBI Dedicated resource.

FriendlyName string

Capacity name

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the PowerBI Dedicated resource.

ProvisioningState string

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

State string

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

TenantId string

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

Type string

The type of the PowerBI Dedicated resource.

friendlyName String

Capacity name

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the PowerBI Dedicated resource.

provisioningState String

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

state String

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

tenantId String

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

type String

The type of the PowerBI Dedicated resource.

friendlyName string

Capacity name

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the PowerBI Dedicated resource.

provisioningState string

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

state string

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

tenantId string

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

type string

The type of the PowerBI Dedicated resource.

friendly_name str

Capacity name

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the PowerBI Dedicated resource.

provisioning_state str

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

state str

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

tenant_id str

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

type str

The type of the PowerBI Dedicated resource.

friendlyName String

Capacity name

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the PowerBI Dedicated resource.

provisioningState String

The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.

state String

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

tenantId String

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

type String

The type of the PowerBI Dedicated resource.

Supporting Types

CapacitySku

Name string

Name of the SKU level.

Capacity int

The capacity of the SKU.

Tier string | Pulumi.AzureNative.PowerBIDedicated.CapacitySkuTier

The name of the Azure pricing tier to which the SKU applies.

Name string

Name of the SKU level.

Capacity int

The capacity of the SKU.

Tier string | CapacitySkuTier

The name of the Azure pricing tier to which the SKU applies.

name String

Name of the SKU level.

capacity Integer

The capacity of the SKU.

tier String | CapacitySkuTier

The name of the Azure pricing tier to which the SKU applies.

name string

Name of the SKU level.

capacity number

The capacity of the SKU.

tier string | CapacitySkuTier

The name of the Azure pricing tier to which the SKU applies.

name str

Name of the SKU level.

capacity int

The capacity of the SKU.

tier str | CapacitySkuTier

The name of the Azure pricing tier to which the SKU applies.

name String

Name of the SKU level.

capacity Number

The capacity of the SKU.

tier String | "PBIE_Azure" | "Premium" | "AutoPremiumHost"

The name of the Azure pricing tier to which the SKU applies.

CapacitySkuResponse

Name string

Name of the SKU level.

Capacity int

The capacity of the SKU.

Tier string

The name of the Azure pricing tier to which the SKU applies.

Name string

Name of the SKU level.

Capacity int

The capacity of the SKU.

Tier string

The name of the Azure pricing tier to which the SKU applies.

name String

Name of the SKU level.

capacity Integer

The capacity of the SKU.

tier String

The name of the Azure pricing tier to which the SKU applies.

name string

Name of the SKU level.

capacity number

The capacity of the SKU.

tier string

The name of the Azure pricing tier to which the SKU applies.

name str

Name of the SKU level.

capacity int

The capacity of the SKU.

tier str

The name of the Azure pricing tier to which the SKU applies.

name String

Name of the SKU level.

capacity Number

The capacity of the SKU.

tier String

The name of the Azure pricing tier to which the SKU applies.

CapacitySkuTier

PBIE_Azure
PBIE_Azure
Premium
Premium
AutoPremiumHost
AutoPremiumHost
CapacitySkuTier_PBIE_Azure
PBIE_Azure
CapacitySkuTierPremium
Premium
CapacitySkuTierAutoPremiumHost
AutoPremiumHost
PBIE_Azure
PBIE_Azure
Premium
Premium
AutoPremiumHost
AutoPremiumHost
PBIE_Azure
PBIE_Azure
Premium
Premium
AutoPremiumHost
AutoPremiumHost
PBI_E_AZURE
PBIE_Azure
PREMIUM
Premium
AUTO_PREMIUM_HOST
AutoPremiumHost
"PBIE_Azure"
PBIE_Azure
"Premium"
Premium
"AutoPremiumHost"
AutoPremiumHost

DedicatedCapacityAdministrators

Members List<string>

An array of administrator user identities.

Members []string

An array of administrator user identities.

members List<String>

An array of administrator user identities.

members string[]

An array of administrator user identities.

members Sequence[str]

An array of administrator user identities.

members List<String>

An array of administrator user identities.

DedicatedCapacityAdministratorsResponse

Members List<string>

An array of administrator user identities.

Members []string

An array of administrator user identities.

members List<String>

An array of administrator user identities.

members string[]

An array of administrator user identities.

members Sequence[str]

An array of administrator user identities.

members List<String>

An array of administrator user identities.

IdentityType

User
User
Application
Application
ManagedIdentity
ManagedIdentity
Key
Key
IdentityTypeUser
User
IdentityTypeApplication
Application
IdentityTypeManagedIdentity
ManagedIdentity
IdentityTypeKey
Key
User
User
Application
Application
ManagedIdentity
ManagedIdentity
Key
Key
User
User
Application
Application
ManagedIdentity
ManagedIdentity
Key
Key
USER
User
APPLICATION
Application
MANAGED_IDENTITY
ManagedIdentity
KEY
Key
"User"
User
"Application"
Application
"ManagedIdentity"
ManagedIdentity
"Key"
Key

Mode

Gen1
Gen1
Gen2
Gen2
ModeGen1
Gen1
ModeGen2
Gen2
Gen1
Gen1
Gen2
Gen2
Gen1
Gen1
Gen2
Gen2
GEN1
Gen1
GEN2
Gen2
"Gen1"
Gen1
"Gen2"
Gen2

SystemData

CreatedAt string

The timestamp of resource creation (UTC)

CreatedBy string

An identifier for the identity that created the resource

CreatedByType string | Pulumi.AzureNative.PowerBIDedicated.IdentityType

The type of identity that created the resource

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

An identifier for the identity that last modified the resource

LastModifiedByType string | Pulumi.AzureNative.PowerBIDedicated.IdentityType

The type of identity that last modified the resource

CreatedAt string

The timestamp of resource creation (UTC)

CreatedBy string

An identifier for the identity that created the resource

CreatedByType string | IdentityType

The type of identity that created the resource

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

An identifier for the identity that last modified the resource

LastModifiedByType string | IdentityType

The type of identity that last modified the resource

createdAt String

The timestamp of resource creation (UTC)

createdBy String

An identifier for the identity that created the resource

createdByType String | IdentityType

The type of identity that created the resource

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

An identifier for the identity that last modified the resource

lastModifiedByType String | IdentityType

The type of identity that last modified the resource

createdAt string

The timestamp of resource creation (UTC)

createdBy string

An identifier for the identity that created the resource

createdByType string | IdentityType

The type of identity that created the resource

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

An identifier for the identity that last modified the resource

lastModifiedByType string | IdentityType

The type of identity that last modified the resource

created_at str

The timestamp of resource creation (UTC)

created_by str

An identifier for the identity that created the resource

created_by_type str | IdentityType

The type of identity that created the resource

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

An identifier for the identity that last modified the resource

last_modified_by_type str | IdentityType

The type of identity that last modified the resource

createdAt String

The timestamp of resource creation (UTC)

createdBy String

An identifier for the identity that created the resource

createdByType String | "User" | "Application" | "ManagedIdentity" | "Key"

The type of identity that created the resource

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

An identifier for the identity that last modified the resource

lastModifiedByType String | "User" | "Application" | "ManagedIdentity" | "Key"

The type of identity that last modified the resource

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC)

CreatedBy string

An identifier for the identity that created the resource

CreatedByType string

The type of identity that created the resource

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

An identifier for the identity that last modified the resource

LastModifiedByType string

The type of identity that last modified the resource

CreatedAt string

The timestamp of resource creation (UTC)

CreatedBy string

An identifier for the identity that created the resource

CreatedByType string

The type of identity that created the resource

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

An identifier for the identity that last modified the resource

LastModifiedByType string

The type of identity that last modified the resource

createdAt String

The timestamp of resource creation (UTC)

createdBy String

An identifier for the identity that created the resource

createdByType String

The type of identity that created the resource

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

An identifier for the identity that last modified the resource

lastModifiedByType String

The type of identity that last modified the resource

createdAt string

The timestamp of resource creation (UTC)

createdBy string

An identifier for the identity that created the resource

createdByType string

The type of identity that created the resource

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

An identifier for the identity that last modified the resource

lastModifiedByType string

The type of identity that last modified the resource

created_at str

The timestamp of resource creation (UTC)

created_by str

An identifier for the identity that created the resource

created_by_type str

The type of identity that created the resource

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

An identifier for the identity that last modified the resource

last_modified_by_type str

The type of identity that last modified the resource

createdAt String

The timestamp of resource creation (UTC)

createdBy String

An identifier for the identity that created the resource

createdByType String

The type of identity that created the resource

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

An identifier for the identity that last modified the resource

lastModifiedByType String

The type of identity that last modified the resource

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/servers/azsdktest 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0