Logo

Command Palette

Search for a command to run...

failover groups update

Updates an existing Failover Group on a Cloud 66 account.

$ cx failover-group update --uid <failover UID> [--primary <primary app>] [--secondary <secondary app>] [--current <app pointer>] [--no-primary] [--no-secondary]

Options

ArgumentRequired?DefaultDescription
--uid <failover UID>yesThe UID of the Failover Group to be updated.
--primary, -p <primary app>either/orThe name of the application which should be set as "primary" in the Failover Group. (The current value will not be updated if this is not specified)
--secondary, -s <secondary app>either/orThe name of the application which should be set as "secondary" in the Failover Group. (The current value will not be updated if this is not specified)
--current <current app>noSets the Failover Group to point at either the primary app - or the secondary app
--no-primarynoRemove the current primary application from the Failover Group
--no-secondarynoRemove the current secondary application from the Failover Group

Examples

$ cx failover-group update --uid "5999b763474b0eafa5fafb64bff0ba80" -p my-main-app -s my-backup-app --current 2