-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
* GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (#6751) * initial commit * syntax error fix * move galleryimageversionproperties under galleryimageproperties * add galleryimageversion as child of galleryimageproperties * update create/get galleryimage json example * remove version readonly and fix version description * add imagesource and fix imagepath example * fix getgalleryimage.json * pending to inprogress * mark secret x-ms-secret * fix osdisk uri to id in vms * update to local * create marketplacegalleryimages * fix file name * filenmae fix * file rename * file rename * add missing exampl.es * add enum * update vm and vhd examples * add num to galleryimages as well * fix example: remove imagepath from response and fix sizeInMB * update vhd example response with other properties * fix vm create vlow * fix example imagereference * fix osdisk camel case * remove securityprofile from response * add readonly to sizeInMB * update disksizeBytes and readonly to sizeInMB * update missed diskSizeBytes in examples * fix camelcase * remove osprofile from response and request when osdisk is specified in vm put * Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (#6989) * add signature, set proper status properties * fix semantics * fix status for all resources and remove signature * remove imagePath from marketplacegalleryimage example * fix status name * add readonly to status * add x-ms-client-flatten, and align errorMessage/errorCode description * update property description * add powerstate to virtualmachinestatus * add provisioningstate enum and remove readonly for galleryimageversion.name * Sync azurestackhci 2021-07 changes to 2021-09 (#7106) * sync marketplacegalleryimage descriptions * Add to custom words and fix example * fix updatemarketplacegalleryimage.json * add marketplaceGalleryImages to readme * update all references to v3 * Revert "update all references to v3" This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a. * npm run prettier * User/vishalk/storage container rpsaasdev (#7084) * swagger chanfes * added availablesize and containersize in status Co-authored-by: Vishal Kadam <[email protected]> * V3 to v2 * fix typo * Revert "fix typo" This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9. * Revert "V3 to v2" This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e. * convert all to v3 * v3 to v2, add ListOperationByCluster example * linter feedback * more fix based on linter feedback * fix breaking change errors * continue fixing breaking change * User/vishalk/storage container (#5953) * updated VHD object * updated storage container swagger * added available size property * updated description of path Co-authored-by: Vishal Kadam <[email protected]> * Add canceled to provisioningState enum Co-authored-by: Arka <[email protected]> Co-authored-by: vishal-kadam <[email protected]> Co-authored-by: Vishal Kadam <[email protected]>
- Loading branch information
1 parent
3d4b0bc
commit 1e9e420
Showing
14 changed files
with
1,367 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...soft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMarketplaceGalleryImage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"marketplacegalleryimagesName": "test-marketplace-gallery-image", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...crosoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMarketplaceGalleryImage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"marketplacegalleryimagesName": "test-marketplace-gallery-image", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image", | ||
"name": "test-marketplace-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/marketplacegalleryimages", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "NoCloud", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0", | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...ckHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image", | ||
"name": "test-marketplace-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/marketplacegalleryimages", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "Azure", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0", | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...ackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image", | ||
"name": "test-marketplace-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/marketplacegalleryimages", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "Azure", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0", | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...r/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListOperationByCluster.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"clusterName": "myCluster", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
119 changes: 119 additions & 0 deletions
119
...crosoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMarketplaceGalleryImage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"marketplacegalleryimagesName": "test-marketplace-gallery-image", | ||
"api-version": "2021-09-01-preview", | ||
"marketplacegalleryimages": { | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "Azure", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image", | ||
"name": "test-marketplace-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/marketplacegalleryimages", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "Azure", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0", | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "InProgress" | ||
}, | ||
"progressPercentage": 0, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
}, | ||
"provisioningState": "Accepted" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image", | ||
"name": "test-marketplace-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/marketplacegalleryimages", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"containerName": "Default_Container", | ||
"osType": "Windows", | ||
"cloudInitDataSource": "Azure", | ||
"hyperVGeneration": "V1", | ||
"identifier": { | ||
"publisher": "myPublisherName", | ||
"offer": "myOfferName", | ||
"sku": "mySkuName" | ||
}, | ||
"version": { | ||
"name": "1.0.0", | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
}, | ||
"provisioningState": "Creating" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.