-
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.
- Loading branch information
1 parent
9deca35
commit 3d4b0bc
Showing
34 changed files
with
6,108 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
54 changes: 54 additions & 0 deletions
54
...-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGalleryImage.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", | ||
"galleryimagesName": "test-gallery-image", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image", | ||
"name": "test-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/galleryimages", | ||
"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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...nager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualHardDisk.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,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"virtualharddisksName": "test-vhd", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd", | ||
"name": "test-vhd", | ||
"type": "Microsoft.AzureStackHCI/virtualharddisks", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"diskSizeBytes": 32, | ||
"blockSizeBytes": 0, | ||
"logicalSectorBytes": 512, | ||
"physicalSectorBytes": 512, | ||
"provisioningState": "Accepted", | ||
"diskFileFormat": "vhdx", | ||
"hyperVGeneration": "V2", | ||
"dynamic": true | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...anager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualMachine.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", | ||
"resourceGroupName": "test-rg", | ||
"virtualmachinesName": "test-vm", | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm", | ||
"name": "test-vm", | ||
"type": "Microsoft.AzureStackHCI/virtualmachines", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"storageProfile": { | ||
"imageReference": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image" | ||
}, | ||
"vmConfigContainerName": "Default_Container" | ||
}, | ||
"hardwareProfile": { | ||
"vmSize": "Default" | ||
}, | ||
"osProfile": { | ||
"computerName": "luamaster", | ||
"adminUsername": "localadmin" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "test-nic" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...ft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageByResourceGroup.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,51 @@ | ||
{ | ||
"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/galleryimages/test-gallery-image", | ||
"name": "test-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/galleryimages", | ||
"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": "Linux", | ||
"cloudInitDataSource": "NoCloud", | ||
"hyperVGeneration": "V2", | ||
"version": { | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...oft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageBySubscription.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,50 @@ | ||
{ | ||
"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/galleryimages/test-gallery-image", | ||
"name": "test-gallery-image", | ||
"type": "Microsoft.AzureStackHCI/galleryimages", | ||
"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": "Linux", | ||
"cloudInitDataSource": "NoCloud", | ||
"hyperVGeneration": "V2", | ||
"version": { | ||
"properties": { | ||
"storageProfile": { | ||
"osDiskImage": { | ||
"sizeInMB": 30270 | ||
} | ||
} | ||
} | ||
}, | ||
"status": { | ||
"provisioningStatus": { | ||
"operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0", | ||
"status": "Succeeded" | ||
}, | ||
"progressPercentage": 100, | ||
"downloadStatus": { | ||
"downloadSizeInMB": 9383 | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.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,35 @@ | ||
{ | ||
"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/virtualharddisks/test-vhd", | ||
"name": "test-vhd", | ||
"type": "Microsoft.AzureStackHCI/virtualharddisks", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"diskSizeBytes": 32, | ||
"blockSizeBytes": 0, | ||
"logicalSectorBytes": 512, | ||
"physicalSectorBytes": 512, | ||
"provisioningState": "Accepted", | ||
"diskFileFormat": "vhdx", | ||
"hyperVGeneration": "V2", | ||
"dynamic": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
....AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskBySubscription.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,34 @@ | ||
{ | ||
"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/virtualharddisks/test-vhd", | ||
"name": "test-vhd", | ||
"type": "Microsoft.AzureStackHCI/virtualharddisks", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"diskSizeBytes": 32, | ||
"blockSizeBytes": 0, | ||
"logicalSectorBytes": 512, | ||
"physicalSectorBytes": 512, | ||
"provisioningState": "Accepted", | ||
"diskFileFormat": "vhdx", | ||
"hyperVGeneration": "V2", | ||
"dynamic": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
....AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineByResourceGroup.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,48 @@ | ||
{ | ||
"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/virtualmachines/test-vm", | ||
"name": "test-vm", | ||
"type": "Microsoft.AzureStackHCI/virtualmachines", | ||
"location": "West US2", | ||
"extendedLocation": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", | ||
"type": "CustomLocation" | ||
}, | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"storageProfile": { | ||
"imageReference": { | ||
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image" | ||
}, | ||
"vmConfigContainerName": "Default_Container" | ||
}, | ||
"hardwareProfile": { | ||
"vmSize": "Default" | ||
}, | ||
"osProfile": { | ||
"computerName": "luamaster", | ||
"adminUsername": "localadmin" | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "test-nic" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.