DatasetProps
Properties for defining a Dataset.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-dataset
Initializer
import { datasource } from '@alicloud/ros-cdk-pai'
const datasetProps: datasource.DatasetProps = { ... }
Properties
| Name | Type | Description | 
|---|---|---|
| datasetId | string | @alicloud/ros-cdk-core.IResolvable | Property datasetId: The first ID of the resource. | 
| workspaceId | string | @alicloud/ros-cdk-core.IResolvable | Property workspaceId: The ID of the workspace where the dataset is located. | 
| refreshOptions | string | @alicloud/ros-cdk-core.IResolvable | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. | 
datasetIdRequired 
public readonly datasetId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property datasetId: The first ID of the resource.
workspaceIdRequired 
public readonly workspaceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property workspaceId: The ID of the workspace where the dataset is located.
For details about how to obtain the workspace ID, see [ListWorkspaces]. If this parameter is not configured, the default workspace is used. If the default workspace does not exist, an error is reported.
refreshOptionsOptional 
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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.