Partager via


ComputeFleetResource.GetVirtualMachineScaleSets(CancellationToken) Method

Definition

List VirtualMachineScaleSet resources by Fleet

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets
  • Operation Id: VirtualMachineScaleSet_ListVirtualMachineScaleSets
  • Default Api Version: 2024-11-01
  • Resource: ComputeFleetResource
public virtual Azure.Pageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss> GetVirtualMachineScaleSets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineScaleSets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss>
override this.GetVirtualMachineScaleSets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss>
Public Overridable Function GetVirtualMachineScaleSets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ComputeFleetVmss)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ComputeFleetVmss that may take multiple service requests to iterate over.

Applies to