address_groups
Creates, updates, deletes, gets or lists a address_groups
resource.
Overview
Name | address_groups |
Type | Resource |
Id | google.networksecurity.address_groups |
Fields
Name | Datatype | Description |
---|---|---|
column_anon | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_locations_address_groups_get | SELECT | addressGroupsId, locationsId, organizationsId | Gets details of a single address group. |
organizations_locations_address_groups_list | SELECT | locationsId, organizationsId | Lists address groups in a given project and location. |
projects_locations_address_groups_get | SELECT | addressGroupsId, locationsId, projectsId | Gets details of a single address group. |
projects_locations_address_groups_list | SELECT | locationsId, projectsId | Lists address groups in a given project and location. |
organizations_locations_address_groups_create | INSERT | locationsId, organizationsId | Creates a new address group in a given project and location. |
projects_locations_address_groups_create | INSERT | locationsId, projectsId | Creates a new address group in a given project and location. |
organizations_locations_address_groups_delete | DELETE | addressGroupsId, locationsId, organizationsId | Deletes an address group. |
projects_locations_address_groups_delete | DELETE | addressGroupsId, locationsId, projectsId | Deletes a single address group. |
organizations_locations_address_groups_patch | UPDATE | addressGroupsId, locationsId, organizationsId | Updates parameters of an address group. |
projects_locations_address_groups_patch | UPDATE | addressGroupsId, locationsId, projectsId | Updates the parameters of a single address group. |
organizations_locations_address_groups_clone_items | EXEC | addressGroupsId, locationsId, organizationsId | Clones items from one address group to another. |
projects_locations_address_groups_clone_items | EXEC | addressGroupsId, locationsId, projectsId | Clones items from one address group to another. |
SELECT
examples
Lists address groups in a given project and location.
SELECT
column_anon
FROM google.networksecurity.address_groups
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new address_groups
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.networksecurity.address_groups (
locationsId,
projectsId,
name,
description,
labels,
type,
items,
capacity,
purpose
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ description }}',
'{{ labels }}',
'{{ type }}',
'{{ items }}',
'{{ capacity }}',
'{{ purpose }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: description
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: labels
value: object
- name: type
value: string
- name: items
value:
- string
- name: capacity
value: integer
- name: selfLink
value: string
- name: purpose
value:
- string
UPDATE
example
Updates a address_groups
resource.
/*+ update */
UPDATE google.networksecurity.address_groups
SET
name = '{{ name }}',
description = '{{ description }}',
labels = '{{ labels }}',
type = '{{ type }}',
items = '{{ items }}',
capacity = '{{ capacity }}',
purpose = '{{ purpose }}'
WHERE
addressGroupsId = '{{ addressGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified address_groups
resource.
/*+ delete */
DELETE FROM google.networksecurity.address_groups
WHERE addressGroupsId = '{{ addressGroupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';