Skip to content

Resize a Read Replica Set

POST/projects/{project_id}/services/{service_id}/replicaSets/{replica_set_id}/resize

Changes the resource allocation for a specific read replica set.

Path ParametersExpand Collapse
project_id: string
service_id: string
replica_set_id: string
Body ParametersJSONExpand Collapse
cpu_millis: string

The new CPU allocation in milli-cores.

memory_gbs: string

The new memory allocation in gigabytes.

Resize a Read Replica Set

curl http://localhost:8080/projects/$PROJECT_ID/services/$SERVICE_ID/replicaSets/$REPLICA_SET_ID/resize \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $TIGER_CLOUD_API_KEY" \
    -d '{
          "cpu_millis": "1000",
          "memory_gbs": "4"
        }'
Returns Examples