IVariableOperations.CreateAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.VariableCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.VariableCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.VariableCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As VariableCreateParameters, cancellationToken As CancellationToken) As Task(Of VariableCreateResponse)

Parameters

automationAccount
String

The automation account name.

parameters
VariableCreateParameters

The parameters supplied to the create variable operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create variable operation.

Applies to