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.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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.

sourceType?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type