Share via


IVariableOperations.UpdateAsync Method

Update a variable. (see https://aka.ms/azureautomationsdk/variableoperations for more information)

Namespace: Microsoft.WindowsAzure.Management.Automation
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Usage

'Usage
Dim instance As IVariableOperations
Dim automationAccount As String
Dim parameters As VariableUpdateParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of AzureOperationResponse)

returnValue = instance.UpdateAsync(automationAccount, parameters, cancellationToken)

Syntax

'Declaration
Function UpdateAsync ( _
    automationAccount As String, _
    parameters As VariableUpdateParameters, _
    cancellationToken As CancellationToken _
) As Task(Of AzureOperationResponse)
Task<AzureOperationResponse> UpdateAsync (
    string automationAccount,
    VariableUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ UpdateAsync (
    String^ automationAccount, 
    VariableUpdateParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<AzureOperationResponse> UpdateAsync (
    String automationAccount, 
    VariableUpdateParameters parameters, 
    CancellationToken cancellationToken
)
function UpdateAsync (
    automationAccount : String, 
    parameters : VariableUpdateParameters, 
    cancellationToken : CancellationToken
) : Task<AzureOperationResponse>

Parameters

  • automationAccount
    The automation account name.
  • parameters
    The parameters supplied to the update variable operation.
  • cancellationToken
    Cancellation token.

Return Value

A standard service response including an HTTP status code and request ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

IVariableOperations Interface
IVariableOperations Members
Microsoft.WindowsAzure.Management.Automation Namespace