Compartilhar via


DedicatedHostGroupResource.GetAsync Método

Definição

Recupera informações sobre um grupo de hosts dedicado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
  • Operação IdDedicatedHostGroups_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.DedicatedHostGroupResource>> 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.DedicatedHostGroupResource>>
override this.GetAsync : Nullable<Azure.ResourceManager.Compute.Models.InstanceViewType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.DedicatedHostGroupResource>>
Public Overridable Function GetAsync (Optional expand As Nullable(Of InstanceViewType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DedicatedHostGroupResource))

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 dos hosts dedicados no grupo de hosts dedicado. Não há suporte para 'UserData' para o grupo de hosts dedicado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a