Skip to content

Alert Gen Policy

Replaces the content of an Alert Generation Policy object.

ToolDescription
f5xc-api-shape-alert-gen-policy-createCreate Alert Generation Policy.
f5xc-api-shape-alert-gen-policy-getGET Alert Generation Policy.
f5xc-api-shape-alert-gen-policy-listList BRM Alert Generation Policy.
f5xc-api-shape-alert-gen-policy-updateReplace Alert Generation Policy.
f5xc-api-shape-alert-gen-policy-deleteDELETE BRM Alert Generation Policy.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

Ask Claude to help you work with Alert Gen Policy resources:

“Create a alert-gen-policy named ‘example’ in the ‘production’ namespace”

“List all alert-gen-policys in the ‘production’ namespace”

“Get details of the alert-gen-policy named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_gen_policys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_gen_policys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_gen_policys" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @alert_gen_policy.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/alert_gen_policys/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"