Back to Yugabyte Db

Yba Alert Maintenance Window Update

managed/yba-cli/docs/yba_alert_maintenance-window_update.md

2026.1.0.0-b253.1 KB
Original Source

yba alert maintenance-window update

Update a maintenance window to suppress alerts

Synopsis

Update a maintenance window to suppress alerts

yba alert maintenance-window update [flags]

Options

  -u, --uuid string                          [Required] UUID of the maintenance window.
      --name string                          [Optional] Update name of the maintenance window.
      --description string                   [Optional] Update description of the maintenance window.
      --start-time string                    [Optional] Update ISO 8601 (YYYY-MM-DDTHH:MM:SSZ) format for start time of the maintenance window.
      --end-time string                      [Optional] UpdateISO 8601 (YYYY-MM-DDTHH:MM:SSZ) format for end time of the maintenance window.
      --alert-target-uuids string            [Optional] Update comma separated list of universe UUIDs to suppress alerts. If left empty, suppress alerts on all the universes (including future universes).
      --health-check-universe-uuids string   [Optional] Update comma separated list of universe UUIDs to suppress health checks. If left empty, suppress health check notifications on all the universes (including future universes).
      --mark-as-complete                     [Optional] Mark the maintenance window as complete.
  -h, --help                                 help for update

Options inherited from parent commands

  -a, --apiToken string    YugabyteDB Anywhere api token.
      --ca-cert string     CA certificate file path for secure connection to YugabyteDB Anywhere. Required when the endpoint is https and --insecure is not set.
      --config string      Full path to a specific configuration file for YBA CLI. If provided, this takes precedence over the directory specified via --directory, and the generated files are added to the same path. If not provided, the CLI will look for '.yba-cli.yaml' in the directory specified by --directory. Defaults to '$HOME/.yba-cli/.yba-cli.yaml'.
      --debug              Use debug mode, same as --logLevel debug.
      --directory string   Directory containing YBA CLI configuration and generated files. If specified, the CLI will look for a configuration file named '.yba-cli.yaml' in this directory. Defaults to '$HOME/.yba-cli/'.
      --disable-color      Disable colors in output. (default false)
  -H, --host string        YugabyteDB Anywhere Host (default "http://localhost:9000")
      --insecure           Allow insecure connections to YugabyteDB Anywhere. Value ignored for http endpoints. Defaults to false for https.
  -l, --logLevel string    Select the desired log level format. Allowed values: debug, info, warn, error, fatal. (default "info")
  -o, --output string      Select the desired output format. Allowed values: table, json, pretty. (default "table")
      --timeout duration   Wait command timeout, example: 5m, 1h. (default 168h0m0s)
      --wait               Wait until the task is completed, otherwise it will exit immediately. (default true)

SEE ALSO