Share via


SourceControlCreateOrUpdateParameters Constructors

Definition

Overloads

SourceControlCreateOrUpdateParameters()

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

SourceControlCreateOrUpdateParameters(String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, SourceControlSecurityTokenProperties, String)

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

SourceControlCreateOrUpdateParameters()

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

public SourceControlCreateOrUpdateParameters ();
Public Sub New ()

Applies to

SourceControlCreateOrUpdateParameters(String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, SourceControlSecurityTokenProperties, String)

Initializes a new instance of the SourceControlCreateOrUpdateParameters class.

public SourceControlCreateOrUpdateParameters (string repoUrl = default, string branch = default, string folderPath = default, bool? autoSync = default, bool? publishRunbook = default, string sourceType = default, Microsoft.Azure.Management.Automation.Models.SourceControlSecurityTokenProperties securityToken = default, string description = default);
new Microsoft.Azure.Management.Automation.Models.SourceControlCreateOrUpdateParameters : string * string * string * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Automation.Models.SourceControlSecurityTokenProperties * string -> Microsoft.Azure.Management.Automation.Models.SourceControlCreateOrUpdateParameters
Public Sub New (Optional repoUrl As String = Nothing, Optional branch As String = Nothing, Optional folderPath As String = Nothing, Optional autoSync As Nullable(Of Boolean) = Nothing, Optional publishRunbook As Nullable(Of Boolean) = Nothing, Optional sourceType As String = Nothing, Optional securityToken As SourceControlSecurityTokenProperties = Nothing, Optional description As String = Nothing)

Parameters

repoUrl
String

The repo url of the source control.

branch
String

The repo branch of the source control. Include branch as empty string for VsoTfvc.

folderPath
String

The folder path of the source control. Path must be relative.

autoSync
Nullable<Boolean>

The auto async of the source control. Default is false.

publishRunbook
Nullable<Boolean>

The auto publish of the source control. Default is true.

sourceType
String

The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'

securityToken
SourceControlSecurityTokenProperties

The authorization token for the repo of the source control.

description
String

The user description of the source control.

Applies to