Skip to main content

disable

Addedv0.1.x

This operation disables an alert rule.

Description

You can run this command to disable the specified alert rules when they are temporarily not needed. The disabled alert rules still exist, and you can enable any of them as needed.

Synopsis

zilliz alert disable
--id <value>
[--project-id <value>]
[--output <json | table | text>]

Options

  • --id (string) -

    [REQUIRED]

    Indicates the ID of the alert rule to disable, such as alert-xxxx. To get an exhaustive list of existing alert rules, run zilliz alert list.

  • --project-id (string) -

    Indicates the project ID when selecting an alert rule from a list.

    If a project is configured using zilliz context set, it automatically applies if this option is left unconfigured.

  • --output, -o (string) -

    Indicates the output format. Possible values:

    • json,

    • table,

    • text.

Example

zilliz alert disable --id xxx