Skip to content

AITaskProps

Properties for defining a AITask.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardb"
&alicloudroscdkpolardb.AITaskProps {
    DbClusterId: interface{},
    Password: interface{},
    Username: interface{},
    NodeType: interface{},
}

Properties

Name Type Description
DbClusterId interface{} Property dbClusterId: The ID of the DB cluster.
Password interface{} Property password: The password of the database account that enables the PolarDB for AI function is required.
Username interface{} Property username: The database account that enables the PolarDB for AI function is required.
NodeType interface{} Property nodeType: The type of the node.

DbClusterIdRequired

DbClusterId interface{}
  • Type: interface{}

Property dbClusterId: The ID of the DB cluster.


PasswordRequired

Password interface{}
  • Type: interface{}

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


UsernameRequired

Username interface{}
  • Type: interface{}

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


NodeTypeOptional

NodeType interface{}
  • Type: interface{}

Property nodeType: The type of the node.

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