Partilhar via


CapacityReservationResource.Get 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 Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource> Get (Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Nullable<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource>
override this.Get : Nullable<Azure.ResourceManager.Compute.Models.CapacityReservationInstanceViewType> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.CapacityReservationResource>
Public Overridable Function Get (Optional expand As Nullable(Of CapacityReservationInstanceViewType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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