Share via


DscConfigurationOperationsExtensions.UpdateAsync Method

Definition

Create the configuration identified by configuration name. http://aka.ms/azureautomationsdk/configurationoperations

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfiguration> UpdateAsync (this Microsoft.Azure.Management.Automation.IDscConfigurationOperations operations, string resourceGroupName, string automationAccountName, string configurationName, Microsoft.Azure.Management.Automation.Models.DscConfigurationUpdateParameters parameters = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.IDscConfigurationOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.DscConfigurationUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscConfiguration>
<Extension()>
Public Function UpdateAsync (operations As IDscConfigurationOperations, resourceGroupName As String, automationAccountName As String, configurationName As String, Optional parameters As DscConfigurationUpdateParameters = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DscConfiguration)

Parameters

operations
IDscConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

configurationName
String

The create or update parameters for configuration.

parameters
DscConfigurationUpdateParameters

The create or update parameters for configuration.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to