Skip to content

Commit f5bafbf

Browse files
leedouglascataggar
andauthored
Add addons to AVS 2020-07-17-preview (#12236)
* found missing AVS/privateclouds/addons commit, moving it to 2020-07-17-preview API from PR repo * fixed prettier errors * Fixed vladation warnings for x-ms-enum and missing description/title, related to addons * fixed validation error for missing systemData for addons responses * fixed prettier errors * fixed validation error for missing systemData for addons responses * systemData for any Resource * make sure systemData is readOnly * systemData needs to go in a new api version * suppress systemData error Co-authored-by: Cameron Taggart <[email protected]>
1 parent 1907b81 commit f5bafbf

File tree

6 files changed

+418
-3
lines changed

6 files changed

+418
-3
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": "2020-07-17-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": "2020-07-17-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": "2020-07-17-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": "2020-07-17-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+
}

0 commit comments

Comments
 (0)