Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
d486942
add new api version 2020-09-30 for gallery.json
kangsun-ctrl Aug 14, 2020
9e5b055
add support for api change, sharing profile related
kangsun-ctrl Aug 14, 2020
9b6d3b7
update, change post to patch
kangsun-ctrl Aug 17, 2020
ce522c0
fix model validation error
kangsun-ctrl Aug 17, 2020
b9cb068
fix typo
kangsun-ctrl Aug 17, 2020
91e2ebf
add shared gallery api
kangsun-ctrl Aug 18, 2020
c7bd944
update
kangsun-ctrl Aug 18, 2020
df04728
fix typo
kangsun-ctrl Aug 18, 2020
3984a1b
update
kangsun-ctrl Aug 18, 2020
1511e27
update
kangsun-ctrl Aug 18, 2020
6387f21
update
kangsun-ctrl Aug 18, 2020
102e7e6
chagne new api version to preview
kangsun-ctrl Aug 18, 2020
02ee910
update readme.md and nit
kangsun-ctrl Aug 18, 2020
d7dd703
remove some required field and make groups readonly
kangsun-ctrl Aug 18, 2020
d06a615
add swagger support for Grace's and Tim's work
kangsun-ctrl Aug 18, 2020
33ac934
error fix
kangsun-ctrl Aug 18, 2020
d7caf62
error fix
kangsun-ctrl Aug 18, 2020
b3d26ff
change api version name to 2020-09-30 withour 'preview'
kangsun-ctrl Aug 19, 2020
9bc78e1
update
kangsun-ctrl Aug 22, 2020
62ac80a
Merge branch 'master' into master
kangsun-ctrl Aug 22, 2020
eb10543
fix typo
kangsun-ctrl Aug 22, 2020
64ed1e5
Merge branch 'master' of https://github.com/kangsun-ctrl/azure-rest-a…
kangsun-ctrl Aug 22, 2020
b752dbf
address pr comment
kangsun-ctrl Aug 26, 2020
4ee4346
set modelAsString to true for gallery sharing-related enum
kangsun-ctrl Aug 27, 2020
83ee500
Merge branch 'master' into master
kangsun-ctrl Sep 2, 2020
5cb2d3d
update, fix merge
kangsun-ctrl Sep 2, 2020
24ba11f
remove duplicate entry
kangsun-ctrl Sep 2, 2020
c5d5e8f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Sep 2, 2020
f300000
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Sep 2, 2020
d3f40ca
shared gallery, change id to identifier.uniqueId
kangsun-ctrl Sep 4, 2020
0f7b05f
fix typo
kangsun-ctrl Sep 4, 2020
052e0d4
update, remove x-ms-azure-resource for shared gallery
kangsun-ctrl Sep 4, 2020
891be34
update latest api version to 2020-09-30
kangsun-ctrl Oct 8, 2020
3b598b7
change name of Permissions to avoid SDK code build error
kangsun-ctrl Oct 8, 2020
046b74c
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl Oct 12, 2020
04d9130
update
kangsun-ctrl Jan 9, 2021
5db8c6a
update
kangsun-ctrl Jan 9, 2021
0dae5c6
add new line
kangsun-ctrl Jan 9, 2021
8f2eaca
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl Jan 13, 2021
cbac240
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl Jan 14, 2021
fde0f3e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl Feb 4, 2021
3828f8f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl Apr 20, 2021
096e67d
correct reset
kangsun-ctrl Apr 20, 2021
a21b190
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
kangsun-ctrl May 19, 2021
58db7db
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Jun 22, 2021
2a8d70d
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Jul 15, 2021
e9f1a3b
Merge branch 'master' of https://github.com/kangsun-ctrl/azure-rest-a…
kangsun-ctrl Jul 23, 2021
48e315c
update
kangsun-ctrl Jul 23, 2021
acf734c
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Aug 30, 2021
8b31965
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Aug 31, 2021
0acd015
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Sep 14, 2021
3761d3b
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Sep 27, 2021
f830b0b
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
kangsun-ctrl Oct 1, 2021
822bc88
save
kangsun-ctrl Oct 1, 2021
bb10d8c
update
kangsun-ctrl Oct 13, 2021
83917e5
update nit
kangsun-ctrl Oct 19, 2021
5aee9c9
update
kangsun-ctrl Oct 28, 2021
c4d5333
update
kangsun-ctrl Nov 4, 2021
fd251ac
update
kangsun-ctrl Nov 4, 2021
3845e92
update
kangsun-ctrl Nov 5, 2021
ec0addd
add CVM
kangsun-ctrl Nov 10, 2021
09564c2
update
kangsun-ctrl Mar 23, 2022
4c692d7
update
kangsun-ctrl Apr 18, 2022
729c948
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
kangsun-ctrl Apr 18, 2022
9e73176
update
kangsun-ctrl Apr 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,99 @@
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images": {
"get": {
"tags": [
"CommunityGalleryImages"
],
"operationId": "CommunityGalleryImages_List",
"description": "List community gallery images inside a gallery.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/LocationNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/PublicGalleryNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CommunityGalleryImageList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get a gallery.": {
"$ref": "./examples/communityGallery/ListCommunityGalleryImages.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}/versions": {
"get": {
"tags": [
"CommunityGalleryImageVersions"
],
"operationId": "CommunityGalleryImageVersions_List",
"description": "List community gallery image versions inside an image.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/LocationNameParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/PublicGalleryNameParameter"
},
{
"$ref": "#/parameters/GalleryImageNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/CommunityGalleryImageVersionList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"Get a gallery.": {
"$ref": "./examples/communityGallery/ListCommunityGalleryImageVersions.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -213,6 +306,25 @@
],
"description": "Specifies information about the Community Gallery that you want to create or update."
},
"CommunityGalleryImageList": {
"description": "The List Community Gallery Images operation response.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/CommunityGalleryImage"
},
"description": "A list of community gallery images."
},
"nextLink": {
"type": "string",
"description": "The uri to fetch the next page of community gallery images. Call ListNext() with this to fetch the next page of community gallery images."
}
},
"required": [
"value"
]
},
"CommunityGalleryImage": {
"properties": {
"properties": {
Expand Down Expand Up @@ -291,6 +403,14 @@
},
"purchasePlan": {
"$ref": "#/definitions/ImagePurchasePlan"
},
"privacyStatementUri": {
"type": "string",
"description": "The uri to describe the privacy statement issued from community gallery publisher."
},
"eula": {
"type": "string",
"description": "The uri to describe the eula issued from community gallery publisher."
}
},
"required": [
Expand Down Expand Up @@ -390,6 +510,25 @@
},
"description": "Describes the gallery image definition purchase plan. This is used by marketplace images."
},
"CommunityGalleryImageVersionList": {
"description": "The List Community Gallery Image versions operation response.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/CommunityGalleryImageVersion"
},
"description": "A list of community gallery image versions."
},
"nextLink": {
"type": "string",
"description": "The uri to fetch the next page of community gallery image versions. Call ListNext() with this to fetch the next page of community gallery image versions."
}
},
"required": [
"value"
]
},
"CommunityGalleryImageVersion": {
"properties": {
"properties": {
Expand All @@ -415,10 +554,82 @@
"type": "string",
"format": "date-time",
"description": "The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable."
},
"excludeFromLatest": {
"type": "boolean",
"description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
},
"storageProfile": {
"$ref": "#/definitions/CommunityGalleryImageVersionStorageProfile"
}
},
"description": "Describes the properties of a gallery image version."
},
"CommunityGalleryImageVersionStorageProfile": {
"properties": {
"osDiskImage": {
"$ref": "#/definitions/CommunityGalleryOSDiskImage"
},
"dataDiskImages": {
"type": "array",
"items": {
"$ref": "#/definitions/CommunityGalleryDataDiskImage"
},
"description": "A list of data disk images."
}
},
"description": "This is the storage profile of a Gallery Image Version."
},
"CommunityGalleryOSDiskImage": {
"allOf": [
{
"$ref": "#/definitions/CommunityGalleryDiskImage"
}
],
"description": "This is the OS disk image."
},
"CommunityGalleryDataDiskImage": {
"properties": {
"lun": {
"type": "integer",
"format": "int32",
"description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
}
},
"allOf": [
{
"$ref": "#/definitions/CommunityGalleryDiskImage"
}
],
"required": [
"lun"
],
"description": "This is the data disk image."
},
"CommunityGalleryDiskImage": {
"properties": {
"sizeInGB": {
"readOnly": true,
"type": "integer",
"format": "int32",
"description": "This property indicates the size of the VHD to be created."
},
"hostCaching": {
"type": "string",
"description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
"enum": [
"None",
"ReadOnly",
"ReadWrite"
],
"x-ms-enum": {
"name": "HostCaching",
"modelAsString": false
}
}
},
"description": "This is the disk image base class."
},
"CloudError": {
"x-ms-external": true,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"osType": "Windows",
"osState": "Generalized",
"hyperVGeneration": "V1",
"privacyStatementUri": "http://privacyStatementUri.com",
"eula": "publisherEulaString",
"identifier": {
"publisher": "myPublisherName",
"offer": "myOfferName",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"location": "myLocation",
"api-version": "2021-07-01",
"publicGalleryName": "publicGalleryName",
"galleryImageName": "myGalleryImageName"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"publishedDate": "2018-03-20T09:12:28Z",
"endOfLifeDate": "2022-03-20T09:12:28Z"
},
"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,34 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"location": "myLocation",
"api-version": "2021-07-01",
"publicGalleryName": "publicGalleryName"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"osType": "Windows",
"osState": "Generalized",
"hyperVGeneration": "V1",
"identifier": {
"publisher": "myPublisherName",
"offer": "myOfferName",
"sku": "mySkuName"
}
},
"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"
}
}
}
}
Loading