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": [ { "osProfile": [ { "linuxConfiguration": [ { "ssh": [ { "publicKeys": { "$properties": [ { "#name": "keyData", "Description": { "new": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", "old": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." } } ] } } ] } ] }, { "windowsConfiguration": [ { "ssh": [ { "publicKeys": { "$properties": [ { "#name": "keyData", "Description": { "new": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", "old": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." } } ] } } ] } ] } ] } ] } } } } } }
⚼ 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
,
}
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
,
}
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:
[
,
string
,
]
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:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}