Skip to content

Deployment

deployment_alert_update

Update an alert rule (threshold, comparator, enabled)

Tool

deployment_alert_update

Update an alert rule (threshold, comparator, enabled)

Update an alert rule (threshold, comparator, enabled)

Behavior

HTTP
PATCH /deployment/alerts/:id

Arguments

NameTypeRequiredDescription
idstringNo description in the catalog.
enabledbooleanNo description in the catalog.
thresholdnumberNo description in the catalog.
comparatorstringNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
statestring
metricstring
enabledboolean
targetIdstring
createdAtstring
productIdstring
thresholdnumber
updatedAtstring
comparatorstring
targetKindstring
environmentIdstring
lastEvaluatedAtstring
lastStateChangeAtstring

Try it

Update an alert rule (threshold, comparator, enabled).

When to use

Update an alert rule (threshold, comparator, enabled)

Example

Ask your agent something like this:

Update an alert rule (threshold, comparator, enabled).

The agent will invoke deployment_alert_update with these arguments:

{
  "id": "<id>"
}

Esc

Start typing to search the docs.

navigateselect