Shuts down the public network connection of a specified physical ReplicaSet for the context service.
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 of the instance. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. |
pxc-htri0****r4k9p |
| CurrentConnectionString |
string |
No |
The public network connection string to release. If this parameter is not specified, the Mem0 public address is subject to automatic release. |
pxc-hzjasdyuoo.polarx.rds.aliyuncs.com |
| NodeType |
string |
No |
The target node type. Valid values:
|
dn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
C457B28E-9CAB-4B77-B5C6-5D71B7870B6E |
| Data |
object |
The task details. |
|
| DBInstanceId |
integer |
The instance ID. |
pxsp-xxxxxxxxxx |
| DBInstanceName |
string |
The instance name. |
pxc-hzjasd**** |
| 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 |
| NodeType |
string |
The query node type. Valid values:
|
service |
| Context0InstanceName |
string |
The context service instance name. |
context0-example |
| AccessDeniedDetail |
object |
The details of the access denial. |
|
| AuthAction |
string |
The description is as above. |
xxx |
| AuthPrincipalType |
string |
The description is as above. |
222 |
| AuthPrincipalOwnerId |
string |
The description is as above. |
111 |
| AuthPrincipalDisplayName |
string |
The identity used for authentication in the request. |
xxx |
| PolicyType |
string |
The policy type. |
System |
| NoPermissionType |
string |
NoPermissionType |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The diagnostic information. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "C457B28E-9CAB-4B77-B5C6-5D71B7870B6E",
"Data": {
"DBInstanceId": 0,
"DBInstanceName": "pxc-hzjasd****",
"OldConnectionString": "***.polarxcontextdb.rds.aliyuncs.com",
"OldPort": "8080",
"NetType": 0,
"TaskId": 2209883,
"NodeType": "service",
"Context0InstanceName": "context0-example"
},
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "System",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.