address_groups_references
Creates, updates, deletes, gets or lists an address_groups_references resource.
Overview
| Name | address_groups_references |
| Type | Resource |
| Id | google.networksecurity.address_groups_references |
Fields
The following fields are returned by SELECT queries:
- projects_locations_address_groups_list_references
- organizations_locations_address_groups_list_references
| Name | Datatype | Description |
|---|---|---|
firewallPolicy | string | FirewallPolicy that is using the Address Group. |
rulePriority | integer (int32) | Rule priority of the FirewallPolicy that is using the Address Group. |
securityPolicy | string | Cloud Armor SecurityPolicy that is using the Address Group. |
| Name | Datatype | Description |
|---|---|---|
firewallPolicy | string | FirewallPolicy that is using the Address Group. |
rulePriority | integer (int32) | Rule priority of the FirewallPolicy that is using the Address Group. |
securityPolicy | string | Cloud Armor SecurityPolicy that is using the Address Group. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_address_groups_list_references | select | projectsId, locationsId, addressGroupsId | pageSize, pageToken | Lists references of an address group. |
organizations_locations_address_groups_list_references | select | organizationsId, locationsId, addressGroupsId | pageSize, pageToken | Lists references of an address group. |
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 |
|---|---|---|
addressGroupsId | string | |
locationsId | string | |
organizationsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT examples
- projects_locations_address_groups_list_references
- organizations_locations_address_groups_list_references
Lists references of an address group.
SELECT
firewallPolicy,
rulePriority,
securityPolicy
FROM google.networksecurity.address_groups_references
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND addressGroupsId = '{{ addressGroupsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Lists references of an address group.
SELECT
firewallPolicy,
rulePriority,
securityPolicy
FROM google.networksecurity.address_groups_references
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND addressGroupsId = '{{ addressGroupsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;