ModuleOperationsExtensions.CreateOrUpdate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CreateOrUpdate(IModuleOperations, String, String, ModuleCreateOrUpdateParameters)
public static Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateResponse CreateOrUpdate (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccount, Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IModuleOperations, resourceGroupName As String, automationAccount As String, parameters As ModuleCreateOrUpdateParameters) As ModuleCreateOrUpdateResponse
參數
- operations
- IModuleOperations
- resourceGroupName
- String
- automationAccount
- String
- parameters
- ModuleCreateOrUpdateParameters
傳回
適用於
CreateOrUpdate(IModuleOperations, String, String, String, ModuleCreateOrUpdateParameters)
建立或更新模組名稱所識別的模組。 http://aka.ms/azureautomationsdk/moduleoperations
public static Microsoft.Azure.Management.Automation.Models.Module CreateOrUpdate (this Microsoft.Azure.Management.Automation.IModuleOperations operations, string resourceGroupName, string automationAccountName, string moduleName, Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.IModuleOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.ModuleCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.Module
<Extension()>
Public Function CreateOrUpdate (operations As IModuleOperations, resourceGroupName As String, automationAccountName As String, moduleName As String, parameters As ModuleCreateOrUpdateParameters) As Module
參數
- operations
- IModuleOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
Azure 資源群組的名稱。
- automationAccountName
- String
自動化帳戶的名稱。
- moduleName
- String
模組的名稱。
- parameters
- ModuleCreateOrUpdateParameters
模組的建立或更新參數。