region_composite_health_checks_health
Creates, updates, deletes, gets or lists a region_composite_health_checks_health resource.
Overview
| Name | region_composite_health_checks_health |
| Type | Resource |
| Id | google.compute.region_composite_health_checks_health |
Fields
The following fields are returned by SELECT queries:
- get_health
| Name | Datatype | Description |
|---|---|---|
healthSources | array | Health sources and their corresponding health states. |
healthState | string | Health state of the CompositeHealthCheck. (HEALTHY, UNHEALTHY, UNKNOWN) |
kind | string | Output only. [Output Only] Type of resource. Alwayscompute#compositeHealthCheckHealth for the health of composite health checks. (default: compute#compositeHealthCheckHealth) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_health | select | project, region, compositeHealthCheck | Gets the most recent health check results for this regional CompositeHealthCheck. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
compositeHealthCheck | string | |
project | string | |
region | string |
SELECT examples
- get_health
Gets the most recent health check results for this
regional CompositeHealthCheck.
SELECT
healthSources,
healthState,
kind
FROM google.compute.region_composite_health_checks_health
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND compositeHealthCheck = '{{ compositeHealthCheck }}' -- required
;