Share via


VariableOperationsExtensions.Create Method

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)

Usage

'Usage
Dim operations As IVariableOperations
Dim automationAccount As String
Dim parameters As VariableCreateParameters
Dim returnValue As VariableCreateResponse

returnValue = VariableOperationsExtensions.Create(operations, automationAccount, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Create ( _
    operations As IVariableOperations, _
    automationAccount As String, _
    parameters As VariableCreateParameters _
) As VariableCreateResponse
[ExtensionAttribute] 
public static VariableCreateResponse Create (
    IVariableOperations operations,
    string automationAccount,
    VariableCreateParameters parameters
)
[ExtensionAttribute] 
public:
static VariableCreateResponse^ Create (
    IVariableOperations^ operations, 
    String^ automationAccount, 
    VariableCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static VariableCreateResponse Create (
    IVariableOperations operations, 
    String automationAccount, 
    VariableCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
    operations : IVariableOperations, 
    automationAccount : String, 
    parameters : VariableCreateParameters
) : VariableCreateResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.IVariableOperations.
  • automationAccount
    Required. The automation account name.
  • parameters
    Required. The parameters supplied to the create variable operation.

Return Value

The response model for the create variable operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VariableOperationsExtensions Class
VariableOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace