Spec-Zone.ru › Chef 18

Ресурс google_compute_network_endpoint_groups

[редактировать на GitHub]

Синтаксис

Для проверки ресурса Google NetworkEndpointGroup используется google_compute_network_endpoint_groups

Ресурс Beta

В этом ресурсе доступны поля Beta. Для получения этих полей включите beta: true в конструктор ресурса

Примеры


describe google_compute_network_endpoint_groups(project: 'chef-gcp-inspec', zone: 'zone') do
  its('default_ports') { should include '90' }
  its('names') { should include 'inspec-gcp-endpoint-group' }
end

Свойства

Свойства, которые можно получить из ресурса google_compute_network_endpoint_groups:

Для получения дополнительной информации см. ресурс google_compute_network_endpoint_group.

ids
массив google_compute_network_endpoint_group идентификаторов
names
массив google_compute_network_endpoint_group имён
descriptions
массив google_compute_network_endpoint_group описаний
network_endpoint_types
массив google_compute_network_endpoint_group типов конечных точек сети
sizes
массив google_compute_network_endpoint_group размеров
networks
массив google_compute_network_endpoint_group сетей
subnetworks
массив google_compute_network_endpoint_group подсетей
default_ports
массив google_compute_network_endpoint_group портов по умолчанию
zones
массив google_compute_network_endpoint_group зон

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

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

Spec-Zone.ru

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