Share via


MockableScVmmSubscriptionResource.GetScVmmAvailabilitySets 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.Pageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource> GetScVmmAvailabilitySets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetScVmmAvailabilitySets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource>
override this.GetScVmmAvailabilitySets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetResource>
Public Overridable Function GetScVmmAvailabilitySets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScVmmAvailabilitySetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to