Compartilhar via


CapacityReservationResource.GetAsync Método

Definição

A operação que recupera informações sobre a reserva de capacidade.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}
  • IdCapacityReservations_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource>> GetAsync (Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of CapacityReservationInstanceViewType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CapacityReservationResource))

Parâmetros

expand
Nullable<CapacityReservationInstanceViewType>

A expressão de expansão a ser aplicada na operação. 'InstanceView' recupera uma instantâneo das propriedades de runtime da reserva de capacidade gerenciada pela plataforma e pode ser alterada fora das operações do painel de controle.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a