Compartir a través de


VariableOperationsExtensions.CreateOrUpdateAsync Método

Definición

Sobrecargas

CreateOrUpdateAsync(IVariableOperations, String, String, VariableCreateOrUpdateParameters)
CreateOrUpdateAsync(IVariableOperations, String, String, String, VariableCreateOrUpdateParameters, CancellationToken)

Cree una variable. http://aka.ms/azureautomationsdk/variableoperations

CreateOrUpdateAsync(IVariableOperations, String, String, VariableCreateOrUpdateParameters)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IVariableOperations, resourceGroupName As String, automationAccount As String, parameters As VariableCreateOrUpdateParameters) As Task(Of VariableCreateOrUpdateResponse)

Parámetros

operations
IVariableOperations
resourceGroupName
String
automationAccount
String

Devoluciones

Se aplica a

CreateOrUpdateAsync(IVariableOperations, String, String, String, VariableCreateOrUpdateParameters, CancellationToken)

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

Parámetros

operations
IVariableOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre de un grupo de recursos de Azure.

automationAccountName
String

Nombre de la cuenta de Automation.

variableName
String

El nombre de la variable.

parameters
VariableCreateOrUpdateParameters

Parámetros proporcionados a la operación de creación o actualización de variables.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a