Skip to content

Commit b2a1ea6

Browse files
laurent-micLeiWang3
authored andcommitted
[PowerBIDedicated] Elaborate description and examples on capacity mode (Azure#16131)
* Elaborate description and exampleson capacity mode * PR fixes * Revert changes for 2017 version
1 parent dd3f3e5 commit b2a1ea6

File tree

2 files changed

+94
-1
lines changed

2 files changed

+94
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"dedicatedCapacityName": "azsdktest",
6+
"api-version": "2021-01-01",
7+
"capacityUpdateParameters": {
8+
"sku": {
9+
"name": "A1",
10+
"tier": "PBIE_Azure"
11+
},
12+
"tags": {
13+
"testKey": "testValue"
14+
},
15+
"properties": {
16+
"mode": "Gen2"
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"headers": {},
23+
"body": {
24+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
25+
"location": "West US",
26+
"name": "azsdktest",
27+
"properties": {
28+
"administration": {
29+
"members": [
30+
31+
32+
]
33+
},
34+
"mode": "Gen2",
35+
"provisioningState": "Provisioning",
36+
"state": "Provisioning"
37+
},
38+
"sku": {
39+
"name": "A1",
40+
"tier": "PBIE_Azure"
41+
},
42+
"tags": {
43+
"testKey": "testValue"
44+
},
45+
"systemData": {
46+
"createdBy": "user1",
47+
"createdByType": "User",
48+
"createdAt": "2021-01-01T00:00:19.1234567Z",
49+
"lastModifiedBy": "user2",
50+
"lastModifiedByType": "User",
51+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
52+
}
53+
}
54+
},
55+
"202": {
56+
"headers": {},
57+
"body": {
58+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
59+
"location": "West US",
60+
"name": "azsdktest",
61+
"properties": {
62+
"administration": {
63+
"members": [
64+
65+
66+
]
67+
},
68+
"mode": "Gen2",
69+
"provisioningState": "Provisioning",
70+
"state": "Provisioning"
71+
},
72+
"sku": {
73+
"name": "A1",
74+
"tier": "PBIE_Azure"
75+
},
76+
"tags": {
77+
"testKey": "testValue"
78+
},
79+
"systemData": {
80+
"createdBy": "user1",
81+
"createdByType": "User",
82+
"createdAt": "2021-01-01T00:00:19.1234567Z",
83+
"lastModifiedBy": "user2",
84+
"lastModifiedByType": "User",
85+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
86+
}
87+
}
88+
}
89+
}
90+
}

specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/stable/2021-01-01/powerbidedicated.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@
204204
"x-ms-examples": {
205205
"Update capacity parameters": {
206206
"$ref": "./examples/updateCapacity.json"
207+
},
208+
"Update capacity to Generation 2": {
209+
"$ref": "./examples/updateToGen2.json"
207210
}
208211
},
209212
"tags": [
@@ -857,7 +860,7 @@
857860
"description": "A collection of Dedicated capacity administrators"
858861
},
859862
"mode": {
860-
"description": "The capacity mode.",
863+
"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)",
861864
"type": "string",
862865
"enum": [
863866
"Gen1",

0 commit comments

Comments
 (0)