Creating a Proxy Instance
Function
This API is used to create a proxy instance in ELB mode. Before calling this API:
- Proxy instances are unavailable for DB instances in a DeC.
- Learn how to authorize and authenticate it.
- Obtain the required region and endpoint.
URI
- URI format
POST https://{endpoint}/mysql/v3/{project_id}/instances/{instance_id}/proxy
- Example
- Parameter description
Table 1 Parameter description Name
Mandatory
Description
project_id
Yes
Project ID of a tenant in a region.
To obtain this value, see Obtaining a Project ID.
instance_id
Yes
DB instance ID.
Request
| Name | Mandatory | Type | Description |
|---|---|---|---|
| flavor_ref | Yes | String | Proxy specification code. |
| node_num | Yes | Integer | Number of proxy instance nodes. It is an integer from 2 to 32. |
Response
Status Code
For details, see Status Codes.
Error Code
For details, see Error Codes.