Freigeben über


ReservationsExtensions.GetReservationOrderAsync Methode

Definition

Rufen Sie die Details von ab ReservationOrder.

  • Request Path/providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}
  • Vorgangs-IdReservationOrder_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.ReservationOrderResource>> GetReservationOrderAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Guid reservationOrderId, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetReservationOrderAsync : Azure.ResourceManager.Resources.TenantResource * Guid * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Reservations.ReservationOrderResource>>
<Extension()>
Public Function GetReservationOrderAsync (tenantResource As TenantResource, reservationOrderId As Guid, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ReservationOrderResource))

Parameter

tenantResource
TenantResource

Der TenantResource instance die -Methode ausgeführt wird.

reservationOrderId
Guid

Bestell-ID der Reservierung.

expand
String

Kann verwendet werden, um planInformation zu erweitern.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: