-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GalleryRP 2022-08-03 release branch (#25524)
* copied over old api version * api version update * modelvalidation and br cleanup * CVM TDX and Custom UEFI Keys (#25661) * changes * prettier * Add 'artifactTags' and 'disclaimer' field for shared gallery and community gallery (#25659) * all discalimer and previous arm updates * cleanup * prettier * 'update' (#25769) * uri format (#25794) * Address ARM reviewer comment for community gallery (#25803) * update * update --------- Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
- Loading branch information
1 parent
c0e7b13
commit a4d77e0
Showing
64 changed files
with
10,436 additions
and
1 deletion.
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 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 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 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 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 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 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 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.