ReservationDetailResource.ArchiveAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.