azure-native.powerbi.WorkspaceCollection
Explore with Pulumi AI
Uses Azure REST API version 2016-01-29. In version 1.x of the Azure Native provider, it used API version 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} 
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 string
- The unique name of the resource.
- args WorkspaceCollectionArgs
- 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 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 string
- The unique name of the resource.
- args WorkspaceCollectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceCollectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.PowerBI.Inputs.AzureSkuArgs
    {
        Name = "string",
        Tier = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    WorkspaceCollectionName = "string",
});
example, err := powerbi.NewWorkspaceCollection(ctx, "workspaceCollectionResource", &powerbi.WorkspaceCollectionArgs{
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Sku: &powerbi.AzureSkuArgs{
		Name: pulumi.String("string"),
		Tier: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	WorkspaceCollectionName: pulumi.String("string"),
})
var workspaceCollectionResource = new WorkspaceCollection("workspaceCollectionResource", WorkspaceCollectionArgs.builder()
    .resourceGroupName("string")
    .location("string")
    .sku(AzureSkuArgs.builder()
        .name("string")
        .tier("string")
        .build())
    .tags(Map.of("string", "string"))
    .workspaceCollectionName("string")
    .build());
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")
const workspaceCollectionResource = new azure_native.powerbi.WorkspaceCollection("workspaceCollectionResource", {
    resourceGroupName: "string",
    location: "string",
    sku: {
        name: "string",
        tier: "string",
    },
    tags: {
        string: "string",
    },
    workspaceCollectionName: "string",
});
type: azure-native:powerbi:WorkspaceCollection
properties:
    location: string
    resourceGroupName: string
    sku:
        name: string
        tier: string
    tags:
        string: string
    workspaceCollectionName: string
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:
- ResourceGroup stringName 
- Azure resource group
- Location string
- Azure location
- Sku
Pulumi.Azure Native. Power BI. Inputs. Azure Sku 
- Dictionary<string, string>
- WorkspaceCollection stringName 
- Power BI Embedded Workspace Collection name
- ResourceGroup stringName 
- Azure resource group
- Location string
- Azure location
- Sku
AzureSku Args 
- map[string]string
- WorkspaceCollection stringName 
- Power BI Embedded Workspace Collection name
- resourceGroup StringName 
- Azure resource group
- location String
- Azure location
- sku
AzureSku 
- Map<String,String>
- workspaceCollection StringName 
- Power BI Embedded Workspace Collection name
- resourceGroup stringName 
- Azure resource group
- location string
- Azure location
- sku
AzureSku 
- {[key: string]: string}
- workspaceCollection stringName 
- Power BI Embedded Workspace Collection name
- resource_group_ strname 
- Azure resource group
- location str
- Azure location
- sku
AzureSku Args 
- Mapping[str, str]
- workspace_collection_ strname 
- Power BI Embedded Workspace Collection name
- resourceGroup StringName 
- Azure resource group
- location String
- Azure location
- sku Property Map
- Map<String>
- workspaceCollection StringName 
- 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
string | Pulumi.Azure Native. Power BI. Azure Sku Name 
- SKU name
- Tier
string | Pulumi.Azure Native. Power BI. Azure Sku Tier 
- SKU tier
- Name
string | AzureSku Name 
- SKU name
- Tier
string | AzureSku Tier 
- SKU tier
- name
String | AzureSku Name 
- SKU name
- tier
String | AzureSku Tier 
- SKU tier
- name
string | AzureSku Name 
- SKU name
- tier
string | AzureSku Tier 
- SKU tier
- name
str | AzureSku Name 
- SKU name
- tier
str | AzureSku Tier 
- SKU tier
- name String | "S1"
- SKU name
- tier String | "Standard"
- SKU tier
AzureSkuName, AzureSkuNameArgs      
- S1
- S1
- AzureSku Name S1 
- S1
- S1
- S1
- S1
- S1
- S1
- S1
- "S1"
- S1
AzureSkuResponse, AzureSkuResponseArgs      
AzureSkuTier, AzureSkuTierArgs      
- Standard
- Standard
- AzureSku Tier Standard 
- Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0