CodeSourceProps
Properties for defining a CodeSource.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-codesource
Initializer
import ros_cdk_pai
ros_cdk_pai.CodeSourceProps(
accessibility: typing.Union[str, IResolvable],
code_repo: typing.Union[str, IResolvable],
display_name: typing.Union[str, IResolvable],
mount_path: typing.Union[str, IResolvable],
workspace_id: typing.Union[str, IResolvable],
code_branch: typing.Union[str, IResolvable] = None,
code_commit: typing.Union[str, IResolvable] = None,
code_repo_access_token: typing.Union[str, IResolvable] = None,
code_repo_user_name: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
accessibility |
typing.Union[str, 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. |
code_repo |
typing.Union[str, ros_cdk_core.IResolvable] |
Property codeRepo: Code repository address. |
display_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property displayName: Code source configuration name. |
mount_path |
typing.Union[str, ros_cdk_core.IResolvable] |
Property mountPath: The local Mount Directory of the code. |
workspace_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property workspaceId: The ID of the workspace. |
code_branch |
typing.Union[str, ros_cdk_core.IResolvable] |
Property codeBranch: Code repository branch. |
code_commit |
typing.Union[str, ros_cdk_core.IResolvable] |
Property codeCommit: The code CommitId. |
code_repo_access_token |
typing.Union[str, ros_cdk_core.IResolvable] |
Property codeRepoAccessToken: The Token used to access the code repository. |
code_repo_user_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property codeRepoUserName: The user name of the code repository. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: A detailed description of the code configuration. |
accessibilityRequired
accessibility: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
code_repoRequired
code_repo: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeRepo: Code repository address.
display_nameRequired
display_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property displayName: Code source configuration name.
mount_pathRequired
mount_path: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mountPath: The local Mount Directory of the code.
workspace_idRequired
workspace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property workspaceId: The ID of the workspace.
code_branchOptional
code_branch: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeBranch: Code repository branch.
code_commitOptional
code_commit: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeCommit: The code CommitId.
code_repo_access_tokenOptional
code_repo_access_token: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeRepoAccessToken: The Token used to access the code repository.
code_repo_user_nameOptional
code_repo_user_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeRepoUserName: The user name of the code repository.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: A detailed description of the code configuration.