Skip to content

WorkspaceResourceDlcProps

Properties for defining a WorkspaceResourceDlc.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Pai;
new WorkspaceResourceDlcProps {
    object GroupName,
    object Resources,
    object WorkspaceId,
    object IsDefault = null,
    object Option = null
};

Properties

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

GroupNameRequired

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

Property groupName: Resource group name.

If you want to obtain a resource group name, see [ListResources].


ResourcesRequired

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

Property resources: Resource List.


WorkspaceIdRequired

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

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


IsDefaultOptional

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

Property isDefault: Indicates whether it is the default resource.

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


OptionOptional

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

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