From 62e04532370da8a8712d251a70696d4d68495da9 Mon Sep 17 00:00:00 2001 From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:30:44 -0700 Subject: [PATCH 01/16] Adds base for updating Microsoft.AzureStackHCI from version preview/2023-07-01-preview to version 2023-09-01 --- .../stable/2023-09-01/common.json | 64 + .../2023-09-01/examples/CreateGuestAgent.json | 41 + .../examples/DeleteGalleryImage.json | 25 + .../2023-09-01/examples/DeleteGuestAgent.json | 18 + .../DeleteMarketplaceGalleryImage.json | 25 + .../examples/DeleteNetworkInterface.json | 25 + .../examples/DeleteStorageContainer.json | 25 + .../examples/DeleteVirtualHardDisk.json | 25 + .../DeleteVirtualMachineInstance.json | 18 + .../examples/DeleteVirtualNetwork.json | 25 + .../2023-09-01/examples/GetGalleryImage.json | 54 + .../2023-09-01/examples/GetGuestAgent.json | 20 + .../examples/GetHybridIdentityMetadata.json | 23 + .../examples/GetMarketplaceGalleryImage.json | 54 + .../examples/GetNetworkInterface.json | 35 + .../examples/GetStorageContainer.json | 26 + .../examples/GetVirtualHardDisk.json | 32 + .../examples/GetVirtualMachineInstance.json | 42 + .../examples/GetVirtualNetwork.json | 26 + .../2023-09-01/examples/GuestAgent_List.json | 24 + .../examples/HybridIdentityMetadata_List.json | 27 + .../ListGalleryImageByResourceGroup.json | 51 + .../ListGalleryImageBySubscription.json | 50 + ...arketplaceGalleryImageByResourceGroup.json | 57 + ...MarketplaceGalleryImageBySubscription.json | 56 + .../ListNetworkInterfaceByResourceGroup.json | 39 + .../ListNetworkInterfaceBySubscription.json | 39 + .../2023-09-01/examples/ListOperations.json | 24 + .../ListStorageContainerByResourceGroup.json | 29 + .../ListStorageContainerBySubscription.json | 28 + .../ListVirtualHardDiskByResourceGroup.json | 35 + .../ListVirtualHardDiskBySubscription.json | 34 + .../examples/ListVirtualMachineInstances.json | 46 + .../ListVirtualNetworkByResourceGroup.json | 29 + .../ListVirtualNetworkBySubscription.json | 28 + .../2023-09-01/examples/PutGalleryImage.json | 98 ++ .../examples/PutMarketplaceGalleryImage.json | 120 ++ .../examples/PutNetworkInterface.json | 79 + .../examples/PutStorageContainer.json | 52 + .../examples/PutVirtualHardDisk.json | 64 + ...irtualMachineInstanceWithGalleryImage.json | 113 ++ ...neInstanceWithMarketplaceGalleryImage.json | 113 ++ .../PutVirtualMachineInstanceWithOsDisk.json | 100 ++ ...rtualMachineInstanceWithVMConfigAgent.json | 144 ++ .../examples/PutVirtualNetwork.json | 52 + .../RestartVirtualMachineInstance.json | 54 + .../examples/StartVirtualMachineInstance.json | 54 + .../examples/StopVirtualMachineInstance.json | 54 + .../examples/UpdateGalleryImage.json | 61 + .../UpdateMarketplaceGalleryImage.json | 67 + .../examples/UpdateNetworkInterface.json | 45 + .../examples/UpdateStorageContainer.json | 39 + .../examples/UpdateVirtualHardDisk.json | 45 + .../UpdateVirtualMachineInstance.json | 51 + .../examples/UpdateVirtualNetwork.json | 39 + .../stable/2023-09-01/galleryImages.json | 634 +++++++ .../2023-09-01/marketplaceGalleryImages.json | 587 +++++++ .../stable/2023-09-01/networkInterfaces.json | 517 ++++++ .../stable/2023-09-01/storageContainers.json | 458 +++++ .../stable/2023-09-01/virtualHardDisks.json | 492 ++++++ .../2023-09-01/virtualMachineInstances.json | 1539 +++++++++++++++++ .../stable/2023-09-01/virtualNetworks.json | 601 +++++++ 62 files changed, 7471 insertions(+) create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json new file mode 100644 index 000000000000..f8d5a5c2a14c --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json @@ -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." + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json new file mode 100644 index 000000000000..439249eab360 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json @@ -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": "" + } + } + } + }, + "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" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json new file mode 100644 index 000000000000..da0a76eee4f3 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json new file mode 100644 index 000000000000..b60992f2831e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json new file mode 100644 index 000000000000..ec1670cab45a --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json new file mode 100644 index 000000000000..72ec6d3c6c70 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json new file mode 100644 index 000000000000..f777733c808e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json new file mode 100644 index 000000000000..2c38ec3cf2f2 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json new file mode 100644 index 000000000000..b24db94442c2 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json @@ -0,0 +1,18 @@ +{ + "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": { + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + }, + "204": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json new file mode 100644 index 000000000000..984f0aee2e0e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json @@ -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" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json new file mode 100644 index 000000000000..51bac00b3364 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json @@ -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": 9382 + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json new file mode 100644 index 000000000000..db0c4fc8ebb6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json @@ -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" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json new file mode 100644 index 000000000000..35b1162f5368 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json @@ -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": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances/hybridIdentityMetadata", + "properties": { + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json new file mode 100644 index 000000000000..a1c102db31c5 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "marketplaceGalleryImageName": "test-marketplace-gallery-image", + "api-version": "2023-07-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", + "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 + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json new file mode 100644 index 000000000000..17ab5a9de84e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "networkInterfaceName": "test-nic", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "external" + } + } + } + ] + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json new file mode 100644 index 000000000000..81c75c612f52 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "storageContainerName": "Default_Container", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/Default_Container", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "path": "C:\\container_storage" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json new file mode 100644 index 000000000000..af4c970431d0 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualHardDiskName": "test-vhd", + "api-version": "2023-07-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": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Accepted", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json new file mode 100644 index 000000000000..b6515c9f427e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json @@ -0,0 +1,42 @@ +{ + "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", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json new file mode 100644 index 000000000000..9c01e9956bb7 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualNetworkName": "test-vnet", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "networkType": "Transparent" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json new file mode 100644 index 000000000000..5ad9fec8398f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances/guestAgents", + "properties": { + "provisioningAction": "install", + "status": "connected", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json new file mode 100644 index 000000000000..e3abeb1904d5 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances/hybridIdentityMetadata", + "properties": { + "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", + "identity": { + "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", + "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d", + "type": "SystemAssigned" + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json new file mode 100644 index 000000000000..f0b2101f9646 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2023-07-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", + "containerId": "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 + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json new file mode 100644 index 000000000000..cf2d13c6dcc6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-07-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", + "containerId": "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 + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json new file mode 100644 index 000000000000..88f07faef807 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2023-07-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", + "containerId": "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 + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json new file mode 100644 index 000000000000..063d00f9fa45 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-07-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", + "containerId": "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 + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json new file mode 100644 index 000000000000..fe31b1ef5d83 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "networkInterfaceName": "test-nic", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "external" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json new file mode 100644 index 000000000000..fe31b1ef5d83 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "networkInterfaceName": "test-nic", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "external" + } + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json new file mode 100644 index 000000000000..be51116e795d --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AzureStackHCI/galleryImages/read", + "display": { + "provider": "Azure Stack HCI", + "resource": "GalleryImages", + "operation": "List or Get Addresses", + "description": "List or get the Addresses" + }, + "origin": "user", + "isDataAction": false + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json new file mode 100644 index 000000000000..8f4b6f86afbc --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/Default_Container", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "path": "C:\\container_storage" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json new file mode 100644 index 000000000000..3a8004f75fe7 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/Default_Container", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "path": "C:\\container_storage" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json new file mode 100644 index 000000000000..ee734c6c2424 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2023-07-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": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Accepted", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json new file mode 100644 index 000000000000..59a5add78ab5 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-07-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": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Accepted", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json new file mode 100644 index 000000000000..d2e287a609cb --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + } + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json new file mode 100644 index 000000000000..85515bbf56fa --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "networkType": "Transparent" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json new file mode 100644 index 000000000000..f54eb1b54ad6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-07-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "networkType": "Transparent" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json new file mode 100644 index 000000000000..0267b1023dc7 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "galleryImageName": "test-gallery-image", + "api-version": "2023-07-01-preview", + "galleryImages": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "imagePath": "C:\\test.vhdx", + "containerId": "Default_Container", + "osType": "Linux" + } + } + }, + "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": "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 + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-galimg3325", + "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": "Succeeded", + "containerId": "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 + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json new file mode 100644 index 000000000000..3a26ce4b734f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "marketplaceGalleryImageName": "test-marketplace-gallery-image", + "api-version": "2023-07-01-preview", + "name": "test-marketplace-gallery-image", + "marketplaceGalleryImages": { + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "containerId": "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": { + "containerId": "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": { + "containerId": "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" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json new file mode 100644 index 000000000000..b317ce6aca84 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "networkInterfaceName": "test-nic", + "api-version": "2023-07-01-preview", + "networkInterfaces": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "test-vnet" + } + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-nic", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "test-vnet" + } + } + } + ], + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-nic", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "test-vnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json new file mode 100644 index 000000000000..c4c7c0d53efd --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "storageContainerName": "Default_Container", + "api-version": "2023-07-01-preview", + "storageContainers": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "path": "C:\\container_storage" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-galimg3325", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "path": "C:\\container_storage" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-galimg3325", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Succeeded", + "path": "C:\\container_storage" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json new file mode 100644 index 000000000000..fcd4165e58d1 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualHardDiskName": "test-vhd", + "api-version": "2023-07-01-preview", + "virtualHardDisks": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "diskSizeGB": 32 + } + } + }, + "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": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Accepted", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + }, + "201": { + "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": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Succeeded", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json new file mode 100644 index 000000000000..125aa23cd7a8 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", + "virtualMachineInstance": { + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin", + "adminPassword": "password" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json new file mode 100644 index 000000000000..6436b64d921c --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", + "virtualMachineInstance": { + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin", + "adminPassword": "password" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json new file mode 100644 index 000000000000..868b20b4d754 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", + "virtualMachineInstance": { + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "osDisk": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "osDisk": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "osDisk": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json new file mode 100644 index 000000000000..98d6f23edd8e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json @@ -0,0 +1,144 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", + "virtualMachineInstance": { + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin", + "adminPassword": "password", + "windowsConfiguration": { + "provisionVMConfigAgent": true + } + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted", + "instanceView": { + "vmAgent": { + "vmVMConfigAgentVersion": "1.0.0", + "statuses": [ + { + "code": "Ok", + "level": "Info", + "displayStatus": "Ok", + "message": "The agent is healthy", + "time": "2009-06-15T13:45:30" + } + ] + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "provisioningState": "Succeeded", + "instanceView": { + "vmAgent": { + "vmVMConfigAgentVersion": "1.0.0", + "statuses": [ + { + "code": "Ok", + "level": "Info", + "displayStatus": "Ok", + "message": "The agent is healthy", + "time": "2009-06-15T13:45:30" + } + ] + } + } + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json new file mode 100644 index 000000000000..fe50a9717e4d --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualNetworkName": "test-vnet", + "api-version": "2023-07-01-preview", + "virtualNetworks": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "networkType": "Transparent" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "networkType": "Transparent", + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "networkType": "Transparent", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json new file mode 100644 index 000000000000..0048ac006e26 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json new file mode 100644 index 000000000000..0048ac006e26 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json new file mode 100644 index 000000000000..0048ac006e26 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2023-07-01-preview", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + }, + "responses": { + "200": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + }, + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + }, + "properties": { + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "vmConfigStoragePathId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container" + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + }, + "securityProfile": { + "enableTPM": true, + "uefiSettings": { + "secureBootEnabled": true + } + }, + "provisioningState": "Accepted" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json new file mode 100644 index 000000000000..af3fec44b3e7 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "galleryImageName": "test-gallery-image", + "api-version": "2023-07-01-preview", + "galleryImages": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-galimg3325", + "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" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "provisioningState": "Accepted", + "containerId": "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 + } + } + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json new file mode 100644 index 000000000000..740b858aa5dc --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "marketplaceGalleryImageName": "test-marketplce-gallery-image", + "api-version": "2023-07-01-preview", + "marketplaceGalleryImages": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "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" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "containerId": "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" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json new file mode 100644 index 000000000000..e83f32d668b5 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "networkInterfaceName": "test-nic", + "api-version": "2023-07-01-preview", + "networkInterfaces": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", + "name": "test-nic", + "type": "Microsoft.AzureStackHCI/networkInterfaces", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig-sample", + "properties": { + "subnet": { + "id": "test-vnet" + } + } + } + ], + "provisioningState": "Accepted" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json new file mode 100644 index 000000000000..30b1efa4e161 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "storageContainerName": "Default_Container", + "api-version": "2023-07-01-preview", + "storageContainers": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-galimg3325", + "name": "Default_Container", + "type": "Microsoft.AzureStackHCI/storageContainers", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "provisioningState": "Accepted", + "path": "C:\\container_storage" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json new file mode 100644 index 000000000000..b64e65c67894 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualHardDiskName": "test-vhd", + "api-version": "2023-07-01-preview", + "virtualHardDisks": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "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" + }, + "tags": { + "additionalProperties": "sample" + }, + "properties": { + "diskSizeGB": 32, + "blockSizeBytes": 0, + "logicalSectorBytes": 512, + "physicalSectorBytes": 512, + "provisioningState": "Accepted", + "diskFileFormat": "vhdx", + "hyperVGeneration": "V2", + "dynamic": true + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json new file mode 100644 index 000000000000..f692a99da0fc --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", + "api-version": "2023-07-01-preview", + "virtualMachineInstance": { + "properties": { + "osProfile": {} + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", + "name": "default", + "type": "Microsoft.AzureStackHCI/virtualMachineInstances", + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted", + "storageProfile": { + "imageReference": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + } + }, + "hardwareProfile": { + "vmSize": "Default" + }, + "osProfile": { + "computerName": "luamaster", + "adminUsername": "localadmin" + }, + "networkProfile": { + "networkInterfaces": [ + { + "id": "test-nic" + } + ] + } + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json new file mode 100644 index 000000000000..3818b20ecb0f --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "virtualNetworkName": "test-vnet", + "api-version": "2023-07-01-preview", + "virtualNetworks": { + "tags": { + "additionalProperties": "sample" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", + "name": "test-vnet", + "type": "Microsoft.AzureStackHCI/virtualNetworks", + "location": "West US2", + "tags": { + "additionalProperties": "sample" + }, + "extendedLocation": { + "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "networkType": "Transparent", + "provisioningState": "Accepted" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json new file mode 100644 index 000000000000..3fa7271d3f88 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json @@ -0,0 +1,634 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}": { + "get": { + "operationId": "GalleryImages_Get", + "description": "Gets a gallery image", + "x-ms-examples": { + "GetGalleryImage": { + "$ref": "./examples/GetGalleryImage.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/GalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImages" + } + } + } + }, + "put": { + "operationId": "GalleryImages_CreateOrUpdate", + "description": "The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.", + "x-ms-examples": { + "PutGalleryImage": { + "$ref": "./examples/PutGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/GalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "galleryImages", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryImages" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/GalleryImages" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryImages" + } + } + } + }, + "delete": { + "operationId": "GalleryImages_Delete", + "description": "The operation to delete a gallery image.", + "x-ms-examples": { + "DeleteGalleryImage": { + "$ref": "./examples/DeleteGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/GalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "GalleryImages_Update", + "description": "The operation to update a gallery image.", + "x-ms-examples": { + "UpdateGalleryImage": { + "$ref": "./examples/UpdateGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/GalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "galleryImages", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryImagesUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImages" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages": { + "get": { + "operationId": "GalleryImages_List", + "description": "Lists all of the gallery images in the specified resource group. Use the nextLink property in the response to get the next page of gallery images.", + "x-ms-examples": { + "ListGalleryImageByResourceGroup": { + "$ref": "./examples/ListGalleryImageByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImagesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages": { + "get": { + "operationId": "GalleryImages_ListAll", + "description": "Lists all of the gallery images in the specified subscription. Use the nextLink property in the response to get the next page of gallery images.", + "x-ms-examples": { + "ListGalleryImageBySubscription": { + "$ref": "./examples/ListGalleryImageBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryImagesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.AzureStackHCI/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "List all the supported operations.", + "operationId": "Operations_List", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The supported operations list.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing reason for operation failure.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListOperations": { + "$ref": "./examples/ListOperations.json" + } + } + } + } + }, + "definitions": { + "GalleryImageProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "containerId": { + "type": "string", + "description": "Storage ContainerID of the storage container to be used for gallery image" + }, + "imagePath": { + "type": "string", + "x-ms-secret": true, + "description": "location of the image the gallery image should be created from" + }, + "osType": { + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + }, + "description": "Operating system type that the gallery image uses [Windows, Linux]" + }, + "cloudInitDataSource": { + "type": "string", + "description": "Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]", + "enum": [ + "NoCloud", + "Azure" + ], + "x-ms-enum": { + "name": "CloudInitDataSource", + "modelAsString": true + } + }, + "hyperVGeneration": { + "type": "string", + "description": "The hypervisor generation of the Virtual Machine [V1, V2]", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "HyperVGeneration", + "modelAsString": true + } + }, + "identifier": { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + "version": { + "$ref": "#/definitions/GalleryImageVersion" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the gallery image.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/GalleryImageStatus" + } + }, + "required": [ + "osType" + ], + "description": "Properties under the gallery image resource" + }, + "GalleryImageStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "GalleryImage provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the gallery image" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + }, + "downloadStatus": { + "type": "object", + "properties": { + "downloadSizeInMB": { + "type": "integer", + "format": "int64", + "description": "The downloaded sized of the image in MB" + } + }, + "description": "The download status of the gallery image" + }, + "progressPercentage": { + "type": "integer", + "format": "int64", + "description": "The progress of the operation in percentage" + } + }, + "description": "The observed state of gallery images" + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "publisher", + "offer", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageVersion": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the version of the gallery image." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryImageVersionProperties" + } + }, + "description": "Specifies information about the gallery image version that you want to create or update." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "storageProfile": { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "osDiskImage": { + "$ref": "#/definitions/GalleryOSDiskImage" + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryOSDiskImage": { + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "description": "This is the OS disk image." + }, + "GalleryDiskImage": { + "type": "object", + "properties": { + "sizeInMB": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "This property indicates the size of the VHD to be created." + } + }, + "description": "This is the disk image base class." + }, + "GalleryImages": { + "type": "object", + "description": "The gallery images resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryImageProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "GalleryImagesUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The gallery images resource patch definition." + }, + "GalleryImagesListResult": { + "type": "object", + "description": "List of gallery images.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryImages" + } + }, + "nextLink": { + "type": "string", + "description": "Link to the next set of results.", + "readOnly": true + } + } + } + }, + "parameters": { + "GalleryImageNameParameter": { + "name": "galleryImageName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 80, + "minLength": 1, + "description": "Name of the gallery image" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json new file mode 100644 index 000000000000..34070e80af8e --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json @@ -0,0 +1,587 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName}": { + "get": { + "operationId": "MarketplaceGalleryImages_Get", + "description": "Gets a marketplace gallery image", + "x-ms-examples": { + "GetMarketplaceGalleryImage": { + "$ref": "./examples/GetMarketplaceGalleryImage.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MarketplaceGalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + } + } + }, + "put": { + "operationId": "MarketplaceGalleryImages_CreateOrUpdate", + "description": "The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation.", + "x-ms-examples": { + "PutMarketplaceGalleryImage": { + "$ref": "./examples/PutMarketplaceGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MarketplaceGalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "marketplaceGalleryImages", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updates the marketplace gallery image resource.", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + }, + "201": { + "description": "Creates the marketplace gallery image resource.", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + } + } + }, + "delete": { + "operationId": "MarketplaceGalleryImages_Delete", + "description": "The operation to delete a marketplace gallery image.", + "x-ms-examples": { + "DeleteMarketplaceGalleryImage": { + "$ref": "./examples/DeleteMarketplaceGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MarketplaceGalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Deleted the marketplace gallery image resource." + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "MarketplaceGalleryImages_Update", + "description": "The operation to update a marketplace gallery image.", + "x-ms-examples": { + "UpdateMarketplaceGalleryImage": { + "$ref": "./examples/UpdateMarketplaceGalleryImage.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/MarketplaceGalleryImageNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "marketplaceGalleryImages", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImagesUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updates the marketplace gallery image resource.", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + }, + "202": { + "description": "Updates the marketplace gallery image resource.", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages": { + "get": { + "operationId": "MarketplaceGalleryImages_List", + "description": "Lists all of the marketplace gallery images in the specified resource group. Use the nextLink property in the response to get the next page of marketplace gallery images.", + "x-ms-examples": { + "ListMarketplaceGalleryImageByResourceGroup": { + "$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Lists all marketplace gallery images under the resource group.", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImagesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages": { + "get": { + "operationId": "MarketplaceGalleryImages_ListAll", + "description": "Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images.", + "x-ms-examples": { + "ListMarketplaceGalleryImageBySubscription": { + "$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Lists all marketplace gallery images under the subscription.", + "schema": { + "$ref": "#/definitions/MarketplaceGalleryImagesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "MarketplaceGalleryImageProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "containerId": { + "type": "string", + "description": "Storage ContainerID of the storage container to be used for marketplace gallery image" + }, + "osType": { + "type": "string", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + }, + "description": "Operating system type that the gallery image uses [Windows, Linux]" + }, + "cloudInitDataSource": { + "type": "string", + "description": "Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure]", + "enum": [ + "NoCloud", + "Azure" + ], + "x-ms-enum": { + "name": "CloudInitDataSource", + "modelAsString": true + } + }, + "hyperVGeneration": { + "type": "string", + "description": "The hypervisor generation of the Virtual Machine [V1, V2]", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "HyperVGeneration", + "modelAsString": true + } + }, + "identifier": { + "$ref": "#/definitions/GalleryImageIdentifier" + }, + "version": { + "$ref": "#/definitions/GalleryImageVersion" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the marketplace gallery image.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/MarketplaceGalleryImageStatus" + } + }, + "required": [ + "osType" + ], + "description": "Properties under the marketplace gallery image resource" + }, + "MarketplaceGalleryImageStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "MarketplaceGalleryImage provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the gallery image" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + }, + "downloadStatus": { + "type": "object", + "properties": { + "downloadSizeInMB": { + "type": "integer", + "format": "int64", + "description": "The downloaded sized of the image in MB" + } + }, + "description": "The download status of the gallery image" + }, + "progressPercentage": { + "type": "integer", + "format": "int64", + "description": "The progress of the operation in percentage" + } + }, + "description": "The observed state of marketplace gallery images" + }, + "GalleryImageIdentifier": { + "type": "object", + "properties": { + "publisher": { + "type": "string", + "description": "The name of the gallery image definition publisher." + }, + "offer": { + "type": "string", + "description": "The name of the gallery image definition offer." + }, + "sku": { + "type": "string", + "description": "The name of the gallery image definition SKU." + } + }, + "required": [ + "publisher", + "offer", + "sku" + ], + "description": "This is the gallery image definition identifier." + }, + "GalleryImageVersion": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "This is the version of the gallery image." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryImageVersionProperties" + } + }, + "description": "Specifies information about the gallery image version that you want to create or update." + }, + "GalleryImageVersionProperties": { + "type": "object", + "properties": { + "storageProfile": { + "$ref": "#/definitions/GalleryImageVersionStorageProfile" + } + }, + "required": [ + "storageProfile" + ], + "description": "Describes the properties of a gallery image version." + }, + "GalleryImageVersionStorageProfile": { + "type": "object", + "properties": { + "osDiskImage": { + "$ref": "#/definitions/GalleryOSDiskImage" + } + }, + "description": "This is the storage profile of a Gallery Image Version." + }, + "GalleryOSDiskImage": { + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "description": "This is the OS disk image." + }, + "GalleryDiskImage": { + "type": "object", + "properties": { + "sizeInMB": { + "type": "integer", + "format": "int64", + "readOnly": true, + "description": "This property indicates the size of the VHD to be created." + } + }, + "description": "This is the disk image base class." + }, + "MarketplaceGalleryImages": { + "type": "object", + "description": "The marketplace gallery image resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MarketplaceGalleryImageProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "MarketplaceGalleryImagesUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The marketplace gallery image resource patch definition." + }, + "MarketplaceGalleryImagesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MarketplaceGalleryImages" + } + }, + "nextLink": { + "type": "string" + } + } + } + }, + "parameters": { + "MarketplaceGalleryImageNameParameter": { + "name": "marketplaceGalleryImageName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 80, + "minLength": 1, + "description": "Name of the marketplace gallery image" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json new file mode 100644 index 000000000000..68bdef3fe432 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json @@ -0,0 +1,517 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}": { + "get": { + "operationId": "NetworkInterfaces_Get", + "description": "Gets a network interface", + "x-ms-examples": { + "GetNetworkInterface": { + "$ref": "./examples/GetNetworkInterface.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkInterfaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkInterfaces" + } + } + } + }, + "put": { + "operationId": "NetworkInterfaces_CreateOrUpdate", + "description": "The operation to create or update a network interface. Please note some properties can be set only during network interface creation.", + "x-ms-examples": { + "PutNetworkInterface": { + "$ref": "./examples/PutNetworkInterface.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkInterfaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "networkInterfaces", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterfaces" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/NetworkInterfaces" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/NetworkInterfaces" + } + } + } + }, + "delete": { + "operationId": "NetworkInterfaces_Delete", + "description": "The operation to delete a network interface.", + "x-ms-examples": { + "DeleteNetworkInterface": { + "$ref": "./examples/DeleteNetworkInterface.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkInterfaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "NetworkInterfaces_Update", + "description": "The operation to update a network interface.", + "x-ms-examples": { + "UpdateNetworkInterface": { + "$ref": "./examples/UpdateNetworkInterface.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/NetworkInterfaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "networkInterfaces", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkInterfacesUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkInterfaces" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_List", + "description": "Lists all of the network interfaces in the specified resource group. Use the nextLink property in the response to get the next page of network interfaces.", + "x-ms-examples": { + "ListNetworkInterfaceByResourceGroup": { + "$ref": "./examples/ListNetworkInterfaceByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkInterfacesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListAll", + "description": "Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.", + "x-ms-examples": { + "ListNetworkInterfaceBySubscription": { + "$ref": "./examples/ListNetworkInterfaceBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/NetworkInterfacesListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "InterfaceDNSSettings": { + "type": "object", + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of DNS server IP Addresses for the interface" + } + } + }, + "NetworkInterfaceProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/IPConfiguration" + }, + "description": "IPConfigurations - A list of IPConfigurations of the network interface.", + "x-ms-identifiers": [] + }, + "macAddress": { + "type": "string", + "description": "MacAddress - The MAC address of the network interface." + }, + "dnsSettings": { + "$ref": "#/definitions/InterfaceDNSSettings", + "description": "DNS Settings for the interface" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the network interface.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/NetworkInterfaceStatus" + } + }, + "description": "Properties under the network interface resource" + }, + "NetworkInterfaceStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "NetworkInterface provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the network interface" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the network interface [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + } + }, + "description": "The observed state of network interfaces" + }, + "IPConfiguration": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "x-ms-mutability": [ + "create", + "read" + ], + "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "properties": { + "type": "object", + "properties": { + "gateway": { + "x-ms-client-flatten": true, + "type": "string", + "description": "Gateway for network interface" + }, + "prefixLength": { + "type": "string", + "description": "prefixLength for network interface" + }, + "privateIPAddress": { + "type": "string", + "description": "PrivateIPAddress - Private IP address of the IP configuration." + }, + "subnet": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + }, + "description": "Subnet - Name of Subnet bound to the IP configuration." + } + }, + "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration." + } + }, + "description": "InterfaceIPConfiguration iPConfiguration in a network interface." + }, + "NetworkInterfaces": { + "type": "object", + "description": "The network interface resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkInterfaceProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "NetworkInterfacesUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The network interface resource patch definition." + }, + "NetworkInterfacesListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaces" + } + }, + "nextLink": { + "type": "string" + } + } + } + }, + "parameters": { + "NetworkInterfaceNameParameter": { + "name": "networkInterfaceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 80, + "minLength": 1, + "description": "Name of the network interface" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json new file mode 100644 index 000000000000..7ace3c26fc06 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json @@ -0,0 +1,458 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName}": { + "get": { + "operationId": "StorageContainers_Get", + "description": "Gets a storage container", + "x-ms-examples": { + "GetStorageContainer": { + "$ref": "./examples/GetStorageContainer.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageContainerNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageContainers" + } + } + } + }, + "put": { + "operationId": "StorageContainers_CreateOrUpdate", + "description": "The operation to create or update a storage container. Please note some properties can be set only during storage container creation.", + "x-ms-examples": { + "PutStorageContainer": { + "$ref": "./examples/PutStorageContainer.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageContainerNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageContainers", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageContainers" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/StorageContainers" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/StorageContainers" + } + } + } + }, + "delete": { + "operationId": "StorageContainers_Delete", + "description": "The operation to delete a storage container.", + "x-ms-examples": { + "DeleteStorageContainer": { + "$ref": "./examples/DeleteStorageContainer.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageContainerNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "StorageContainers_Update", + "description": "The operation to update a storage container.", + "x-ms-examples": { + "UpdateStorageContainer": { + "$ref": "./examples/UpdateStorageContainer.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/StorageContainerNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "storageContainers", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageContainersUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageContainers" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers": { + "get": { + "operationId": "StorageContainers_List", + "description": "Lists all of the storage containers in the specified resource group. Use the nextLink property in the response to get the next page of storage containers.", + "x-ms-examples": { + "ListStorageContainerByResourceGroup": { + "$ref": "./examples/ListStorageContainerByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageContainersListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storageContainers": { + "get": { + "operationId": "StorageContainers_ListAll", + "description": "Lists all of the storage containers in the specified subscription. Use the nextLink property in the response to get the next page of storage containers.", + "x-ms-examples": { + "ListStorageContainerBySubscription": { + "$ref": "./examples/ListStorageContainerBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageContainersListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "StorageContainerProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "path": { + "type": "string", + "description": "Path of the storage container on the disk" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the storage container.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "status": { + "$ref": "#/definitions/StorageContainerStatus" + } + }, + "description": "Properties under the storage container resource" + }, + "StorageContainerStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "StorageContainer provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "availableSizeMB": { + "type": "integer", + "format": "int64", + "description": "Amount of space available on the disk in MB" + }, + "containerSizeMB": { + "type": "integer", + "format": "int64", + "description": "Total size of the disk in MB" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the storage container" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the storage container [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + } + }, + "description": "The observed state of storage containers" + }, + "StorageContainers": { + "type": "object", + "description": "The storage container resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageContainerProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "StorageContainersUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The storage container resource patch definition." + }, + "StorageContainersListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/StorageContainers" + } + }, + "nextLink": { + "type": "string" + } + } + } + }, + "parameters": { + "StorageContainerNameParameter": { + "name": "storageContainerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 80, + "minLength": 1, + "description": "Name of the storage container" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json new file mode 100644 index 000000000000..cf206eb8a227 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json @@ -0,0 +1,492 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}": { + "get": { + "operationId": "VirtualHardDisks_Get", + "description": "Gets a virtual hard disk", + "x-ms-examples": { + "GetVirtualHardDisk": { + "$ref": "./examples/GetVirtualHardDisk.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualHardDiskNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualHardDisks" + } + } + } + }, + "put": { + "operationId": "VirtualHardDisks_CreateOrUpdate", + "description": "The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.", + "x-ms-examples": { + "PutVirtualHardDisk": { + "$ref": "./examples/PutVirtualHardDisk.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualHardDiskNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualHardDisks", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualHardDisks" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/VirtualHardDisks" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualHardDisks" + } + } + } + }, + "delete": { + "operationId": "VirtualHardDisks_Delete", + "description": "The operation to delete a virtual hard disk.", + "x-ms-examples": { + "DeleteVirtualHardDisk": { + "$ref": "./examples/DeleteVirtualHardDisk.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualHardDiskNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "VirtualHardDisks_Update", + "description": "The operation to update a virtual hard disk.", + "x-ms-examples": { + "UpdateVirtualHardDisk": { + "$ref": "./examples/UpdateVirtualHardDisk.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualHardDiskNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualHardDisks", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualHardDisksUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualHardDisks" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks": { + "get": { + "operationId": "VirtualHardDisks_List", + "description": "Lists all of the virtual hard disks in the specified resource group. Use the nextLink property in the response to get the next page of virtual hard disks.", + "x-ms-examples": { + "ListVirtualHardDiskByResourceGroup": { + "$ref": "./examples/ListVirtualHardDiskByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualHardDisksListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualHardDisks": { + "get": { + "operationId": "VirtualHardDisks_ListAll", + "description": "Lists all of the virtual hard disks in the specified subscription. Use the nextLink property in the response to get the next page of virtual hard disks.", + "x-ms-examples": { + "ListVirtualHardDiskBySubscription": { + "$ref": "./examples/ListVirtualHardDiskBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualHardDisksListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VirtualHardDiskProperties": { + "type": "object", + "properties": { + "blockSizeBytes": { + "type": "integer", + "format": "int32" + }, + "diskSizeGB": { + "type": "integer", + "format": "int64", + "description": "Size of the disk in GB" + }, + "dynamic": { + "type": "boolean", + "description": "Boolean for enabling dynamic sizing on the virtual hard disk" + }, + "logicalSectorBytes": { + "type": "integer", + "format": "int32" + }, + "physicalSectorBytes": { + "type": "integer", + "format": "int32" + }, + "hyperVGeneration": { + "type": "string", + "description": "The hypervisor generation of the Virtual Machine [V1, V2]", + "enum": [ + "V1", + "V2" + ], + "x-ms-enum": { + "name": "HyperVGeneration", + "modelAsString": true + } + }, + "diskFileFormat": { + "type": "string", + "description": "The format of the actual VHD file [vhd, vhdx]", + "enum": [ + "vhdx", + "vhd" + ], + "x-ms-enum": { + "name": "DiskFileFormat", + "modelAsString": true + } + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the virtual hard disk.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "containerId": { + "type": "string", + "description": "Storage ContainerID of the storage container to be used for VHD" + }, + "status": { + "$ref": "#/definitions/VirtualHardDiskStatus" + } + }, + "description": "Properties under the virtual hard disk resource" + }, + "VirtualHardDiskStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualHardDisk provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual hard disk" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + } + }, + "description": "The observed state of virtual hard disks" + }, + "VirtualHardDisks": { + "type": "object", + "description": "The virtual hard disk resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualHardDiskProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "VirtualHardDisksUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The virtual hard disk resource patch definition." + }, + "VirtualHardDisksListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualHardDisks" + } + }, + "nextLink": { + "type": "string" + } + } + } + }, + "parameters": { + "VirtualHardDiskNameParameter": { + "name": "virtualHardDiskName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 80, + "minLength": 1, + "description": "Name of the virtual hard disk" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json new file mode 100644 index 000000000000..5522d09809a6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -0,0 +1,1539 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default": { + "get": { + "operationId": "VirtualMachineInstances_Get", + "description": "Gets a virtual machine instance", + "x-ms-examples": { + "GetVirtualMachineInstance": { + "$ref": "./examples/GetVirtualMachineInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + } + }, + "put": { + "operationId": "VirtualMachineInstances_CreateOrUpdate", + "description": "The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.", + "x-ms-examples": { + "PutVirtualMachineInstanceWithGalleryImage": { + "$ref": "./examples/PutVirtualMachineInstanceWithGalleryImage.json" + }, + "PutVirtualMachineInstanceWithMarketplaceGalleryImage": { + "$ref": "./examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json" + }, + "PutVirtualMachineInstanceWithOsDisk": { + "$ref": "./examples/PutVirtualMachineInstanceWithOsDisk.json" + }, + "PutVirtualMachineInstanceWithVMConfigAgent": { + "$ref": "./examples/PutVirtualMachineInstanceWithVMConfigAgent.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualMachineInstance", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + } + } + }, + "delete": { + "operationId": "VirtualMachineInstances_Delete", + "description": "The operation to delete a virtual machine instance.", + "x-ms-examples": { + "DeleteVirtualMachine": { + "$ref": "./examples/DeleteVirtualMachineInstance.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "VirtualMachineInstances_Update", + "description": "The operation to update a virtual machine instance.", + "x-ms-examples": { + "UpdateVirtualMachine": { + "$ref": "./examples/UpdateVirtualMachineInstance.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualMachineInstance", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineInstanceUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/start": { + "post": { + "operationId": "VirtualMachineInstances_Start", + "description": "The operation to start a virtual machine instance.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "StartVirtualMachine": { + "$ref": "./examples/StartVirtualMachineInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/stop": { + "post": { + "operationId": "VirtualMachineInstances_Stop", + "description": "The operation to stop a virtual machine instance.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "StopVirtualMachine": { + "$ref": "./examples/StopVirtualMachineInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/restart": { + "post": { + "operationId": "VirtualMachineInstances_Restart", + "description": "The operation to restart a virtual machine instance.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "RestartVirtualMachine": { + "$ref": "./examples/RestartVirtualMachineInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances": { + "get": { + "operationId": "VirtualMachineInstances_List", + "description": "Lists all of the virtual machine instances within the specified parent resource.", + "x-ms-examples": { + "ListVirtualMachineInstances": { + "$ref": "./examples/ListVirtualMachineInstances.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineInstanceListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata/default": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_Get", + "summary": "Gets HybridIdentityMetadata.", + "description": "Implements HybridIdentityMetadata GET method.", + "x-ms-examples": { + "GetHybridIdentityMetadata": { + "$ref": "./examples/GetHybridIdentityMetadata.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/hybridIdentityMetadata": { + "get": { + "tags": [ + "HybridIdentityMetadata" + ], + "operationId": "HybridIdentityMetadata_List", + "summary": "Implements GET HybridIdentityMetadata in a vm.", + "description": "Returns the list of HybridIdentityMetadata of the given vm.", + "x-ms-examples": { + "HybridIdentityMetadataListByVirtualMachineInstances": { + "$ref": "./examples/HybridIdentityMetadata_List.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridIdentityMetadataList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents/default": { + "put": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgent_Create", + "description": "Create Or Update GuestAgent.", + "summary": "Implements GuestAgent PUT method.", + "x-ms-examples": { + "CreateGuestAgent": { + "$ref": "./examples/CreateGuestAgent.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "Request payload.", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + } + ], + "responses": { + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "get": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgent_Get", + "summary": "Gets GuestAgent.", + "description": "Implements GuestAgent GET method.", + "x-ms-examples": { + "GetGuestAgent": { + "$ref": "./examples/GetGuestAgent.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GuestAgent" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgent_Delete", + "summary": "Deleted an GuestAgent.", + "description": "Implements GuestAgent DELETE method.", + "x-ms-examples": { + "DeleteGuestAgent": { + "$ref": "./examples/DeleteGuestAgent.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default/guestAgents": { + "get": { + "tags": [ + "GuestAgents" + ], + "operationId": "GuestAgents_List", + "summary": "Implements GET GuestAgent in a vm.", + "description": "Returns the list of GuestAgent of the given vm.", + "x-ms-examples": { + "GuestAgentListByVirtualMachineInstances": { + "$ref": "./examples/GuestAgent_List.json" + } + }, + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GuestAgentList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VirtualMachineInstanceProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "hardwareProfile": { + "type": "object", + "properties": { + "vmSize": { + "type": "string", + "enum": [ + "Default", + "Standard_A2_v2", + "Standard_A4_v2", + "Standard_D2s_v3", + "Standard_D4s_v3", + "Standard_D8s_v3", + "Standard_D16s_v3", + "Standard_D32s_v3", + "Standard_DS2_v2", + "Standard_DS3_v2", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_DS13_v2", + "Standard_K8S_v1", + "Standard_K8S2_v1", + "Standard_K8S3_v1", + "Standard_K8S4_v1", + "Standard_NK6", + "Standard_NK12", + "Standard_NV6", + "Standard_NV12", + "Standard_K8S5_v1", + "Custom" + ], + "default": "Default", + "x-ms-enum": { + "name": "VmSizeEnum", + "modelAsString": true + } + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "number of processors for the virtual machine instance" + }, + "memoryMB": { + "type": "integer", + "format": "int64", + "description": "RAM in MB for the virtual machine instance" + }, + "dynamicMemoryConfig": { + "type": "object", + "properties": { + "maximumMemoryMB": { + "type": "integer", + "format": "int64" + }, + "minimumMemoryMB": { + "type": "integer", + "format": "int64" + }, + "targetMemoryBuffer": { + "type": "integer", + "description": "Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.", + "format": "int32" + } + } + } + }, + "description": "HardwareProfile - Specifies the hardware settings for the virtual machine instance." + }, + "networkProfile": { + "type": "object", + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID - Resource Id of the network interface" + } + } + }, + "description": "NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance" + } + }, + "description": "NetworkProfile - describes the network configuration the virtual machine instance" + }, + "osProfile": { + "type": "object", + "properties": { + "adminPassword": { + "type": "string", + "x-ms-secret": true, + "description": "AdminPassword - admin password", + "x-ms-mutability": [ + "create" + ] + }, + "adminUsername": { + "type": "string", + "description": "AdminUsername - admin username" + }, + "computerName": { + "type": "string", + "description": "ComputerName - name of the compute" + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "DisablePasswordAuthentication - whether password authentication should be disabled" + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for a Linux OS." + }, + "provisionVMAgent": { + "type": "boolean", + "default": true, + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process." + }, + "provisionVMConfigAgent": { + "type": "boolean", + "default": true, + "description": "Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process." + } + }, + "description": "LinuxConfiguration - linux specific configuration values for the virtual machine instance" + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Whether to EnableAutomaticUpdates on the machine" + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for Windows OS." + }, + "timeZone": { + "type": "string", + "description": "TimeZone for the virtual machine instance" + }, + "provisionVMAgent": { + "type": "boolean", + "default": true, + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process." + }, + "provisionVMConfigAgent": { + "type": "boolean", + "default": true, + "description": "Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process." + } + }, + "description": "Windows Configuration for the virtual machine instance " + } + }, + "description": "OsProfile - describes the configuration of the operating system and sets login data" + }, + "securityProfile": { + "type": "object", + "properties": { + "enableTPM": { + "type": "boolean", + "default": false + }, + "uefiSettings": { + "type": "object", + "properties": { + "secureBootEnabled": { + "type": "boolean", + "default": false, + "description": "Specifies whether secure boot should be enabled on the virtual machine instance." + } + } + }, + "securityType": { + "type": "string", + "description": "Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ], + "x-ms-enum": { + "name": "SecurityTypes", + "modelAsString": true + } + } + }, + "description": "SecurityProfile - Specifies the security settings for the virtual machine instance." + }, + "storageProfile": { + "type": "object", + "properties": { + "dataDisks": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the data disk" + } + } + }, + "description": "adds data disks to the virtual machine instance" + }, + "imageReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "description": "Resource ID of the image" + } + }, + "description": "Which Image to use for the virtual machine instance" + }, + "osDisk": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of the OS disk" + }, + "osType": { + "type": "string", + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: **Windows,** **Linux.**", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + } + }, + "description": "VHD to attach as OS disk" + }, + "vmConfigStoragePathId": { + "type": "string", + "description": "Id of the storage container that hosts the VM configuration file" + } + }, + "description": "StorageProfile - contains information about the disks and storage information for the virtual machine instance" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the virtual machine instance.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineInstanceView", + "readOnly": true, + "description": "The virtual machine instance view." + }, + "status": { + "$ref": "#/definitions/VirtualMachineInstanceStatus" + }, + "guestAgentInstallStatus": { + "description": "Guest agent install status.", + "$ref": "#/definitions/GuestAgentInstallStatus" + }, + "vmId": { + "description": "Unique identifier for the vm resource.", + "type": "string", + "readOnly": true + }, + "resourceUid": { + "description": "Unique identifier defined by ARC to identify the guest of the VM.", + "type": "string" + } + }, + "description": "Properties under the virtual machine instance resource" + }, + "SshPublicKey": { + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + }, + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + } + }, + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshConfiguration": { + "type": "object", + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [ + "path" + ], + "description": "The list of SSH public keys used to authenticate with linux based VMs." + } + }, + "description": "SSH configuration for Linux based VMs running on Azure" + }, + "VirtualMachineInstanceStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualMachine provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "powerState": { + "type": "string", + "description": "The power state of the virtual machine instance", + "enum": [ + "Deallocated", + "Deallocating", + "Running", + "Starting", + "Stopped", + "Stopping", + "Unknown" + ], + "x-ms-enum": { + "name": "PowerStateEnum", + "modelAsString": true + } + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual machine instance" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + } + }, + "description": "The observed state of virtual machine instances" + }, + "VirtualMachineInstance": { + "type": "object", + "x-ms-client-flatten": true, + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualMachineInstanceProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "description": "The virtual machine instance resource definition." + }, + "VirtualMachineInstanceView": { + "type": "object", + "properties": { + "vmAgent": { + "$ref": "#/definitions/VirtualMachineVMConfigAgentInstanceView", + "description": "The VM Config Agent running on the virtual machine." + } + }, + "description": "The instance view of a virtual machine." + }, + "VirtualMachineVMConfigAgentInstanceView": { + "type": "object", + "properties": { + "vmVMConfigAgentVersion": { + "type": "string", + "description": "The VM Config Agent full version." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "x-ms-identifiers": [], + "description": "The resource status information." + } + }, + "description": "The instance view of the VM Config Agent running on the virtual machine." + }, + "InstanceViewStatus": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "The status code." + }, + "level": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": true + } + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." + } + }, + "description": "Instance view status." + }, + "HardwareProfileUpdate": { + "type": "object", + "properties": { + "vmSize": { + "type": "string", + "enum": [ + "Default", + "Standard_A2_v2", + "Standard_A4_v2", + "Standard_D2s_v3", + "Standard_D4s_v3", + "Standard_D8s_v3", + "Standard_D16s_v3", + "Standard_D32s_v3", + "Standard_DS2_v2", + "Standard_DS3_v2", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_DS13_v2", + "Standard_K8S_v1", + "Standard_K8S2_v1", + "Standard_K8S3_v1", + "Standard_K8S4_v1", + "Standard_NK6", + "Standard_NK12", + "Standard_NV6", + "Standard_NV12", + "Standard_K8S5_v1", + "Custom" + ], + "default": "Default", + "x-ms-enum": { + "name": "VmSizeEnum", + "modelAsString": true + } + }, + "processors": { + "type": "integer", + "format": "int32", + "description": "number of processors for the virtual machine instance" + }, + "memoryMB": { + "type": "integer", + "format": "int64", + "description": "RAM in MB for the virtual machine instance" + } + }, + "description": "HardwareProfile - Specifies the hardware settings for the virtual machine instance." + }, + "NetworkProfileUpdate": { + "type": "object", + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID - Resource ID of the network interface" + } + } + }, + "description": "NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance" + } + }, + "description": "NetworkProfile - describes the network update configuration the virtual machine instance" + }, + "StorageProfileUpdate": { + "type": "object", + "properties": { + "dataDisks": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string" + } + } + }, + "description": "adds data disks to the virtual machine instance for the update call" + } + } + }, + "OsProfileUpdate": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "description": "ComputerName - name of the computer" + }, + "linuxConfiguration": { + "type": "object", + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process." + }, + "provisionVMConfigAgent": { + "type": "boolean", + "description": "Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process." + } + } + }, + "windowsConfiguration": { + "type": "object", + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process." + }, + "provisionVMConfigAgent": { + "type": "boolean", + "description": "Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process." + } + } + } + }, + "description": "OsProfile - describes the update configuration of the operating system" + }, + "VirtualMachineInstanceUpdateProperties": { + "description": "Defines the resource properties for the update.", + "type": "object", + "properties": { + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfileUpdate" + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfileUpdate" + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfileUpdate" + }, + "osProfile": { + "$ref": "#/definitions/OsProfileUpdate" + } + } + }, + "VirtualMachineInstanceUpdateRequest": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineInstanceUpdateProperties" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity" + } + }, + "description": "The virtual machine instance resource patch definition." + }, + "VirtualMachineInstanceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineInstance" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "GuestAgentInstallStatus": { + "description": "Defines the status of a guest agent installation.", + "type": "object", + "properties": { + "vmUuid": { + "readOnly": true, + "type": "string", + "description": "Specifies the VM's unique SMBIOS ID." + }, + "status": { + "readOnly": true, + "type": "string", + "description": "The installation status of the hybrid machine agent installation.", + "enum": [ + "Succeeded", + "InProgress", + "Failed" + ], + "x-ms-enum": { + "name": "StatusTypes", + "modelAsString": true + } + }, + "lastStatusChange": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time of the last status change." + }, + "agentVersion": { + "readOnly": true, + "type": "string", + "description": "The hybrid machine agent full version." + }, + "errorDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorDetail" + }, + "x-ms-identifiers": [], + "description": "Details about the error state." + } + } + }, + "HybridIdentityMetadataList": { + "description": "List of HybridIdentityMetadata.", + "type": "object", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of HybridIdentityMetadata.", + "type": "string" + }, + "value": { + "description": "Array of HybridIdentityMetadata", + "type": "array", + "items": { + "$ref": "#/definitions/HybridIdentityMetadata" + } + } + }, + "required": [ + "value" + ] + }, + "HybridIdentityMetadata": { + "description": "Defines the HybridIdentityMetadata.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/HybridIdentityMetadataProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "HybridIdentityMetadataProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "resourceUid": { + "description": "The unique identifier for the resource.", + "type": "string" + }, + "publicKey": { + "description": "The Public Key.", + "type": "string" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Identity", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "GuestAgentList": { + "type": "object", + "description": "List of GuestAgent.", + "properties": { + "nextLink": { + "description": "Url to follow for getting next page of GuestAgent.", + "type": "string" + }, + "value": { + "description": "Array of GuestAgent", + "type": "array", + "items": { + "$ref": "#/definitions/GuestAgent" + } + } + }, + "required": [ + "value" + ] + }, + "GuestAgent": { + "description": "Defines the GuestAgent.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource", + "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags." + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Resource properties.", + "$ref": "#/definitions/GuestAgentProperties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "description": "The system data." + } + }, + "x-ms-azure-resource": true + }, + "ProvisioningAction": { + "description": "Defines the different types of operations for guest agent.", + "enum": [ + "install", + "uninstall", + "repair" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ProvisioningAction" + } + }, + "GuestCredential": { + "description": "Username / Password Credentials to connect to guest.", + "type": "object", + "properties": { + "username": { + "description": "The username to connect with the guest.", + "type": "string" + }, + "password": { + "description": "The password to connect with the guest.", + "type": "string", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + } + }, + "GuestAgentProperties": { + "description": "Defines the resource properties.", + "type": "object", + "properties": { + "credentials": { + "description": "Username / Password Credentials to provision guest agent.", + "$ref": "#/definitions/GuestCredential" + }, + "httpProxyConfig": { + "description": "HTTP Proxy configuration for the VM.", + "$ref": "#/definitions/HttpProxyConfiguration" + }, + "provisioningAction": { + "description": "The guest agent provisioning action.", + "$ref": "#/definitions/ProvisioningAction", + "type": "string" + }, + "status": { + "description": "The guest agent status.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state.", + "type": "string", + "readOnly": true + } + } + }, + "HttpProxyConfiguration": { + "description": "HTTP Proxy configuration for the VM.", + "type": "object", + "properties": { + "httpsProxy": { + "description": "The httpsProxy url.", + "type": "string" + } + } + } + }, + "parameters": { + "ResourceUriParameter": { + "in": "path", + "name": "resourceUri", + "description": "The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true, + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json new file mode 100644 index 000000000000..48e668fde633 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json @@ -0,0 +1,601 @@ +{ + "swagger": "2.0", + "info": { + "title": "AzureStackHCI", + "description": "The Microsoft.AzureStackHCI Rest API spec.", + "version": "2023-07-01-preview", + "x-ms-code-generation-settings": { + "name": "AzureStackHCIClient" + } + }, + "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": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualNetworks/{virtualNetworkName}": { + "get": { + "operationId": "VirtualNetworks_Get", + "x-ms-examples": { + "GetVirtualNetwork": { + "$ref": "./examples/GetVirtualNetwork.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworks" + } + } + } + }, + "put": { + "operationId": "VirtualNetworks_CreateOrUpdate", + "description": "The operation to create or update a virtual network. Please note some properties can be set only during virtual network creation.", + "x-ms-examples": { + "PutVirtualNetwork": { + "$ref": "./examples/PutVirtualNetwork.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualNetworks", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworks" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Updated", + "schema": { + "$ref": "#/definitions/VirtualNetworks" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/VirtualNetworks" + } + } + } + }, + "delete": { + "operationId": "VirtualNetworks_Delete", + "description": "The operation to delete a virtual network.", + "x-ms-examples": { + "DeleteVirtualNetwork": { + "$ref": "./examples/DeleteVirtualNetwork.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, + "204": { + "description": "No content" + } + } + }, + "patch": { + "operationId": "VirtualNetworks_Update", + "description": "The operation to update a virtual network.", + "x-ms-examples": { + "UpdateVirtualNetwork": { + "$ref": "./examples/UpdateVirtualNetwork.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/VirtualNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "virtualNetworks", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworksUpdateRequest" + } + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworks" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "type": "string" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualNetworks": { + "get": { + "operationId": "VirtualNetworks_List", + "description": "Lists all of the virtual networks in the specified resource group. Use the nextLink property in the response to get the next page of virtual networks.", + "x-ms-examples": { + "ListVirtualNetworkByResourceGroup": { + "$ref": "./examples/ListVirtualNetworkByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworksListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualNetworks": { + "get": { + "operationId": "VirtualNetworks_ListAll", + "description": "Lists all of the virtual networks in the specified subscription. Use the nextLink property in the response to get the next page of virtual networks.", + "x-ms-examples": { + "ListVirtualNetworkBySubscription": { + "$ref": "./examples/ListVirtualNetworkBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualNetworksListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "VirtualNetworkProperties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "dhcpOptions": { + "type": "object", + "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.", + "properties": { + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of DNS servers IP addresses." + } + } + }, + "networkType": { + "type": "string", + "description": "Type of the network", + "enum": [ + "NAT", + "Transparent", + "L2Bridge", + "L2Tunnel", + "ICS", + "Private", + "Overlay", + "Internal", + "Mirrored" + ], + "x-ms-enum": { + "name": "NetworkTypeEnum", + "modelAsString": true + } + }, + "subnets": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "Cidr for this subnet - IPv4, IPv6" + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "AddressPrefixes - List of address prefixes for the subnet." + }, + "ipAllocationMethod": { + "type": "string", + "description": "IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'", + "enum": [ + "Dynamic", + "Static" + ], + "x-ms-enum": { + "name": "IpAllocationMethodEnum", + "modelAsString": true + } + }, + "ipConfigurationReferences": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "IPConfigurationID" + } + }, + "description": "IPConfigurationReference - Describes a IPConfiguration under the virtual network" + }, + "x-ms-identifiers": [], + "description": "IPConfigurationReferences - list of IPConfigurationReferences" + }, + "routeTable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated." + }, + "name": { + "type": "string", + "description": "Name - READ-ONLY; Resource name." + }, + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "routes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "description": "Name - name of the subnet" + }, + "properties": { + "type": "object", + "x-ms-client-flatten": true, + "properties": { + "addressPrefix": { + "type": "string", + "description": "AddressPrefix - The destination CIDR to which the route applies." + }, + "nextHopIpAddress": { + "type": "string", + "description": "NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." + } + }, + "description": "RoutePropertiesFormat - Properties of the route." + } + }, + "description": "Route is associated with a subnet." + }, + "description": "Routes - Collection of routes contained within a route table.", + "x-ms-identifiers": [] + } + }, + "description": "RouteTablePropertiesFormat route Table resource." + }, + "type": { + "type": "string", + "description": "Type - READ-ONLY; Resource type." + } + }, + "description": "RouteTable for the subnet" + }, + "vlan": { + "type": "integer", + "format": "int32", + "description": "Vlan to use for the subnet" + } + }, + "description": "SubnetProperties - Properties of the subnet." + } + }, + "description": "Subnet subnet in a virtual network resource." + }, + "description": "Subnet - list of subnets under the virtual network", + "x-ms-identifiers": [] + }, + "provisioningState": { + "type": "string", + "description": "Provisioning state of the virtual network.", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "InProgress", + "Accepted", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningStateEnum", + "modelAsString": true + } + }, + "vmSwitchName": { + "type": "string", + "description": "name of the network switch to be used for VMs" + }, + "status": { + "$ref": "#/definitions/VirtualNetworkStatus" + } + }, + "description": "Properties under the virtual network resource" + }, + "VirtualNetworkStatus": { + "type": "object", + "x-ms-client-flatten": true, + "readOnly": true, + "properties": { + "errorCode": { + "type": "string", + "description": "VirtualNetwork provisioning error code" + }, + "errorMessage": { + "type": "string", + "description": "Descriptive error message" + }, + "provisioningStatus": { + "type": "object", + "properties": { + "operationId": { + "type": "string", + "description": "The ID of the operation performed on the virtual network" + }, + "status": { + "type": "string", + "description": "The status of the operation performed on the virtual network [Succeeded, Failed, InProgress]", + "enum": [ + "Succeeded", + "Failed", + "InProgress" + ], + "x-ms-enum": { + "name": "Status", + "modelAsString": true + } + } + } + } + }, + "description": "The observed state of virtual networks" + }, + "VirtualNetworks": { + "type": "object", + "description": "The virtual network resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/VirtualNetworkProperties" + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "VirtualNetworksUpdateRequest": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "description": "The virtual network resource patch definition." + }, + "VirtualNetworksListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualNetworks" + } + }, + "nextLink": { + "type": "string" + } + } + } + }, + "parameters": { + "VirtualNetworkNameParameter": { + "name": "virtualNetworkName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[_a-zA-Z0-9]$", + "x-ms-parameter-location": "method", + "maxLength": 64, + "minLength": 2, + "description": "Name of the virtual network" + } + } +} From 3cfcc584fd4e1bd4c3eb673cf32eb1d5136099f7 Mon Sep 17 00:00:00 2001 From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:30:48 -0700 Subject: [PATCH 02/16] Updates readme --- .../azurestackhci/resource-manager/readme.md | 56 ++++++++++++------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index 66c6a742141b..8e24528a358b 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -24,17 +24,17 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the azurestackhci. -```yaml +``` yaml title: AzureStackHCIClient description: Azure Stack HCI management service openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2023-07 +tag: package-2023-09 ``` ## Suppression -```yaml +``` yaml directive: - suppress: R3020 from: @@ -67,11 +67,27 @@ suppressions: reason: There is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances ``` + +### Tag: package-2023-09 + +These settings apply only when `--tag=package-2023-09` is specified on the command line. + +```yaml $(tag) == 'package-2023-09' +input-file: + - Microsoft.AzureStackHCI/stable/2023-09-01/common.json + - Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json + - Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json + - Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json + - Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json + - Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json + - Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json + - Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json +``` ### Tag: package-preview-2023-07 These settings apply only when `--tag=package-preview-2023-07` is specified on the command line. -```yaml $(tag) == 'package-preview-2023-07' +``` yaml $(tag) == 'package-preview-2023-07' input-file: - Microsoft.AzureStackHCI/preview/2023-07-01-preview/galleryImages.json - Microsoft.AzureStackHCI/preview/2023-07-01-preview/marketplaceGalleryImages.json @@ -86,7 +102,7 @@ input-file: These settings apply only when `--tag=package-2023-03` is specified on the command line. -```yaml $(tag) == 'package-2023-03' +``` yaml $(tag) == 'package-2023-03' input-file: - Microsoft.AzureStackHCI/stable/2023-03-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2023-03-01/clusters.json @@ -104,7 +120,7 @@ input-file: These settings apply only when `--tag=package-2023-02` is specified on the command line. -```yaml $(tag) == 'package-2023-02' +``` yaml $(tag) == 'package-2023-02' input-file: - Microsoft.AzureStackHCI/stable/2023-02-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2023-02-01/clusters.json @@ -122,7 +138,7 @@ input-file: These settings apply only when `--tag=package-preview-2022-12-15` is specified on the command line. -```yaml $(tag) == 'package-preview-2022-12-15' +``` yaml $(tag) == 'package-preview-2022-12-15' input-file: - Microsoft.AzureStackHCI/preview/2022-12-15-preview/arcSettings.json - Microsoft.AzureStackHCI/preview/2022-12-15-preview/clusters.json @@ -148,7 +164,7 @@ input-file: These settings apply only when `--tag=package-2022-12` is specified on the command line. -```yaml $(tag) == 'package-2022-12' +``` yaml $(tag) == 'package-2022-12' input-file: - Microsoft.AzureStackHCI/stable/2022-12-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-12-01/clusters.json @@ -166,7 +182,7 @@ input-file: These settings apply only when `--tag=package-2022-10` is specified on the command line. -```yaml $(tag) == 'package-2022-10' +``` yaml $(tag) == 'package-2022-10' input-file: - Microsoft.AzureStackHCI/stable/2022-10-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-10-01/clusters.json @@ -184,7 +200,7 @@ input-file: These settings apply only when `--tag=package-2022-09` is specified on the command line. -```yaml $(tag) == 'package-2022-09' +``` yaml $(tag) == 'package-2022-09' input-file: - Microsoft.AzureStackHCI/stable/2022-09-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-09-01/clusters.json @@ -196,7 +212,7 @@ input-file: These settings apply only when `--tag=package-2022-05` is specified on the command line. -```yaml $(tag) == 'package-2022-05' +``` yaml $(tag) == 'package-2022-05' input-file: - Microsoft.AzureStackHCI/stable/2022-05-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-05-01/clusters.json @@ -208,7 +224,7 @@ input-file: These settings apply only when `--tag=package-2022-03` is specified on the command line. -```yaml $(tag) == 'package-2022-03' +``` yaml $(tag) == 'package-2022-03' input-file: - Microsoft.AzureStackHCI/stable/2022-03-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-03-01/clusters.json @@ -220,7 +236,7 @@ input-file: These settings apply only when `--tag=package-2022-01` is specified on the command line. -```yaml $(tag) == 'package-2022-01' +``` yaml $(tag) == 'package-2022-01' input-file: - Microsoft.AzureStackHCI/stable/2022-01-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2022-01-01/clusters.json @@ -232,7 +248,7 @@ input-file: These settings apply only when `--tag=package-preview-2021-09` is specified on the command line. -```yaml $(tag) == 'package-preview-2021-09' +``` yaml $(tag) == 'package-preview-2021-09' input-file: - Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json - Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json @@ -251,7 +267,7 @@ input-file: These settings apply only when `--tag=package-2021-09` is specified on the command line. -```yaml $(tag) == 'package-2021-09' +``` yaml $(tag) == 'package-2021-09' input-file: - Microsoft.AzureStackHCI/stable/2021-09-01/arcSettings.json - Microsoft.AzureStackHCI/stable/2021-09-01/clusters.json @@ -263,7 +279,7 @@ input-file: These settings apply only when `--tag=package-preview-2021-07` is specified on the command line. -```yaml $(tag) == 'package-preview-2021-07' +``` yaml $(tag) == 'package-preview-2021-07' input-file: - Microsoft.AzureStackHCI/preview/2021-07-01-preview/galleryImages.json - Microsoft.AzureStackHCI/preview/2021-07-01-preview/networkInterfaces.json @@ -277,7 +293,7 @@ input-file: These settings apply only when `--tag=package-preview-2021-01` is specified on the command line. -```yaml $(tag) == 'package-preview-2021-01' +``` yaml $(tag) == 'package-preview-2021-01' input-file: - Microsoft.AzureStackHCI/preview/2021-01-01-preview/arcSettings.json - Microsoft.AzureStackHCI/preview/2021-01-01-preview/clusters.json @@ -289,7 +305,7 @@ input-file: These settings apply only when `--tag=package-2020-10-01` is specified on the command line. -```yaml $(tag) == 'package-2020-10-01' +``` yaml $(tag) == 'package-2020-10-01' input-file: - Microsoft.AzureStackHCI/stable/2020-10-01/azurestackhci.json ``` @@ -298,7 +314,7 @@ input-file: These settings apply only when `--tag=package-2020-03-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2020-03-01-preview' +``` yaml $(tag) == 'package-2020-03-01-preview' input-file: - Microsoft.AzureStackHCI/preview/2020-03-01-preview/azurestackhci.json ``` @@ -312,7 +328,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java From fac6fe98ae4c133548aa3992dc49030c1ce631c3 Mon Sep 17 00:00:00 2001 From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:30:53 -0700 Subject: [PATCH 03/16] Updates API version in new specs and examples --- .../Microsoft.AzureStackHCI/stable/2023-09-01/common.json | 2 +- .../stable/2023-09-01/examples/CreateGuestAgent.json | 2 +- .../stable/2023-09-01/examples/DeleteGalleryImage.json | 2 +- .../stable/2023-09-01/examples/DeleteGuestAgent.json | 2 +- .../2023-09-01/examples/DeleteMarketplaceGalleryImage.json | 2 +- .../stable/2023-09-01/examples/DeleteNetworkInterface.json | 2 +- .../stable/2023-09-01/examples/DeleteStorageContainer.json | 2 +- .../stable/2023-09-01/examples/DeleteVirtualHardDisk.json | 2 +- .../2023-09-01/examples/DeleteVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/DeleteVirtualNetwork.json | 2 +- .../stable/2023-09-01/examples/GetGalleryImage.json | 2 +- .../stable/2023-09-01/examples/GetGuestAgent.json | 2 +- .../stable/2023-09-01/examples/GetHybridIdentityMetadata.json | 2 +- .../stable/2023-09-01/examples/GetMarketplaceGalleryImage.json | 2 +- .../stable/2023-09-01/examples/GetNetworkInterface.json | 2 +- .../stable/2023-09-01/examples/GetStorageContainer.json | 2 +- .../stable/2023-09-01/examples/GetVirtualHardDisk.json | 2 +- .../stable/2023-09-01/examples/GetVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/GetVirtualNetwork.json | 2 +- .../stable/2023-09-01/examples/GuestAgent_List.json | 2 +- .../stable/2023-09-01/examples/HybridIdentityMetadata_List.json | 2 +- .../2023-09-01/examples/ListGalleryImageByResourceGroup.json | 2 +- .../2023-09-01/examples/ListGalleryImageBySubscription.json | 2 +- .../examples/ListMarketplaceGalleryImageByResourceGroup.json | 2 +- .../examples/ListMarketplaceGalleryImageBySubscription.json | 2 +- .../examples/ListNetworkInterfaceByResourceGroup.json | 2 +- .../2023-09-01/examples/ListNetworkInterfaceBySubscription.json | 2 +- .../stable/2023-09-01/examples/ListOperations.json | 2 +- .../examples/ListStorageContainerByResourceGroup.json | 2 +- .../2023-09-01/examples/ListStorageContainerBySubscription.json | 2 +- .../2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json | 2 +- .../2023-09-01/examples/ListVirtualHardDiskBySubscription.json | 2 +- .../stable/2023-09-01/examples/ListVirtualMachineInstances.json | 2 +- .../2023-09-01/examples/ListVirtualNetworkByResourceGroup.json | 2 +- .../2023-09-01/examples/ListVirtualNetworkBySubscription.json | 2 +- .../stable/2023-09-01/examples/PutGalleryImage.json | 2 +- .../stable/2023-09-01/examples/PutMarketplaceGalleryImage.json | 2 +- .../stable/2023-09-01/examples/PutNetworkInterface.json | 2 +- .../stable/2023-09-01/examples/PutStorageContainer.json | 2 +- .../stable/2023-09-01/examples/PutVirtualHardDisk.json | 2 +- .../examples/PutVirtualMachineInstanceWithGalleryImage.json | 2 +- .../PutVirtualMachineInstanceWithMarketplaceGalleryImage.json | 2 +- .../examples/PutVirtualMachineInstanceWithOsDisk.json | 2 +- .../examples/PutVirtualMachineInstanceWithVMConfigAgent.json | 2 +- .../stable/2023-09-01/examples/PutVirtualNetwork.json | 2 +- .../2023-09-01/examples/RestartVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/StartVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/StopVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/UpdateGalleryImage.json | 2 +- .../2023-09-01/examples/UpdateMarketplaceGalleryImage.json | 2 +- .../stable/2023-09-01/examples/UpdateNetworkInterface.json | 2 +- .../stable/2023-09-01/examples/UpdateStorageContainer.json | 2 +- .../stable/2023-09-01/examples/UpdateVirtualHardDisk.json | 2 +- .../2023-09-01/examples/UpdateVirtualMachineInstance.json | 2 +- .../stable/2023-09-01/examples/UpdateVirtualNetwork.json | 2 +- .../stable/2023-09-01/galleryImages.json | 2 +- .../stable/2023-09-01/marketplaceGalleryImages.json | 2 +- .../stable/2023-09-01/networkInterfaces.json | 2 +- .../stable/2023-09-01/storageContainers.json | 2 +- .../stable/2023-09-01/virtualHardDisks.json | 2 +- .../stable/2023-09-01/virtualMachineInstances.json | 2 +- .../stable/2023-09-01/virtualNetworks.json | 2 +- 62 files changed, 62 insertions(+), 62 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json index f8d5a5c2a14c..8d418501376d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec", - "version": "2023-07-01-preview" + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json index 439249eab360..8826713f0b9b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "body": { "properties": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json index da0a76eee4f3..6516e2a98726 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json index b60992f2831e..8f9d903c4ab4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json index ec1670cab45a..9db4553f3a1c 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json index 72ec6d3c6c70..2be51fc1ecb3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json index f777733c808e..247df82c4d35 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json index 2c38ec3cf2f2..c0bc6137cb91 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json index b24db94442c2..df4b40f8fc54 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "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" + "api-version": "2023-09-01" }, "responses": { "202": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json index 984f0aee2e0e..b1c6c76f5ccd 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualNetworkName": "test-vnet", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json index 51bac00b3364..e4c43c370799 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json index db0c4fc8ebb6..21a51c75db52 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json index 35b1162f5368..8c99b6a69dfb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json index a1c102db31c5..1e43f0d2ca23 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json index 17ab5a9de84e..ec0349da41a0 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json index 81c75c612f52..39328426fb85 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json index af4c970431d0..13dacec5561d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json index b6515c9f427e..ef77a9f63f8a 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json index 9c01e9956bb7..dcab703a2b41 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualNetworkName": "test-vnet", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json index 5ad9fec8398f..dfb00765daee 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json index e3abeb1904d5..8477b147c9f6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json index f0b2101f9646..474d3b99a463 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json index cf2d13c6dcc6..bc2863d2a719 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json index 88f07faef807..5e573ec64211 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json index 063d00f9fa45..d042b6502077 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json index fe31b1ef5d83..e817dd55bd32 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json index fe31b1ef5d83..e817dd55bd32 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json index be51116e795d..73768ff8d16c 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json index 8f4b6f86afbc..dbc14c594fe1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json index 3a8004f75fe7..164fcc236fee 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json index ee734c6c2424..ad45ba2f7a8f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json index 59a5add78ab5..c91756de3f26 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json index d2e287a609cb..0d850d6ed0b4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json index 85515bbf56fa..ab7a8ca3bce5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json index f54eb1b54ad6..d5a3961c1473 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-07-01-preview" + "api-version": "2023-09-01" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json index 0267b1023dc7..67b382ef6a79 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "galleryImages": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json index 3a26ce4b734f..ad113ecc161f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "name": "test-marketplace-gallery-image", "marketplaceGalleryImages": { "location": "West US2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json index b317ce6aca84..da76a7fdbfc3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "networkInterfaces": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json index c4c7c0d53efd..6d99f8b418e3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "storageContainers": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json index fcd4165e58d1..c9ddbe868e0b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "virtualHardDisks": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json index 125aa23cd7a8..7195d0add15c 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json index 6436b64d921c..4ced4cdbae49 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json index 868b20b4d754..60886a154bdd 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json index 98d6f23edd8e..a42875a3b13e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json index fe50a9717e4d..8a04e4eb7cbb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualNetworkName": "test-vnet", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "virtualNetworks": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json index 0048ac006e26..7ae10d81fea1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json index 0048ac006e26..7ae10d81fea1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json index 0048ac006e26..7ae10d81fea1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json index af3fec44b3e7..78eda5652353 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "galleryImages": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json index 740b858aa5dc..7e8613e453cf 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplce-gallery-image", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "marketplaceGalleryImages": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json index e83f32d668b5..4f898db8180d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "networkInterfaces": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json index 30b1efa4e161..8b14f4c3a93d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "storageContainers": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json index b64e65c67894..aa4770b072ac 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "virtualHardDisks": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json index f692a99da0fc..d7bee57d2213 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "virtualMachineInstance": { "properties": { "osProfile": {} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json index 3818b20ecb0f..37421bb79421 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualNetworkName": "test-vnet", - "api-version": "2023-07-01-preview", + "api-version": "2023-09-01", "virtualNetworks": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json index 3fa7271d3f88..25fba2047736 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json index 34070e80af8e..a4d7558a23ee 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json index 68bdef3fe432..1536f823b30b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json index 7ace3c26fc06..7043904f9230 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json index cf206eb8a227..31305f79ed12 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json index 5522d09809a6..bf309293e1dc 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json index 48e668fde633..7f2b84bb0cef 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-07-01-preview", + "version": "2023-09-01", "x-ms-code-generation-settings": { "name": "AzureStackHCIClient" } From 9b877ede4ad5bcc04c39ed5b50ac793228ceb43d Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Mon, 28 Aug 2023 11:41:39 -0700 Subject: [PATCH 04/16] update 2023-09-01 from https://github.com/Azure/azure-rest-api-specs-pr/pull/14245 --- ...Network.json => DeleteLogicalNetwork.json} | 2 +- .../DeleteVirtualMachineInstance.json | 4 +- .../2023-09-01/examples/GetGalleryImage.json | 4 +- .../examples/GetLogicalNetwork.json | 25 +++ .../examples/GetMarketplaceGalleryImage.json | 2 +- .../examples/GetNetworkInterface.json | 2 +- .../examples/GetVirtualNetwork.json | 26 --- .../ListGalleryImageByResourceGroup.json | 2 +- .../ListGalleryImageBySubscription.json | 2 +- ...=> ListLogicalNetworkByResourceGroup.json} | 11 +- .../ListLogicalNetworkBySubscription.json | 27 +++ ...arketplaceGalleryImageByResourceGroup.json | 2 +- ...MarketplaceGalleryImageBySubscription.json | 2 +- .../ListNetworkInterfaceByResourceGroup.json | 2 +- .../ListNetworkInterfaceBySubscription.json | 2 +- .../ListVirtualNetworkBySubscription.json | 28 --- .../2023-09-01/examples/PutGalleryImage.json | 6 +- .../examples/PutLogicalNetwork.json | 47 ++++ .../examples/PutMarketplaceGalleryImage.json | 6 +- .../examples/PutNetworkInterface.json | 6 +- ...rtualMachineInstanceWithVMConfigAgent.json | 4 +- .../examples/PutVirtualNetwork.json | 52 ----- .../RestartVirtualMachineInstance.json | 4 +- .../examples/StartVirtualMachineInstance.json | 4 +- .../examples/StopVirtualMachineInstance.json | 4 +- .../examples/UpdateGalleryImage.json | 2 +- ...Network.json => UpdateLogicalNetwork.json} | 13 +- .../UpdateMarketplaceGalleryImage.json | 2 +- .../examples/UpdateNetworkInterface.json | 2 +- .../UpdateVirtualMachineInstance.json | 19 +- .../stable/2023-09-01/galleryImages.json | 11 + ...tualNetworks.json => logicalNetworks.json} | 210 ++++++++++-------- .../2023-09-01/marketplaceGalleryImages.json | 10 +- .../stable/2023-09-01/networkInterfaces.json | 2 + .../stable/2023-09-01/storageContainers.json | 3 + .../stable/2023-09-01/virtualHardDisks.json | 8 + .../2023-09-01/virtualMachineInstances.json | 31 ++- 37 files changed, 338 insertions(+), 251 deletions(-) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/{DeleteVirtualNetwork.json => DeleteLogicalNetwork.json} (93%) create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/{ListVirtualNetworkByResourceGroup.json => ListLogicalNetworkByResourceGroup.json} (50%) create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/{UpdateVirtualNetwork.json => UpdateLogicalNetwork.json} (59%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/{virtualNetworks.json => logicalNetworks.json} (76%) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json index b1c6c76f5ccd..412244654437 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "virtualNetworkName": "test-vnet", + "logicalNetworkName": "test-lnet", "api-version": "2023-09-01" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json index df4b40f8fc54..8f9d903c4ab4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", - "api-version": "2023-09-01" + "api-version": "2023-09-01", + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { "202": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json index e4c43c370799..2631bfad8fe1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json @@ -18,7 +18,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V1", @@ -44,7 +44,7 @@ }, "progressPercentage": 100, "downloadStatus": { - "downloadSizeInMB": 9382 + "downloadSizeInMB": 9383 } } } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json new file mode 100644 index 000000000000..5b25124c2b2b --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "logicalNetworkName": "test-lnet", + "api-version": "2023-09-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/logicalNetworks/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json index 1e43f0d2ca23..8315424f9293 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json @@ -18,7 +18,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json index ec0349da41a0..561a80c97811 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json @@ -9,7 +9,7 @@ "200": { "body": { "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", - "name": "test-vnet", + "name": "test-nic", "type": "Microsoft.AzureStackHCI/networkInterfaces", "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json deleted file mode 100644 index dcab703a2b41..000000000000 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualNetwork.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "test-rg", - "virtualNetworkName": "test-vnet", - "api-version": "2023-09-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", - "location": "West US2", - "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", - "type": "CustomLocation" - }, - "properties": { - "provisioningState": "Accepted", - "networkType": "Transparent" - } - } - } - } -} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json index 474d3b99a463..29894ab47ea0 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json @@ -19,7 +19,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json index bc2863d2a719..7ef5cb7d8e6a 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json @@ -18,7 +18,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json similarity index 50% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json index ab7a8ca3bce5..8fa316511463 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json @@ -9,17 +9,16 @@ "body": { "value": [ { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", "location": "West US2", "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", "type": "CustomLocation" }, "properties": { - "provisioningState": "Accepted", - "networkType": "Transparent" + "provisioningState": "Accepted" } } ] diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json new file mode 100644 index 000000000000..2f76a32b034d --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "api-version": "2023-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/logicalNetworks/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted" + } + } + ] + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json index 5e573ec64211..62edb7461333 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json @@ -19,7 +19,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json index d042b6502077..76dba89bec50 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json @@ -18,7 +18,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json index e817dd55bd32..160e1e12b0cd 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json @@ -11,7 +11,7 @@ "value": [ { "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", - "name": "test-vnet", + "name": "test-nic", "type": "Microsoft.AzureStackHCI/networkInterfaces", "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json index e817dd55bd32..160e1e12b0cd 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json @@ -11,7 +11,7 @@ "value": [ { "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic", - "name": "test-vnet", + "name": "test-nic", "type": "Microsoft.AzureStackHCI/networkInterfaces", "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json deleted file mode 100644 index d5a3961c1473..000000000000 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualNetworkBySubscription.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", - "location": "West US2", - "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", - "type": "CustomLocation" - }, - "properties": { - "provisioningState": "Accepted", - "networkType": "Transparent" - } - } - ] - } - } - } -} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json index 67b382ef6a79..83d75da23125 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json @@ -12,7 +12,7 @@ }, "properties": { "imagePath": "C:\\test.vhdx", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux" } } @@ -30,7 +30,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V2", @@ -68,7 +68,7 @@ }, "properties": { "provisioningState": "Succeeded", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json new file mode 100644 index 000000000000..10d1c58db7a6 --- /dev/null +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", + "resourceGroupName": "test-rg", + "logicalNetworkName": "test-lnet", + "api-version": "2023-09-01", + "logicalNetworks": { + "location": "West US2", + "extendedLocation": { + "type": "CustomLocation", + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/logicalNetworks/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/logicalNetworks/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", + "location": "West US2", + "extendedLocation": { + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "type": "CustomLocation" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json index ad113ecc161f..1d3a9314d8a2 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json @@ -12,7 +12,7 @@ "type": "CustomLocation" }, "properties": { - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", @@ -39,7 +39,7 @@ "type": "CustomLocation" }, "properties": { - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", @@ -83,7 +83,7 @@ "type": "CustomLocation" }, "properties": { - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json index da76a7fdbfc3..f42e1c05d936 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json @@ -16,7 +16,7 @@ "name": "ipconfig-sample", "properties": { "subnet": { - "id": "test-vnet" + "id": "test-lnet" } } } @@ -41,7 +41,7 @@ "name": "ipconfig-sample", "properties": { "subnet": { - "id": "test-vnet" + "id": "test-lnet" } } } @@ -66,7 +66,7 @@ "name": "ipconfig-sample", "properties": { "subnet": { - "id": "test-vnet" + "id": "test-lnet" } } } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json index a42875a3b13e..47dff0bb3118 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json @@ -79,7 +79,7 @@ "provisioningState": "Accepted", "instanceView": { "vmAgent": { - "vmVMConfigAgentVersion": "1.0.0", + "vmConfigAgentVersion": "1.0.0", "statuses": [ { "code": "Ok", @@ -125,7 +125,7 @@ "provisioningState": "Succeeded", "instanceView": { "vmAgent": { - "vmVMConfigAgentVersion": "1.0.0", + "vmConfigAgentVersion": "1.0.0", "statuses": [ { "code": "Ok", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json deleted file mode 100644 index 8a04e4eb7cbb..000000000000 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualNetwork.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "resourceGroupName": "test-rg", - "virtualNetworkName": "test-vnet", - "api-version": "2023-09-01", - "virtualNetworks": { - "location": "West US2", - "extendedLocation": { - "type": "CustomLocation", - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" - }, - "properties": { - "networkType": "Transparent" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", - "location": "West US2", - "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", - "type": "CustomLocation" - }, - "properties": { - "networkType": "Transparent", - "provisioningState": "Accepted" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", - "location": "West US2", - "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", - "type": "CustomLocation" - }, - "properties": { - "networkType": "Transparent", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json index 7ae10d81fea1..30985237e6a8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2023-09-01", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { "200": { @@ -9,7 +9,7 @@ "azure-asyncoperation": "http://azure.async.operation/status" }, "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", "extendedLocation": { "type": "CustomLocation", "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json index 7ae10d81fea1..30985237e6a8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2023-09-01", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { "200": { @@ -9,7 +9,7 @@ "azure-asyncoperation": "http://azure.async.operation/status" }, "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", "extendedLocation": { "type": "CustomLocation", "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json index 7ae10d81fea1..30985237e6a8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { "api-version": "2023-09-01", - "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM" + "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { "200": { @@ -9,7 +9,7 @@ "azure-asyncoperation": "http://azure.async.operation/status" }, "body": { - "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/DemoArcVM", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default", "extendedLocation": { "type": "CustomLocation", "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json index 78eda5652353..6d7e487430df 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json @@ -26,7 +26,7 @@ }, "properties": { "provisioningState": "Accepted", - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Linux", "cloudInitDataSource": "NoCloud", "hyperVGeneration": "V2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json similarity index 59% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json index 37421bb79421..fd442111744f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json @@ -2,9 +2,9 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "virtualNetworkName": "test-vnet", + "logicalNetworkName": "test-lnet", "api-version": "2023-09-01", - "virtualNetworks": { + "logicalNetworks": { "tags": { "additionalProperties": "sample" } @@ -13,19 +13,18 @@ "responses": { "200": { "body": { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualNetworks/test-vnet", - "name": "test-vnet", - "type": "Microsoft.AzureStackHCI/virtualNetworks", + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/logicalNetworks/test-lnet", + "name": "test-lnet", + "type": "Microsoft.AzureStackHCI/logicalNetworks", "location": "West US2", "tags": { "additionalProperties": "sample" }, "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", "type": "CustomLocation" }, "properties": { - "networkType": "Transparent", "provisioningState": "Accepted" } } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json index 7e8613e453cf..da2da423ccc5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json @@ -25,7 +25,7 @@ "additionalProperties": "sample" }, "properties": { - "containerId": "Default_Container", + "containerId": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-storage-container", "osType": "Windows", "cloudInitDataSource": "Azure", "hyperVGeneration": "V1", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json index 4f898db8180d..ec44a9a7e178 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json @@ -27,7 +27,7 @@ "name": "ipconfig-sample", "properties": { "subnet": { - "id": "test-vnet" + "id": "test-lnet" } } } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json index d7bee57d2213..7aa79a2fbffc 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json @@ -4,7 +4,13 @@ "api-version": "2023-09-01", "virtualMachineInstance": { "properties": { - "osProfile": {} + "storageProfile": { + "dataDisks": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd" + } + ] + } } } }, @@ -15,15 +21,20 @@ "name": "default", "type": "Microsoft.AzureStackHCI/virtualMachineInstances", "extendedLocation": { - "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", + "name": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location", "type": "CustomLocation" }, "properties": { "provisioningState": "Accepted", "storageProfile": { "imageReference": { - "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" - } + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image" + }, + "dataDisks": [ + { + "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd" + } + ] }, "hardwareProfile": { "vmSize": "Default" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json index 25fba2047736..8c55d73af868 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json @@ -188,6 +188,9 @@ } }, "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -359,6 +362,14 @@ "properties": { "containerId": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.AzureStackHCI/storageContainers" + } + ] + }, "description": "Storage ContainerID of the storage container to be used for gallery image" }, "imagePath": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json similarity index 76% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json index 7f2b84bb0cef..df3cff61e23f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json @@ -37,12 +37,12 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualNetworks/{virtualNetworkName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}": { "get": { - "operationId": "VirtualNetworks_Get", + "operationId": "LogicalNetworks_Get", "x-ms-examples": { - "GetVirtualNetwork": { - "$ref": "./examples/GetVirtualNetwork.json" + "GetLogicalNetwork": { + "$ref": "./examples/GetLogicalNetwork.json" } }, "parameters": [ @@ -53,7 +53,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/VirtualNetworkNameParameter" + "$ref": "#/parameters/LogicalNetworkNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -69,17 +69,17 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } } } }, "put": { - "operationId": "VirtualNetworks_CreateOrUpdate", - "description": "The operation to create or update a virtual network. Please note some properties can be set only during virtual network creation.", + "operationId": "LogicalNetworks_CreateOrUpdate", + "description": "The operation to create or update a logical network. Please note some properties can be set only during logical network creation.", "x-ms-examples": { - "PutVirtualNetwork": { - "$ref": "./examples/PutVirtualNetwork.json" + "PutLogicalNetwork": { + "$ref": "./examples/PutLogicalNetwork.json" } }, "x-ms-long-running-operation": true, @@ -94,17 +94,17 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/VirtualNetworkNameParameter" + "$ref": "#/parameters/LogicalNetworkNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "virtualNetworks", + "name": "logicalNetworks", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } } ], @@ -118,23 +118,23 @@ "200": { "description": "Updated", "schema": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } } } }, "delete": { - "operationId": "VirtualNetworks_Delete", - "description": "The operation to delete a virtual network.", + "operationId": "LogicalNetworks_Delete", + "description": "The operation to delete a logical network.", "x-ms-examples": { - "DeleteVirtualNetwork": { - "$ref": "./examples/DeleteVirtualNetwork.json" + "DeleteLogicalNetwork": { + "$ref": "./examples/DeleteLogicalNetwork.json" } }, "x-ms-long-running-operation": true, @@ -149,7 +149,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/VirtualNetworkNameParameter" + "$ref": "#/parameters/LogicalNetworkNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -179,11 +179,11 @@ } }, "patch": { - "operationId": "VirtualNetworks_Update", - "description": "The operation to update a virtual network.", + "operationId": "LogicalNetworks_Update", + "description": "The operation to update a logical network.", "x-ms-examples": { - "UpdateVirtualNetwork": { - "$ref": "./examples/UpdateVirtualNetwork.json" + "UpdateLogicalNetwork": { + "$ref": "./examples/UpdateLogicalNetwork.json" } }, "x-ms-long-running-operation": true, @@ -198,17 +198,17 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "#/parameters/VirtualNetworkNameParameter" + "$ref": "#/parameters/LogicalNetworkNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "name": "virtualNetworks", + "name": "logicalNetworks", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/VirtualNetworksUpdateRequest" + "$ref": "#/definitions/LogicalNetworksUpdateRequest" } } ], @@ -222,7 +222,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } }, "202": { @@ -236,13 +236,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualNetworks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks": { "get": { - "operationId": "VirtualNetworks_List", - "description": "Lists all of the virtual networks in the specified resource group. Use the nextLink property in the response to get the next page of virtual networks.", + "operationId": "LogicalNetworks_List", + "description": "Lists all of the logical networks in the specified resource group. Use the nextLink property in the response to get the next page of logical networks.", "x-ms-examples": { - "ListVirtualNetworkByResourceGroup": { - "$ref": "./examples/ListVirtualNetworkByResourceGroup.json" + "ListLogicalNetworkByResourceGroup": { + "$ref": "./examples/ListLogicalNetworkByResourceGroup.json" } }, "parameters": [ @@ -266,7 +266,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualNetworksListResult" + "$ref": "#/definitions/LogicalNetworksListResult" } } }, @@ -275,13 +275,13 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualNetworks": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/logicalNetworks": { "get": { - "operationId": "VirtualNetworks_ListAll", - "description": "Lists all of the virtual networks in the specified subscription. Use the nextLink property in the response to get the next page of virtual networks.", + "operationId": "LogicalNetworks_ListAll", + "description": "Lists all of the logical networks in the specified subscription. Use the nextLink property in the response to get the next page of logical networks.", "x-ms-examples": { - "ListVirtualNetworkBySubscription": { - "$ref": "./examples/ListVirtualNetworkBySubscription.json" + "ListLogicalNetworkBySubscription": { + "$ref": "./examples/ListLogicalNetworkBySubscription.json" } }, "parameters": [ @@ -302,7 +302,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VirtualNetworksListResult" + "$ref": "#/definitions/LogicalNetworksListResult" } } }, @@ -313,13 +313,13 @@ } }, "definitions": { - "VirtualNetworkProperties": { + "LogicalNetworkProperties": { "type": "object", "x-ms-client-flatten": true, "properties": { "dhcpOptions": { "type": "object", - "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.", + "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options.", "properties": { "dnsServers": { "type": "array", @@ -330,25 +330,6 @@ } } }, - "networkType": { - "type": "string", - "description": "Type of the network", - "enum": [ - "NAT", - "Transparent", - "L2Bridge", - "L2Tunnel", - "ICS", - "Private", - "Overlay", - "Internal", - "Mirrored" - ], - "x-ms-enum": { - "name": "NetworkTypeEnum", - "modelAsString": true - } - }, "subnets": { "type": "array", "items": { @@ -363,16 +344,12 @@ "type": "object", "x-ms-client-flatten": true, "properties": { - "addressPrefix": { - "type": "string", - "description": "Cidr for this subnet - IPv4, IPv6" - }, "addressPrefixes": { "type": "array", "items": { "type": "string" }, - "description": "AddressPrefixes - List of address prefixes for the subnet." + "description": "AddressPrefixes - List of CIDRs for this subnet - IPv4, IPv6" }, "ipAllocationMethod": { "type": "string", @@ -396,7 +373,7 @@ "description": "IPConfigurationID" } }, - "description": "IPConfigurationReference - Describes a IPConfiguration under the virtual network" + "description": "IPConfigurationReference - Describes a IPConfiguration under the logical network" }, "x-ms-identifiers": [], "description": "IPConfigurationReferences - list of IPConfigurationReferences" @@ -449,14 +426,18 @@ } }, "description": "RouteTablePropertiesFormat route Table resource." - }, - "type": { - "type": "string", - "description": "Type - READ-ONLY; Resource type." } }, "description": "RouteTable for the subnet" }, + "ipPools": { + "type": "array", + "description": "network associated pool of IP Addresses", + "items": { + "$ref": "#/definitions/IPPool" + }, + "x-ms-identifiers": [] + }, "vlan": { "type": "integer", "format": "int32", @@ -466,14 +447,14 @@ "description": "SubnetProperties - Properties of the subnet." } }, - "description": "Subnet subnet in a virtual network resource." + "description": "Subnet subnet in a logical network resource." }, - "description": "Subnet - list of subnets under the virtual network", + "description": "Subnet - list of subnets under the logical network", "x-ms-identifiers": [] }, "provisioningState": { "type": "string", - "description": "Provisioning state of the virtual network.", + "description": "Provisioning state of the logical network.", "readOnly": true, "enum": [ "Succeeded", @@ -493,19 +474,19 @@ "description": "name of the network switch to be used for VMs" }, "status": { - "$ref": "#/definitions/VirtualNetworkStatus" + "$ref": "#/definitions/LogicalNetworkStatus" } }, - "description": "Properties under the virtual network resource" + "description": "Properties under the logical network resource" }, - "VirtualNetworkStatus": { + "LogicalNetworkStatus": { "type": "object", "x-ms-client-flatten": true, "readOnly": true, "properties": { "errorCode": { "type": "string", - "description": "VirtualNetwork provisioning error code" + "description": "LogicalNetwork provisioning error code" }, "errorMessage": { "type": "string", @@ -516,11 +497,11 @@ "properties": { "operationId": { "type": "string", - "description": "The ID of the operation performed on the virtual network" + "description": "The ID of the operation performed on the logical network" }, "status": { "type": "string", - "description": "The status of the operation performed on the virtual network [Succeeded, Failed, InProgress]", + "description": "The status of the operation performed on the logical network [Succeeded, Failed, InProgress]", "enum": [ "Succeeded", "Failed", @@ -534,17 +515,64 @@ } } }, - "description": "The observed state of virtual networks" + "description": "The observed state of logical networks" + }, + "IPPoolInfo": { + "type": "object", + "properties": { + "used": { + "type": "string", + "readOnly": true, + "description": "Number of IP addresses allocated from the IP Pool" + }, + "available": { + "type": "string", + "readOnly": true, + "description": "Number of IP addresses available in the IP Pool" + } + } + }, + "IPPool": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the IP-Pool" + }, + "ipPoolType": { + "type": "string", + "enum": [ + "vm", + "vippool" + ], + "x-ms-enum": { + "name": "IPPoolTypeEnum", + "modelAsString": false + }, + "description": "Type of the IP Pool [vm, vippool]" + }, + "start": { + "type": "string", + "description": "Start of the IP address pool" + }, + "end": { + "type": "string", + "description": "End of the IP address pool" + }, + "info": { + "$ref": "#/definitions/IPPoolInfo" + } + } }, - "VirtualNetworks": { + "LogicalNetworks": { "type": "object", - "description": "The virtual network resource definition.", + "description": "The logical network resource definition.", "x-ms-azure-resource": true, "x-ms-client-flatten": true, "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/VirtualNetworkProperties" + "$ref": "#/definitions/LogicalNetworkProperties" }, "extendedLocation": { "$ref": "./common.json#/definitions/ExtendedLocation", @@ -557,7 +585,7 @@ } ] }, - "VirtualNetworksUpdateRequest": { + "LogicalNetworksUpdateRequest": { "type": "object", "properties": { "tags": { @@ -568,15 +596,15 @@ "description": "Resource tags" } }, - "description": "The virtual network resource patch definition." + "description": "The logical network resource patch definition." }, - "VirtualNetworksListResult": { + "LogicalNetworksListResult": { "type": "object", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/VirtualNetworks" + "$ref": "#/definitions/LogicalNetworks" } }, "nextLink": { @@ -586,8 +614,8 @@ } }, "parameters": { - "VirtualNetworkNameParameter": { - "name": "virtualNetworkName", + "LogicalNetworkNameParameter": { + "name": "logicalNetworkName", "in": "path", "required": true, "type": "string", @@ -595,7 +623,7 @@ "x-ms-parameter-location": "method", "maxLength": 64, "minLength": 2, - "description": "Name of the virtual network" + "description": "Name of the logical network" } } } diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json index a4d7558a23ee..ec5d5157e76c 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json @@ -221,7 +221,7 @@ } }, "200": { - "description": "Updates the marketplace gallery image resource.", + "description": "OK", "schema": { "$ref": "#/definitions/MarketplaceGalleryImages" } @@ -320,6 +320,14 @@ "properties": { "containerId": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.AzureStackHCI/storageContainers" + } + ] + }, "description": "Storage ContainerID of the storage container to be used for marketplace gallery image" }, "osType": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json index 1536f823b30b..d36d83695112 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json @@ -426,10 +426,12 @@ "gateway": { "x-ms-client-flatten": true, "type": "string", + "readOnly": true, "description": "Gateway for network interface" }, "prefixLength": { "type": "string", + "readOnly": true, "description": "prefixLength for network interface" }, "privateIPAddress": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json index 7043904f9230..1614ab3d0fe4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json @@ -343,6 +343,9 @@ "$ref": "#/definitions/StorageContainerStatus" } }, + "required": [ + "path" + ], "description": "Properties under the storage container resource" }, "StorageContainerStatus": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json index 31305f79ed12..5449372c4bbb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json @@ -381,6 +381,14 @@ }, "containerId": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.AzureStackHCI/storageContainers" + } + ] + }, "description": "Storage ContainerID of the storage container to be used for VHD" }, "status": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json index bf309293e1dc..56a19b2333fb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -911,6 +911,14 @@ }, "vmConfigStoragePathId": { "type": "string", + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.AzureStackHCI/storageContainers" + } + ] + }, "description": "Id of the storage container that hosts the VM configuration file" } }, @@ -1079,7 +1087,7 @@ "VirtualMachineVMConfigAgentInstanceView": { "type": "object", "properties": { - "vmVMConfigAgentVersion": { + "vmConfigAgentVersion": { "type": "string", "description": "The VM Config Agent full version." }, @@ -1518,9 +1526,26 @@ "description": "HTTP Proxy configuration for the VM.", "type": "object", "properties": { + "httpProxy": { + "type": "string", + "x-ms-secret": true, + "description": "The HTTP proxy server endpoint to use." + }, "httpsProxy": { - "description": "The httpsProxy url.", - "type": "string" + "type": "string", + "x-ms-secret": true, + "description": "The HTTPS proxy server endpoint to use." + }, + "noProxy": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The endpoints that should not go through proxy." + }, + "trustedCa": { + "type": "string", + "description": "Alternative CA cert to use for connecting to proxy servers." } } } From 8385db2b5c502ad9daff2a0fa7166da51dea5b3e Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Mon, 28 Aug 2023 11:48:11 -0700 Subject: [PATCH 05/16] add suppressions from cluster resources --- .../azurestackhci/resource-manager/readme.md | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index 8e24528a358b..24f20e49f575 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -64,7 +64,26 @@ suppressions: reason: The linter is mistakenly thinking that paths for a singular resource that is always named default, like "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default," is for a collection of resources. from: virtualMachineInstances.json - code: TopLevelResourcesListBySubscription - reason: There is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances + reason: It is reporting issue for proxy extension resource which doesn't have use case to ListBySubscription as this resource will always tied to one parent resource only. Additionally, there is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances. + - code: ResourceNameRestriction + reason: ClusterName didn't have a pattern initially, adding the constraint now will cause a breaking change + from: clusters.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/addNodes"] + - code: ResourceNameRestriction + reason: ClusterName didn't have a pattern initially, adding the constraint now will cause a breaking change + from: deploymentSettings.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}"] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}/deploy"] + - code: DefinitionsPropertiesNamesCamelCase + reason: We have a dependency on other team which is already using these values, changing it will break backward compatibility + from: deploymentSettings.json + where: + - $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_Cluster + - $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_SMB + - $.definitions.QosPolicyOverrides.properties.bandwidthPercentage_SMB ``` @@ -76,12 +95,12 @@ These settings apply only when `--tag=package-2023-09` is specified on the comma input-file: - Microsoft.AzureStackHCI/stable/2023-09-01/common.json - Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json + - Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json - Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json - Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json - Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json - Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json - Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json - - Microsoft.AzureStackHCI/stable/2023-09-01/virtualNetworks.json ``` ### Tag: package-preview-2023-07 From fbc48dcf500839887542c83386fa9b8db0ef1e6f Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Mon, 28 Aug 2023 11:49:22 -0700 Subject: [PATCH 06/16] remove suppressions from cluster team as some of the files don't exist yet --- .../azurestackhci/resource-manager/readme.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index 24f20e49f575..eb9fefbcc1d4 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -65,25 +65,6 @@ suppressions: from: virtualMachineInstances.json - code: TopLevelResourcesListBySubscription reason: It is reporting issue for proxy extension resource which doesn't have use case to ListBySubscription as this resource will always tied to one parent resource only. Additionally, there is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances. - - code: ResourceNameRestriction - reason: ClusterName didn't have a pattern initially, adding the constraint now will cause a breaking change - from: clusters.json - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/addNodes"] - - code: ResourceNameRestriction - reason: ClusterName didn't have a pattern initially, adding the constraint now will cause a breaking change - from: deploymentSettings.json - where: - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings"] - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}"] - - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/deploymentSettings/{deploymentSettingsName}/deploy"] - - code: DefinitionsPropertiesNamesCamelCase - reason: We have a dependency on other team which is already using these values, changing it will break backward compatibility - from: deploymentSettings.json - where: - - $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_Cluster - - $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_SMB - - $.definitions.QosPolicyOverrides.properties.bandwidthPercentage_SMB ``` From 7ddb68d2cc51406b7f466b62e76aba53fb2ad3ae Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Wed, 20 Sep 2023 15:20:09 -0700 Subject: [PATCH 07/16] remove name redundancy in definitions, remove x-ms-client-flatten in gateway --- .../stable/2023-09-01/networkInterfaces.json | 1 - .../stable/2023-09-01/virtualMachineInstances.json | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json index d36d83695112..838e3b586088 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json @@ -424,7 +424,6 @@ "type": "object", "properties": { "gateway": { - "x-ms-client-flatten": true, "type": "string", "readOnly": true, "description": "Gateway for network interface" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json index 56a19b2333fb..82399ade6ca4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -1078,13 +1078,13 @@ "type": "object", "properties": { "vmAgent": { - "$ref": "#/definitions/VirtualMachineVMConfigAgentInstanceView", + "$ref": "#/definitions/VirtualMachineConfigAgentInstanceView", "description": "The VM Config Agent running on the virtual machine." } }, "description": "The instance view of a virtual machine." }, - "VirtualMachineVMConfigAgentInstanceView": { + "VirtualMachineConfigAgentInstanceView": { "type": "object", "properties": { "vmConfigAgentVersion": { From aaaeaa100048a0acc2df68890e3e8a0c8c241e3b Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Wed, 20 Sep 2023 15:34:59 -0700 Subject: [PATCH 08/16] remove suppression GetCollectionOnlyHasValueAndNextLink --- specification/azurestackhci/resource-manager/readme.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index fe280785abb4..99c17cd42657 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -60,9 +60,6 @@ directive: suppressions: - code: PathResourceProviderNamePascalCase reason: We had already gone to production with "HCI" in our namespace, so changing it to "Hci" now would be disruptive. - - code: GetCollectionOnlyHasValueAndNextLink - reason: The linter is mistakenly thinking that paths for a singular resource that is always named default, like "/{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default," is for a collection of resources. - from: virtualMachineInstances.json - code: TopLevelResourcesListBySubscription reason: It is reporting issue for proxy extension resource which doesn't have use case to ListBySubscription as this resource will always tied to one parent resource only. Additionally, there is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances. ``` From a30a90932fbb19795f92603da621f277b8a162a2 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Wed, 20 Sep 2023 16:56:32 -0700 Subject: [PATCH 09/16] remove x-ms-code-generation-settings from resource files since the client name is already set in the title lin in readme file according to docs: https://github.com/Azure/azure-openapi-validator/blob/main/docs/deprecated-xms-code-generation-setting.md --- .../stable/2023-09-01/galleryImages.json | 5 +---- .../stable/2023-09-01/logicalNetworks.json | 5 +---- .../stable/2023-09-01/marketplaceGalleryImages.json | 5 +---- .../stable/2023-09-01/networkInterfaces.json | 5 +---- .../stable/2023-09-01/storageContainers.json | 5 +---- .../stable/2023-09-01/virtualHardDisks.json | 5 +---- .../stable/2023-09-01/virtualMachineInstances.json | 5 +---- 7 files changed, 7 insertions(+), 28 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json index 8c55d73af868..5b59ba19dd5b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json index df3cff61e23f..1d0337725924 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json index ec5d5157e76c..5e4c1bc424c6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json index 838e3b586088..588f1a1f181b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json index 1614ab3d0fe4..04e094d61253 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json index 5449372c4bbb..fcecfaa291bf 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json index 82399ade6ca4..b160523a4bd2 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -3,10 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01", - "x-ms-code-generation-settings": { - "name": "AzureStackHCIClient" - } + "version": "2023-09-01" }, "host": "management.azure.com", "schemes": [ From 728204647c9cb1c8e7c9e50778e6118914a1eb4b Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Thu, 21 Sep 2023 15:13:14 -0700 Subject: [PATCH 10/16] pick up changes from https://github.com/Azure/azure-rest-api-specs-pr/pull/14872 --- .../stable/2023-09-01/logicalNetworks.json | 259 ++++++++++-------- 1 file changed, 144 insertions(+), 115 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json index 1d0337725924..17e7d1d65af8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json @@ -330,121 +330,7 @@ "subnets": { "type": "array", "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", - "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." - }, - "properties": { - "type": "object", - "x-ms-client-flatten": true, - "properties": { - "addressPrefixes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "AddressPrefixes - List of CIDRs for this subnet - IPv4, IPv6" - }, - "ipAllocationMethod": { - "type": "string", - "description": "IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'", - "enum": [ - "Dynamic", - "Static" - ], - "x-ms-enum": { - "name": "IpAllocationMethodEnum", - "modelAsString": true - } - }, - "ipConfigurationReferences": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "IPConfigurationID" - } - }, - "description": "IPConfigurationReference - Describes a IPConfiguration under the logical network" - }, - "x-ms-identifiers": [], - "description": "IPConfigurationReferences - list of IPConfigurationReferences" - }, - "routeTable": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated." - }, - "name": { - "type": "string", - "description": "Name - READ-ONLY; Resource name." - }, - "properties": { - "type": "object", - "x-ms-client-flatten": true, - "properties": { - "routes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", - "description": "Name - name of the subnet" - }, - "properties": { - "type": "object", - "x-ms-client-flatten": true, - "properties": { - "addressPrefix": { - "type": "string", - "description": "AddressPrefix - The destination CIDR to which the route applies." - }, - "nextHopIpAddress": { - "type": "string", - "description": "NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." - } - }, - "description": "RoutePropertiesFormat - Properties of the route." - } - }, - "description": "Route is associated with a subnet." - }, - "description": "Routes - Collection of routes contained within a route table.", - "x-ms-identifiers": [] - } - }, - "description": "RouteTablePropertiesFormat route Table resource." - } - }, - "description": "RouteTable for the subnet" - }, - "ipPools": { - "type": "array", - "description": "network associated pool of IP Addresses", - "items": { - "$ref": "#/definitions/IPPool" - }, - "x-ms-identifiers": [] - }, - "vlan": { - "type": "integer", - "format": "int32", - "description": "Vlan to use for the subnet" - } - }, - "description": "SubnetProperties - Properties of the subnet." - } - }, - "description": "Subnet subnet in a logical network resource." + "$ref": "#/definitions/Subnet" }, "description": "Subnet - list of subnets under the logical network", "x-ms-identifiers": [] @@ -561,6 +447,149 @@ } } }, + "RoutePropertiesFormat": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "The destination CIDR to which the route applies." + }, + "nextHopIpAddress": { + "type": "string", + "description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." + } + }, + "description": "RoutePropertiesFormat - Route resource." + }, + "Route": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RoutePropertiesFormat", + "description": "Properties of the route." + }, + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "description": "Name - name of the subnet" + } + }, + "description": "Route - Route resource." + }, + "RouteTablePropertiesFormat": { + "type": "object", + "properties": { + "routes": { + "type": "array", + "items": { + "$ref": "#/definitions/Route" + }, + "description": "Collection of routes contained within a route table.", + "x-ms-identifiers": [] + } + }, + "description": "RouteTablePropertiesFormat - Route Table resource." + }, + "RouteTable": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated." + }, + "name": { + "type": "string", + "description": "Name - READ-ONLY; Resource name." + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/RouteTablePropertiesFormat", + "description": "Properties of the route table." + }, + "type": { + "type": "string", + "description": "Type - READ-ONLY; Resource type." + } + }, + "description": "Route table resource." + }, + "SubnetPropertiesFormat": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6." + }, + "addressPrefixes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of address prefixes for the subnet." + }, + "ipAllocationMethod": { + "type": "string", + "description": "IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'", + "enum": [ + "Dynamic", + "Static" + ], + "x-ms-enum": { + "name": "IpAllocationMethodEnum", + "modelAsString": true + } + }, + "ipConfigurationReferences": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "IPConfigurationID" + } + }, + "description": "IPConfigurationReference - Describes a IPConfiguration under the virtual network" + }, + "x-ms-identifiers": [], + "description": "IPConfigurationReferences - list of IPConfigurationReferences" + }, + "routeTable": { + "type": "object", + "$ref": "#/definitions/RouteTable" + }, + "ipPools": { + "type": "array", + "description": "network associated pool of IP Addresses", + "items": { + "$ref": "#/definitions/IPPool" + }, + "x-ms-identifiers": [] + }, + "vlan": { + "type": "integer", + "format": "int32", + "description": "Vlan to use for the subnet" + } + }, + "description": "Properties of the subnet." + }, + "Subnet": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SubnetPropertiesFormat", + "description": "Properties of the subnet." + }, + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,78}[_a-zA-Z0-9]$", + "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource." + } + } + }, "LogicalNetworks": { "type": "object", "description": "The logical network resource definition.", From 5bfd72b93a18d3f09692e4fef35d47bbdd46f091 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Mon, 25 Sep 2023 14:54:11 -0700 Subject: [PATCH 11/16] pick up changes from https://github.com/Azure/azure-rest-api-specs-pr/pull/15062 --- .../stable/2023-09-01/virtualMachineInstances.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json index b160523a4bd2..1cc81ccbe90f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json @@ -921,6 +921,10 @@ }, "description": "StorageProfile - contains information about the disks and storage information for the virtual machine instance" }, + "httpProxyConfig": { + "description": "HTTP Proxy configuration for the VM.", + "$ref": "#/definitions/HttpProxyConfiguration" + }, "provisioningState": { "type": "string", "description": "Provisioning state of the virtual machine instance.", @@ -1498,10 +1502,6 @@ "description": "Username / Password Credentials to provision guest agent.", "$ref": "#/definitions/GuestCredential" }, - "httpProxyConfig": { - "description": "HTTP Proxy configuration for the VM.", - "$ref": "#/definitions/HttpProxyConfiguration" - }, "provisioningAction": { "description": "The guest agent provisioning action.", "$ref": "#/definitions/ProvisioningAction", From 470daa85a2eeaaf9a91758fe3b7ae8db24464ad5 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Thu, 28 Sep 2023 15:06:52 -0700 Subject: [PATCH 12/16] fix routetable properties to readonly and correct name according to https://github.com/Azure/azure-rest-api-specs-pr/blob/9b0cab3710aa58519c6aa9e11f350b22e0fc3dc9/specification/network/resource-manager/Microsoft.Network/stable/2023-02-01/routeTable.json#L707 --- .../stable/2023-09-01/logicalNetworks.json | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json index 17e7d1d65af8..46ed8a0a871e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json @@ -494,22 +494,25 @@ "RouteTable": { "type": "object", "properties": { - "id": { + "etag": { + "readOnly": true, "type": "string", - "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated." + "description": "A unique read-only string that changes whenever the resource is updated." }, "name": { + "readOnly": true, "type": "string", - "description": "Name - READ-ONLY; Resource name." + "description": "A unique read-only string that changes whenever the resource is updated." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." }, "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/RouteTablePropertiesFormat", "description": "Properties of the route table." - }, - "type": { - "type": "string", - "description": "Type - READ-ONLY; Resource type." } }, "description": "Route table resource." From 8bf6dc7a90b8f0251fd11c1a660e8f818488b590 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Thu, 28 Sep 2023 15:54:34 -0700 Subject: [PATCH 13/16] fix property description --- .../stable/2023-09-01/logicalNetworks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json index 46ed8a0a871e..4fa07b9414e6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json @@ -502,12 +502,12 @@ "name": { "readOnly": true, "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." + "description": "Resource name." }, "type": { "readOnly": true, "type": "string", - "description": "A unique read-only string that changes whenever the resource is updated." + "description": "Resource type." }, "properties": { "x-ms-client-flatten": true, From 8e58d09a31ccc96b4a5c2d51e2f1db817fe5a45a Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Fri, 29 Sep 2023 09:05:24 -0700 Subject: [PATCH 14/16] updating 2023-09-01 to 2023-09-01-preview according to breaking change committee guidance --- .../2023-09-01-preview}/common.json | 2 +- .../examples/CreateGuestAgent.json | 2 +- .../examples/DeleteGalleryImage.json | 2 +- .../examples/DeleteGuestAgent.json | 2 +- .../examples/DeleteLogicalNetwork.json | 2 +- .../DeleteMarketplaceGalleryImage.json | 2 +- .../examples/DeleteNetworkInterface.json | 2 +- .../examples/DeleteStorageContainer.json | 2 +- .../examples/DeleteVirtualHardDisk.json | 2 +- .../DeleteVirtualMachineInstance.json | 2 +- .../examples/GetGalleryImage.json | 2 +- .../examples/GetGuestAgent.json | 2 +- .../examples/GetHybridIdentityMetadata.json | 2 +- .../examples/GetLogicalNetwork.json | 2 +- .../examples/GetMarketplaceGalleryImage.json | 2 +- .../examples/GetNetworkInterface.json | 2 +- .../examples/GetStorageContainer.json | 2 +- .../examples/GetVirtualHardDisk.json | 2 +- .../examples/GetVirtualMachineInstance.json | 2 +- .../examples/GuestAgent_List.json | 2 +- .../examples/HybridIdentityMetadata_List.json | 2 +- .../ListGalleryImageByResourceGroup.json | 2 +- .../ListGalleryImageBySubscription.json | 2 +- .../ListLogicalNetworkByResourceGroup.json | 2 +- .../ListLogicalNetworkBySubscription.json | 2 +- ...arketplaceGalleryImageByResourceGroup.json | 2 +- ...MarketplaceGalleryImageBySubscription.json | 2 +- .../ListNetworkInterfaceByResourceGroup.json | 2 +- .../ListNetworkInterfaceBySubscription.json | 2 +- .../examples/ListOperations.json | 2 +- .../ListStorageContainerByResourceGroup.json | 2 +- .../ListStorageContainerBySubscription.json | 2 +- .../ListVirtualHardDiskByResourceGroup.json | 2 +- .../ListVirtualHardDiskBySubscription.json | 2 +- .../examples/ListVirtualMachineInstances.json | 2 +- .../examples/PutGalleryImage.json | 2 +- .../examples/PutLogicalNetwork.json | 2 +- .../examples/PutMarketplaceGalleryImage.json | 2 +- .../examples/PutNetworkInterface.json | 2 +- .../examples/PutStorageContainer.json | 2 +- .../examples/PutVirtualHardDisk.json | 2 +- ...irtualMachineInstanceWithGalleryImage.json | 2 +- ...neInstanceWithMarketplaceGalleryImage.json | 2 +- .../PutVirtualMachineInstanceWithOsDisk.json | 2 +- ...rtualMachineInstanceWithVMConfigAgent.json | 2 +- .../RestartVirtualMachineInstance.json | 2 +- .../examples/StartVirtualMachineInstance.json | 2 +- .../examples/StopVirtualMachineInstance.json | 2 +- .../examples/UpdateGalleryImage.json | 2 +- .../examples/UpdateLogicalNetwork.json | 2 +- .../UpdateMarketplaceGalleryImage.json | 2 +- .../examples/UpdateNetworkInterface.json | 2 +- .../examples/UpdateStorageContainer.json | 2 +- .../examples/UpdateVirtualHardDisk.json | 2 +- .../UpdateVirtualMachineInstance.json | 2 +- .../2023-09-01-preview}/galleryImages.json | 2 +- .../2023-09-01-preview}/logicalNetworks.json | 2 +- .../marketplaceGalleryImages.json | 2 +- .../networkInterfaces.json | 2 +- .../storageContainers.json | 2 +- .../2023-09-01-preview}/virtualHardDisks.json | 2 +- .../virtualMachineInstances.json | 2 +- .../azurestackhci/resource-manager/readme.md | 24 +++++++++---------- 63 files changed, 74 insertions(+), 74 deletions(-) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/common.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/CreateGuestAgent.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteGalleryImage.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteGuestAgent.json (91%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteLogicalNetwork.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteMarketplaceGalleryImage.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteNetworkInterface.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteStorageContainer.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteVirtualHardDisk.json (93%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/DeleteVirtualMachineInstance.json (91%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetGalleryImage.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetGuestAgent.json (94%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetHybridIdentityMetadata.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetLogicalNetwork.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetMarketplaceGalleryImage.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetNetworkInterface.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetStorageContainer.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetVirtualHardDisk.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GetVirtualMachineInstance.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/GuestAgent_List.json (94%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/HybridIdentityMetadata_List.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListGalleryImageByResourceGroup.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListGalleryImageBySubscription.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListLogicalNetworkByResourceGroup.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListLogicalNetworkBySubscription.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListMarketplaceGalleryImageByResourceGroup.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListMarketplaceGalleryImageBySubscription.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListNetworkInterfaceByResourceGroup.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListNetworkInterfaceBySubscription.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListOperations.json (92%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListStorageContainerByResourceGroup.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListStorageContainerBySubscription.json (95%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListVirtualHardDiskByResourceGroup.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListVirtualHardDiskBySubscription.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/ListVirtualMachineInstances.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutGalleryImage.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutLogicalNetwork.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutMarketplaceGalleryImage.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutNetworkInterface.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutStorageContainer.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutVirtualHardDisk.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutVirtualMachineInstanceWithGalleryImage.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutVirtualMachineInstanceWithOsDisk.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/PutVirtualMachineInstanceWithVMConfigAgent.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/RestartVirtualMachineInstance.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/StartVirtualMachineInstance.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/StopVirtualMachineInstance.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateGalleryImage.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateLogicalNetwork.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateMarketplaceGalleryImage.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateNetworkInterface.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateStorageContainer.json (96%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateVirtualHardDisk.json (97%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/examples/UpdateVirtualMachineInstance.json (98%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/galleryImages.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/logicalNetworks.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/marketplaceGalleryImages.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/networkInterfaces.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/storageContainers.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/virtualHardDisks.json (99%) rename specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/{stable/2023-09-01 => preview/2023-09-01-preview}/virtualMachineInstances.json (99%) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/common.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/common.json index 8d418501376d..d74a92dd11d5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/common.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/common.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/CreateGuestAgent.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/CreateGuestAgent.json index 8826713f0b9b..60dfebda5a1e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/CreateGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/CreateGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "body": { "properties": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json index 6516e2a98726..29dfb15136a1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGuestAgent.json similarity index 91% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGuestAgent.json index 8f9d903c4ab4..990dee0b66fb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json index 412244654437..c74eb4779a44 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteLogicalNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "logicalNetworkName": "test-lnet", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json index 9db4553f3a1c..93f321a69851 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json index 2be51fc1ecb3..75b7b5c19969 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json index 247df82c4d35..776bc4f6755d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json similarity index 93% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json index c0bc6137cb91..d66fd6f083dc 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualMachineInstance.json similarity index 91% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualMachineInstance.json index 8f9d903c4ab4..990dee0b66fb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/DeleteVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGalleryImage.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGalleryImage.json index 2631bfad8fe1..aef93ff6307f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGuestAgent.json similarity index 94% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGuestAgent.json index 21a51c75db52..99c4267044da 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetGuestAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetGuestAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetHybridIdentityMetadata.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetHybridIdentityMetadata.json index 8c99b6a69dfb..7bce87cb4713 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetHybridIdentityMetadata.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetHybridIdentityMetadata.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetLogicalNetwork.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetLogicalNetwork.json index 5b25124c2b2b..4d9ed1c84fa5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetLogicalNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetLogicalNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "logicalNetworkName": "test-lnet", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetMarketplaceGalleryImage.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetMarketplaceGalleryImage.json index 8315424f9293..bb62ed784fa5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetNetworkInterface.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetNetworkInterface.json index 561a80c97811..eb4d2728448d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetStorageContainer.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetStorageContainer.json index 39328426fb85..4a4db9f3a697 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualHardDisk.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualHardDisk.json index 13dacec5561d..c3940c01bdb3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualMachineInstance.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualMachineInstance.json index ef77a9f63f8a..8a3d19e7839e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GetVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GetVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GuestAgent_List.json similarity index 94% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GuestAgent_List.json index dfb00765daee..2e91345d94ae 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/GuestAgent_List.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/GuestAgent_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/HybridIdentityMetadata_List.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/HybridIdentityMetadata_List.json index 8477b147c9f6..cf9b85a58010 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/HybridIdentityMetadata_List.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/HybridIdentityMetadata_List.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageByResourceGroup.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageByResourceGroup.json index 29894ab47ea0..09579b6830a4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageBySubscription.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageBySubscription.json index 7ef5cb7d8e6a..9b67961249e8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListGalleryImageBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkByResourceGroup.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkByResourceGroup.json index 8fa316511463..2efabebbfe5d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkBySubscription.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkBySubscription.json index 2f76a32b034d..edc0c3e4036d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListLogicalNetworkBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListLogicalNetworkBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json index 62edb7461333..13880a38d6db 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json index 76dba89bec50..d565e5f5713d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListMarketplaceGalleryImageBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json index 160e1e12b0cd..2d22f6ed2657 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceBySubscription.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceBySubscription.json index 160e1e12b0cd..2d22f6ed2657 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListNetworkInterfaceBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListNetworkInterfaceBySubscription.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListOperations.json similarity index 92% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListOperations.json index 73768ff8d16c..373bfdb85971 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListOperations.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListOperations.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerByResourceGroup.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerByResourceGroup.json index dbc14c594fe1..c20edaac9119 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerBySubscription.json similarity index 95% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerBySubscription.json index 164fcc236fee..66ac48d03e9a 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListStorageContainerBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListStorageContainerBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json index ad45ba2f7a8f..79686c967e42 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskByResourceGroup.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskBySubscription.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskBySubscription.json index c91756de3f26..9b47558e9fe3 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualHardDiskBySubscription.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualHardDiskBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", - "api-version": "2023-09-01" + "api-version": "2023-09-01-preview" }, "responses": { "200": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualMachineInstances.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualMachineInstances.json index 0d850d6ed0b4..0fb71bf7c708 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/ListVirtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/ListVirtualMachineInstances.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutGalleryImage.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutGalleryImage.json index 83d75da23125..5e14c5952430 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "galleryImages": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutLogicalNetwork.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutLogicalNetwork.json index 10d1c58db7a6..28985630f3f7 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutLogicalNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutLogicalNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "logicalNetworkName": "test-lnet", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "logicalNetworks": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutMarketplaceGalleryImage.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutMarketplaceGalleryImage.json index 1d3a9314d8a2..fa6e1dcdaa1e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplace-gallery-image", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "name": "test-marketplace-gallery-image", "marketplaceGalleryImages": { "location": "West US2", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutNetworkInterface.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutNetworkInterface.json index f42e1c05d936..a8026b4d1e43 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "networkInterfaces": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutStorageContainer.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutStorageContainer.json index 6d99f8b418e3..b435b166f7bf 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "storageContainers": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualHardDisk.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualHardDisk.json index c9ddbe868e0b..f387c3470f06 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "virtualHardDisks": { "location": "West US2", "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithGalleryImage.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithGalleryImage.json index 7195d0add15c..ff7e95cc8edd 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithGalleryImage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json index 4ced4cdbae49..fdfde110e969 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithMarketplaceGalleryImage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithOsDisk.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithOsDisk.json index 60886a154bdd..af7da1e08f0a 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithOsDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithOsDisk.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithVMConfigAgent.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithVMConfigAgent.json index 47dff0bb3118..dfc5e593b04b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/PutVirtualMachineInstanceWithVMConfigAgent.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/PutVirtualMachineInstanceWithVMConfigAgent.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", "virtualMachineInstance": { "extendedLocation": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/RestartVirtualMachineInstance.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/RestartVirtualMachineInstance.json index 30985237e6a8..3ff0caa48ec4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/RestartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/RestartVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StartVirtualMachineInstance.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StartVirtualMachineInstance.json index 30985237e6a8..3ff0caa48ec4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StartVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StartVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StopVirtualMachineInstance.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StopVirtualMachineInstance.json index 30985237e6a8..3ff0caa48ec4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/StopVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/StopVirtualMachineInstance.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default" }, "responses": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateGalleryImage.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateGalleryImage.json index 6d7e487430df..dca66dc5ea0d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "galleryImageName": "test-gallery-image", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "galleryImages": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateLogicalNetwork.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateLogicalNetwork.json index fd442111744f..4afed740cca5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateLogicalNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateLogicalNetwork.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "logicalNetworkName": "test-lnet", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "logicalNetworks": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateMarketplaceGalleryImage.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateMarketplaceGalleryImage.json index da2da423ccc5..faa69be84119 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateMarketplaceGalleryImage.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "marketplaceGalleryImageName": "test-marketplce-gallery-image", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "marketplaceGalleryImages": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateNetworkInterface.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateNetworkInterface.json index ec44a9a7e178..f94112a06458 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateNetworkInterface.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "networkInterfaceName": "test-nic", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "networkInterfaces": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateStorageContainer.json similarity index 96% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateStorageContainer.json index 8b14f4c3a93d..f10251e84fe4 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateStorageContainer.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "storageContainerName": "Default_Container", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "storageContainers": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualHardDisk.json similarity index 97% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualHardDisk.json index aa4770b072ac..e8658293bf95 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualHardDisk.json @@ -3,7 +3,7 @@ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b", "resourceGroupName": "test-rg", "virtualHardDiskName": "test-vhd", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "virtualHardDisks": { "tags": { "additionalProperties": "sample" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualMachineInstance.json similarity index 98% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualMachineInstance.json index 7aa79a2fbffc..c555d746afac 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/examples/UpdateVirtualMachineInstance.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/UpdateVirtualMachineInstance.json @@ -1,7 +1,7 @@ { "parameters": { "resourceUri": "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM", - "api-version": "2023-09-01", + "api-version": "2023-09-01-preview", "virtualMachineInstance": { "properties": { "storageProfile": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json index 5b59ba19dd5b..2fcae4363d69 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json index 4fa07b9414e6..ff07b52bdbf5 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json index 5e4c1bc424c6..90f5b719aa18 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json index 588f1a1f181b..a5af1499c1cb 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json index 04e094d61253..a057351dccab 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json index fcecfaa291bf..c3422234d378 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualMachineInstances.json similarity index 99% rename from specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json rename to specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualMachineInstances.json index 1cc81ccbe90f..464e88569733 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualMachineInstances.json @@ -3,7 +3,7 @@ "info": { "title": "AzureStackHCI", "description": "The Microsoft.AzureStackHCI Rest API spec.", - "version": "2023-09-01" + "version": "2023-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index 99c17cd42657..57e728710e61 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -29,7 +29,7 @@ title: AzureStackHCIClient description: Azure Stack HCI management service openapi-type: arm openapi-subtype: rpaas -tag: package-2023-09 +tag: package-preview-2023-09 ``` ## Suppression @@ -65,20 +65,20 @@ suppressions: ``` -### Tag: package-2023-09 +### Tag: package-preview-2023-09 -These settings apply only when `--tag=package-2023-09` is specified on the command line. +These settings apply only when `--tag=package-preview-2023-09` is specified on the command line. -```yaml $(tag) == 'package-2023-09' +```yaml $(tag) == 'package-preview-2023-09' input-file: - - Microsoft.AzureStackHCI/stable/2023-09-01/common.json - - Microsoft.AzureStackHCI/stable/2023-09-01/galleryImages.json - - Microsoft.AzureStackHCI/stable/2023-09-01/logicalNetworks.json - - Microsoft.AzureStackHCI/stable/2023-09-01/marketplaceGalleryImages.json - - Microsoft.AzureStackHCI/stable/2023-09-01/networkInterfaces.json - - Microsoft.AzureStackHCI/stable/2023-09-01/storageContainers.json - - Microsoft.AzureStackHCI/stable/2023-09-01/virtualHardDisks.json - - Microsoft.AzureStackHCI/stable/2023-09-01/virtualMachineInstances.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/common.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json + - Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualMachineInstances.json ``` ### Tag: package-preview-2023-07 From d63577b31b38d89ad84e3a254a7c967e7c5fce72 Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Tue, 10 Oct 2023 09:10:19 -0700 Subject: [PATCH 15/16] remove 200 response from LRO delete --- .../2023-09-01-preview/examples/DeleteGalleryImage.json | 5 ----- .../2023-09-01-preview/examples/DeleteLogicalNetwork.json | 5 ----- .../examples/DeleteMarketplaceGalleryImage.json | 5 ----- .../2023-09-01-preview/examples/DeleteNetworkInterface.json | 5 ----- .../2023-09-01-preview/examples/DeleteStorageContainer.json | 5 ----- .../2023-09-01-preview/examples/DeleteVirtualHardDisk.json | 5 ----- .../preview/2023-09-01-preview/galleryImages.json | 3 --- .../preview/2023-09-01-preview/logicalNetworks.json | 3 --- .../preview/2023-09-01-preview/marketplaceGalleryImages.json | 3 --- .../preview/2023-09-01-preview/networkInterfaces.json | 3 --- .../preview/2023-09-01-preview/storageContainers.json | 3 --- .../preview/2023-09-01-preview/virtualHardDisks.json | 3 --- 12 files changed, 48 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json index 29dfb15136a1..94b40dcae633 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteGalleryImage.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json index c74eb4779a44..6134b148b9c1 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteLogicalNetwork.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json index 93f321a69851..1dec197a4994 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteMarketplaceGalleryImage.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json index 75b7b5c19969..7c300ed3dccf 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteNetworkInterface.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json index 776bc4f6755d..39662a545286 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteStorageContainer.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json index d66fd6f083dc..7506bfb9c71e 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/examples/DeleteVirtualHardDisk.json @@ -6,11 +6,6 @@ "api-version": "2023-09-01-preview" }, "responses": { - "200": { - "headers": { - "azure-asyncoperation": "http://azure.async.operation/status" - } - }, "202": { "headers": { "azure-asyncoperation": "http://azure.async.operation/status" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json index 2fcae4363d69..7ee3ba1b49d6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/galleryImages.json @@ -160,9 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json index ff07b52bdbf5..dabda72c435a 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/logicalNetworks.json @@ -159,9 +159,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json index 90f5b719aa18..8e499aece31f 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/marketplaceGalleryImages.json @@ -160,9 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "Deleted the marketplace gallery image resource." - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json index a5af1499c1cb..b0e78fa221a6 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/networkInterfaces.json @@ -160,9 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json index a057351dccab..b13785e21e62 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/storageContainers.json @@ -160,9 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json index c3422234d378..8a826ea932a8 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2023-09-01-preview/virtualHardDisks.json @@ -160,9 +160,6 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, - "200": { - "description": "OK" - }, "202": { "description": "Accepted", "headers": { From cf031b573ccf9c53ab722772742533ac5bd77efa Mon Sep 17 00:00:00 2001 From: Patricia Huang Date: Wed, 11 Oct 2023 10:06:37 -0700 Subject: [PATCH 16/16] add suppression as requested reviewer --- specification/azurestackhci/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index 8a184048c297..48cb8334a4d8 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -65,6 +65,9 @@ suppressions: - code: PropertiesTypeObjectNoDefinition reason: These are existing properties already supported as part of PUT extensions call. Same properties are being supported for extensions Patch now. from: extensions.json + - code: DefinitionsPropertiesNamesCamelCase + reason: There is a false positive reporting the two letter acronym ID should be lower camel case. The property is correctly capitalized according to guidance. + from: logicalNetworks.json ``` ### Tag: package-preview-2023-09