共用方式為


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

定義

取得特定 Reservation 詳細資料。

  • 要求路徑/提供者/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}
  • 作業IdReservation_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.ReservationDetailResource>> GetAsync (Guid reservationId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.ReservationDetailResource>>
override this.GetAsync : Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.ReservationDetailResource>>
Public Overridable Function GetAsync (reservationId As Guid, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ReservationDetailResource))

參數

reservationId
Guid

保留專案的識別碼。

expand
String

此查詢的支援值為 renewProperties。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

適用於