CodeSourceProps
Properties for defining a CodeSource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-codesource
Initializer
import { CodeSourceProps } from '@alicloud/ros-cdk-pai'
const codeSourceProps: CodeSourceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
accessibility |
string | @alicloud/ros-cdk-core.IResolvable |
Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator. |
codeRepo |
string | @alicloud/ros-cdk-core.IResolvable |
Property codeRepo: Code repository address. |
displayName |
string | @alicloud/ros-cdk-core.IResolvable |
Property displayName: Code source configuration name. |
mountPath |
string | @alicloud/ros-cdk-core.IResolvable |
Property mountPath: The local Mount Directory of the code. |
workspaceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property workspaceId: The ID of the workspace. |
codeBranch |
string | @alicloud/ros-cdk-core.IResolvable |
Property codeBranch: Code repository branch. |
codeCommit |
string | @alicloud/ros-cdk-core.IResolvable |
Property codeCommit: The code CommitId. |
codeRepoAccessToken |
string | @alicloud/ros-cdk-core.IResolvable |
Property codeRepoAccessToken: The Token used to access the code repository. |
codeRepoUserName |
string | @alicloud/ros-cdk-core.IResolvable |
Property codeRepoUserName: The user name of the code repository. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: A detailed description of the code configuration. |
accessibility
Required
public readonly accessibility: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator.
PUBLIC: In this workspace, it is visible to everyone.
codeRepo
Required
public readonly codeRepo: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepo: Code repository address.
displayName
Required
public readonly displayName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property displayName: Code source configuration name.
mountPath
Required
public readonly mountPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mountPath: The local Mount Directory of the code.
workspaceId
Required
public readonly workspaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property workspaceId: The ID of the workspace.
codeBranch
Optional
public readonly codeBranch: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeBranch: Code repository branch.
codeCommit
Optional
public readonly codeCommit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeCommit: The code CommitId.
codeRepoAccessToken
Optional
public readonly codeRepoAccessToken: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepoAccessToken: The Token used to access the code repository.
codeRepoUserName
Optional
public readonly codeRepoUserName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepoUserName: The user name of the code repository.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: A detailed description of the code configuration.