Skip to main content
POST
Create a Read Replica Set

Authorizations

Authorization
string
header
required

HTTP Basic Authentication using your Tiger Cloud public key and secret key.

Format: Authorization: Basic <base64(public_key:secret_key)>

Example:

Path Parameters

project_id
string
required

The unique identifier of the project.

Example:

"rp1pz7uyae"

service_id
string
required

The unique identifier of the service.

Example:

"d1k5vk7hf2"

Body

application/json
name
string
required

A human-readable name for the read replica.

Example:

"my-reporting-replica"

nodes
integer
required

Number of nodes to create in the replica set.

Example:

2

cpu_millis
integer
required

The initial CPU allocation in milli-cores.

Example:

250

memory_gbs
integer
required

The initial memory allocation in gigabytes.

Example:

1

Response

Read replica set creation request has been accepted.

id
string
Example:

"alb8jicdpr"

name
string
Example:

"reporting-replica-1"

status
enum<string>
Available options:
creating,
active,
resizing,
deleting,
error
Example:

"active"

nodes
integer

Number of nodes in the replica set.

Example:

2

cpu_millis
integer

CPU allocation in milli-cores.

Example:

250

memory_gbs
integer

Memory allocation in gigabytes.

Example:

1

metadata
object

Additional metadata for the read replica set

endpoint
object
connection_pooler
object