Skip to content

AITaskProps

Properties for defining a AITask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-aitask

Initializer

import { AITaskProps } from '@alicloud/ros-cdk-polardb'
const aITaskProps: AITaskProps = { ... }

Properties

Name Type Description
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the DB cluster.
password string | @alicloud/ros-cdk-core.IResolvable Property password: The password of the database account that enables the PolarDB for AI function is required.
username string | @alicloud/ros-cdk-core.IResolvable Property username: The database account that enables the PolarDB for AI function is required.
nodeType string | @alicloud/ros-cdk-core.IResolvable Property nodeType: The type of the node.

dbClusterIdRequired

public readonly dbClusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbClusterId: The ID of the DB cluster.


passwordRequired

public readonly password: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property password: The password of the database account that enables the PolarDB for AI function is required.


usernameRequired

public readonly username: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property username: The database account that enables the PolarDB for AI function is required.


nodeTypeOptional

public readonly nodeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property nodeType: The type of the node.

Valid values: DLNode: AI node(default). SearchNode: Search ai node.