Delen via


SourceControl Constructors

Definitie

Overloads

SourceControl()

Initialiseert een nieuw exemplaar van de SourceControl-klasse.

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

Initialiseert een nieuw exemplaar van de SourceControl-klasse.

SourceControl()

Initialiseert een nieuw exemplaar van de SourceControl-klasse.

public SourceControl();
Public Sub New ()

Van toepassing op

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

Initialiseert een nieuw exemplaar van de SourceControl-klasse.

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

Volledig gekwalificeerde resource-id voor de resource

name
String

De naam van de resource

type
String

Het type resource.

repoUrl
String

De opslagplaats-URL van het broncodebeheer.

branch
String

De opslagplaatsvertakking van het broncodebeheer. Vertakking opnemen als lege tekenreeks voor VsoTfvc.

folderPath
String

Het pad naar de map van het broncodebeheer.

autoSync
Nullable<Boolean>

De automatische synchronisatie van het broncodebeheer. De standaardinstelling is onwaar.

publishRunbook
Nullable<Boolean>

Het automatisch publiceren van het broncodebeheer. De standaardwaarde is true.

sourceType
String

Het brontype. Moet een van VsoGit, VsoTfvc, GitHub zijn. Mogelijke waarden zijn: 'VsoGit', 'VsoTfvc', 'GitHub'

description
String

De beschrijving.

creationTime
DateTimeOffset

De aanmaaktijd.

lastModifiedTime
DateTimeOffset

Het tijdstip van de laatste wijziging.

Van toepassing op