Share via


DscConfigurationResource.Update Method

Definition

Create the configuration identified by configuration name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/configurations/{configurationName}
  • Operation Id: DscConfiguration_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource> Update (Azure.ResourceManager.Automation.Models.DscConfigurationPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.DscConfigurationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource>
override this.Update : Azure.ResourceManager.Automation.Models.DscConfigurationPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.DscConfigurationResource>
Public Overridable Function Update (patch As DscConfigurationPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DscConfigurationResource)

Parameters

patch
DscConfigurationPatch

The create or update parameters for configuration.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to