ReservationDetailResource.ArchiveAsync(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 System.Threading.Tasks.Task<Azure.Response> ArchiveAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ArchiveAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ArchiveAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ArchiveAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to