共用方式為


ReservationOrderResource.GetReservationDetailAsync 方法

定義

取得特定 Reservation 詳細資料。

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

要使用的取消權杖。

傳回

適用於