Project: Chef InSpec (Provisioning / Security & Compliance)
File: google_container_regional_clusters.md

+++ title = "googlecontainerregional_clusters resource" draft = false gh_repo = "inspec" platform = "gcp" [menu] [menu.inspec] title = "googlecontainerregional_clusters" identifier = "inspec/resources/gcp/googlecontainerregionalclusters.md googlecontainerregionalclusters resource" parent = "inspec/resources/gcp" +++ A `googlecontainerregional_clusters` is used to test a Google RegionalCluster resource ```ruby describe googlecontainerregional_clusters(project: 'chef-gcp-inspec', location: 'europe-west2') do its('count') { should be >= 1 } its('names') { should include 'inspec-gcp-regional-cluster' } its('initialnodecounts') { should include '1'} end ``` Properties that can be accessed from the `googlecontainerregional_clusters` resource: See the resource for more information. `names` : an array of `googlecontainerregional_cluster` name `descriptions` : an array of `googlecontainerregional_cluster` description `initialnodecounts` : an array of `googlecontainerregionalcluster` initialnode_count `node_configs` : an array of `googlecontainerregionalcluster` nodeconfig `master_auths` : an array of `googlecontainerregionalcluster` masterauth `logging_services` : an array of `googlecontainerregionalcluster` loggingservice `monitoring_services` : an array of `googlecontainerregionalcluster` monitoringservice `networks` : an array of `googlecontainerregional_cluster` network `privateclusterconfigs` : an array of `googlecontainerregionalcluster` privatecluster_config `clusteripv4cidrs` : an array of `googlecontainerregionalcluster` clusteripv4_cidr `enable_tpus` : an array of `googlecontainerregionalcluster` enabletpu `tpuipv4cidr_blocks` : an array of `googlecontainerregionalcluster` tpuipv4cidrblock `addons_configs` : an array of `googlecontainerregionalcluster` addonsconfig `subnetworks` : an array of `googlecontainerregional_cluster` subnetwork `locations` : an array of `googlecontainerregional_cluster` locations `resource_labels` : an array of `googlecontainerregionalcluster` resourcelabels `label_fingerprints` : an array of `googlecontainerregionalcluster` labelfingerprint `legacy_abacs` : an array of `googlecontainerregionalcluster` legacyabac `network_policies` : an array of `googlecontainerregionalcluster` networkpolicy `defaultmaxpods_constraints` : an array of `googlecontainerregionalcluster` defaultmaxpodsconstraint `ipallocationpolicies` : an array of `googlecontainerregionalcluster` ipallocation_policy `endpoints` : an array of `googlecontainerregional_cluster` endpoint `initialclusterversions` : an array of `googlecontainerregionalcluster` initialcluster_version `currentmasterversions` : an array of `googlecontainerregionalcluster` currentmaster_version `currentnodeversions` : an array of `googlecontainerregionalcluster` currentnode_version `create_times` : an array of `googlecontainerregionalcluster` createtime `statuses` : an array of `googlecontainerregional_cluster` status `status_messages` : an array of `googlecontainerregionalcluster` statusmessage `nodeipv4cidr_sizes` : an array of `googlecontainerregionalcluster` nodeipv4cidrsize `servicesipv4cidrs` : an array of `googlecontainerregionalcluster` servicesipv4_cidr `currentnodecounts` : an array of `googlecontainerregionalcluster` currentnode_count `expire_times` : an array of `googlecontainerregionalcluster` expiretime `conditions` : an array of `googlecontainerregional_cluster` conditions `masterauthorizednetworks_configs` : an array of `googlecontainerregionalcluster` masterauthorizednetworksconfig `locations` : an array of `googlecontainerregional_cluster` location This resource supports all of the above properties as filter criteria, which can be used with `where` as a block or a method. Ensure the is enabled for the current project.