Share via


VariableOperationsExtensions.UpdateAsync Method

Definition

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

Parameters

operations
IVariableOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

variableName
String

The variable name.

parameters
VariableUpdateParameters

The parameters supplied to the update variable operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to