Skip to content

Commit a4d77e0

Browse files
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 <[email protected]>
1 parent c0e7b13 commit a4d77e0

File tree

64 files changed

+10436
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+10436
-1
lines changed

specification/compute/resource-manager/Microsoft.Compute/GalleryRP/stable/2022-08-03/communityGallery.json

+615
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"location": "myLocation",
5+
"api-version": "2022-08-03",
6+
"publicGalleryName": "publicGalleryName",
7+
"galleryImageName": "myGalleryImageName",
8+
"galleryImageVersionName": "myGalleryImageVersionName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"publishedDate": "2018-03-20T09:12:28Z",
15+
"endOfLifeDate": "2022-03-20T09:12:28Z",
16+
"excludeFromLatest": false,
17+
"storageProfile": {
18+
"osDiskImage": {
19+
"diskSizeGB": 29,
20+
"hostCaching": "None"
21+
}
22+
},
23+
"artifactTags": {
24+
"ShareTag-CommunityGallery": "CommunityGallery"
25+
},
26+
"disclaimer": "https://test-uri.com"
27+
},
28+
"location": "myLocation",
29+
"name": "myGalleryImageVersionName",
30+
"type": "Microsoft.Compute/locations/communityGalleryImageVersion",
31+
"identifier": {
32+
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName"
33+
}
34+
}
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"location": "myLocation",
5+
"api-version": "2022-08-03",
6+
"publicGalleryName": "publicGalleryName",
7+
"galleryImageName": "myGalleryImageName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"properties": {
15+
"publishedDate": "2018-03-20T09:12:28Z",
16+
"endOfLifeDate": "2022-03-20T09:12:28Z",
17+
"excludeFromLatest": false,
18+
"storageProfile": {
19+
"osDiskImage": {
20+
"diskSizeGB": 29,
21+
"hostCaching": "None"
22+
}
23+
},
24+
"artifactTags": {
25+
"ShareTag-CommunityGallery": "CommunityGallery"
26+
},
27+
"disclaimer": "https://test-uri.com"
28+
},
29+
"location": "myLocation",
30+
"name": "myGalleryImageVersionName",
31+
"identifier": {
32+
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName/Versions/myGalleryImageVersionName"
33+
}
34+
}
35+
],
36+
"nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName"
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"location": "myLocation",
5+
"api-version": "2022-08-03",
6+
"publicGalleryName": "publicGalleryName",
7+
"galleryImageName": "myGalleryImageName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"osType": "Windows",
14+
"osState": "Generalized",
15+
"hyperVGeneration": "V1",
16+
"identifier": {
17+
"publisher": "myPublisherName",
18+
"offer": "myOfferName",
19+
"sku": "mySkuName"
20+
},
21+
"privacyStatementUri": "https://test-uri.com",
22+
"eula": "https://test-uri.com",
23+
"artifactTags": {
24+
"ShareTag-CommunityGallery": "CommunityGallery"
25+
},
26+
"disclaimer": "https://test-uri.com"
27+
},
28+
"location": "myLocation",
29+
"name": "myGalleryImageName",
30+
"type": "Microsoft.Compute/locations/communityGalleryImage",
31+
"identifier": {
32+
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName"
33+
}
34+
}
35+
}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"location": "myLocation",
5+
"api-version": "2022-08-03",
6+
"publicGalleryName": "publicGalleryName"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"properties": {
14+
"osType": "Windows",
15+
"osState": "Generalized",
16+
"hyperVGeneration": "V1",
17+
"identifier": {
18+
"publisher": "myPublisherName",
19+
"offer": "myOfferName",
20+
"sku": "mySkuName"
21+
},
22+
"artifactTags": {
23+
"ShareTag-CommunityGallery": "CommunityGallery"
24+
},
25+
"disclaimer": "https://test-uri.com"
26+
},
27+
"location": "myLocation",
28+
"name": "myGalleryImageName",
29+
"identifier": {
30+
"uniqueId": "/CommunityGalleries/publicGalleryName/Images/myGalleryImageName"
31+
}
32+
}
33+
],
34+
"nextLink": "http://svchost:99/subscriptions/{subscription-Id}/providers/Microsoft.Compute/communityGalleries/publicGalleryName/images?$skiptoken={token}/communityGalleries/publicGalleryName/images/myGalleryImageName"
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"location": "myLocation",
5+
"api-version": "2022-08-03",
6+
"publicGalleryName": "publicGalleryName"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "myLocation",
12+
"name": "publicGalleryName",
13+
"type": "Microsoft.Compute/locations/communityGallery",
14+
"identifier": {
15+
"uniqueId": "/CommunityGalleries/publicGalleryName"
16+
},
17+
"properties": {
18+
"artifactTags": {
19+
"ShareTag-CommunityGallery": "CommunityGallery"
20+
},
21+
"disclaimer": "https://test-uri.com",
22+
"communityMetadata": {
23+
"publisherUri": "https://test-uri.com",
24+
"publisherContact": "[email protected]",
25+
"eula": "https://test-uri.com",
26+
"publicNames": [
27+
"prefix-xxxxx"
28+
],
29+
"privacyStatementUri": "https://test-uri.com"
30+
}
31+
}
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2022-08-03",
6+
"galleryName": "myGalleryName",
7+
"gallery": {
8+
"location": "West US",
9+
"properties": {
10+
"description": "This is the gallery description.",
11+
"sharingProfile": {
12+
"permissions": "Community",
13+
"communityGalleryInfo": {
14+
"publisherUri": "uri",
15+
"publisherContact": "[email protected]",
16+
"eula": "eula",
17+
"publicNamePrefix": "PirPublic"
18+
}
19+
}
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName",
27+
"properties": {
28+
"description": "This is the gallery description.",
29+
"identifier": {
30+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
31+
},
32+
"provisioningState": "Updating",
33+
"sharingProfile": {
34+
"permissions": "Community",
35+
"communityGalleryInfo": {
36+
"publisherUri": "uri",
37+
"publisherContact": "[email protected]",
38+
"eula": "eula",
39+
"publicNamePrefix": "PirPublic"
40+
}
41+
}
42+
},
43+
"location": "West US",
44+
"name": "myGalleryName"
45+
}
46+
},
47+
"201": {
48+
"body": {
49+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName",
50+
"properties": {
51+
"description": "This is the gallery description.",
52+
"identifier": {
53+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
54+
},
55+
"provisioningState": "Creating",
56+
"sharingProfile": {
57+
"permissions": "Community",
58+
"communityGalleryInfo": {
59+
"publisherUri": "uri",
60+
"publisherContact": "[email protected]",
61+
"eula": "eula",
62+
"publicNamePrefix": "PirPublic"
63+
}
64+
}
65+
},
66+
"location": "West US",
67+
"name": "myGalleryName"
68+
}
69+
},
70+
"202": {
71+
"body": {
72+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName",
73+
"properties": {
74+
"description": "This is the gallery description.",
75+
"identifier": {
76+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
77+
},
78+
"provisioningState": "Updating",
79+
"sharingProfile": {
80+
"permissions": "Community",
81+
"communityGalleryInfo": {
82+
"publisherUri": "uri",
83+
"publisherContact": "[email protected]",
84+
"eula": "eula",
85+
"publicNamePrefix": "PirPublic"
86+
}
87+
}
88+
},
89+
"location": "West US",
90+
"name": "myGalleryName"
91+
}
92+
}
93+
}
94+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2022-08-03",
6+
"galleryName": "myGalleryName"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/communityGalleries/myGalleryName",
12+
"properties": {
13+
"description": "This is the gallery description.",
14+
"identifier": {
15+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
16+
},
17+
"provisioningState": "Succeeded",
18+
"sharingProfile": {
19+
"permissions": "Community",
20+
"communityGalleryInfo": {
21+
"publisherUri": "uri",
22+
"publisherContact": "[email protected]",
23+
"eula": "eula",
24+
"publicNames": [
25+
"GalleryPublicName"
26+
],
27+
"communityGalleryEnabled": true
28+
}
29+
},
30+
"sharingStatus": {
31+
"aggregatedState": "Succeeded",
32+
"summary": [
33+
{
34+
"region": "westus",
35+
"state": "Succeeded",
36+
"details": ""
37+
}
38+
]
39+
}
40+
},
41+
"location": "West US",
42+
"name": "myGalleryName"
43+
}
44+
}
45+
}
46+
}

0 commit comments

Comments
 (0)