-
Notifications
You must be signed in to change notification settings - Fork 5.8k
GalleryRP 2022-08-03 release branch #25524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6d00fad
copied over old api version
Sandido b602206
api version update
Sandido 1a4f2dd
modelvalidation and br cleanup
Sandido 7a11a69
CVM TDX and Custom UEFI Keys (#25661)
Sandido d22af1c
Add 'artifactTags' and 'disclaimer' field for shared gallery and comm…
Sandido d7076e7
'update' (#25769)
kangsun-ctrl 79a8753
uri format (#25794)
Sandido de0750e
Address ARM reviewer comment for community gallery (#25803)
kangsun-ctrl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
615 changes: 615 additions & 0 deletions
615
...pute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-08-03/communityGallery.json
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...stable/2022-08-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_Get.json
This file contains hidden or 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,37 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "location": "myLocation", | ||
| "api-version": "2022-08-03", | ||
| "publicGalleryName": "publicGalleryName", | ||
| "galleryImageName": "myGalleryImageName", | ||
| "galleryImageVersionName": "myGalleryImageVersionName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "publishedDate": "2018-03-20T09:12:28Z", | ||
| "endOfLifeDate": "2022-03-20T09:12:28Z", | ||
| "excludeFromLatest": false, | ||
| "storageProfile": { | ||
| "osDiskImage": { | ||
| "diskSizeGB": 29, | ||
| "hostCaching": "None" | ||
| } | ||
| }, | ||
| "artifactTags": { | ||
| "ShareTag-CommunityGallery": "CommunityGallery" | ||
| }, | ||
| "disclaimer": "https://test-uri.com" | ||
| }, | ||
| "location": "myLocation", | ||
| "name": "myGalleryImageVersionName", | ||
| "type": "Microsoft.Compute/locations/communityGalleryImageVersion", | ||
| "identifier": { | ||
| "uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
40 changes: 40 additions & 0 deletions
40
...table/2022-08-03/examples/communityGalleryExamples/CommunityGalleryImageVersion_List.json
This file contains hidden or 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,40 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "location": "myLocation", | ||
| "api-version": "2022-08-03", | ||
| "publicGalleryName": "publicGalleryName", | ||
| "galleryImageName": "myGalleryImageName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "properties": { | ||
| "publishedDate": "2018-03-20T09:12:28Z", | ||
| "endOfLifeDate": "2022-03-20T09:12:28Z", | ||
| "excludeFromLatest": false, | ||
| "storageProfile": { | ||
| "osDiskImage": { | ||
| "diskSizeGB": 29, | ||
| "hostCaching": "None" | ||
| } | ||
| }, | ||
| "artifactTags": { | ||
| "ShareTag-CommunityGallery": "CommunityGallery" | ||
| }, | ||
| "disclaimer": "https://test-uri.com" | ||
| }, | ||
| "location": "myLocation", | ||
| "name": "myGalleryImageVersionName", | ||
| "identifier": { | ||
| "uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName" | ||
| } | ||
| } | ||
| } | ||
| } |
37 changes: 37 additions & 0 deletions
37
...leryRP/stable/2022-08-03/examples/communityGalleryExamples/CommunityGalleryImage_Get.json
This file contains hidden or 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,37 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "location": "myLocation", | ||
| "api-version": "2022-08-03", | ||
| "publicGalleryName": "publicGalleryName", | ||
| "galleryImageName": "myGalleryImageName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "osType": "Windows", | ||
| "osState": "Generalized", | ||
| "hyperVGeneration": "V1", | ||
| "identifier": { | ||
| "publisher": "myPublisherName", | ||
| "offer": "myOfferName", | ||
| "sku": "mySkuName" | ||
| }, | ||
| "privacyStatementUri": "https://test-uri.com", | ||
| "eula": "https://test-uri.com", | ||
| "artifactTags": { | ||
| "ShareTag-CommunityGallery": "CommunityGallery" | ||
| }, | ||
| "disclaimer": "https://test-uri.com" | ||
| }, | ||
| "location": "myLocation", | ||
| "name": "myGalleryImageName", | ||
| "type": "Microsoft.Compute/locations/communityGalleryImage", | ||
| "identifier": { | ||
| "uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
38 changes: 38 additions & 0 deletions
38
...eryRP/stable/2022-08-03/examples/communityGalleryExamples/CommunityGalleryImage_List.json
This file contains hidden or 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,38 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "location": "myLocation", | ||
| "api-version": "2022-08-03", | ||
| "publicGalleryName": "publicGalleryName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "properties": { | ||
| "osType": "Windows", | ||
| "osState": "Generalized", | ||
| "hyperVGeneration": "V1", | ||
| "identifier": { | ||
| "publisher": "myPublisherName", | ||
| "offer": "myOfferName", | ||
| "sku": "mySkuName" | ||
| }, | ||
| "artifactTags": { | ||
| "ShareTag-CommunityGallery": "CommunityGallery" | ||
| }, | ||
| "disclaimer": "https://test-uri.com" | ||
| }, | ||
| "location": "myLocation", | ||
| "name": "myGalleryImageName", | ||
| "identifier": { | ||
| "uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName" | ||
| } | ||
| } | ||
| ], | ||
| "nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName" | ||
| } | ||
| } | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
...e/GalleryRP/stable/2022-08-03/examples/communityGalleryExamples/CommunityGallery_Get.json
This file contains hidden or 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,35 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "location": "myLocation", | ||
| "api-version": "2022-08-03", | ||
| "publicGalleryName": "publicGalleryName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "location": "myLocation", | ||
| "name": "publicGalleryName", | ||
| "type": "Microsoft.Compute/locations/communityGallery", | ||
| "identifier": { | ||
| "uniqueId": "/CommunityGalleries/publicGalleryName" | ||
| }, | ||
| "properties": { | ||
| "artifactTags": { | ||
| "ShareTag-CommunityGallery": "CommunityGallery" | ||
| }, | ||
| "disclaimer": "https://test-uri.com", | ||
| "communityMetadata": { | ||
| "publisherUri": "https://test-uri.com", | ||
| "publisherContact": "sameple@email.com", | ||
| "eula": "https://test-uri.com", | ||
| "publicNames": [ | ||
| "prefix-xxxxx" | ||
| ], | ||
| "privacyStatementUri": "https://test-uri.com" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
94 changes: 94 additions & 0 deletions
94
...Compute/GalleryRP/stable/2022-08-03/examples/galleryExamples/CommunityGallery_Create.json
This file contains hidden or 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,94 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2022-08-03", | ||
| "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": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
| "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": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
| "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": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName", | ||
| "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" | ||
| } | ||
| } | ||
| } | ||
| } |
46 changes: 46 additions & 0 deletions
46
...ft.Compute/GalleryRP/stable/2022-08-03/examples/galleryExamples/CommunityGallery_Get.json
This file contains hidden or 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,46 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "api-version": "2022-08-03", | ||
| "galleryName": "myGalleryName" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/communityGalleries/myGalleryName", | ||
| "properties": { | ||
| "description": "This is the gallery description.", | ||
| "identifier": { | ||
| "uniqueName": "{subscription-id}-MYGALLERYNAME" | ||
| }, | ||
| "provisioningState": "Succeeded", | ||
| "sharingProfile": { | ||
| "permissions": "Community", | ||
| "communityGalleryInfo": { | ||
| "publisherUri": "uri", | ||
| "publisherContact": "pir@microsoft.com", | ||
| "eula": "eula", | ||
| "publicNames": [ | ||
| "GalleryPublicName" | ||
| ], | ||
| "communityGalleryEnabled": true | ||
| } | ||
| }, | ||
| "sharingStatus": { | ||
| "aggregatedState": "Succeeded", | ||
| "summary": [ | ||
| { | ||
| "region": "westus", | ||
| "state": "Succeeded", | ||
| "details": "" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "location": "West US", | ||
| "name": "myGalleryName" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.