egulu CLI reference / egulu postgres-clusters

egulu postgres-clusters switchover

POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:switchover

egulu postgres-clusters switchover [options]

API operation

PostgresOperating_switchover: POST /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}:switchover (databases module)

Options

OptionTakesRequiredDescription
--clustervalueyescluster
--locationvalueyeslocation
--projectvalueyesproject
--reasonvaluenoreason
--request-idvaluenorequestId
--target-instance-idvaluenotargetInstanceId

The global options apply too.