Partilhar via


HybridComputeMachineResource.GetHybridComputeMachineExtensionAsync Método

Definição

A operação para obter a extensão.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operação IdMachineExtensions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineExtensionResource>> GetHybridComputeMachineExtensionAsync (string extensionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridComputeMachineExtensionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineExtensionResource>>
override this.GetHybridComputeMachineExtensionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputeMachineExtensionResource>>
Public Overridable Function GetHybridComputeMachineExtensionAsync (extensionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridComputeMachineExtensionResource))

Parâmetros

extensionName
String

O nome da extensão do computador.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

extensionName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

extensionName é nulo.

Aplica-se a