doctl monitoring alert update

Go to Navigation


doctl monitoring alert update <alert-policy-uuid>... [flags]


Use this command to update an existing alert policy.


--compareThe comparator of the alert policy. Either GreaterThan or LessThan
--descriptionA description of the alert policy.
--emailsEmails to send alerts to.
--enabledWhether the alert policy is enabled.
Default: true
--entitiesEntities to apply the alert against. (e.g. a droplet ID for a droplet alert policy)
--help, -hHelp for this command
--slack-channelsSlack channels to send alerts to.
--slack-urlsSlack URLs to send alerts to.
--tagsTags to apply the alert against.
--typeThe type of alert policy.
--valueThe value of the alert policy to compare against.
Default: 0
--windowThe window to apply the alert policy conditions against.
Default: 5m
doctl monitoring alertDisplay commands for managing alert policies

Global Flags

--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false