azure-native.powerbi.WorkspaceCollection
Explore with Pulumi AI
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 =
{
{ "name", "string" },
{ "tier", "string" },
},
Tags =
{
{ "string", "string" },
},
WorkspaceCollectionName = "string",
});
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",
})
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());
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:
- Resource
Group stringName - Azure resource group
- Location string
- Azure location
- Sku
Pulumi.
Azure Native. Power BI. Inputs. Azure Sku - Dictionary<string, string>
- Workspace
Collection stringName - Power BI Embedded Workspace Collection name
- Resource
Group stringName - Azure resource group
- Location string
- Azure location
- Sku
Azure
Sku Args - map[string]string
- Workspace
Collection stringName - Power BI Embedded Workspace Collection name
- resource
Group StringName - Azure resource group
- location String
- Azure location
- sku
Azure
Sku - Map<String,String>
- workspace
Collection StringName - Power BI Embedded Workspace Collection name
- resource
Group stringName - Azure resource group
- location string
- Azure location
- sku
Azure
Sku - {[key: string]: string}
- workspace
Collection stringName - Power BI Embedded Workspace Collection name
- resource_
group_ strname - Azure resource group
- location str
- Azure location
- sku
Azure
Sku Args - Mapping[str, str]
- workspace_
collection_ strname - Power BI Embedded Workspace Collection name
- resource
Group StringName - Azure resource group
- location String
- Azure location
- sku Property Map
- Map<String>
- workspace
Collection 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 | Azure
Sku Name - SKU name
- Tier
string | Azure
Sku Tier - SKU tier
- name
String | Azure
Sku Name - SKU name
- tier
String | Azure
Sku Tier - SKU tier
- name
string | Azure
Sku Name - SKU name
- tier
string | Azure
Sku Tier - SKU tier
- name
str | Azure
Sku Name - SKU name
- tier
str | Azure
Sku Tier - SKU tier
- name String | "S1"
- SKU name
- tier String | "Standard"
- SKU tier
AzureSkuName, AzureSkuNameArgs
- S1
- S1
- Azure
Sku Name S1 - S1
- S1
- S1
- S1
- S1
- S1
- S1
- "S1"
- S1
AzureSkuResponse, AzureSkuResponseArgs
AzureSkuTier, AzureSkuTierArgs
- Standard
- Standard
- Azure
Sku Tier Standard - Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0