address_groups_items
Creates, updates, deletes, gets or lists a address_groups_items
resource.
Overview
Name | address_groups_items |
Type | Resource |
Id | google.networksecurity.address_groups_items |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_locations_address_groups_add_items | INSERT | addressGroupsId, locationsId, organizationsId | Adds items to an address group. |
projects_locations_address_groups_add_items | INSERT | addressGroupsId, locationsId, projectsId | Adds items to an address group. |
organizations_locations_address_groups_remove_items | DELETE | addressGroupsId, locationsId, organizationsId | Removes items from an address group. |
projects_locations_address_groups_remove_items | DELETE | addressGroupsId, locationsId, projectsId | Removes items from an address group. |
INSERT
example
Use the following StackQL query and manifest file to create a new address_groups_items
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.networksecurity.address_groups_items (
addressGroupsId,
locationsId,
projectsId,
items,
requestId
)
SELECT
'{{ addressGroupsId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ items }}',
'{{ requestId }}'
;
- name: your_resource_model_name
props:
- name: items
value:
- string
- name: requestId
value: string
DELETE
example
Deletes the specified address_groups_items
resource.
/*+ delete */
DELETE FROM google.networksecurity.address_groups_items
WHERE addressGroupsId = '{{ addressGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';