google_bigtableadmin_cluster_backups resource
Use the google_bigtableadmin_cluster_backups InSpec audit resource to test the properties of a Google Cloud ClusterBackup resource.
Examples
describe google_bigtableadmin_cluster_backups(parent: 'value_parent') do
it { should exist }
its('name') { should include 'value_name' }
its('source_table') { should include 'value_sourcetable' }
its('source_backup') { should include 'value_sourcebackup' }
its('expire_time') { should include 'value_expiretime' }
its('start_time') { should include 'value_starttime' }
its('end_time') { should include 'value_endtime' }
its('size_bytes') { should include 'value_sizebytes' }
its('state') { should include 'value_state' }
end
Parameters
Parameters that can be accessed from the google_bigtableadmin_cluster_backups resource:
See google_bigtableadmin_cluster_backup for more detailed information.
names: an array ofgoogle_bigtableadmin_cluster_backupnamesource_tables: an array ofgoogle_bigtableadmin_cluster_backupsource_tablesource_backups: an array ofgoogle_bigtableadmin_cluster_backupsource_backupexpire_times: an array ofgoogle_bigtableadmin_cluster_backupexpire_timestart_times: an array ofgoogle_bigtableadmin_cluster_backupstart_timeend_times: an array ofgoogle_bigtableadmin_cluster_backupend_timesize_bytes: an array ofgoogle_bigtableadmin_cluster_backupsize_bytesstates: an array ofgoogle_bigtableadmin_cluster_backupstateencryption_infos: an array ofgoogle_bigtableadmin_cluster_backupencryption_info
Properties
Properties that can be accessed from the google_bigtableadmin_cluster_backups resource:
See google_bigtableadmin_cluster_backup for more detailed information.
names: an array ofgoogle_bigtableadmin_cluster_backupnamesource_tables: an array ofgoogle_bigtableadmin_cluster_backupsource_tablesource_backups: an array ofgoogle_bigtableadmin_cluster_backupsource_backupexpire_times: an array ofgoogle_bigtableadmin_cluster_backupexpire_timestart_times: an array ofgoogle_bigtableadmin_cluster_backupstart_timeend_times: an array ofgoogle_bigtableadmin_cluster_backupend_timesize_bytes: an array ofgoogle_bigtableadmin_cluster_backupsize_bytesstates: an array ofgoogle_bigtableadmin_cluster_backupstateencryption_infos: an array ofgoogle_bigtableadmin_cluster_backupencryption_info
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.
GCP permissions
Ensure the https://bigtableadmin.googleapis.com/ is enabled for the current project.