Create Load Balancer Alert
Creates a monitoring alert (trigger) for one or more load balancers. The request body must be wrapped in a top-level trigger_data object - a missing trigger_data key returns 400 trigger_data key is required.
For load balancers, set service_type to load_balancer and list the load balancer IDs in service_ids. The alert fires when the chosen metric (trigger_type) crosses trigger_threshold according to trigger_operator. Notifications are sent to the user groups in usergroups, owned by the IAM member in owner.
/api/v1/monitoring/single-service/alerts/Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion scope for the alert.
- must be a non-empty string
example{{location}}
Request body
application/json
Wrapper object holding the alert definition. Required - a missing trigger_data key returns a 400 error.
Responses
200Successful response
201Created Successfully