DscConfigurationResource.UpdateAsync 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 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))
Parameters
- patch
- DscConfigurationPatch
The create or update parameters for configuration.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.