Skip to content

Commit ab720a1

Browse files
david-msftShane Zou
andauthored
PowerBIDedicated - Add new API Version (#12244)
* Copy existing version to new directory * Update API Version * Introduce new SKU tier enum values * Fix linting issue - introduce required new default property SystemData * Update Readme.md (cherry picked from commit c434161) * update api version to right format * renamed folder * Add swagger file for new resource type Microsoft.PowerBIDedicated/autoScaleVCores * Update powerbidedicated.json Add Mode property * Update powerbidedicated.json Fix words Co-authored-by: Shane Zou <[email protected]>
1 parent 997de0f commit ab720a1

22 files changed

+2329
-2
lines changed

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

Lines changed: 460 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"location": "West US",
5+
"capacityParameters": {
6+
"name": "azsdktest",
7+
"type": "Microsoft.PowerBIDedicated/capacities"
8+
},
9+
"api-version": "2021-01-01"
10+
},
11+
"responses": {
12+
"200": {
13+
"headers": {},
14+
"body": {
15+
"nameAvailable": true
16+
}
17+
}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"vcoreName": "testvcore",
6+
"api-version": "2021-01-01",
7+
"vCoreParameters": {
8+
"sku": {
9+
"name": "AutoScale",
10+
"tier": "AutoScale",
11+
"capacity": 0
12+
},
13+
"tags": {
14+
"testKey": "testValue"
15+
},
16+
"location": "West US",
17+
"properties": {
18+
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
19+
"capacityLimit": 10
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"headers": {},
26+
"body": {
27+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore",
28+
"name": "testvcore",
29+
"location": "West US",
30+
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
31+
"sku": {
32+
"name": "AutoScale",
33+
"tier": "AutoScale",
34+
"capacity": 0
35+
},
36+
"properties": {
37+
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
38+
"capacityLimit": 10,
39+
"provisioningState": "Succeeded"
40+
},
41+
"tags": {
42+
"testKey": "testValue"
43+
},
44+
"systemData": {
45+
"createdBy": "app1",
46+
"createdByType": "Application",
47+
"createdAt": "2021-01-01T00:00:19.1234567Z",
48+
"lastModifiedBy": "app1",
49+
"lastModifiedByType": "Application",
50+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
51+
}
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"dedicatedCapacityName": "azsdktest",
6+
"api-version": "2021-01-01",
7+
"capacityParameters": {
8+
"sku": {
9+
"name": "A1",
10+
"tier": "PBIE_Azure"
11+
},
12+
"tags": {
13+
"testKey": "testValue"
14+
},
15+
"location": "West US",
16+
"properties": {
17+
"administration": {
18+
"members": [
19+
20+
21+
]
22+
}
23+
}
24+
}
25+
},
26+
"responses": {
27+
"200": {
28+
"headers": {},
29+
"body": {
30+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
31+
"location": "West US",
32+
"name": "azsdktest",
33+
"properties": {
34+
"administration": {
35+
"members": [
36+
37+
38+
]
39+
},
40+
"provisioningState": "Provisioning",
41+
"state": "Provisioning"
42+
},
43+
"sku": {
44+
"name": "A1",
45+
"tier": "PBIE_Azure"
46+
},
47+
"tags": {
48+
"testKey": "testValue"
49+
},
50+
"systemData": {
51+
"createdBy": "user1",
52+
"createdByType": "User",
53+
"createdAt": "2021-01-01T00:00:19.1234567Z",
54+
"lastModifiedBy": "user2",
55+
"lastModifiedByType": "User",
56+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
57+
}
58+
}
59+
},
60+
"201": {
61+
"headers": {},
62+
"body": {
63+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/servers/azsdktest",
64+
"location": "West US",
65+
"name": "azsdktest",
66+
"properties": {
67+
"administration": {
68+
"members": [
69+
70+
71+
]
72+
},
73+
"provisioningState": "Provisioning",
74+
"state": "Provisioning"
75+
},
76+
"sku": {
77+
"name": "A1",
78+
"tier": "PBIE_Azure"
79+
},
80+
"tags": {
81+
"testKey": "testValue"
82+
},
83+
"systemData": {
84+
"createdBy": "user1",
85+
"createdByType": "User",
86+
"createdAt": "2021-01-01T00:00:19.1234567Z",
87+
"lastModifiedBy": "user2",
88+
"lastModifiedByType": "User",
89+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
90+
}
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"vcoreName": "testvcore",
6+
"api-version": "2021-01-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"description": "OK."
12+
},
13+
"204": {
14+
"headers": {},
15+
"description": "No content."
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"dedicatedCapacityName": "azsdktest",
6+
"api-version": "2021-01-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"description": "OK."
12+
},
13+
"202": {
14+
"headers": {},
15+
"description": "Accepted."
16+
},
17+
"204": {
18+
"headers": {}
19+
}
20+
}
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"vcoreName": "testvcore",
6+
"api-version": "2021-01-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore",
13+
"name": "testvcore",
14+
"location": "West US",
15+
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
16+
"sku": {
17+
"name": "AutoScale",
18+
"tier": "AutoScale",
19+
"capacity": 0
20+
},
21+
"properties": {
22+
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
23+
"capacityLimit": 10,
24+
"provisioningState": "Succeeded"
25+
},
26+
"tags": {},
27+
"systemData": {
28+
"createdBy": "app1",
29+
"createdByType": "Application",
30+
"createdAt": "2021-01-01T00:00:19.1234567Z",
31+
"lastModifiedBy": "app1",
32+
"lastModifiedByType": "Application",
33+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
34+
}
35+
}
36+
}
37+
}
38+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"dedicatedCapacityName": "azsdktest",
6+
"api-version": "2021-01-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/capacities/azsdktest",
13+
"location": "West US",
14+
"name": "azsdktest",
15+
"properties": {
16+
"administration": {
17+
"members": [
18+
19+
]
20+
},
21+
"provisioningState": "Provisioning",
22+
"state": "Provisioning"
23+
},
24+
"sku": {
25+
"name": "A1",
26+
"tier": "PBIE_Azure"
27+
},
28+
"tags": {},
29+
"systemData": {
30+
"createdBy": "user1",
31+
"createdByType": "User",
32+
"createdAt": "2021-01-01T00:00:19.1234567Z",
33+
"lastModifiedBy": "user2",
34+
"lastModifiedByType": "User",
35+
"lastModifiedAt": "2021-01-01T00:00:19.1234567Z"
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
4+
"resourceGroupName": "TestRG",
5+
"api-version": "2021-01-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {},
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore1",
14+
"name": "testvcore1",
15+
"location": "West US",
16+
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
17+
"sku": {
18+
"name": "AutoScale",
19+
"tier": "AutoScale",
20+
"capacity": 5
21+
},
22+
"properties": {
23+
"capacityObjectId": "a28f00bd-5330-4572-88f1-fa883e074785",
24+
"capacityLimit": 10,
25+
"provisioningState": "Succeeded"
26+
},
27+
"tags": {
28+
"testKey": "testValue"
29+
}
30+
},
31+
{
32+
"id": "/subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.PowerBIDedicated/autoScaleVCores/testvcore2",
33+
"name": "testvcore2",
34+
"location": "West US",
35+
"type": "Microsoft.PowerBIDedicated/autoScaleVCores",
36+
"sku": {
37+
"name": "AutoScale",
38+
"tier": "AutoScale",
39+
"capacity": 0
40+
},
41+
"properties": {
42+
"capacityObjectId": "f59f226b-a313-4266-8768-a45961c2edbb",
43+
"capacityLimit": 10,
44+
"provisioningState": "Succeeded"
45+
},
46+
"tags": {
47+
"testKey": "testValue"
48+
}
49+
}
50+
]
51+
}
52+
}
53+
}
54+
}

0 commit comments

Comments
 (0)