Spec-Zone.ru › Chef 18

Ресурс google_compute_target_tcp_proxies

[править на GitHub]

Синтаксис

Используется google_compute_target_tcp_proxies, чтобы протестировать ресурс Google TargetTcpProxy.

Ресурс Beta

Этот ресурс имеет доступные поля beta. Чтобы получить доступ к этим полям, включите beta: true в конструктор ресурса.

Примеры

describe google_compute_target_tcp_proxies(project: 'chef-gcp-inspec') do
  its('names') { should include 'inspec-gcp-target-tcp-proxy' }
  its('proxy_headers') { should include 'NONE' }
end

Свойства

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

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

creation_timestamps
массив google_compute_target_tcp_proxy creation_timestamp
descriptions
массив google_compute_target_tcp_proxy description
ids
массив google_compute_target_tcp_proxy id
names
массив google_compute_target_tcp_proxy name
proxy_headers
массив google_compute_target_tcp_proxy proxy_header
services
массив google_compute_target_tcp_proxy service

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

Этот ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые могут использоваться с where в качестве блока или метода.

Разрешения GCP

Убедитесь, что для текущего проекта включен API Compute Engine.

© 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_target_tcp_proxies/

Spec-Zone.ru

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