共用方式為


DscConfigurationOperationsExtensions.CreateOrUpdate 方法

定義

多載

CreateOrUpdate(IDscConfigurationOperations, String, String, DscConfigurationCreateOrUpdateParameters)
CreateOrUpdate(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters)

建立以組態名稱識別的組態。 http://aka.ms/azureautomationsdk/configurationoperations

CreateOrUpdate(IDscConfigurationOperations, String, String, DscConfigurationCreateOrUpdateParameters)

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

參數

resourceGroupName
String
automationAccount
String

傳回

適用於

CreateOrUpdate(IDscConfigurationOperations, String, String, String, DscConfigurationCreateOrUpdateParameters)

建立以組態名稱識別的組態。 http://aka.ms/azureautomationsdk/configurationoperations

public static Microsoft.Azure.Management.Automation.Models.DscConfiguration CreateOrUpdate (this Microsoft.Azure.Management.Automation.IDscConfigurationOperations operations, string resourceGroupName, string automationAccountName, string configurationName, Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IDscConfigurationOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.DscConfigurationCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.DscConfiguration
<Extension()>
Public Function CreateOrUpdate (operations As IDscConfigurationOperations, resourceGroupName As String, automationAccountName As String, configurationName As String, parameters As DscConfigurationCreateOrUpdateParameters) As DscConfiguration

參數

operations
IDscConfigurationOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

configurationName
String

設定的建立或更新參數。

parameters
DscConfigurationCreateOrUpdateParameters

設定的建立或更新參數。

傳回

適用於