Share via


MockableStandbyPoolSubscriptionResource.GetStandbyVirtualMachinePoolsAsync Method

Definition

List StandbyVirtualMachinePoolResource resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools
  • Operation Id: StandbyVirtualMachinePoolResource_ListBySubscription
  • Default Api Version: 2024-03-01
  • Resource: StandbyVirtualMachinePoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolResource> GetStandbyVirtualMachinePoolsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStandbyVirtualMachinePoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolResource>
override this.GetStandbyVirtualMachinePoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.StandbyPool.StandbyVirtualMachinePoolResource>
Public Overridable Function GetStandbyVirtualMachinePoolsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of StandbyVirtualMachinePoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to