Shuts down the public network connection for a ContextDB-X service ReplicaSet.
Operation description
This operation is used to confirm that no active connections exist before a rollback task, ensuring operation safety.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance name. |
pxc-htri0****r4k9p |
| CurrentConnectionString |
string |
No |
The public network connection string to release. This parameter is optional. If you do not specify this parameter, the Mem0 public endpoint is subject to automatic release. |
pxc-hzjasdyuoo.polarx.rds.aliyuncs.com |
| NodeType |
string |
No |
The target node type: service or dashboard. |
service |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
B87E2AB3-B7C9-4394-9160-7F639F732031 |
| Data |
object |
The operation result. |
|
| DBInstanceId |
integer |
The instance ID. |
pxc-xxxxxxxxxx |
| DBInstanceName |
string |
The instance ID. |
pxc-xxxxxxxxxx |
| OldConnectionString |
string |
The database endpoint before the switchover. |
***.polarxcontextdb.rds.aliyuncs.com |
| OldPort |
string |
The previous port value. |
8080 |
| NetType |
integer |
The network type. |
0 |
| TaskId |
integer |
The task ID. |
2209883 |
| ContextDBInstanceName |
string |
The context service instance name. |
pxt-********* |
| NodeType |
string |
The query node type. Valid values:
|
service |
| AccessDeniedDetail |
object |
The details of the access denial. |
|
| AuthAction |
string |
The authentication action. |
xxx |
| AuthPrincipalType |
string |
The type of the authentication principal. |
222 |
| AuthPrincipalOwnerId |
string |
The type of the authentication principal. |
111 |
| AuthPrincipalDisplayName |
string |
The identity used for authentication in the request. |
xxx |
| PolicyType |
string |
PolicyType |
PRIORITY |
| NoPermissionType |
string |
The type of the permission denial. |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The encoded diagnostic message. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "B87E2AB3-B7C9-4394-9160-7F639F732031",
"Data": {
"DBInstanceId": 0,
"DBInstanceName": "pxc-xxxxxxxxxx",
"OldConnectionString": "***.polarxcontextdb.rds.aliyuncs.com",
"OldPort": "8080",
"NetType": 0,
"TaskId": 2209883,
"ContextDBInstanceName": "pxt-*********",
"NodeType": "service"
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.