Spec-Zone.ru › Chef 16

Ресурс 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_nat nat_ip_allocate_option
nat_ips
массив google_compute_router_nat nat_ips
drain_nat_ips
массив google_compute_router_nat drain_nat_ips
source_subnetwork_ip_ranges_to_nats
массив google_compute_router_nat source_subnetwork_ip_ranges_to_nat
subnetworks
массив google_compute_router_nat subnetwork
min_ports_per_vms
массив google_compute_router_nat min_ports_per_vm
udp_idle_timeout_secs
массив google_compute_router_nat udp_idle_timeout_sec
icmp_idle_timeout_secs
массив google_compute_router_nat icmp_idle_timeout_sec
tcp_established_idle_timeout_secs
массив google_compute_router_nat tcp_established_idle_timeout_sec
tcp_transitory_idle_timeout_secs
массив google_compute_router_nat tcp_transitory_idle_timeout_sec
log_configs
массив google_compute_router_nat log_config
routers
массив google_compute_router_nat router
regions
массив google_compute_router_nat region

Критерии фильтрации

Этот ресурс поддерживает все вышеперечисленные свойства как критерии фильтрации, которые могут использоваться с 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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API