Skip to content

Commit

Permalink
GalleryRP 2022-08-03 release branch (#25524)
Browse files Browse the repository at this point in the history
* 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
Sandido and kangsun-ctrl authored Nov 28, 2023
1 parent c0e7b13 commit a4d77e0
Show file tree
Hide file tree
Showing 64 changed files with 10,436 additions and 1 deletion.

Large diffs are not rendered by default.

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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit a4d77e0

Please sign in to comment.