Dela via


VariableOperationsExtensions.CreateOrUpdate Metod

Definition

Överlagringar

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

Skapa en variabel. 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

Parametrar

operations
IVariableOperations
resourceGroupName
String
automationAccount
String

Returer

Gäller för

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

Parametrar

operations
IVariableOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på en Azure-resursgrupp.

automationAccountName
String

Namnet på automationskontot.

variableName
String

Variabelnamnet.

parameters
VariableCreateOrUpdateParameters

Parametrarna som angavs för åtgärden skapa eller uppdatera variabeln.

Returer

Gäller för