Partager via


IAutomationPSClient.CreateSourceControl Method

Definition

public Microsoft.Azure.Commands.Automation.Model.SourceControl CreateSourceControl (string resourceGroupName, string automationAccountName, string name, string description, System.Security.SecureString accessToken, string repoUrl, string sourceType, string branch, string folderPath, bool publishRunbook, bool autoSync);
abstract member CreateSourceControl : string * string * string * string * System.Security.SecureString * string * string * string * string * bool * bool -> Microsoft.Azure.Commands.Automation.Model.SourceControl
Public Function CreateSourceControl (resourceGroupName As String, automationAccountName As String, name As String, description As String, accessToken As SecureString, repoUrl As String, sourceType As String, branch As String, folderPath As String, publishRunbook As Boolean, autoSync As Boolean) As SourceControl

Parameters

resourceGroupName
String
automationAccountName
String
name
String
description
String
accessToken
SecureString
repoUrl
String
sourceType
String
branch
String
folderPath
String
publishRunbook
Boolean
autoSync
Boolean

Returns

Applies to