google_memcache_instances resource
Use the google_memcache_instances InSpec audit resource to to test a Google Cloud Instance resource.
Examples
describe google_memcache_instances(project: 'chef-gcp-inspec', region: 'europe-west2') do
its('count') { should be >= 1 }
its('node_counts') { should include 1 }
end
Properties
Properties that can be accessed from the google_memcache_instances resource:
See google_memcache_instance for more detailed information.
names: (Beta only) an array ofgoogle_memcache_instancenamedisplay_names: (Beta only) an array ofgoogle_memcache_instancedisplay_namememcache_nodes: (Beta only) an array ofgoogle_memcache_instancememcache_nodescreate_times: (Beta only) an array ofgoogle_memcache_instancecreate_timediscovery_endpoints: (Beta only) an array ofgoogle_memcache_instancediscovery_endpointlabels: (Beta only) an array ofgoogle_memcache_instancelabelsmemcache_full_versions: (Beta only) an array ofgoogle_memcache_instancememcache_full_versionzones: (Beta only) an array ofgoogle_memcache_instancezonesauthorized_networks: (Beta only) an array ofgoogle_memcache_instanceauthorized_networknode_counts: (Beta only) an array ofgoogle_memcache_instancenode_countmemcache_versions: (Beta only) an array ofgoogle_memcache_instancememcache_versionnode_configs: (Beta only) an array ofgoogle_memcache_instancenode_configparameters: (Beta only) an array ofgoogle_memcache_instanceparametersregions: (Beta only) an array ofgoogle_memcache_instanceregion
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where as a block or a method.