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. |
accessibilityRequired
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.
codeRepoRequired
public readonly codeRepo: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepo: Code repository address.
displayNameRequired
public readonly displayName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property displayName: Code source configuration name.
mountPathRequired
public readonly mountPath: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mountPath: The local Mount Directory of the code.
workspaceIdRequired
public readonly workspaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property workspaceId: The ID of the workspace.
codeBranchOptional
public readonly codeBranch: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeBranch: Code repository branch.
codeCommitOptional
public readonly codeCommit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeCommit: The code CommitId.
codeRepoAccessTokenOptional
public readonly codeRepoAccessToken: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepoAccessToken: The Token used to access the code repository.
codeRepoUserNameOptional
public readonly codeRepoUserName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property codeRepoUserName: The user name of the code repository.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: A detailed description of the code configuration.