region_health_sources_health
Creates, updates, deletes, gets or lists a region_health_sources_health resource.
Overview
| Name | region_health_sources_health |
| Type | Resource |
| Id | google.compute.region_health_sources_health |
Fields
The following fields are returned by SELECT queries:
- get_health
| Name | Datatype | Description |
|---|---|---|
healthState | string | Health state of the HealthSource. (HEALTHY, UNHEALTHY, UNKNOWN) |
kind | string | Output only. [Output Only] Type of resource. Alwayscompute#healthSourceHealth for the health of health sources. (default: compute#healthSourceHealth) |
sources | array | Health state details of the sources. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_health | select | project, region, healthSource | Gets the most recent health check results for this regional HealthSource. |
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 |
|---|---|---|
healthSource | string | |
project | string | |
region | string |
SELECT examples
- get_health
Gets the most recent health check results for this
regional HealthSource.
SELECT
healthState,
kind,
sources
FROM google.compute.region_health_sources_health
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND healthSource = '{{ healthSource }}' -- required
;