Skip to content

Commit 5015df2

Browse files
authored
AVS 2021-01-01-preview (#12879)
* use 2020-07-17-preview as base api * 2021-01-01-preview API changes * fix Java namespace & output-folder * add body to Datastores_Create * remove x-ms-azure-resource & properties suffix * fix Datastores_Create responses * "2021-01-01" to "2021-01-01-preview"
1 parent 8240593 commit 5015df2

File tree

76 files changed

+8479
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+8479
-2
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm",
8+
"addon": {
9+
"properties": {
10+
"addonType": "SRM",
11+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
19+
"name": "srm",
20+
"properties": {
21+
"addonType": "SRM",
22+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
23+
"provisioningState": "Succeeded"
24+
},
25+
"type": "Microsoft.AVS/privateClouds/addons"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
31+
"name": "srm",
32+
"properties": {
33+
"addonType": "SRM",
34+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
35+
"provisioningState": "Updating"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
13+
"name": "srm",
14+
"properties": {
15+
"addonType": "SRM",
16+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
14+
"name": "srm",
15+
"properties": {
16+
"addonType": "SRM",
17+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
18+
"provisioningState": "Succeeded"
19+
},
20+
"type": "Microsoft.AVS/privateClouds/addons"
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"authorizationName": "authorization1",
8+
"authorization": {}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
14+
"name": "authorization1",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
18+
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
19+
},
20+
"type": "Microsoft.AVS/privateClouds/authorizations"
21+
}
22+
},
23+
"201": {
24+
"body": {
25+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
26+
"name": "authorization1",
27+
"properties": {
28+
"provisioningState": "Updating"
29+
},
30+
"type": "Microsoft.AVS/privateClouds/authorizations"
31+
}
32+
}
33+
}
34+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"authorizationName": "authorization1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"authorizationName": "authorization1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
13+
"name": "authorization1",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
17+
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/authorizations"
20+
}
21+
}
22+
}
23+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": [
11+
{
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1",
13+
"name": "authorization1",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth",
17+
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/authorizations"
20+
}
21+
]
22+
}
23+
}
24+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1",
8+
"cluster": {
9+
"sku": {
10+
"name": "AV20"
11+
},
12+
"properties": {
13+
"clusterSize": 3
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
21+
"name": "cluster1",
22+
"sku": {
23+
"name": "AV20"
24+
},
25+
"properties": {
26+
"clusterSize": 3,
27+
"hosts": [
28+
"fakehost22.nyc1.kubernetes.center",
29+
"fakehost23.nyc1.kubernetes.center",
30+
"fakehost24.nyc1.kubernetes.center"
31+
],
32+
"provisioningState": "Succeeded"
33+
},
34+
"type": "Microsoft.AVS/privateClouds/clusters"
35+
}
36+
},
37+
"201": {
38+
"body": {
39+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/clusters/cluster1",
40+
"name": "cluster1",
41+
"sku": {
42+
"name": "AV20"
43+
},
44+
"properties": {
45+
"clusterSize": 3,
46+
"provisioningState": "Updating"
47+
},
48+
"type": "Microsoft.AVS/privateClouds/clusters"
49+
}
50+
}
51+
}
52+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-01-preview",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"clusterName": "cluster1"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}

0 commit comments

Comments
 (0)