Change the DCS network
Changes how the members of a standalone DCS cluster reach the console: through a relay zone, or directly. The members change one at a time, the etcd leader last, each only when every member is healthy and each service of the cluster has a Patroni leader. Each member restarts its mesh agent; etcd does not restart. A member that does not reach the console on the new path goes back to its old path, and the change stops. Run the change again to finish it, or with the old path to go back. The workflow is change_network; the status of the DCS cluster does not change. Rejected with 409 when a service of the DCS cluster is in another network than the target, or a check of preflight-dcs-cluster-network fails.
/api/v1/dcs-clusters/{id}/networktse_sessionAPI key · cookierequiredidstringrequiredapplication/jsonconsole_addressstringFor servers that reach the console directly: the IPv4 address of the console, for servers that cannot resolve the host name of the console by DNS. Not together with relay_zone_id.
relay_zone_idstringThe relay zone through which the servers reach the console. Empty: the servers reach the console directly.
Accepted
workflow_idstringrequiredError
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message