Share via


ReservationDetailCollection.GetRevisionsAsync(Guid, CancellationToken) Method

Definition

List of all the revisions for the Reservation.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/revisions
  • Operation Id: Reservation_ListRevisions
public virtual Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource> GetRevisionsAsync (Guid reservationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRevisionsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
override this.GetRevisionsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Reservations.ReservationDetailResource>
Public Overridable Function GetRevisionsAsync (reservationId As Guid, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReservationDetailResource)

Parameters

reservationId
Guid

Id of the reservation item.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to