1. Packages
  2. Azure Native v2
  3. API Docs
  4. powerbi
  5. WorkspaceCollection
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.powerbi.WorkspaceCollection

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Azure REST API version: 2016-01-29. Prior API version in Azure Native 1.x: 2016-01-29.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:powerbi:WorkspaceCollection myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName} 
Copy

Create WorkspaceCollection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new WorkspaceCollection(name: string, args: WorkspaceCollectionArgs, opts?: CustomResourceOptions);
@overload
def WorkspaceCollection(resource_name: str,
                        args: WorkspaceCollectionArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def WorkspaceCollection(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        resource_group_name: Optional[str] = None,
                        location: Optional[str] = None,
                        sku: Optional[AzureSkuArgs] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        workspace_collection_name: Optional[str] = None)
func NewWorkspaceCollection(ctx *Context, name string, args WorkspaceCollectionArgs, opts ...ResourceOption) (*WorkspaceCollection, error)
public WorkspaceCollection(string name, WorkspaceCollectionArgs args, CustomResourceOptions? opts = null)
public WorkspaceCollection(String name, WorkspaceCollectionArgs args)
public WorkspaceCollection(String name, WorkspaceCollectionArgs args, CustomResourceOptions options)
type: azure-native:powerbi:WorkspaceCollection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

The following reference example uses placeholder values for all input properties.

var workspaceCollectionResource = new AzureNative.Powerbi.WorkspaceCollection("workspaceCollectionResource", new()
{
    ResourceGroupName = "string",
    Location = "string",
    Sku = 
    {
        { "name", "string" },
        { "tier", "string" },
    },
    Tags = 
    {
        { "string", "string" },
    },
    WorkspaceCollectionName = "string",
});
Copy
example, err := powerbi.NewWorkspaceCollection(ctx, "workspaceCollectionResource", &powerbi.WorkspaceCollectionArgs{
	ResourceGroupName: "string",
	Location:          "string",
	Sku: map[string]interface{}{
		"name": "string",
		"tier": "string",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
	WorkspaceCollectionName: "string",
})
Copy
var workspaceCollectionResource = new WorkspaceCollection("workspaceCollectionResource", WorkspaceCollectionArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .workspaceCollectionName("string")
    .build());
Copy
workspace_collection_resource = azure_native.powerbi.WorkspaceCollection("workspaceCollectionResource",
    resource_group_name=string,
    location=string,
    sku={
        name: string,
        tier: string,
    },
    tags={
        string: string,
    },
    workspace_collection_name=string)
Copy
const workspaceCollectionResource = new azure_native.powerbi.WorkspaceCollection("workspaceCollectionResource", {
    resourceGroupName: "string",
    location: "string",
    sku: {
        name: "string",
        tier: "string",
    },
    tags: {
        string: "string",
    },
    workspaceCollectionName: "string",
});
Copy
type: azure-native:powerbi:WorkspaceCollection
properties:
    location: string
    resourceGroupName: string
    sku:
        name: string
        tier: string
    tags:
        string: string
    workspaceCollectionName: string
Copy

WorkspaceCollection Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The WorkspaceCollection resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group
Location string
Azure location
Sku Pulumi.AzureNative.PowerBI.Inputs.AzureSku
Tags Dictionary<string, string>
WorkspaceCollectionName Changes to this property will trigger replacement. string
Power BI Embedded Workspace Collection name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group
Location string
Azure location
Sku AzureSkuArgs
Tags map[string]string
WorkspaceCollectionName Changes to this property will trigger replacement. string
Power BI Embedded Workspace Collection name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group
location String
Azure location
sku AzureSku
tags Map<String,String>
workspaceCollectionName Changes to this property will trigger replacement. String
Power BI Embedded Workspace Collection name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Azure resource group
location string
Azure location
sku AzureSku
tags {[key: string]: string}
workspaceCollectionName Changes to this property will trigger replacement. string
Power BI Embedded Workspace Collection name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Azure resource group
location str
Azure location
sku AzureSkuArgs
tags Mapping[str, str]
workspace_collection_name Changes to this property will trigger replacement. str
Power BI Embedded Workspace Collection name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Azure resource group
location String
Azure location
sku Property Map
tags Map<String>
workspaceCollectionName Changes to this property will trigger replacement. String
Power BI Embedded Workspace Collection name

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Properties object
Properties
Name string
Workspace collection name
Type string
Resource type
Id string
The provider-assigned unique ID for this managed resource.
Properties interface{}
Properties
Name string
Workspace collection name
Type string
Resource type
id String
The provider-assigned unique ID for this managed resource.
properties Object
Properties
name String
Workspace collection name
type String
Resource type
id string
The provider-assigned unique ID for this managed resource.
properties any
Properties
name string
Workspace collection name
type string
Resource type
id str
The provider-assigned unique ID for this managed resource.
properties Any
Properties
name str
Workspace collection name
type str
Resource type
id String
The provider-assigned unique ID for this managed resource.
properties Any
Properties
name String
Workspace collection name
type String
Resource type

Supporting Types

AzureSku
, AzureSkuArgs

Name This property is required. string | Pulumi.AzureNative.PowerBI.AzureSkuName
SKU name
Tier This property is required. string | Pulumi.AzureNative.PowerBI.AzureSkuTier
SKU tier
Name This property is required. string | AzureSkuName
SKU name
Tier This property is required. string | AzureSkuTier
SKU tier
name This property is required. String | AzureSkuName
SKU name
tier This property is required. String | AzureSkuTier
SKU tier
name This property is required. string | AzureSkuName
SKU name
tier This property is required. string | AzureSkuTier
SKU tier
name This property is required. str | AzureSkuName
SKU name
tier This property is required. str | AzureSkuTier
SKU tier
name This property is required. String | "S1"
SKU name
tier This property is required. String | "Standard"
SKU tier

AzureSkuName
, AzureSkuNameArgs

S1
S1
AzureSkuNameS1
S1
S1
S1
S1
S1
S1
S1
"S1"
S1

AzureSkuResponse
, AzureSkuResponseArgs

Name This property is required. string
SKU name
Tier This property is required. string
SKU tier
Name This property is required. string
SKU name
Tier This property is required. string
SKU tier
name This property is required. String
SKU name
tier This property is required. String
SKU tier
name This property is required. string
SKU name
tier This property is required. string
SKU tier
name This property is required. str
SKU name
tier This property is required. str
SKU tier
name This property is required. String
SKU name
tier This property is required. String
SKU tier

AzureSkuTier
, AzureSkuTierArgs

Standard
Standard
AzureSkuTierStandard
Standard
Standard
Standard
Standard
Standard
STANDARD
Standard
"Standard"
Standard

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi