Skip to content

DatasetProps

Properties for defining a Dataset.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Pai;
new DatasetProps {
    object DatasetId,
    object WorkspaceId,
    object RefreshOptions = null
};

Properties

Name Type Description
DatasetId object Property datasetId: The first ID of the resource.
WorkspaceId object Property workspaceId: The ID of the workspace where the dataset is located.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

DatasetIdRequired

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

Property datasetId: The first ID of the resource.


WorkspaceIdRequired

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

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 object RefreshOptions { get; set; }
  • Type: object

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.