---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets"
tags: ["Fleets"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List VirtualMachineScaleSet resources by Fleet

## Path parameters

- `name` string, required

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter` (unresolved $ref)

## Response `200`

Azure operation completed successfully.

- VirtualMachineScaleSetListResult: The response of a VirtualMachineScaleSet list operation.
  - `value` VirtualMachineScaleSet[], required: The VirtualMachineScaleSet items on this page
    - `name` string, required: The name of the virtualMachineScaleSet
    - `id` string, arm-id, required: The compute RP resource id of the virtualMachineScaleSet "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}"
    - `type` string: Type of the virtualMachineScaleSet
    - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Creating' | 'Updating' | 'Deleting' | 'Migrating', required: The status of the current operation.
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/azurefleet-microsoft-azurefleet-azurefleet.md) - [All operations](https://skmtc.dev/azure/apis/azurefleet-microsoft-azurefleet-azurefleet/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/azurefleet-microsoft-azurefleet-azurefleet/revisions/798319fef6bb?raw)
