Skip to content

WorkspaceResourceDlcsProps

Properties for defining a WorkspaceResourceDlcs.

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

Initializer

import com.aliyun.ros.cdk.pai.datasource.WorkspaceResourceDlcsProps;
WorkspaceResourceDlcsProps.builder()
    .workspaceId(java.lang.String)
    .workspaceId(IResolvable)
//  .groupName(java.lang.String)
//  .groupName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
workspaceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property workspaceId: The ID of the workspace to which the workspace belongs.
groupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupName: Resource group name.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

workspaceIdRequired

public java.lang.Object getWorkspaceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


groupNameOptional

public java.lang.Object getGroupName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property groupName: Resource group name.

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


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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.