共用方式為


ReservationDetailCollection.Exists(Guid, String, CancellationToken) 方法

定義

檢查資源是否存在於 azure 中。

  • 要求路徑/提供者/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
  • 作業IdReservation_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)

參數

reservationId
Guid

保留專案的識別碼。

expand
String

此查詢的支援值為 renewProperties。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

適用於