Creates an AI service.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
Call the DescribeDBInstances operation to list all AnalyticDB for PostgreSQL instances in the destination region, including their instance IDs. |
gp-xxxxxxxxx |
| Type |
string |
Yes |
The service type. Only drama is supported. |
drama |
| ServiceAccount |
string |
Yes |
The service account. It must meet these requirements:
|
dramauser |
| ServiceAccountPassword |
string |
Yes |
The password for the service account. It must meet these requirements:
|
123456Aa! |
| Description |
string |
No |
A description of the service. |
dramatest |
| SecurityIPList |
string |
No |
A comma-separated list of IP addresses or CIDR blocks in the IP address whitelist. You can specify up to 1000 entries. To block all external IP access, use 127.0.0.1. Valid formats include the following:
Note
After you create the service, call the ModifyAIServiceSecurityIps operation to update the IP address whitelist. |
127.0.0.1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D0521 |
| ServiceId |
string |
The service ID. |
drama-123456 |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
"ServiceId": "drama-123456"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.