Ресурс google_compute_router_nats
Синтаксис
Для проверки ресурса Google RouterNat используется google_compute_router_nats
Ресурс бета-версии
Этот ресурс содержит поля бета-версии. Чтобы получить доступ к этим полям, включите beta: true в конструктор ресурса
Примеры
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
Свойства
Свойства, к которым можно получить доступ из ресурса google_compute_router_nats:
Дополнительную информацию см. в ресурсе google_compute_router_nat.
names- массив
google_compute_router_natимен nat_ip_allocate_options- массив
google_compute_router_natnat_ip_allocate_option nat_ips- массив
google_compute_router_natnat_ips drain_nat_ips- массив
google_compute_router_natdrain_nat_ips source_subnetwork_ip_ranges_to_nats- массив
google_compute_router_natsource_subnetwork_ip_ranges_to_nat subnetworks- массив
google_compute_router_natsubnetwork min_ports_per_vms- массив
google_compute_router_natmin_ports_per_vm udp_idle_timeout_secs- массив
google_compute_router_natudp_idle_timeout_sec icmp_idle_timeout_secs- массив
google_compute_router_naticmp_idle_timeout_sec tcp_established_idle_timeout_secs- массив
google_compute_router_nattcp_established_idle_timeout_sec tcp_transitory_idle_timeout_secs- массив
google_compute_router_nattcp_transitory_idle_timeout_sec log_configs- массив
google_compute_router_natlog_config routers- массив
google_compute_router_natrouter regions- массив
google_compute_router_natregion
Критерии фильтрации
Этот ресурс поддерживает все вышеперечисленные свойства как критерии фильтрации, которые могут использоваться с where в качестве блока или метода.
Разрешения GCP
Убедитесь, что для текущего проекта включен API Compute Engine: Compute Engine API.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_compute_router_nats/