共用方式為


ReservationOrderCollection.GetAllAsync(CancellationToken) Method

Definition

List of all the ReservationOrders that the user has access to in the current tenant.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders
  • Operation Id: ReservationOrder_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationOrderResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationOrderResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationOrderResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationOrderResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to