Spec-Zone.ru › Chef 16

Ресурс google_compute_network_endpoint_groups

Синтаксис

Для проверки ресурса 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 id
names
массив google_compute_network_endpoint_group имен
descriptions
массив google_compute_network_endpoint_group описаний
network_endpoint_types
массив google_compute_network_endpoint_group network_endpoint_type
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 default_port
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