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. |
accessibility
Required
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_repo
Required
code_repo: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeRepo: Code repository address.
display_name
Required
display_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property displayName: Code source configuration name.
mount_path
Required
mount_path: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mountPath: The local Mount Directory of the code.
workspace_id
Required
workspace_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property workspaceId: The ID of the workspace.
code_branch
Optional
code_branch: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeBranch: Code repository branch.
code_commit
Optional
code_commit: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property codeCommit: The code CommitId.
code_repo_access_token
Optional
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_name
Optional
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.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: A detailed description of the code configuration.