Share via


ReservationDetailCollection.Exists(Guid, String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
  • Operation Id: Reservation_Get
public virtual Azure.Response<bool> Exists (Guid reservationId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : Guid * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : Guid * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (reservationId As Guid, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

reservationId
Guid

Id of the reservation item.

expand
String

Supported value of this query is renewProperties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to