Creates an AI gateway consumer for a PolarDB-X instance.
Operation description
****.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. > You can call the DescribeDBInstances operation to query the details of all instances in the specified region, including instance IDs. |
pxc-******** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TaskId |
integer |
The backend task ID. |
422922413 |
| DBInstanceName |
string |
The instance name. |
pxc-************** |
| RequestId |
string |
Id of the request |
A501A191-BD70-5E50-98A9-C2A486A82**** |
Examples
Success response
JSON format
{
"TaskId": 422922413,
"DBInstanceName": "pxc-**************",
"RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.