Compartilhar via


Método VariableOperationsExtensions.CreateAsync (IVariableOperations, String, VariableCreateParameters)

 

Crie uma variável. (consulte https://aka.ms/azureautomationsdk/variableoperations para obter mais informações)

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

Sintaxe

public static Task<VariableCreateResponse> CreateAsync(
    this IVariableOperations operations,
    string automationAccount,
    VariableCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<VariableCreateResponse^>^ CreateAsync(
    IVariableOperations^ operations,
    String^ automationAccount,
    VariableCreateParameters^ parameters
)
static member CreateAsync : 
        operations:IVariableOperations *
        automationAccount:string *
        parameters:VariableCreateParameters -> Task<VariableCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As IVariableOperations,
    automationAccount As String,
    parameters As VariableCreateParameters
) As Task(Of VariableCreateResponse)

Parâmetros

  • automationAccount
    Type: System.String

    Obrigatório. O nome da conta de automação.

Valor de retorno

Type: System.Threading.Tasks.Task<VariableCreateResponse>

O modelo de resposta para a operação de criação de variável.

Consulte também

Classe VariableOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo