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_backup
namesource_tables
: an array ofgoogle_bigtableadmin_cluster_backup
source_tablesource_backups
: an array ofgoogle_bigtableadmin_cluster_backup
source_backupexpire_times
: an array ofgoogle_bigtableadmin_cluster_backup
expire_timestart_times
: an array ofgoogle_bigtableadmin_cluster_backup
start_timeend_times
: an array ofgoogle_bigtableadmin_cluster_backup
end_timesize_bytes
: an array ofgoogle_bigtableadmin_cluster_backup
size_bytesstates
: an array ofgoogle_bigtableadmin_cluster_backup
stateencryption_infos
: an array ofgoogle_bigtableadmin_cluster_backup
encryption_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_backup
namesource_tables
: an array ofgoogle_bigtableadmin_cluster_backup
source_tablesource_backups
: an array ofgoogle_bigtableadmin_cluster_backup
source_backupexpire_times
: an array ofgoogle_bigtableadmin_cluster_backup
expire_timestart_times
: an array ofgoogle_bigtableadmin_cluster_backup
start_timeend_times
: an array ofgoogle_bigtableadmin_cluster_backup
end_timesize_bytes
: an array ofgoogle_bigtableadmin_cluster_backup
size_bytesstates
: an array ofgoogle_bigtableadmin_cluster_backup
stateencryption_infos
: an array ofgoogle_bigtableadmin_cluster_backup
encryption_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.