Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Gallery Swagger According To Feedback #3175

Merged
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b488625
Added the swagger file for the new service Gallery.
vanbasten2323 May 15, 2018
0ae8ade
Fixed minor issues. Added an example.
vanbasten2323 May 16, 2018
47016ed
Added the example for creating a gallery.
vanbasten2323 May 16, 2018
d2537a5
Gallery Python conf
lmazuel May 16, 2018
4c694fe
Make the tag name plural.
vanbasten2323 May 16, 2018
958b583
Merge branch 'dev/xiowei/addSwaggerForGallery' of https://github.com/…
vanbasten2323 May 16, 2018
29d0c57
Fixed description for 202 response.
vanbasten2323 May 16, 2018
b74f3ee
Changed the operationId to conform to naming convention.
vanbasten2323 May 16, 2018
664c041
Fixed some typos.
vanbasten2323 May 16, 2018
e7ab964
Add default error response. Make provisioningInfo a enum type.
vanbasten2323 May 18, 2018
c26feda
Fixed comments according to CR.
vanbasten2323 May 21, 2018
b757a4e
Resolved merge conflicts.
vanbasten2323 May 21, 2018
fa546f9
Updated the readme.md
vanbasten2323 May 21, 2018
cdaa5b4
Updated the example.
vanbasten2323 May 21, 2018
5a18325
do some experiments.
vanbasten2323 May 22, 2018
e7bb836
Cleaned up unused files.
vanbasten2323 May 22, 2018
604b39f
added empty example file.
vanbasten2323 May 23, 2018
e8b5fbd
Added example for GetGallery api.
vanbasten2323 May 23, 2018
7477feb
Added example for DeleteGallery api. Passed the local validation.
vanbasten2323 May 23, 2018
bbde0de
Added example for PutGalleryImage api. Passed the local validation.
vanbasten2323 May 23, 2018
14e0a17
Added example for GetGalleryImage api. Passed the local validation.
vanbasten2323 May 23, 2018
f5bd197
Added example for DeleteGalleryImage api. Passed the local validation.
vanbasten2323 May 23, 2018
0329884
Added example for PutGalleryImageVersion api. Passed the local valida…
vanbasten2323 May 23, 2018
7c9b26b
Added example for GetGalleryImageVersion api. Passed the local valida…
vanbasten2323 May 23, 2018
6f4661c
Added example for DeleteGalleryImageVersion api. Passed the local val…
vanbasten2323 May 23, 2018
8e46ef9
Added example for ListGalleriesInAResourceGroup api. Passed the local…
vanbasten2323 May 23, 2018
ee7a6de
Added example for ListGalleriesInASubscription api. Passed the local …
vanbasten2323 May 23, 2018
3619af8
Added example for ListGalleryImagesInGallery api. Passed the local va…
vanbasten2323 May 23, 2018
e5ef375
Added example for ListGalleryImageVersionsInGalleryImage api. Passed …
vanbasten2323 May 23, 2018
ce1cfe9
Fixed typos in the example provided.
vanbasten2323 May 23, 2018
98063fc
Fixed typos in the example provided.
vanbasten2323 May 23, 2018
70f7a27
Added the supression for gallery, gallery image, and gallery image ve…
vanbasten2323 May 23, 2018
4c60939
Correct the suppression.
vanbasten2323 May 23, 2018
7cbeb08
modified the swagger.
vanbasten2323 Jun 1, 2018
e88d782
Resolved merge conflicts.
vanbasten2323 Jun 1, 2018
0e32838
removed the python tag in readme
vanbasten2323 Jun 4, 2018
55cc441
Fixed some minor issues.
vanbasten2323 Jun 4, 2018
46d32fd
Added the description to gallery unique name.
vanbasten2323 Jun 4, 2018
6d07ea5
Fixed the readme.md
vanbasten2323 Jun 4, 2018
aa7955d
Improved gallery image version description.
vanbasten2323 Jun 7, 2018
aa47565
Uses CloudError to reference ApiError as Hyonho suggested.
vanbasten2323 Jun 12, 2018
e4aae0c
Revert the change of the default tag in Readme.md
vanbasten2323 Jun 13, 2018
d4e9a10
Got the latest code from official repo master branch and resolved the…
vanbasten2323 Jun 18, 2018
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 @@ -37,6 +37,19 @@
"location": "West US",
"name": "myGalleryName"
}
},
"202": {
"body": {
"properties": {
"description": "This is the gallery description.",
"identifier": {
"uniqueName": "{subscription-id}-MYGALLERYNAME"
},
"provisioningState": "Updating"
},
"location": "West US",
"name": "myGalleryName"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@
"location": "West US",
"name": "myGalleryImageName"
}
},
"202": {
"body": {
"properties": {
"osType": "Windows",
"osState": "Generalized",
"identifier": {
"publisher": "myPublisherName",
"offer": "myOfferName",
"sku": "mySkuName"
},
"provisioningState": "Updating"
},
"location": "West US",
"name": "myGalleryImageName"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"publishedDate": "2018-01-01"
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"provisioningState": "Updating"
},
Expand All @@ -49,13 +50,33 @@
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"publishedDate": "2018-01-01"
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"provisioningState": "Creating"
},
"location": "West US",
"name": "1.0.0"
}
},
"202": {
"body": {
"properties": {
"publishingProfile": {
"regions": ["West US", "East US"],
"source": {
"managedImage": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"provisioningState": "Updating"
},
"location": "West US",
"name": "1.0.0"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,18 @@
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"publishedDate": "2018-01-01"
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"storageProfile": {
"osDiskImage": {
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "ReadOnly"
},
"dataDiskImages": [
{
"lun": 1,
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "None"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,18 @@
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"publishedDate": "2018-01-01"
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"storageProfile": {
"osDiskImage": {
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "ReadOnly"
},
"dataDiskImages": [
{
"lun": 1,
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "None"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
}
},
"publishedDate": "2018-01-01"
"scaleTier": "S30",
"publishedDate": "2018-01-01T00:00:00Z"
},
"storageProfile": {
"osDiskImage": {
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "ReadOnly"
},
"dataDiskImages": [
{
"lun": 1,
"sizedInGB": 10,
"sizeInGB": 10,
"hostCaching": "None"
}
]
Expand Down
Loading