Skip to content

Commit 1d53085

Browse files
cataggarthinkdavidDavid Becher
authored
add AVS 2021-06-01 API (#14215)
* add AVS 2021-06-01 API * add cmdlets custom word * rename ScriptCmdlet cmdletDescription to description (#14218) * Adding optional to the script parameter (#14437) Co-authored-by: David Becher <[email protected]> Co-authored-by: david becher <[email protected]> Co-authored-by: David Becher <[email protected]>
1 parent 3fb0e4e commit 1d53085

File tree

98 files changed

+10703
-20
lines changed

Some content is hidden

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

98 files changed

+10703
-20
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ clustername
357357
CMAF
358358
Cmdkey
359359
cmdlet
360+
cmdlets
360361
CMEK
361362
CMMI
362363
CNAME
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-06-01",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "hcx",
8+
"addon": {
9+
"properties": {
10+
"addonType": "HCX",
11+
"offer": "VMware MaaS Cloud Provider (Enterprise)"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
19+
"name": "hcx",
20+
"properties": {
21+
"addonType": "HCX",
22+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
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/hcx",
31+
"name": "hcx",
32+
"properties": {
33+
"addonType": "HCX",
34+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
35+
"provisioningState": "Updating"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
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-06-01",
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: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "vr",
8+
"addon": {
9+
"properties": {
10+
"addonType": "VR",
11+
"vrsCount": 1
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
19+
"name": "vr",
20+
"properties": {
21+
"addonType": "VR",
22+
"vrsCount": 1,
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/vr",
31+
"name": "vr",
32+
"properties": {
33+
"addonType": "VR",
34+
"vrsCount": 1,
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-06-01",
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-06-01",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "hcx"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
13+
"name": "hcx",
14+
"properties": {
15+
"addonType": "HCX",
16+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
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-06-01",
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: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01",
4+
"subscriptionId": "{subscription-id}",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "vr"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
13+
"name": "vr",
14+
"properties": {
15+
"addonType": "VR",
16+
"vrsCount": 1,
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-06-01",
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+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01",
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+
}

0 commit comments

Comments
 (0)