Compartilhar via


DedicatedHostResource.GetAsync Método

Definição

Recupera informações sobre um host dedicado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}
  • Operação IdDedicatedHosts_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.DedicatedHostResource>> GetAsync (Azure.ResourceManager.Compute.Models.InstanceViewType? expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<Azure.ResourceManager.Compute.Models.InstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.DedicatedHostResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Compute.Models.InstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.DedicatedHostResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of InstanceViewType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DedicatedHostResource))

Parâmetros

expand
Nullable<InstanceViewType>

A expressão de expansão a ser aplicada na operação. 'InstanceView' recuperará a lista de exibições de instância do host dedicado. Não há suporte para 'UserData' para host dedicado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a