Compartir a través de


DscConfigurationResource.UpdateAsync Método

Definición

Cree la configuración identificada por nombre de configuración.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
  • IdDscConfiguration_Update de operaciones
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

Parámetros de creación o actualización para la configuración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a