共用方式為


MockableScVmmSubscriptionResource.GetScVmmAvailabilitySetsAsync Method

Definition

List of AvailabilitySets in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/availabilitySets
  • Operation Id: AvailabilitySets_ListBySubscription
  • Default Api Version: 2023-10-07
  • Resource: ScVmmAvailabilitySetResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource> GetScVmmAvailabilitySetsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScVmmAvailabilitySetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource>
override this.GetScVmmAvailabilitySetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource>
Public Overridable Function GetScVmmAvailabilitySetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ScVmmAvailabilitySetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to