Condividi tramite


IVariableOperations.UpdateWithHttpMessagesAsync Metodo

Definizione

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.Variable>> UpdateWithHttpMessagesAsync (string resourceGroupName, string automationAccountName, string variableName, Microsoft.Azure.Management.Automation.Models.VariableUpdateParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Automation.Models.VariableUpdateParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Automation.Models.Variable>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, automationAccountName As String, variableName As String, parameters As VariableUpdateParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Variable))

Parametri

resourceGroupName
String

Nome di un gruppo di risorse di Azure.

automationAccountName
String

Nome dell'account di automazione.

variableName
String

Nome della variabile.

parameters
VariableUpdateParameters

I parametri forniti all'operazione di variabile di aggiornamento.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando non è possibile deserializzare la risposta

Generato quando un parametro obbligatorio è Null

Si applica a