Skip to main content

target_pools_health_check

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

Overview

Nametarget_pools_health_check
TypeResource
Idgoogle.compute.target_pools_health_check

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
add_health_checkINSERTproject, region, targetPoolAdds health check URLs to a target pool.
remove_health_checkDELETEproject, region, targetPoolRemoves health check URL from a target pool.

INSERT example

Use the following StackQL query and manifest file to create a new target_pools_health_check resource.

/*+ create */
INSERT INTO google.compute.target_pools_health_check (
project,
region,
targetPool,
healthChecks
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ targetPool }}',
'{{ healthChecks }}'
;

DELETE example

Deletes the specified target_pools_health_check resource.

/*+ delete */
DELETE FROM google.compute.target_pools_health_check
WHERE project = '{{ project }}'
AND region = '{{ region }}'
AND targetPool = '{{ targetPool }}';