Skip to content

WorkspaceResourceMaxComputeProps

Properties for defining a WorkspaceResourceMaxCompute.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai"
&alicloudroscdkpai.WorkspaceResourceMaxComputeProps {
    GroupName: interface{},
    Resources: interface{},
    WorkspaceId: interface{},
    IsDefault: interface{},
    Option: interface{},
}

Properties

Name Type Description
GroupName interface{} Property groupName: Resource group name.
Resources interface{} Property resources: Resource List.
WorkspaceId interface{} Property workspaceId: The ID of the workspace to which the workspace belongs.
IsDefault interface{} Property isDefault: Indicates whether it is the default resource.
Option interface{} Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace.

GroupNameRequired

GroupName interface{}
  • Type: interface{}

Property groupName: Resource group name.

If you want to obtain a resource group name.


ResourcesRequired

Resources interface{}
  • Type: interface{}

Property resources: Resource List.


WorkspaceIdRequired

WorkspaceId interface{}
  • Type: interface{}

Property workspaceId: The ID of the workspace to which the workspace belongs.


IsDefaultOptional

IsDefault interface{}
  • Type: interface{}

Property isDefault: Indicates whether it is the default resource.

Currently, this parameter only supports the input of true and does not support false.


OptionOptional

Option interface{}
  • Type: interface{}

Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace.