Partilhar via


DscNodeConfigurationCollection.GetAsync(String, CancellationToken) 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}
  • IdDscNodeConfiguration_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>> GetAsync (string nodeConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscNodeConfigurationResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

nodeConfigurationName é nulo.

Aplica-se a