Skip to content

WorkspaceProps

Properties for defining a Workspace.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai"
&alicloudroscdkpai.WorkspaceProps {
    Description: interface{},
    EnvTypes: interface{},
    WorkspaceName: interface{},
    DisplayName: interface{},
}

Properties

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

DescriptionRequired

Description interface{}
  • Type: interface{}

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


EnvTypesRequired

EnvTypes interface{}
  • Type: interface{}

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

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

WorkspaceNameRequired

WorkspaceName interface{}
  • Type: interface{}

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

DisplayName interface{}
  • Type: interface{}

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.