Modifies the configuration of a custom endpoint.
Operation description
In PolarDB-X, in addition to the default primary endpoint and read-only endpoint, you can create custom endpoints to implement more flexible read/write splitting, load balancing, or business isolation strategies. The ModifyCustomEndpoint operation allows you to dynamically adjust the attributes of these custom endpoints without restarting the instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:ModifyCustomEndpoint |
update |
*PolarDBXInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region in which the instance resides. |
cn-zhangjiakou |
| DBInstanceName |
string |
Yes |
The instance ID. |
mydatabase |
| CustomEndpointId |
string |
Yes |
The ID of the custom endpoint. |
cep-002 |
| Name |
string |
No |
The name. |
secondary-endpoint |
| NodeIds |
string |
No |
node ids |
node3 |
| NodeAutoEnter |
boolean |
No |
Specifies whether a node automatically joins the cluster and starts providing services after it is added or recovered. |
true |
| NodeRole |
string |
No |
The role of the node. |
master |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
1A586DCB-39A6-4050-81CC-C7BD4CCDB49F |
Examples
Success response
JSON format
{
"RequestId": "1A586DCB-39A6-4050-81CC-C7BD4CCDB49F"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.