SourceControl interface

Definition of the source control.

Extends

Properties

autoSync

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

branch

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

creationTime

The creation time.

description

The description.

folderPath

The folder path of the source control.

lastModifiedTime

The last modified time.

publishRunbook

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

repoUrl

The repo url of the source control.

sourceType

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

Inherited Properties

id

Fully qualified resource Id for the resource NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

autoSync

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

autoSync?: boolean

Property Value

boolean

branch

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

branch?: string

Property Value

string

creationTime

The creation time.

creationTime?: Date

Property Value

Date

description

The description.

description?: string

Property Value

string

folderPath

The folder path of the source control.

folderPath?: string

Property Value

string

lastModifiedTime

The last modified time.

lastModifiedTime?: Date

Property Value

Date

publishRunbook

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

publishRunbook?: boolean

Property Value

boolean

repoUrl

The repo url of the source control.

repoUrl?: string

Property Value

string

sourceType

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

sourceType?: SourceType

Property Value

Inherited Property Details

id

Fully qualified resource Id for the resource NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type