Replaces the content of the Alert Policy Object.
| Tool | Description |
|---|
f5xc-api-statistics-alert-policy-create | Create Alert Policy. |
f5xc-api-statistics-alert-policy-get | GET Alert Policy. |
f5xc-api-statistics-alert-policy-list | List Alert Policy. |
f5xc-api-statistics-alert-policy-update | Replace Alert Policy. |
f5xc-api-statistics-alert-policy-delete | DELETE Alert Policy. |
| Parameter | Description | Example |
|---|
metadata.namespace | Namespace | - |
name | Name | - |
namespace | Namespace | - |
metadata.name | Name | - |
| Parameter | Description | Example |
|---|
response_format | The format in which the configuration object is to be fetched. This could be for example | - |
label_filter | A LabelSelectorType expression that every item in list response will satisfy. | - |
report_fields | The report_fields parameter | - |
report_status_fields | The report_status_fields parameter | - |
This resource includes mutually exclusive configuration options:
| Option | Description | Recommended |
|---|
spec.notification_parameters.custom | - | |
spec.notification_parameters.default | - | |
spec.notification_parameters.individual | - | |
spec.notification_parameters.ves_io_group | - | |
| Option | Description | Recommended |
|---|
spec.routes[].dont_send | - | |
spec.routes[].send | - | |
| Option | Description | Recommended |
|---|
spec.routes[].alertname | - | |
spec.routes[].alertname_regex | - | |
spec.routes[].any | - | |
spec.routes[].custom | - | |
spec.routes[].group | - | |
spec.routes[].severity | - | |
| Option | Description | Recommended |
|---|
spec.routes[].custom.alertname.exact_match | - | |
spec.routes[].custom.alertname.regex_match | - | |
Ask Claude to help you work with Alert Policy resources:
“Create a alert-policy named ‘example’ in the ‘production’ namespace”
“List all alert-policys in the ‘production’ namespace”
“Get details of the alert-policy named ‘example’ in namespace ‘production‘“
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_policys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_policys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_policys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_policys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"