CodeSourceItem

Updated at:

Parameter

Type

Description

Example

object

The struct for code configuration.

CodeSourceId

string

The code 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 address 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.

xxxx

Accessibility

string

The visibility of the code 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 modification 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: Create a subdirectory.

  • 1: Tile to the current directory.

0