Get the instance view of a set

Retrieves information about the instance view of a virtual machine scale set.

Request

For information about getting started with Azure REST operations including request authentication, see Azure REST API Reference.

Method Request URI
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/VirtualMachineScaleSets/{vmScaleSet}/instanceView?api-version={apiVersion}
Parameter Description
subscriptionId The identifier of your subscription.
resourceGroup The resource group that will contain the scale set.
vmScaleSet The name of the scale set.
apiVersion The version of the API to use. The current version is 2016-04-30-preview.

Response

Status code: 200 (OK).

{     

  "virtualMachine": {    
    "statusesSummary": [ {    
      "code": "ProvisioningState/creating",    
      "count": "50"    
    } ]    
  },    
   "statuses": [ {    
    "code": "ProvisioningState/failed",    
    "message": "Failed to get secret XXX",    
    "level": "Error",    
    "displayStatus": "failed"    
  } ],    
  "extensions": [ {          
    "name" : "extensionName",         
    "statusesSummary": [ {            
      "code" : "provisioningState/succeeded",             
      "count" : "7"          
    }]    
  }]    
}    
Element name Description
virtualMachines Specifies the allocation statuses for the virtual machines in the scale set.
statuses Specifies the allocation statuses for the whole virtual machine scale set.
extensions Specifies the allocation statuses for the extensions in the scale set.

virtualMachines

Element name Description
statusSummary Specifies a summary of virtual machine status values.

statuses

Element name Description
code Specifies the status of the scale set.

Possible values are:

provisioningState/succeeded

provisioningState/failed

provisioningState/updating
message If available, specifies a detailed message about the status.
level Specifies the status level.

Possible values are:

Info

Warning

Error
displayStatus Specifies a localized label for the status.

extensions

Element name Description
name Specifies the name of the extension.
statusSummary Specifies a summary of extension status values.

statusSummary

Element name Description
code Specifies the latest status of the resource.

Possible values are:

provisioningState/succeeded

provisioningState/failed

provisioningState/updating
count Specifies the number of resources that have this status.