Compartilhar via


DscConfigurationResource.UpdateAsync Método

Definição

Crie a configuração identificada pelo nome da configuração.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
  • IdDscConfiguration_Update de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.DscConfigurationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.DscConfigurationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.DscConfigurationPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource>>
Public Overridable Function UpdateAsync (patch As DscConfigurationPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DscConfigurationResource))

Parâmetros

patch
DscConfigurationPatch

Os parâmetros create ou update para configuração.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a