CodeSourceItem

Updated at:

Parameter

Type

Description

Example

object

The code source configuration struct.

CodeSourceId

string

The code source configuration ID.

code-202**********

DisplayName

string

The name of the code source configuration.

MyCodeSourceName1

Description

string

The detailed description.

code source of dlc examples

CodeRepo

string

The URL of the code repository.

https://code.aliyun.com/****

CodeBranch

string

The code branch.

master

CodeCommit

string

The code commit ID.

44da10**********

CodeRepoUserName

string

The username used to access code in the repository.

user

CodeRepoAccessToken

string

The token used to access code in the repository.

RAT01F**********

Accessibility

string

The visibility of the code source configuration.

PUBLIC

UserId

string

The ID of the creator.

1157290171663117

WorkspaceId

string

The workspace ID.

1234

GmtCreateTime

string

The creation time.

2021-01-18T12:52:15Z

GmtModifyTime

string

The update time.

2021-01-18T12:52:15Z

MountPath

string

The local mount path of the code.

/root/code/

CloneType

integer

The clone mode. Valid values:

  • 0: Creates a subdirectory.

  • 1: Tiles to the current directory.

0