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.
Feature/cplat 2021 10 01 (Azure#17548)
* Feature/cplat 2021 10 03 (Azure#16512) * update new api version branch with base * change 2021-10-03 to 2021-10-01 * Update readme.md * fix folder structure * add community gallery * Feature/cplat 2021 10 03 (Azure#16512) * update new api version branch with base * change 2021-10-03 to 2021-10-01 * Update readme.md * fix folder structure * add community gallery * remove sharedGallery and communityGallery * Gallery 10-01 change (community gallery, CVM) (Azure#16824) * add new api version 2020-09-30 for gallery.json * add support for api change, sharing profile related * update, change post to patch * fix model validation error * fix typo * add shared gallery api * update * fix typo * update * update * update * chagne new api version to preview * update readme.md and nit * remove some required field and make groups readonly * add swagger support for Grace's and Tim's work * error fix * error fix * change api version name to 2020-09-30 withour 'preview' * update * fix typo * address pr comment * set modelAsString to true for gallery sharing-related enum * update, fix merge * remove duplicate entry * shared gallery, change id to identifier.uniqueId * fix typo * update, remove x-ms-azure-resource for shared gallery * change name of Permissions to avoid SDK code build error * update * add new line * correct reset * update * save * update * fix * update * update * update * resolve CI error * update * Edge zone (Azure#17097) * added target extended locations to the caps gallery schema and added an example file * fixed a comma * Update readme.md * Rename specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/gallery/CreateOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocations.json to specification/compute/resource-manager/Microsoft.Compute/stable/2021-10-01/examples/gallery/CreateOrUpdateASimpleGalleryImageVersionWithTargetExtendedLocations.json * Update readme.md * update * address comment * resolve CI Co-authored-by: Andrew Sager <asager@microsoft.com> Co-authored-by: Theodore Chang <thchan@microsoft.com> * save (Azure#17600) Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com> Co-authored-by: Andrew Sager <asager@microsoft.com>
- Loading branch information
1 parent
b1159f1
commit 6d4c727
Showing
48 changed files
with
6,879 additions
and
1 deletion.
There are no files selected for viewing
71 changes: 71 additions & 0 deletions
71
...r/Microsoft.Compute/stable/2021-10-01/examples/gallery/AddToSharingProfileInAGallery.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,71 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-10-01", | ||
"galleryName": "myGalleryName", | ||
"sharingUpdate": { | ||
"operationType": "Add", | ||
"groups": [ | ||
{ | ||
"type": "Subscriptions", | ||
"ids": [ | ||
"34a4ab42-0d72-47d9-bd1a-aed207386dac", | ||
"380fd389-260b-41aa-bad9-0a83108c370b" | ||
] | ||
}, | ||
{ | ||
"type": "AADTenants", | ||
"ids": [ | ||
"c24c76aa-8897-4027-9b03-8f7928b54ff6" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"operationType": "Add", | ||
"groups": [ | ||
{ | ||
"type": "Subscriptions", | ||
"ids": [ | ||
"34a4ab42-0d72-47d9-bd1a-aed207386dac", | ||
"380fd389-260b-41aa-bad9-0a83108c370b" | ||
] | ||
}, | ||
{ | ||
"type": "AADTenants", | ||
"ids": [ | ||
"c24c76aa-8897-4027-9b03-8f7928b54ff6" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/share?api-version=2021-10-01" | ||
}, | ||
"body": { | ||
"operationType": "Add", | ||
"groups": [ | ||
{ | ||
"type": "Subscriptions", | ||
"ids": [ | ||
"34a4ab42-0d72-47d9-bd1a-aed207386dac", | ||
"380fd389-260b-41aa-bad9-0a83108c370b" | ||
] | ||
}, | ||
{ | ||
"type": "AADTenants", | ||
"ids": [ | ||
"c24c76aa-8897-4027-9b03-8f7928b54ff6" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
...manager/Microsoft.Compute/stable/2021-10-01/examples/gallery/CreateACommunityGallery.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,91 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-10-01", | ||
"galleryName": "myGalleryName", | ||
"gallery": { | ||
"location": "West US", | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Creating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating", | ||
"sharingProfile": { | ||
"permissions": "Community", | ||
"communityGalleryInfo": { | ||
"publisherUri": "uri", | ||
"publisherContact": "pir@microsoft.com", | ||
"eula": "eula", | ||
"publicNamePrefix": "PirPublic" | ||
} | ||
} | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...er/Microsoft.Compute/stable/2021-10-01/examples/gallery/CreateOrUpdateASimpleGallery.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,55 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-10-01", | ||
"galleryName": "myGalleryName", | ||
"gallery": { | ||
"location": "West US", | ||
"properties": { | ||
"description": "This is the gallery description." | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Creating" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery description.", | ||
"identifier": { | ||
"uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
}, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryName" | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...t.Compute/stable/2021-10-01/examples/gallery/CreateOrUpdateASimpleGalleryApplication.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,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2021-10-01", | ||
"galleryName": "myGalleryName", | ||
"galleryApplicationName": "myGalleryApplicationName", | ||
"galleryApplication": { | ||
"location": "West US", | ||
"properties": { | ||
"description": "This is the gallery application description.", | ||
"eula": "This is the gallery application EULA.", | ||
"privacyStatementUri": "myPrivacyStatementUri}", | ||
"releaseNoteUri": "myReleaseNoteUri", | ||
"supportedOSType": "Windows" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery application description.", | ||
"eula": "This is the gallery application EULA.", | ||
"privacyStatementUri": "myPrivacyStatementUri}", | ||
"releaseNoteUri": "myReleaseNoteUri", | ||
"supportedOSType": "Windows" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryApplicationName", | ||
"type": "Microsoft.Compute/galleries", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery application description.", | ||
"eula": "This is the gallery application EULA.", | ||
"privacyStatementUri": "myPrivacyStatementUri}", | ||
"releaseNoteUri": "myReleaseNoteUri", | ||
"supportedOSType": "Windows" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryApplicationName", | ||
"type": "Microsoft.Compute/galleries", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" | ||
} | ||
}, | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"description": "This is the gallery application description.", | ||
"eula": "This is the gallery application EULA.", | ||
"privacyStatementUri": "myPrivacyStatementUri}", | ||
"releaseNoteUri": "myReleaseNoteUri", | ||
"supportedOSType": "Windows" | ||
}, | ||
"location": "West US", | ||
"name": "myGalleryApplicationName", | ||
"type": "Microsoft.Compute/galleries", | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.