forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add addons to AVS 2020-07-17-preview (Azure#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]>
- Loading branch information
1 parent
37ea4ed
commit d0b44f7
Showing
6 changed files
with
418 additions
and
3 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...urce-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...are/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...mware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.