共用方式為


IVariableOperations.UpdateAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.VariableUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.VariableUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function UpdateAsync (automationAccount As String, parameters As VariableUpdateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

parameters
VariableUpdateParameters

The parameters supplied to the update variable operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to