This API is used to enable the IP addresses of shard or config nodes.
POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/create-ip
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
instance_id |
Yes |
Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance. |
Name |
Type |
Mandatory |
Description |
---|---|---|---|
type |
String |
Yes |
Cluster instance type.
|
target_id |
String |
No |
Shard group ID. CAUTION:
|
password |
String |
Yes |
The password for enabling this function for a cluster.
CAUTION:
The password can be changed by calling the API for changing a database user password. After the API for changing a database user password is called, the passwords of the read-only user sharduser of all shard groups are the same when target_id is specified. |
{}
For more information, see Error Code.