Microsoft.AzureStackHCI (preview:2024-02-01)

2025/11/18 • 19 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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
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 ,
}
,
}
,
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 ,
}
,
vmConfigStoragePathId: string ,
}
,
httpProxyConfig:
{
httpProxy: string ,
httpsProxy: string ,
noProxy:
[
string ,
]
,
trustedCa: string ,
}
,
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 ,
}
,
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 ,
}
,
]
,
}
,
}
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 ,
}
,
}
,
}
,
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 ,
]
,
}
,
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 ,
}
,
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 ,
}
,
]
,
}
,
}
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
}
,
}
,
}
,
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 ,
]
,
}
,
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 ,
]
,
}
,
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 ,
]
,
}
,
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 ,
]
,
}
,
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 ,
]
,
}
,
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",
  "$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 ,
}
,
}

⚐ Response (200)

{
properties:
{
ipConfigurations:
[
{
name: string ,
properties:
{
gateway: string ,
prefixLength: string ,
privateIPAddress: string ,
subnet:
{
id: string ,
}
,
}
,
}
,
]
,
macAddress: string ,
dnsSettings:
{
dnsServers:
[
string ,
]
,
}
,
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 ,
}
,
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 ,
}
,
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 ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}
,
}

⚐ Response (200)

{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: enum ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
eTag: string ,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
networkInterfaces:
[
{
id: string ,
}
,
]
,
subnets:
[
{
id: string ,
}
,
]
,
provisioningState: 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 ,
}
,
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 ,
}
,
]
,
}
,
}