CapacityReservationCollection.GetAll(CancellationToken) Method

Definition

Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to