get_resource_health
Retrieve health, risk, and efficiency scores for a resource, including service status and availability when applicable, to assess its current condition.
Instructions
[READ] Get the health, risk, and efficiency badge scores for a resource.
Returns the three scores and their colors, from the resource's badges[] array. Scores are 0–100 (higher = healthier for HEALTH). Use this when the scores are all you need; use get_resource for the whole object, or list_alerts(resource_id=...) for what drove a low score. A score is null (or -1) when Aria has not computed that badge — that does not mean healthy.
Badges score the alerts attached to the object, not a service's own state: a down service can show HEALTH GREEN 100. For a service object (kind containing SERVICE, e.g. VCENTER_APPLIANCE_HEALTH_SERVICES) the result also carries service: status (SERVICE|STATUS, e.g. green/orange), availability (latest SERVICE|AVAILABILITY), available (true for 1, false for 0, null when unknown) and read_errors. Read available, not the badge. service is null for other kinds. name and kind are included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Aria target name from config; default when omitted. | |
| resource_id | Yes | The resource UUID. |