Ресурс google_filestore_instances
Синтаксис
Используется google_filestore_instances для проверки ресурса экземпляра Google Instance
Примеры
describe google_filestore_instances(project: 'chef-gcp-inspec', zone: 'us-central1-b') do
its('tiers') { should include 'PREMIUM' }
end
Свойства
Свойства, к которым можно получить доступ из ресурса google_filestore_instances:
Для получения дополнительной информации см. ресурс google_filestore_instance.
names- массив
google_filestore_instanceимён descriptions- массив
google_filestore_instanceописаний create_times- массив
google_filestore_instanceвремени создания tiers- массив
google_filestore_instanceуровней labels- массив
google_filestore_instanceметок file_shares- массив
google_filestore_instanceфайловых общих ресурсов networks- массив
google_filestore_instanceсетей etags- массив
google_filestore_instanceetag zones- массив
google_filestore_instanceзон
Критерии фильтрации
Этот ресурс поддерживает все вышеперечисленные свойства как критерии фильтрации, которые могут быть использованы с where в качестве блока или метода.
Разрешения GCP
© 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_filestore_instances/