DscConfigurationResource.Update Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.