Ресурс google_compute_target_http_proxies
Синтаксис
Для проверки ресурса Google TargetHttpProxy используется google_compute_target_http_proxies.
Ресурс бета-версии
В этом ресурсе доступны поля бета-версии. Чтобы получить доступ к этим полям, включите beta: true в конструктор ресурса.
Примеры
describe google_compute_target_http_proxies(project: 'chef-gcp-inspec') do
its('names') { should include 'inspec-gcp-http-proxy' }
its('descriptions') { should include 'A HTTP proxy' }
end
Свойства
Свойства, к которым можно получить доступ из ресурса google_compute_target_http_proxies:
Для получения дополнительной информации см. ресурс google_compute_target_http_proxy.
creation_timestamps- массив из
google_compute_target_http_proxycreation_timestamp descriptions- массив из
google_compute_target_http_proxydescription ids- массив из
google_compute_target_http_proxyid names- массив из
google_compute_target_http_proxyname url_maps- массив из
google_compute_target_http_proxyurl_map
Критерии фильтрации
Этот ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые можно использовать с 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_http_proxies/