CodeSourceProps
Properties for defining a CodeSource
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-codesource
Initializer
using AlibabaCloud.SDK.ROS.CDK.Pai;
new CodeSourceProps {
object Accessibility,
object CodeRepo,
object DisplayName,
object MountPath,
object WorkspaceId,
object CodeBranch = null,
object CodeCommit = null,
object CodeRepoAccessToken = null,
object CodeRepoUserName = null,
object Description = null
};
Properties
Name | Type | Description |
---|---|---|
Accessibility |
object |
Property accessibility: Visibility of the code configuration, possible values: - PRIVATE: In this workspace, it is only visible to you and the administrator. |
CodeRepo |
object |
Property codeRepo: Code repository address. |
DisplayName |
object |
Property displayName: Code source configuration name. |
MountPath |
object |
Property mountPath: The local Mount Directory of the code. |
WorkspaceId |
object |
Property workspaceId: The ID of the workspace. |
CodeBranch |
object |
Property codeBranch: Code repository branch. |
CodeCommit |
object |
Property codeCommit: The code CommitId. |
CodeRepoAccessToken |
object |
Property codeRepoAccessToken: The Token used to access the code repository. |
CodeRepoUserName |
object |
Property codeRepoUserName: The user name of the code repository. |
Description |
object |
Property description: A detailed description of the code configuration. |
Accessibility
Required
public object Accessibility { get; set; }
- Type: object
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 object CodeRepo { get; set; }
- Type: object
Property codeRepo: Code repository address.
DisplayName
Required
public object DisplayName { get; set; }
- Type: object
Property displayName: Code source configuration name.
MountPath
Required
public object MountPath { get; set; }
- Type: object
Property mountPath: The local Mount Directory of the code.
WorkspaceId
Required
public object WorkspaceId { get; set; }
- Type: object
Property workspaceId: The ID of the workspace.
CodeBranch
Optional
public object CodeBranch { get; set; }
- Type: object
Property codeBranch: Code repository branch.
CodeCommit
Optional
public object CodeCommit { get; set; }
- Type: object
Property codeCommit: The code CommitId.
CodeRepoAccessToken
Optional
public object CodeRepoAccessToken { get; set; }
- Type: object
Property codeRepoAccessToken: The Token used to access the code repository.
CodeRepoUserName
Optional
public object CodeRepoUserName { get; set; }
- Type: object
Property codeRepoUserName: The user name of the code repository.
Description
Optional
public object Description { get; set; }
- Type: object
Property description: A detailed description of the code configuration.