Microsoft.AzureStackHCI (preview:2025-06-01)

2025/11/18 • 30 updated methods

VirtualMachineInstances_List (updated)
Description :  Lists all of the virtual machine instances within the specified parent resource.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualMachineInstances_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "networkProfile": [
                  {
                    "networkInterfaces": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "storageProfile": [
                  {
                    "dataDisks": {
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      },
                      "$properties": [
                        {
                          "#name": "id",
                          "Description": {
                            "new": "The Azure Resource ID for a Virtual Hard Disk.",
                            "old": "The ARM ID for a Virtual Hard Disk."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "imageReference": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                          "old": "The ARM ID for an image resource used by the virtual machine instance."
                        }
                      }
                    ]
                  },
                  {
                    "osDisk": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Virtual Hard Disk.",
                          "old": "The ARM ID for a Virtual Hard Disk."
                        }
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Get (updated)
Description :  Gets a virtual machine instance
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualMachineInstances_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              },
              {
                "imageReference": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                      "old": "The ARM ID for an image resource used by the virtual machine instance."
                    }
                  }
                ]
              },
              {
                "osDisk": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Virtual Hard Disk.",
                      "old": "The ARM ID for a Virtual Hard Disk."
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_CreateOrUpdate (updated)
Description :  The operation to create or update a virtual machine instance. Please note some properties can be set only during virtual machine instance creation.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualMachineInstances_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              },
              {
                "imageReference": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                      "old": "The ARM ID for an image resource used by the virtual machine instance."
                    }
                  }
                ]
              },
              {
                "osDisk": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Virtual Hard Disk.",
                      "old": "The ARM ID for a Virtual Hard Disk."
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              },
              {
                "imageReference": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                      "old": "The ARM ID for an image resource used by the virtual machine instance."
                    }
                  }
                ]
              },
              {
                "osDisk": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Virtual Hard Disk.",
                      "old": "The ARM ID for a Virtual Hard Disk."
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              },
              {
                "imageReference": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                      "old": "The ARM ID for an image resource used by the virtual machine instance."
                    }
                  }
                ]
              },
              {
                "osDisk": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Virtual Hard Disk.",
                      "old": "The ARM ID for a Virtual Hard Disk."
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
resource:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachineInstances_Update (updated)
Description :  The operation to update a virtual machine instance.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualMachineInstances_Update",
  "$parameters": {
    "properties": {
      "$properties": {
        "properties": [
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkProfile": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              }
            ]
          },
          {
            "storageProfile": [
              {
                "dataDisks": {
                  "Description": {
                    "new": "The Azure Resource ID for a Virtual Hard Disk.",
                    "old": "The ARM ID for a Virtual Hard Disk."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Virtual Hard Disk.",
                        "old": "The ARM ID for a Virtual Hard Disk."
                      }
                    }
                  ]
                }
              },
              {
                "imageReference": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for an image resource used by the virtual machine instance.",
                      "old": "The ARM ID for an image resource used by the virtual machine instance."
                    }
                  }
                ]
              },
              {
                "osDisk": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Virtual Hard Disk.",
                      "old": "The ARM ID for a Virtual Hard Disk."
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default
{
api-version: string ,
resourceUri: string ,
properties:
{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
computerName: string ,
linuxConfiguration:
{
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
hardwareProfile:
{
vmSize: enum ,
processors: integer ,
memoryMB: integer ,
dynamicMemoryConfig:
{
maximumMemoryMB: integer ,
minimumMemoryMB: integer ,
targetMemoryBuffer: integer ,
}
,
virtualMachineGPUs:
[
{
assignmentType: enum ,
partitionSizeMB: integer ,
gpuName: string ,
}
,
]
,
}
,
placementProfile:
{
zone: string ,
strictPlacementPolicy: boolean ,
}
,
networkProfile:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
}
,
osProfile:
{
adminPassword: string ,
adminUsername: string ,
computerName: string ,
linuxConfiguration:
{
disablePasswordAuthentication: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
windowsConfiguration:
{
enableAutomaticUpdates: boolean ,
ssh:
{
publicKeys:
[
{
path: string ,
keyData: string ,
}
,
]
,
}
,
timeZone: string ,
provisionVMAgent: boolean ,
provisionVMConfigAgent: boolean ,
}
,
}
,
securityProfile:
{
enableTPM: boolean ,
uefiSettings:
{
secureBootEnabled: boolean ,
}
,
securityType: enum ,
}
,
storageProfile:
{
dataDisks:
[
{
id: string ,
}
,
]
,
imageReference:
{
id: string ,
}
,
osDisk:
{
id: string ,
osType: enum ,
managedDisk:
{
securityProfile:
{
securityEncryptionType: enum ,
}
,
}
,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
instanceView:
{
vmAgent:
{
vmConfigAgentVersion: string ,
statuses:
[
{
code: string ,
level: enum ,
displayStatus: string ,
message: string ,
time: string ,
}
,
]
,
}
,
}
,
status:
{
errorCode: string ,
errorMessage: string ,
powerState: enum ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
guestAgentInstallStatus:
{
vmUuid: string ,
status: enum ,
lastStatusChange: string ,
agentVersion: string ,
errorDetails:
[
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
}
,
vmId: string ,
resourceUid: string ,
hyperVVmId: string ,
hostNodeName: string ,
hostNodeIpAddress: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_ListAll (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "GalleryImages_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "@removed_debb528789e44254976f7c0b57d67968": {
                  "#name": "vmImageRepositoryCredentials",
                  "Description": "The credentials used to login to the image repository that has access to the specified image",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "username",
                      "Description": "Username for accessing image repository",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "password",
                      "Description": "Password for accessing image repository",
                      "Format": "password",
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryImages
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_ListAll (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "LogicalNetworks_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "subnets": {
                  "$properties": {
                    "properties": [
                      {
                        "ipConfigurationReferences": {
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          },
                          "$properties": [
                            {
                              "#name": "ID",
                              "Description": {
                                "new": "The Azure Resource ID for a Network Interface.",
                                "old": "The ARM ID for a Network Interface."
                              }
                            }
                          ]
                        }
                      },
                      {
                        "networkSecurityGroup": [
                          {
                            "#name": "id",
                            "Description": {
                              "new": "The Azure Resource ID for a Network Security Group.",
                              "old": "The ARM ID for a Network Security Group."
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/logicalNetworks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_ListAll (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkInterfaces_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "ipConfigurations": {
                  "$properties": {
                    "properties": [
                      {
                        "subnet": [
                          {
                            "#name": "id",
                            "Description": {
                              "new": "The Azure Resource ID for a Logical Network.",
                              "old": "The ARM ID for a Logical Network."
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              },
              {
                "networkSecurityGroup": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Network Security Group.",
                      "old": "The ARM ID for a Network Security Group."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkInterfaces
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_ListAll (updated)
Description :  Gets all network security groups in a subscription.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkSecurityGroups_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              },
              {
                "subnets": {
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Logical Network.",
                        "old": "The ARM ID for a Logical Network."
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkSecurityGroups
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_ListAll (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_ListAll",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "status": [
                  {
                    "#name": "managedBy",
                    "Description": {
                      "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                      "old": "ARM IDs of the VMs that are consuming the VHD."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualHardDisks
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_ListByResourceGroup (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "GalleryImages_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "@removed_7de0d54da5ea46ef9ac5adab2d0e10c3": {
                  "#name": "vmImageRepositoryCredentials",
                  "Description": "The credentials used to login to the image repository that has access to the specified image",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "username",
                      "Description": "Username for accessing image repository",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "password",
                      "Description": "Password for accessing image repository",
                      "Format": "password",
                      "Required": true,
                      "Type": "string"
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_Get (updated)
Description :  Gets a gallery image
Reference :  Link ¶

⚶ Changes

{
  "#id": "GalleryImages_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "@removed_0fe9ac8480914149be2bbfa0f058b82c": {
              "#name": "vmImageRepositoryCredentials",
              "Description": "The credentials used to login to the image repository that has access to the specified image",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "username",
                  "Description": "Username for accessing image repository",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "password",
                  "Description": "Password for accessing image repository",
                  "Format": "password",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_CreateOrUpdate (updated)
Description :  The operation to create or update a gallery image. Please note some properties can be set only during gallery image creation.
Reference :  Link ¶

⚶ Changes

{
  "#id": "GalleryImages_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "@removed_553ec53a0446412493b2f5382c8c8a09": {
              "#name": "vmImageRepositoryCredentials",
              "Description": "The credentials used to login to the image repository that has access to the specified image",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "username",
                  "Description": "Username for accessing image repository",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "password",
                  "Description": "Password for accessing image repository",
                  "Format": "password",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "@removed_15f4bcb08237445fb1e894ff38ea4fca": {
              "#name": "vmImageRepositoryCredentials",
              "Description": "The credentials used to login to the image repository that has access to the specified image",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "username",
                  "Description": "Username for accessing image repository",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "password",
                  "Description": "Password for accessing image repository",
                  "Format": "password",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "@removed_9d19335574db4e6aa3ec72a2b2bb1814": {
              "#name": "vmImageRepositoryCredentials",
              "Description": "The credentials used to login to the image repository that has access to the specified image",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "username",
                  "Description": "Username for accessing image repository",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "password",
                  "Description": "Password for accessing image repository",
                  "Format": "password",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
resource:
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GalleryImages_Update (updated)
Description :  The operation to update a gallery image.
Reference :  Link ¶

⚶ Changes

{
  "#id": "GalleryImages_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "@removed_af591558fd334dcc8e0da262b96b0e6d": {
              "#name": "vmImageRepositoryCredentials",
              "Description": "The credentials used to login to the image repository that has access to the specified image",
              "Required": false,
              "Type": "object",
              "$properties": [
                {
                  "#name": "username",
                  "Description": "Username for accessing image repository",
                  "Required": true,
                  "Type": "string"
                },
                {
                  "#name": "password",
                  "Description": "Password for accessing image repository",
                  "Format": "password",
                  "Required": true,
                  "Type": "string"
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
galleryImageName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
containerId: string ,
imagePath: string ,
osType: enum ,
cloudInitDataSource: enum ,
hyperVGeneration: enum ,
identifier:
{
publisher: string ,
offer: string ,
sku: string ,
}
,
version:
{
name: string ,
properties:
{
storageProfile:
{
osDiskImage:
{
sizeInMB: integer ,
}
,
}
,
}
,
}
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadSizeInMB: integer ,
}
,
progressPercentage: integer ,
}
,
sourceVirtualMachineId: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_ListByResourceGroup (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "LogicalNetworks_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "subnets": {
                  "$properties": {
                    "properties": [
                      {
                        "ipConfigurationReferences": {
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          },
                          "$properties": [
                            {
                              "#name": "ID",
                              "Description": {
                                "new": "The Azure Resource ID for a Network Interface.",
                                "old": "The ARM ID for a Network Interface."
                              }
                            }
                          ]
                        }
                      },
                      {
                        "networkSecurityGroup": [
                          {
                            "#name": "id",
                            "Description": {
                              "new": "The Azure Resource ID for a Network Security Group.",
                              "old": "The ARM ID for a Network Security Group."
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_Get (updated)
Description :  The operation to get a logical network.
Reference :  Link ¶

⚶ Changes

{
  "#id": "LogicalNetworks_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "subnets": {
              "$properties": {
                "properties": [
                  {
                    "ipConfigurationReferences": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "ID",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "networkSecurityGroup": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Network Security Group.",
                          "old": "The ARM ID for a Network Security Group."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_CreateOrUpdate (updated)
Description :  The operation to create or update a logical network. Please note some properties can be set only during logical network creation.
Reference :  Link ¶

⚶ Changes

{
  "#id": "LogicalNetworks_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "subnets": {
              "$properties": {
                "properties": [
                  {
                    "ipConfigurationReferences": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "ID",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "networkSecurityGroup": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Network Security Group.",
                          "old": "The ARM ID for a Network Security Group."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "subnets": {
              "$properties": {
                "properties": [
                  {
                    "ipConfigurationReferences": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "ID",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "networkSecurityGroup": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Network Security Group.",
                          "old": "The ARM ID for a Network Security Group."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "subnets": {
              "$properties": {
                "properties": [
                  {
                    "ipConfigurationReferences": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "ID",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "networkSecurityGroup": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Network Security Group.",
                          "old": "The ARM ID for a Network Security Group."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
resource:
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LogicalNetworks_Update (updated)
Description :  The operation to update a logical network.
Reference :  Link ¶

⚶ Changes

{
  "#id": "LogicalNetworks_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "subnets": {
              "$properties": {
                "properties": [
                  {
                    "ipConfigurationReferences": {
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      },
                      "$properties": [
                        {
                          "#name": "ID",
                          "Description": {
                            "new": "The Azure Resource ID for a Network Interface.",
                            "old": "The ARM ID for a Network Interface."
                          }
                        }
                      ]
                    }
                  },
                  {
                    "networkSecurityGroup": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Network Security Group.",
                          "old": "The ARM ID for a Network Security Group."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
logicalNetworkName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
dhcpOptions:
{
dnsServers:
[
string ,
]
,
}
,
subnets:
[
{
properties:
{
addressPrefix: string ,
addressPrefixes:
[
string ,
]
,
ipAllocationMethod: enum ,
ipConfigurationReferences:
[
{
ID: string ,
}
,
]
,
networkSecurityGroup:
{
id: string ,
}
,
routeTable:
{
etag: string ,
name: string ,
type: string ,
properties:
{
routes:
[
{
properties:
{
addressPrefix: string ,
nextHopIpAddress: string ,
}
,
name: string ,
}
,
]
,
}
,
}
,
ipPools:
[
{
name: string ,
ipPoolType: enum ,
start: string ,
end: string ,
info:
{
used: string ,
available: string ,
}
,
}
,
]
,
vlan: integer ,
}
,
name: string ,
}
,
]
,
provisioningState: enum ,
vmSwitchName: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkType: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_ListByResourceGroup (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkInterfaces_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "ipConfigurations": {
                  "$properties": {
                    "properties": [
                      {
                        "subnet": [
                          {
                            "#name": "id",
                            "Description": {
                              "new": "The Azure Resource ID for a Logical Network.",
                              "old": "The ARM ID for a Logical Network."
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              },
              {
                "networkSecurityGroup": [
                  {
                    "#name": "id",
                    "Description": {
                      "new": "The Azure Resource ID for a Network Security Group.",
                      "old": "The ARM ID for a Network Security Group."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_Get (updated)
Description :  Gets a network interface
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkInterfaces_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "ipConfigurations": {
              "$properties": {
                "properties": [
                  {
                    "subnet": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Logical Network.",
                          "old": "The ARM ID for a Logical Network."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          },
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_CreateOrUpdate (updated)
Description :  The operation to create or update a network interface. Please note some properties can be set only during network interface creation.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkInterfaces_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "ipConfigurations": {
              "$properties": {
                "properties": [
                  {
                    "subnet": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Logical Network.",
                          "old": "The ARM ID for a Logical Network."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          },
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "ipConfigurations": {
              "$properties": {
                "properties": [
                  {
                    "subnet": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Logical Network.",
                          "old": "The ARM ID for a Logical Network."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          },
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "ipConfigurations": {
              "$properties": {
                "properties": [
                  {
                    "subnet": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Logical Network.",
                          "old": "The ARM ID for a Logical Network."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          },
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
resource:
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkInterfaces_Update (updated)
Description :  The operation to update a network interface.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkInterfaces_Update",
  "$parameters": {
    "properties": {
      "$properties": {
        "properties": [
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "ipConfigurations": {
              "$properties": {
                "properties": [
                  {
                    "subnet": [
                      {
                        "#name": "id",
                        "Description": {
                          "new": "The Azure Resource ID for a Logical Network.",
                          "old": "The ARM ID for a Logical Network."
                        }
                      }
                    ]
                  }
                ]
              }
            }
          },
          {
            "networkSecurityGroup": [
              {
                "#name": "id",
                "Description": {
                  "new": "The Azure Resource ID for a Network Security Group.",
                  "old": "The ARM ID for a Network Security Group."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkInterfaceName: string ,
properties:
{
tags: object ,
properties:
{
networkSecurityGroup:
{
id: string ,
}
,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
createFromLocal: boolean ,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
networkSecurityGroup:
{
id: string ,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_ListByResourceGroup (updated)
Description :  Gets all network security groups in a resource group.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkSecurityGroups_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "networkInterfaces": {
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Network Interface.",
                        "old": "The ARM ID for a Network Interface."
                      }
                    }
                  ]
                }
              },
              {
                "subnets": {
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  },
                  "$properties": [
                    {
                      "#name": "id",
                      "Description": {
                        "new": "The Azure Resource ID for a Logical Network.",
                        "old": "The ARM ID for a Logical Network."
                      }
                    }
                  ]
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_Get (updated)
Description :  Gets the specified network security group.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkSecurityGroups_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkInterfaces": {
              "Description": {
                "new": "The Azure Resource ID for a Network Interface.",
                "old": "The ARM ID for a Network Interface."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  }
                }
              ]
            }
          },
          {
            "subnets": {
              "Description": {
                "new": "The Azure Resource ID for a Logical Network.",
                "old": "The ARM ID for a Logical Network."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_CreateOrUpdate (updated)
Description :  Creates or updates a network security group in the specified resource group.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkSecurityGroups_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "networkInterfaces": {
              "Description": {
                "new": "The Azure Resource ID for a Network Interface.",
                "old": "The ARM ID for a Network Interface."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  }
                }
              ]
            }
          },
          {
            "subnets": {
              "Description": {
                "new": "The Azure Resource ID for a Logical Network.",
                "old": "The ARM ID for a Logical Network."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkInterfaces": {
              "Description": {
                "new": "The Azure Resource ID for a Network Interface.",
                "old": "The ARM ID for a Network Interface."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  }
                }
              ]
            }
          },
          {
            "subnets": {
              "Description": {
                "new": "The Azure Resource ID for a Logical Network.",
                "old": "The ARM ID for a Logical Network."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  }
                }
              ]
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "networkInterfaces": {
              "Description": {
                "new": "The Azure Resource ID for a Network Interface.",
                "old": "The ARM ID for a Network Interface."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  }
                }
              ]
            }
          },
          {
            "subnets": {
              "Description": {
                "new": "The Azure Resource ID for a Logical Network.",
                "old": "The ARM ID for a Logical Network."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
resource:
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NetworkSecurityGroups_UpdateTags (updated)
Description :  Updates a network security group tags.
Reference :  Link ¶

⚶ Changes

{
  "#id": "NetworkSecurityGroups_UpdateTags",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "networkInterfaces": {
              "Description": {
                "new": "The Azure Resource ID for a Network Interface.",
                "old": "The ARM ID for a Network Interface."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Network Interface.",
                    "old": "The ARM ID for a Network Interface."
                  }
                }
              ]
            }
          },
          {
            "subnets": {
              "Description": {
                "new": "The Azure Resource ID for a Logical Network.",
                "old": "The ARM ID for a Logical Network."
              },
              "$properties": [
                {
                  "#name": "id",
                  "Description": {
                    "new": "The Azure Resource ID for a Logical Network.",
                    "old": "The ARM ID for a Logical Network."
                  }
                }
              ]
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
networkSecurityGroupName: string ,
properties:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
}
,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_ListByResourceGroup (updated)
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.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_ListByResourceGroup",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "status": [
                  {
                    "#name": "managedBy",
                    "Description": {
                      "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                      "old": "ARM IDs of the VMs that are consuming the VHD."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Get (updated)
Description :  Gets a virtual hard disk
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "status": [
              {
                "#name": "managedBy",
                "Description": {
                  "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                  "old": "ARM IDs of the VMs that are consuming the VHD."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_CreateOrUpdate (updated)
Description :  The operation to create or update a virtual hard disk. Please note some properties can be set only during virtual hard disk creation.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_CreateOrUpdate",
  "$parameters": {
    "resource": {
      "$properties": {
        "properties": [
          {
            "status": [
              {
                "#name": "managedBy",
                "Description": {
                  "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                  "old": "ARM IDs of the VMs that are consuming the VHD."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "status": [
              {
                "#name": "managedBy",
                "Description": {
                  "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                  "old": "ARM IDs of the VMs that are consuming the VHD."
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "status": [
              {
                "#name": "managedBy",
                "Description": {
                  "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                  "old": "ARM IDs of the VMs that are consuming the VHD."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
resource:
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Update (updated)
Description :  The operation to update a virtual hard disk.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "status": [
              {
                "#name": "managedBy",
                "Description": {
                  "new": "Azure Resource IDs of the VMs that are consuming the VHD.",
                  "old": "ARM IDs of the VMs that are consuming the VHD."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
properties:
{
tags: object ,
properties:
{
diskSizeGB: integer ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
blockSizeBytes: integer ,
diskSizeGB: integer ,
dynamic: boolean ,
logicalSectorBytes: integer ,
physicalSectorBytes: integer ,
downloadUrl: string ,
hyperVGeneration: enum ,
diskFileFormat: enum ,
createFromLocal: boolean ,
provisioningState: enum ,
containerId: string ,
status:
{
errorCode: string ,
errorMessage: string ,
provisioningStatus:
{
operationId: string ,
status: enum ,
}
,
downloadStatus:
{
downloadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
}
,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
managedBy:
[
string ,
]
,
uniqueId: string ,
}
,
maxShares: integer ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualHardDisks_Upload (updated)
Description :  The operation to upload a virtual hard disk.
Reference :  Link ¶

⚶ Changes

{
  "#id": "VirtualHardDisks_Upload",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "virtualHardDiskId",
          "Description": {
            "new": "The Azure Resource ID for a Virtual Hard Disk.",
            "old": "The ARM ID for a Virtual Hard Disk."
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName}/upload
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
virtualHardDiskName: string ,
body:
{
azureManagedDiskUploadUrl: string ,
}
,
}

⚐ Response (200)

{
virtualHardDiskId: string ,
uploadStatus:
{
uploadedSizeInMB: integer ,
status: enum ,
progressPercentage: integer ,
errorCode: string ,
errorMessage: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}