ReservationDetailCollection.GetAsync(Guid, String, CancellationToken) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得特定 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
要使用的取消權杖。