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

[Hub Generated] Review request for Microsoft.AzureStackHCI to add version preview/2023-07-01-preview #24998

Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
69aa339
Adds base for updating Microsoft.AzureStackHCI from version preview/2…
wyatt-troia-msft Jul 26, 2023
4ebdf19
Updates readme
wyatt-troia-msft Jul 26, 2023
1c67136
Updates API version in new specs and examples
wyatt-troia-msft Jul 26, 2023
dd0a832
Add 2023-07-01-preview
wyatt-troia Jul 26, 2023
f32b5d0
Update readme.md
wyatt-troia-msft Jul 26, 2023
525161d
Update readme.md
wyatt-troia-msft Jul 26, 2023
4573344
Make RP name pascal-case
wyatt-troia-msft Jul 30, 2023
25d0f2c
GalleryImages use "update" in 200 response description
wyatt-troia-msft Jul 30, 2023
244d388
Update galleryImages.json - Add "location" header to 202 response
wyatt-troia-msft Jul 30, 2023
1d0766f
Update galleryImages.json - add location header to 202
wyatt-troia-msft Jul 30, 2023
ad3601a
Update galleryImages.json - Add type:object
wyatt-troia-msft Jul 30, 2023
17d5add
Update marketplaceGalleryImages.json - Add 202 location header
wyatt-troia-msft Jul 30, 2023
f3271be
Update marketplaceGalleryImages.json - pascalcase RP name
wyatt-troia-msft Jul 30, 2023
3754edd
Update marketplaceGalleryImages.json - add type:object
wyatt-troia-msft Jul 30, 2023
85aa4e6
Update networkInterfaces.json - 200 PUT description must include UPDATE
wyatt-troia-msft Jul 30, 2023
d55312d
Update networkInterfaces.json - add 202 location header
wyatt-troia-msft Jul 30, 2023
2c22290
Update networkInterfaces.json - add type:object
wyatt-troia-msft Jul 30, 2023
74e98d0
Update storageContainers.json - pascalcase RP name
wyatt-troia-msft Jul 30, 2023
6294518
Update storageContainers.json - 200 PUT description must include UPDATE
wyatt-troia-msft Jul 30, 2023
8f64d8c
Update storageContainers.json - 202 location header
wyatt-troia-msft Jul 30, 2023
b0de8af
Update storageContainers.json - add type:object
wyatt-troia-msft Jul 30, 2023
0275564
Update virtualHardDisks.json - pascalcase RP name
wyatt-troia-msft Jul 30, 2023
2032983
Update virtualHardDisks.json - 202 location header
wyatt-troia-msft Jul 30, 2023
961cfe3
Update virtualHardDisks.json - 200 PUT description must include update
wyatt-troia-msft Jul 30, 2023
edf3667
Update galleryImages.json - "x-ms-long-running-operation": true,
wyatt-troia-msft Jul 30, 2023
f9d97ad
Update virtualMachineInstances.json - 200 PUT updated in description
wyatt-troia-msft Jul 30, 2023
434ff33
Update virtualMachineInstances.json - location header 202
wyatt-troia-msft Jul 30, 2023
2ebd32e
Update virtualMachineInstances.json - Description of 200 response co…
wyatt-troia-msft Jul 30, 2023
fb1e682
Update virtualNetworks.json - A 202 response should include an Locati…
wyatt-troia-msft Jul 30, 2023
180a641
Update virtualNetworks.json - camelcase id property name
wyatt-troia-msft Jul 30, 2023
d0e5661
Update virtualNetworks.json - ID exception from camelcase
wyatt-troia-msft Jul 30, 2023
b84e1b0
Update virtualNetworks.json
wyatt-troia-msft Jul 30, 2023
e0d8341
Update virtualMachineInstances.json - 202 accepted location header
wyatt-troia-msft Jul 30, 2023
2d20994
Update virtualMachineInstances.json - add identity property to VMI up…
wyatt-troia-msft Jul 30, 2023
6a9b3c1
Update virtualMachineInstances.json - move identity
wyatt-troia-msft Jul 30, 2023
54b7ab3
Update virtualNetworks.json - Id camelcase attempt
wyatt-troia-msft Jul 30, 2023
66193b7
Update virtualNetworks.json - camelcase attempt "id"
wyatt-troia-msft Jul 30, 2023
cdcae3d
Update galleryImages.json - remove stray comma
wyatt-troia-msft Jul 30, 2023
b3ce87c
Update marketplaceGalleryImages.json - remove stray comma
wyatt-troia-msft Jul 30, 2023
ee559e1
Update networkInterfaces.json
wyatt-troia-msft Jul 30, 2023
effac7b
Update storageContainers.json - remove stray comma
wyatt-troia-msft Jul 30, 2023
b2927ac
Update virtualHardDisks.json
wyatt-troia-msft Jul 30, 2023
8c03bab
Update virtualMachineInstances.json - remove stray comma
wyatt-troia-msft Jul 30, 2023
ca8b306
Update virtualNetworks.json - remove stray comma
wyatt-troia-msft Jul 30, 2023
c592b2b
Run prettier
wyatt-troia Jul 30, 2023
3a596ee
Revert to HCI
wyatt-troia Aug 1, 2023
cac5181
Update virtualHardDisks.json - type object
wyatt-troia-msft Aug 1, 2023
ccab738
Update virtualMachineInstances.json - type object
wyatt-troia-msft Aug 1, 2023
418b82e
Update virtualNetworks.json - type object
wyatt-troia-msft Aug 1, 2023
ba3e104
Update virtualMachineInstances.json - array id
wyatt-troia-msft Aug 1, 2023
45bdac8
Update virtualMachineInstances.json - comma
wyatt-troia-msft Aug 1, 2023
d889af9
Update virtualMachineInstances.json - final-state-via location
wyatt-troia-msft Aug 1, 2023
c818596
Update readme.md
wyatt-troia-msft Aug 1, 2023
a376c34
Update readme.md - suppress errors
wyatt-troia-msft Aug 2, 2023
63d079d
Update readme.md
wyatt-troia-msft Aug 2, 2023
5702b7f
Update readme.md
wyatt-troia-msft Aug 2, 2023
e7ab2ef
Update readme.md
wyatt-troia-msft Aug 3, 2023
aa73dca
Add operations API'
wyatt-troia Aug 5, 2023
4c2db99
Remove Operations API suppression
wyatt-troia Aug 5, 2023
c7f75d4
Fix RP path
wyatt-troia Aug 5, 2023
7594c59
Fix RP path
wyatt-troia Aug 5, 2023
9842179
Add operations API to gallery images
wyatt-troia Aug 5, 2023
9f2a992
Fix operations schemas
wyatt-troia Aug 5, 2023
8808149
Use newer operations api
wyatt-troia Aug 5, 2023
5160886
Remove unused schema
wyatt-troia Aug 5, 2023
3332d96
Add ListOperations example
wyatt-troia Aug 5, 2023
8e5ab2f
Update galleryImages.json to use v3 common types
wyatt-troia-msft Aug 7, 2023
a2e42ae
Update virtualMachineInstances.json - remove 200 from delete
wyatt-troia-msft Aug 8, 2023
7e41f12
Update virtualMachineInstances.json - remove delete 200
wyatt-troia-msft Aug 8, 2023
f4b3097
Update DeleteVirtualMachineInstance.json - remove 200 response
wyatt-troia-msft Aug 11, 2023
500f7c5
Update DeleteGuestAgent.json - remove 200 response
wyatt-troia-msft Aug 11, 2023
52f765e
Update GetGalleryImage.json - dummy change to retrigger CI
wyatt-troia-msft Aug 11, 2023
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
@@ -0,0 +1,64 @@
{
"swagger": "2.0",
"info": {
"title": "AzureStackHCI",
"description": "The Microsoft.AzureStackHCI Rest API spec",
"version": "2023-07-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {},
"definitions": {
"ExtendedLocationType": {
"type": "string",
"description": "The type of extendedLocation.",
"enum": [
"CustomLocation"
],
"x-ms-enum": {
"name": "ExtendedLocationTypes",
"modelAsString": true
}
},
"ExtendedLocation": {
"description": "The complex type of the extended location.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"$ref": "#/definitions/ExtendedLocationType",
"description": "The type of the extended location."
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"api-version": "2023-07-01-preview",
"resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
"body": {
"properties": {
"provisioningAction": "install",
"credentials": {
"username": "tempuser",
"password": "<password>"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default",
"name": "default",
"type": "Microsoft.AzureStackHCI/virtualMachineInstances/guestAgents",
"properties": {
"provisioningAction": "install",
"status": "connected",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default",
"name": "default",
"type": "Microsoft.AzureStackHCI/virtualMachineInstances/guestAgents",
"properties": {
"provisioningAction": "install",
"status": "connected",
"provisioningState": "Created"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"galleryImageName": "test-gallery-image",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2023-07-01-preview",
"resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"marketplaceGalleryImageName": "test-marketplace-gallery-image",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"networkInterfaceName": "test-nic",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"storageContainerName": "Default_Container",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualHardDiskName": "test-vhd",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"virtualNetworkName": "test-vnet",
"api-version": "2023-07-01-preview"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"galleryImageName": "test-gallery-image",
"api-version": "2023-07-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",
"containerId": "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
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2023-07-01-preview",
"resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default",
"name": "default",
"type": "Microsoft.AzureStackHCI/virtualMachineInstances/guestAgents",
"properties": {
"provisioningAction": "install",
"status": "connected",
"provisioningState": "Succeeded"
}
}
}
}
}
Loading