backend_services_health
Creates, updates, deletes, gets or lists a backend_services_health
resource.
Overview
Name | backend_services_health |
Type | Resource |
Id | google.compute.backend_services_health |
Fields
The following fields are returned by SELECT
queries:
- get_health
Successful response
Name | Datatype | Description |
---|---|---|
annotations | object | Metadata defined as annotations on the network endpoint group. |
healthStatus | array | Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks. |
kind | string | [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services. (default: compute#backendServiceGroupHealth) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_health | select | project , region , backendService | Gets the most recent health check results for this regional BackendService. |
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 |
---|---|---|
backendService | string | |
project | string | |
region | string |
SELECT
examples
- get_health
Gets the most recent health check results for this regional BackendService.
SELECT
annotations,
healthStatus,
kind
FROM google.compute.backend_services_health
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND backendService = '{{ backendService }}' -- required;