Partilhar via


ReservationsExtensions.GetReservationOrderAsync Método

Definição

Obtenha os detalhes do ReservationOrder.

  • Caminho da Solicitação/provedores/Microsoft.Capacity/reservationOrders/{reservationOrderId}
  • IdReservationOrder_Get de operação
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))

Parâmetros

tenantResource
TenantResource

A TenantResource instância na qual o método será executado.

reservationOrderId
Guid

ID do pedido da reserva.

expand
String

Pode ser usado para expandir o planInformation.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a