Share via


VariableOperationsExtensions.CreateOrUpdate Method

Definition

Overloads

CreateOrUpdate(IVariableOperations, String, String, VariableCreateOrUpdateParameters)
CreateOrUpdate(IVariableOperations, String, String, String, VariableCreateOrUpdateParameters)

Create a variable. http://aka.ms/azureautomationsdk/variableoperations

CreateOrUpdate(IVariableOperations, String, String, VariableCreateOrUpdateParameters)

public static Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateResponse CreateOrUpdate (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IVariableOperations, resourceGroupName As String, automationAccount As String, parameters As VariableCreateOrUpdateParameters) As VariableCreateOrUpdateResponse

Parameters

operations
IVariableOperations
resourceGroupName
String
automationAccount
String

Returns

Applies to

CreateOrUpdate(IVariableOperations, String, String, String, VariableCreateOrUpdateParameters)

public static Microsoft.Azure.Management.Automation.Models.Variable CreateOrUpdate (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccountName, string variableName, Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.VariableCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Variable
<Extension()>
Public Function CreateOrUpdate (operations As IVariableOperations, resourceGroupName As String, automationAccountName As String, variableName As String, parameters As VariableCreateOrUpdateParameters) As Variable

Parameters

operations
IVariableOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

variableName
String

The variable name.

parameters
VariableCreateOrUpdateParameters

The parameters supplied to the create or update variable operation.

Returns

Applies to