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
operations
Type: Microsoft.WindowsAzure.Management.Automation.IVariableOperationsReference to the Microsoft.WindowsAzure.Management.Automation.IVariableOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.VariableCreateParametersRequired. The parameters supplied to the create variable operation.
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