共用方式為


SourceControlOperationsExtensions.CreateOrUpdate 方法

定義

public static Microsoft.Azure.Management.Automation.Models.SourceControl CreateOrUpdate (this Microsoft.Azure.Management.Automation.ISourceControlOperations operations, string resourceGroupName, string automationAccountName, string sourceControlName, Microsoft.Azure.Management.Automation.Models.SourceControlCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Automation.ISourceControlOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.SourceControlCreateOrUpdateParameters -> Microsoft.Azure.Management.Automation.Models.SourceControl
<Extension()>
Public Function CreateOrUpdate (operations As ISourceControlOperations, resourceGroupName As String, automationAccountName As String, sourceControlName As String, parameters As SourceControlCreateOrUpdateParameters) As SourceControl

參數

operations
ISourceControlOperations

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

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

sourceControlName
String

原始檔控制名稱。

parameters
SourceControlCreateOrUpdateParameters

提供給建立或更新原始檔控制作業的參數。

傳回

適用於