Skip to content

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.

AccessibilityRequired

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.

CodeRepoRequired

public object CodeRepo { get; set; }
  • Type: object

Property codeRepo: Code repository address.


DisplayNameRequired

public object DisplayName { get; set; }
  • Type: object

Property displayName: Code source configuration name.


MountPathRequired

public object MountPath { get; set; }
  • Type: object

Property mountPath: The local Mount Directory of the code.


WorkspaceIdRequired

public object WorkspaceId { get; set; }
  • Type: object

Property workspaceId: The ID of the workspace.


CodeBranchOptional

public object CodeBranch { get; set; }
  • Type: object

Property codeBranch: Code repository branch.


CodeCommitOptional

public object CodeCommit { get; set; }
  • Type: object

Property codeCommit: The code CommitId.


CodeRepoAccessTokenOptional

public object CodeRepoAccessToken { get; set; }
  • Type: object

Property codeRepoAccessToken: The Token used to access the code repository.


CodeRepoUserNameOptional

public object CodeRepoUserName { get; set; }
  • Type: object

Property codeRepoUserName: The user name of the code repository.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: A detailed description of the code configuration.