WorkspaceResourceDlcProps
Properties for defining a WorkspaceResourceDlc
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pai-workspaceresourcedlc
Initializer
import { WorkspaceResourceDlcProps } from '@alicloud/ros-cdk-pai'
const workspaceResourceDlcProps: WorkspaceResourceDlcProps = { ... }
Properties
Name | Type | Description |
---|---|---|
groupName |
string | @alicloud/ros-cdk-core.IResolvable |
Property groupName: Resource group name. |
resources |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ResourcesProperty[] |
Property resources: Resource List. |
workspaceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property workspaceId: The ID of the workspace to which the workspace belongs. |
isDefault |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isDefault: Indicates whether it is the default resource. |
option |
string | @alicloud/ros-cdk-core.IResolvable |
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace. |
groupName
Required
public readonly groupName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property groupName: Resource group name.
If you want to obtain a resource group name, see [ListResources].
resources
Required
public readonly resources: IResolvable | IResolvable | ResourcesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ResourcesProperty[]
Property resources: Resource List.
workspaceId
Required
public readonly workspaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property workspaceId: The ID of the workspace to which the workspace belongs.
isDefault
Optional
public readonly isDefault: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isDefault: Indicates whether it is the default resource.
Currently, this parameter only supports the input of true and does not support false.
option
Optional
public readonly option: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property option: Create behavior that supports the following values: - CreateAndAttach: Create resource and bind to workspace - Attach: bind resource to workspace.