enable
Addedv0.1.x
This operation enables an alert rule.
Description
Only enabled alert rules apply. You can run this command to enable the specified alert rules as needed.
Synopsis
zilliz alert enable
--id <value>
[--project-id <value>]
[--output <json | table | text>]
Options
-
--id (string) -
[REQUIRED]
Indicates the ID of the alert rule to enable, such as
alert-xxxxx. To get an exhaustive list of existing alert rules, runzilliz alert list. -
--project-id (string) -
Indicates the project ID if you expect to select 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 enable --id xxxx