共用方式為


AvailabilitySetCollection.GetAll(CancellationToken) Method

Definition

Lists all availability sets in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets
  • Operation Id: AvailabilitySets_List
  • Default Api Version: 2024-07-01
  • Resource: AvailabilitySetResource
public virtual Azure.Pageable<Azure.ResourceManager.Compute.AvailabilitySetResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.AvailabilitySetResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.AvailabilitySetResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AvailabilitySetResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to