Disables the PolarDB for AI feature for a cluster.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CloseAITask |
The operation that you want to perform. Set the value to CloseAITask. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the cluster. |
DBClusterId | String | Yes | pc-************** |
The ID of the cluster. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 936C7025-27A5-4CB1-BB31-540E1F0CCA12 |
The ID of the request. |
TaskId | String | 53879cdb-9a00-428e-acaf-ff4cff****** |
The ID of the task for disabling the PolarDB for AI feature. |
Examples
Sample requests
http(s)://polardb.aliyuncs.com/?Action=CloseAITask
&RegionId=cn-hangzhou
&DBClusterId=pc-**************
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<CloseAITaskResponse>
<RequestId>936C7025-27A5-4CB1-BB31-540E1F0CCA12</RequestId>
<TaskId>53879cdb-9a00-428e-acaf-ff4cff******</TaskId>
</CloseAITaskResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "936C7025-27A5-4CB1-BB31-540E1F0CCA12",
"TaskId" : "53879cdb-9a00-428e-acaf-ff4cff******"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The error message returned because the specified cluster ID does not exist in the current record. |
For a list of error codes, see Service error codes.