IVariableOperations::CreateAsync Method (String^, VariableCreateParameters^, CancellationToken)
Create a variable. (see http://aka.ms/azureautomationsdk/variableoperations for more information)
Assembly: Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)
Task<VariableCreateResponse^>^ CreateAsync( String^ automationAccount, VariableCreateParameters^ parameters, CancellationToken cancellationToken )
Parameters
- automationAccount
-
Type:
System::String^
The automation account name.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Automation.Models::VariableCreateParameters^
The parameters supplied to the create variable operation.
- cancellationToken
-
Type:
System.Threading::CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks::Task<VariableCreateResponse^>^The response model for the create variable operation.
Show: