Capacities - Create
Provisions the specified Dedicated capacity based on the configuration specified in the request.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}?api-version=2021-01-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
dedicated
|
path | True |
string minLength: 3maxLength: 63 pattern: ^[a-z][a-z0-9]*$ |
The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string minLength: 1 |
The ID of the target subscription. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| location | True |
string |
The geo-location where the resource lives |
| sku | True |
The SKU of the PowerBI Dedicated capacity resource. |
|
| properties.administration |
A collection of Dedicated capacity administrators |
||
| properties.mode |
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More |
||
| tags |
object |
Resource tags. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
Resource 'DedicatedCapacity' update operation succeeded |
|
| 201 Created |
Resource 'DedicatedCapacity' create operation succeeded Headers
|
|
| Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
Create capacity
Sample request
PUT https://management.azure.com/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest?api-version=2021-01-01
{
"location": "West US",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
}
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
}
}
Sample response
{
"name": "azsdktest",
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
"location": "West US",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"systemData": {
"createdAt": "2021-01-01T00:00:19.1234567Z",
"createdBy": "user1",
"createdByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User"
},
"tags": {
"testKey": "testValue"
}
}
{
"name": "azsdktest",
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/servers/azsdktest",
"location": "West US",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"systemData": {
"createdAt": "2021-01-01T00:00:19.1234567Z",
"createdBy": "user1",
"createdByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User"
},
"tags": {
"testKey": "testValue"
}
}
Definitions
| Name | Description |
|---|---|
|
Capacity |
The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning. |
|
Capacity |
Represents the SKU name and Azure pricing tier for PowerBI Dedicated capacity resource. |
|
Capacity |
The name of the Azure pricing tier to which the SKU applies. |
|
created |
The type of identity that created the resource. |
|
Dedicated |
Represents an instance of a Dedicated Capacity resource. |
|
Dedicated |
An array of administrator user identities |
| Error |
The error object. |
|
Error |
The error object |
| Mode |
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More |
| State |
The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning. |
|
system |
Metadata pertaining to creation and last modification of the resource. |
CapacityProvisioningState
The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning.
| Value | Description |
|---|---|
| Deleting | |
| Succeeded | |
| Failed | |
| Paused | |
| Suspended | |
| Provisioning | |
| Updating | |
| Suspending | |
| Pausing | |
| Resuming | |
| Preparing | |
| Scaling |
CapacitySku
Represents the SKU name and Azure pricing tier for PowerBI Dedicated capacity resource.
| Name | Type | Description |
|---|---|---|
| capacity |
integer (int32) |
The capacity of the SKU. |
| name |
string |
Name of the SKU level. |
| tier |
The name of the Azure pricing tier to which the SKU applies. |
CapacitySkuTier
The name of the Azure pricing tier to which the SKU applies.
| Value | Description |
|---|---|
| PBIE_Azure | |
| Premium | |
| AutoPremiumHost |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DedicatedCapacity
Represents an instance of a Dedicated Capacity resource.
| Name | Type | Description |
|---|---|---|
| id |
string |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
The geo-location where the resource lives |
| name |
string |
The name of the resource |
| properties.administration |
A collection of Dedicated capacity administrators |
|
| properties.friendlyName |
string |
Capacity name |
| properties.mode |
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More |
|
| properties.provisioningState |
The current deployment state of PowerBI Dedicated resource. The provisioningState is to indicate states for resource provisioning. |
|
| properties.state |
The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning. |
|
| properties.tenantId |
string |
Tenant ID for the capacity. Used for creating Pro Plus capacity. |
| sku |
The SKU of the PowerBI Dedicated capacity resource. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| tags |
object |
Resource tags. |
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
DedicatedCapacityAdministrators
An array of administrator user identities
| Name | Type | Description |
|---|---|---|
| members |
string[] |
An array of administrator user identities. |
Error
The error object.
| Name | Type | Description |
|---|---|---|
| code |
string |
Error code |
| message |
string |
Error message indicating why the operation failed. |
ErrorResponse
The error object
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
Mode
Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. Learn More
| Value | Description |
|---|---|
| Gen1 | |
| Gen2 |
State
The current state of PowerBI Dedicated resource. The state is to indicate more states outside of resource provisioning.
| Value | Description |
|---|---|
| Deleting | |
| Succeeded | |
| Failed | |
| Paused | |
| Suspended | |
| Provisioning | |
| Updating | |
| Suspending | |
| Pausing | |
| Resuming | |
| Preparing | |
| Scaling |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |