Skip to content

Commit

Permalink
[PowerBIDedicated] Elaborate description and examples on capacity mode (
Browse files Browse the repository at this point in the history
#16131)

* Elaborate description and exampleson capacity mode

* PR fixes

* Revert changes for 2017 version
  • Loading branch information
laurent-mic committed Oct 11, 2021
1 parent a7e864e commit 0e27f38
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"parameters": {
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"resourceGroupName": "TestRG",
"dedicatedCapacityName": "azsdktest",
"api-version": "2021-01-01",
"capacityUpdateParameters": {
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"properties": {
"mode": "Gen2"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"mode": "Gen2",
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
},
"202": {
"headers": {},
"body": {
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
"location": "West US",
"name": "azsdktest",
"properties": {
"administration": {
"members": [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"
]
},
"mode": "Gen2",
"provisioningState": "Provisioning",
"state": "Provisioning"
},
"sku": {
"name": "A1",
"tier": "PBIE_Azure"
},
"tags": {
"testKey": "testValue"
},
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2021-01-01T00:00:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@
"x-ms-examples": {
"Update capacity parameters": {
"$ref": "./examples/updateCapacity.json"
},
"Update capacity to Generation 2": {
"$ref": "./examples/updateToGen2.json"
}
},
"tags": [
Expand Down Expand Up @@ -857,7 +860,7 @@
"description": "A collection of Dedicated capacity administrators"
},
"mode": {
"description": "The capacity mode.",
"description": "Specifies the generation of the Power BI Embedded capacity. If no value is specified, the default value 'Gen2' is used. [Learn More](https://docs.microsoft.com/power-bi/developer/embedded/power-bi-embedded-generation-2)",
"type": "string",
"enum": [
"Gen1",
Expand Down

0 comments on commit 0e27f38

Please sign in to comment.