Sdílet prostřednictvím


ReservationDetailResource.Archive(CancellationToken) Method

Definition

Archiving a Reservation moves it to Archived state.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}/archive
  • Operation Id: Reservation_Archive
public virtual Azure.Response Archive (System.Threading.CancellationToken cancellationToken = default);
abstract member Archive : System.Threading.CancellationToken -> Azure.Response
override this.Archive : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Archive (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to