egulu CLI reference / egulu postgres-clusters
egulu postgres-clusters failover
POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:failover
egulu postgres-clusters failover [options]
API operation
PostgresOperating_failover: POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:failover (databases module)
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--cluster | value | yes | cluster |
--confirm | value | no | confirm |
--location | value | yes | location |
--project | value | yes | project |
--reason | value | no | reason |
--request-id | value | no | requestId |
The global options apply too.