共用方式為


VariableOperationsExtensions.CreateOrUpdate 方法

定義

多載

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

建立變數。 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

參數

operations
IVariableOperations
resourceGroupName
String
automationAccount
String

傳回

適用於

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

參數

operations
IVariableOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

variableName
String

變數名稱。

parameters
VariableCreateOrUpdateParameters

提供給建立或更新變數作業的參數。

傳回

適用於