Bagikan melalui


SourceControl Constructors

Definition

Overloads

SourceControl()

Initializes a new instance of the SourceControl class.

SourceControl(String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, DateTimeOffset, DateTimeOffset)

Initializes a new instance of the SourceControl class.

SourceControl()

Initializes a new instance of the SourceControl class.

public SourceControl ();
Public Sub New ()

Applies to

SourceControl(String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, String, String, DateTimeOffset, DateTimeOffset)

Initializes a new instance of the SourceControl class.

public SourceControl (string id = default, string name = default, string type = default, string repoUrl = default, string branch = default, string folderPath = default, bool? autoSync = default, bool? publishRunbook = default, string sourceType = default, string description = default, DateTimeOffset creationTime = default, DateTimeOffset lastModifiedTime = default);
new Microsoft.Azure.Management.Automation.Models.SourceControl : string * string * string * string * string * string * Nullable<bool> * Nullable<bool> * string * string * DateTimeOffset * DateTimeOffset -> Microsoft.Azure.Management.Automation.Models.SourceControl
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, 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 description As String = Nothing, Optional creationTime As DateTimeOffset = Nothing, Optional lastModifiedTime As DateTimeOffset = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource

name
String

The name of the resource

type
String

The type of the resource.

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.

autoSync
Nullable<Boolean>

The auto sync 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. Possible values include: 'VsoGit', 'VsoTfvc', 'GitHub'

description
String

The description.

creationTime
DateTimeOffset

The creation time.

lastModifiedTime
DateTimeOffset

The last modified time.

Applies to