Partilhar via


AutomationAccountResource.GetDscNodeConfigurationAsync Método

Definição

Recupere as configurações do nó Dsc por configuração de nó.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodeConfigurations/{nodeConfigurationName}
  • Operação IdDscNodeConfiguration_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>> GetDscNodeConfigurationAsync (string nodeConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDscNodeConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>>
override this.GetDscNodeConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>>
Public Overridable Function GetDscNodeConfigurationAsync (nodeConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DscNodeConfigurationResource))

Parâmetros

nodeConfigurationName
String

O nome de configuração do nó Dsc.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

nodeConfigurationName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

nodeConfigurationName é nulo.

Aplica-se a