Adding Proxy Nodes
Function
- Learn how to authorize and authenticate it.
- Obtain the required region and endpoint.
- Proxy instances are unavailable for DB instances in a DeC.
URI
- URI format
POST https://{endpoint}/mysql/v3/{project_id}/instances/{instance_id}/proxy/enlarge
- Example
- Parameter description
Table 1 Parameter description Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID of a tenant in a region.
To obtain this value, see Obtaining a Project ID.
instance_id
Yes
String
Instance ID, which is compliant with the UUID format.
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| node_num | Yes | Integer | The number of proxy nodes to be added. The value is an integer from 1 to 30. Restrictions: The total number of proxy nodes for an instance is no more than 32. |
- Request example
{
"node_num" : 2
} Response
- Normal response
Table 3 Parameter description Parameter
Type
Description
job_id
String
Task ID.
- Example normal response
{
"job_id" : "04efe8e2-9255-44ae-a98b-d87cae411890"
}
Status Code
For details, see Status Codes.
Error Code
For details, see Error Codes.