Share via


VariableOperationsExtensions.CreateAsync Method (IVariableOperations, String, VariableCreateParameters)

 

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

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

Syntax

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)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

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

The response model for the create variable operation.

See Also

VariableOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top