Skip to main content

effective_firewalls

Creates, updates, deletes, gets or lists an effective_firewalls resource.

Overview

Nameeffective_firewalls
TypeResource
Idgoogle.compute.effective_firewalls

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
firewallPolicysarrayOutput only. [Output only] Effective firewalls from firewall policy. It applies to Regional Network Firewall Policies in the specified region, Global Network Firewall Policies and Hierachial Firewall Policies which are associated with the network.
firewallsarrayEffective firewalls on the network.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_effective_firewallsselectproject, region, networkReturns the effective firewalls on a given network.

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.

NameDatatypeDescription
networkstring
projectstring
regionstring

SELECT examples

Returns the effective firewalls on a given network.

SELECT
firewallPolicys,
firewalls
FROM google.compute.effective_firewalls
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND network = '{{ network }}' -- required
;