Sdílet prostřednictvím


SourceControl Konstruktory

Definice

Přetížení

SourceControl()

Inicializuje novou instanci SourceControl třídy.

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

Inicializuje novou instanci SourceControl třídy.

SourceControl()

Inicializuje novou instanci SourceControl třídy.

public SourceControl ();
Public Sub New ()

Platí pro

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

Inicializuje novou instanci SourceControl třídy.

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)

Parametry

id
String

Plně kvalifikované ID prostředku pro prostředek

name
String

Název prostředku

type
String

Typ prostředku.

repoUrl
String

Adresa URL úložiště správy zdrojového kódu.

branch
String

Větev úložiště správy zdrojového kódu. Zahrnout větev jako prázdný řetězec pro VsoTfvc.

folderPath
String

Cesta ke složce správy zdrojového kódu.

autoSync
Nullable<Boolean>

Automatická synchronizace správy zdrojového kódu. Výchozí hodnota je false.

publishRunbook
Nullable<Boolean>

Automatické publikování správy zdrojového kódu. Platí výchozí hodnota.

sourceType
String

Typ zdroje. Musí to být VsoGit, VsoTfvc, GitHub. Mezi možné hodnoty patří: VsoGit, VsoTfvc, GitHub.

description
String

Popis.

creationTime
DateTimeOffset

Čas vytvoření.

lastModifiedTime
DateTimeOffset

Čas poslední změny.

Platí pro