target_pools_health_check
Creates, updates, deletes, gets or lists a target_pools_health_check
resource.
Overview
Name | target_pools_health_check |
Type | Resource |
Id | google.compute.target_pools_health_check |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
add_health_check | INSERT | project, region, targetPool | Adds health check URLs to a target pool. |
remove_health_check | DELETE | project, region, targetPool | Removes 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.compute.target_pools_health_check (
project,
region,
targetPool,
healthChecks
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ targetPool }}',
'{{ healthChecks }}'
;
- name: your_resource_model_name
props:
- name: healthChecks
value:
- - name: healthCheck
value: string
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 }}';