title | platform |
---|---|
About the google_compute_router_nats resource |
gcp |
A google_compute_router_nats
is used to test a Google RouterNat resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
describe google_compute_router_nats(project: 'chef-gcp-inspec', region: 'europe-west2', router: 'inspec-gcp-router') do
its('names') { should include 'inspec-router-nat' }
end
Properties that can be accessed from the google_compute_router_nats
resource:
See google_compute_router_nat.md for more detailed information
names
: an array ofgoogle_compute_router_nat
namenat_ip_allocate_options
: an array ofgoogle_compute_router_nat
nat_ip_allocate_optionnat_ips
: an array ofgoogle_compute_router_nat
nat_ipsdrain_nat_ips
: an array ofgoogle_compute_router_nat
drain_nat_ipssource_subnetwork_ip_ranges_to_nats
: an array ofgoogle_compute_router_nat
source_subnetwork_ip_ranges_to_natsubnetworks
: an array ofgoogle_compute_router_nat
subnetworkmin_ports_per_vms
: an array ofgoogle_compute_router_nat
min_ports_per_vmudp_idle_timeout_secs
: an array ofgoogle_compute_router_nat
udp_idle_timeout_secicmp_idle_timeout_secs
: an array ofgoogle_compute_router_nat
icmp_idle_timeout_sectcp_established_idle_timeout_secs
: an array ofgoogle_compute_router_nat
tcp_established_idle_timeout_sectcp_transitory_idle_timeout_secs
: an array ofgoogle_compute_router_nat
tcp_transitory_idle_timeout_seclog_configs
: an array ofgoogle_compute_router_nat
log_configenable_endpoint_independent_mappings
: an array ofgoogle_compute_router_nat
enable_endpoint_independent_mappingrouters
: an array ofgoogle_compute_router_nat
routerregions
: an array ofgoogle_compute_router_nat
region
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Compute Engine API is enabled for the current project.