Skip to content

Commit 6d4c727

Browse files
grizzlytheodorekangsun-ctrlAndrew Sager
authored andcommitted
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>
1 parent b1159f1 commit 6d4c727

File tree

48 files changed

+6879
-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.

48 files changed

+6879
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-10-01",
6+
"galleryName": "myGalleryName",
7+
"sharingUpdate": {
8+
"operationType": "Add",
9+
"groups": [
10+
{
11+
"type": "Subscriptions",
12+
"ids": [
13+
"34a4ab42-0d72-47d9-bd1a-aed207386dac",
14+
"380fd389-260b-41aa-bad9-0a83108c370b"
15+
]
16+
},
17+
{
18+
"type": "AADTenants",
19+
"ids": [
20+
"c24c76aa-8897-4027-9b03-8f7928b54ff6"
21+
]
22+
}
23+
]
24+
}
25+
},
26+
"responses": {
27+
"200": {
28+
"body": {
29+
"operationType": "Add",
30+
"groups": [
31+
{
32+
"type": "Subscriptions",
33+
"ids": [
34+
"34a4ab42-0d72-47d9-bd1a-aed207386dac",
35+
"380fd389-260b-41aa-bad9-0a83108c370b"
36+
]
37+
},
38+
{
39+
"type": "AADTenants",
40+
"ids": [
41+
"c24c76aa-8897-4027-9b03-8f7928b54ff6"
42+
]
43+
}
44+
]
45+
}
46+
},
47+
"202": {
48+
"headers": {
49+
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/share?api-version=2021-10-01"
50+
},
51+
"body": {
52+
"operationType": "Add",
53+
"groups": [
54+
{
55+
"type": "Subscriptions",
56+
"ids": [
57+
"34a4ab42-0d72-47d9-bd1a-aed207386dac",
58+
"380fd389-260b-41aa-bad9-0a83108c370b"
59+
]
60+
},
61+
{
62+
"type": "AADTenants",
63+
"ids": [
64+
"c24c76aa-8897-4027-9b03-8f7928b54ff6"
65+
]
66+
}
67+
]
68+
}
69+
}
70+
}
71+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-10-01",
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": "pir@microsoft.com",
16+
"eula": "eula",
17+
"publicNamePrefix": "PirPublic"
18+
}
19+
}
20+
}
21+
}
22+
},
23+
"responses": {
24+
"200": {
25+
"body": {
26+
"properties": {
27+
"description": "This is the gallery description.",
28+
"identifier": {
29+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
30+
},
31+
"provisioningState": "Updating",
32+
"sharingProfile": {
33+
"permissions": "Community",
34+
"communityGalleryInfo": {
35+
"publisherUri": "uri",
36+
"publisherContact": "pir@microsoft.com",
37+
"eula": "eula",
38+
"publicNamePrefix": "PirPublic"
39+
}
40+
}
41+
},
42+
"location": "West US",
43+
"name": "myGalleryName"
44+
}
45+
},
46+
"201": {
47+
"body": {
48+
"properties": {
49+
"description": "This is the gallery description.",
50+
"identifier": {
51+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
52+
},
53+
"provisioningState": "Creating",
54+
"sharingProfile": {
55+
"permissions": "Community",
56+
"communityGalleryInfo": {
57+
"publisherUri": "uri",
58+
"publisherContact": "pir@microsoft.com",
59+
"eula": "eula",
60+
"publicNamePrefix": "PirPublic"
61+
}
62+
}
63+
},
64+
"location": "West US",
65+
"name": "myGalleryName"
66+
}
67+
},
68+
"202": {
69+
"body": {
70+
"properties": {
71+
"description": "This is the gallery description.",
72+
"identifier": {
73+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
74+
},
75+
"provisioningState": "Updating",
76+
"sharingProfile": {
77+
"permissions": "Community",
78+
"communityGalleryInfo": {
79+
"publisherUri": "uri",
80+
"publisherContact": "pir@microsoft.com",
81+
"eula": "eula",
82+
"publicNamePrefix": "PirPublic"
83+
}
84+
}
85+
},
86+
"location": "West US",
87+
"name": "myGalleryName"
88+
}
89+
}
90+
}
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-10-01",
6+
"galleryName": "myGalleryName",
7+
"gallery": {
8+
"location": "West US",
9+
"properties": {
10+
"description": "This is the gallery description."
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"properties": {
18+
"description": "This is the gallery description.",
19+
"identifier": {
20+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
21+
},
22+
"provisioningState": "Updating"
23+
},
24+
"location": "West US",
25+
"name": "myGalleryName"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"properties": {
31+
"description": "This is the gallery description.",
32+
"identifier": {
33+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
34+
},
35+
"provisioningState": "Creating"
36+
},
37+
"location": "West US",
38+
"name": "myGalleryName"
39+
}
40+
},
41+
"202": {
42+
"body": {
43+
"properties": {
44+
"description": "This is the gallery description.",
45+
"identifier": {
46+
"uniqueName": "{subscription-id}-MYGALLERYNAME"
47+
},
48+
"provisioningState": "Updating"
49+
},
50+
"location": "West US",
51+
"name": "myGalleryName"
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2021-10-01",
6+
"galleryName": "myGalleryName",
7+
"galleryApplicationName": "myGalleryApplicationName",
8+
"galleryApplication": {
9+
"location": "West US",
10+
"properties": {
11+
"description": "This is the gallery application description.",
12+
"eula": "This is the gallery application EULA.",
13+
"privacyStatementUri": "myPrivacyStatementUri}",
14+
"releaseNoteUri": "myReleaseNoteUri",
15+
"supportedOSType": "Windows"
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"properties": {
23+
"description": "This is the gallery application description.",
24+
"eula": "This is the gallery application EULA.",
25+
"privacyStatementUri": "myPrivacyStatementUri}",
26+
"releaseNoteUri": "myReleaseNoteUri",
27+
"supportedOSType": "Windows"
28+
},
29+
"location": "West US",
30+
"name": "myGalleryApplicationName",
31+
"type": "Microsoft.Compute/galleries",
32+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
33+
}
34+
},
35+
"201": {
36+
"body": {
37+
"properties": {
38+
"description": "This is the gallery application description.",
39+
"eula": "This is the gallery application EULA.",
40+
"privacyStatementUri": "myPrivacyStatementUri}",
41+
"releaseNoteUri": "myReleaseNoteUri",
42+
"supportedOSType": "Windows"
43+
},
44+
"location": "West US",
45+
"name": "myGalleryApplicationName",
46+
"type": "Microsoft.Compute/galleries",
47+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
48+
}
49+
},
50+
"202": {
51+
"body": {
52+
"properties": {
53+
"description": "This is the gallery application description.",
54+
"eula": "This is the gallery application EULA.",
55+
"privacyStatementUri": "myPrivacyStatementUri}",
56+
"releaseNoteUri": "myReleaseNoteUri",
57+
"supportedOSType": "Windows"
58+
},
59+
"location": "West US",
60+
"name": "myGalleryApplicationName",
61+
"type": "Microsoft.Compute/galleries",
62+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
63+
}
64+
}
65+
}
66+
}

0 commit comments

Comments
 (0)