URL

POST 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

Parameters

This field is mandatory:

FieldData TypeValuesDescription
availabilityRuleStringANDShow resource status Up if ALL the availability monitors assigned on the resource are in OK state, else show the status as Down.
ORShow resource status Up if ANY of the availability monitors assigned on the resource are in OK state, else show the status as Down.

If a value is not defined, a value of Null is assumed and the availability rule is not updated.

Sample request

{
	"availabilityRule": "OR"
}

Sample response

Null