Documentation is now available for the Fall 2020 Update release!

Get availability rule on a resource

This endpoint is used to fetch the availability rule defined on a resource.

Leave Feedback

URL

GET https://{api-url}/api/v2/tenants/{tenantId}/resources/{resourceId}/availability/rule

Sample URLs

https://{api-url}/api/v2/tenants/client_8/resources/4e1216a9-fe3f-4f51-ae2d-a3d49688f8b0/availability/rule

Sample responses

If availability rule is AND:

{
	"availabilityRule": "AND",
	"description": "Resource is Up if ALL availability monitors are OK, Resource is Down otherwise"
}

If availability rule is OR:

{
	"availabilityRule": "OR",
	"description": "Resource is Up if ANY availability monitor is OK, Resource is Down otherwise"
}