target_pools_health
Creates, updates, deletes, gets or lists a target_pools_health
resource.
Overview
Name | target_pools_health |
Type | Resource |
Id | google.compute.target_pools_health |
Fields
Name | Datatype | Description |
---|---|---|
healthStatus | array | |
kind | string | [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_health | SELECT | project, region, targetPool | Gets the most recent health check results for each IP for the instance that is referenced by the given target pool. |
SELECT
examples
Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
SELECT
healthStatus,
kind
FROM google.compute.target_pools_health
WHERE project = '{{ project }}'
AND region = '{{ region }}'
AND targetPool = '{{ targetPool }}';