GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/?api-version=2023-09-01

Gets a list of all virtual machines in a VM scale sets.

Servers

Path parameters

Name Type Required Description
subscriptionId String Yes

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

virtualMachineScaleSetName String Yes

The name of the VM scale set.

resourceGroupName String Yes

The name of the resource group.

Query parameters

Name Type Required Description
$filter String No

The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'.

$select String No

The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'.

$expand String No

The expand expression to apply to the operation. Allowed values are 'instanceView'.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.