Skip to content

WorkspaceProps

Properties for defining a Workspace.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai/datasource"
&datasource.WorkspaceProps {
    WorkspaceId: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
WorkspaceId interface{} Property workspaceId: The ID of the workspace.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

WorkspaceIdRequired

WorkspaceId interface{}
  • Type: interface{}

Property workspaceId: The ID of the workspace.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.