DatasetProps
Properties for defining a Dataset
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-pai-dataset
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpai/datasource"
&datasource.DatasetProps {
DatasetId: interface{},
WorkspaceId: interface{},
RefreshOptions: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DatasetId |
interface{} |
Property datasetId: The first ID of the resource. |
WorkspaceId |
interface{} |
Property workspaceId: The ID of the workspace where the dataset is located. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
DatasetId
Required
DatasetId interface{}
- Type: interface{}
Property datasetId: The first ID of the resource.
WorkspaceId
Required
WorkspaceId interface{}
- Type: interface{}
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.
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
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.