Condividi tramite


ComputeFleetResource.GetVirtualMachineScaleSetsAsync 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.AsyncPageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss> GetVirtualMachineScaleSetsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineScaleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss>
override this.GetVirtualMachineScaleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmss>
Public Overridable Function GetVirtualMachineScaleSetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ComputeFleetVmss)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to