Skip to main content

region_health_sources_health

Creates, updates, deletes, gets or lists a region_health_sources_health resource.

Overview​

Nameregion_health_sources_health
TypeResource
Idgoogle.compute.region_health_sources_health

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
healthStatestringHealth state of the HealthSource. (HEALTHY, UNHEALTHY, UNKNOWN)
kindstringOutput only. [Output Only] Type of resource. Alwayscompute#healthSourceHealth for the health of health sources. (default: compute#healthSourceHealth)
sourcesarrayHealth state details of the sources.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_healthselectproject, region, healthSourceGets 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.

NameDatatypeDescription
healthSourcestring
projectstring
regionstring

SELECT examples​

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
;