Skip to content

WorkspaceProps

Properties for defining a Workspace.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspace

Initializer

using AlibabaCloud.SDK.ROS.CDK.Pai;
new WorkspaceProps {
    object Description,
    object EnvTypes,
    object WorkspaceName,
    object DisplayName = null
};

Properties

Name Type Description
Description object Property description: Workspace description, no more than 80 characters.
EnvTypes object Property envTypes: Environments contained in the workspace: - Simple mode only production environment (prod).
WorkspaceName object Property workspaceName: The workspace name.
DisplayName object Property displayName: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace.

DescriptionRequired

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

Property description: Workspace description, no more than 80 characters.


EnvTypesRequired

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

Property envTypes: Environments contained in the workspace: - Simple mode only production environment (prod).

  • Standard mode includes development environment (dev) and production environment (prod).

WorkspaceNameRequired

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

Property workspaceName: The workspace name.

The format is as follows:

  • 3 to 23 characters in length and can contain letters, underscores, or numbers.
  • Must start with a large or small letter.
  • Unique in the current region.

DisplayNameOptional

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

Property displayName: It is recommended that you name the workspace based on the business attribute to identify the purpose of the workspace.

If not configured, the default value is the workspace name. The format is as follows:

  • 3 to 23 characters in length and can contain letters, underscores, or numbers.
  • Must start with a large or small letter.
  • Unique in the current region.