Compartilhar via


Método IVariableOperations.UpdateAsync

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

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

Uso

'Uso
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)

Sintaxe

'Declaração
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>

Parâmetros

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

Valor de retorno

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

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

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