Skip to content

Commit

Permalink
Add addons to AVS 2020-07-17-preview (Azure#12236)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
2 people authored and josuh committed Jan 6, 2021
1 parent 37ea4ed commit d0b44f7
Show file tree
Hide file tree
Showing 6 changed files with 418 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "srm",
"addon": {
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
},
"201": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Updating"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "srm"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1",
"addonName": "srm"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2020-07-17-preview",
"subscriptionId": "{subscription-id}",
"resourceGroupName": "group1",
"privateCloudName": "cloud1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
"name": "srm",
"properties": {
"addonType": "SRM",
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
"provisioningState": "Succeeded"
},
"type": "Microsoft.AVS/privateClouds/addons"
}
]
}
}
}
}
Loading

0 comments on commit d0b44f7

Please sign in to comment.