This API is used to configure cross-CIDR access for a replica set instance.
Only replica set instances are supported.
POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/client-network
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 |
Mandatory |
Type |
Description |
---|---|---|---|
client_network_ranges |
Yes |
Array of strings |
CIDR block where the client is located NOTE:
|
{}
For more information, see Error Code.