Skip to main content

cassandra_clusters_backups

Creates, updates, deletes, gets or lists a cassandra_clusters_backups resource.

Overview

Namecassandra_clusters_backups
TypeResource
Idazure.cosmos_db.cassandra_clusters_backups

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the properties of the backup.

NameDatatypeDescription
backupExpiryTimestampstring (date-time)The time at which the backup will expire.
backupIdstringThe unique identifier of backup.
backupStartTimestampstring (date-time)The time at which the backup process begins.
backupStatestringThe current state of the backup.
backupStopTimestampstring (date-time)The time at which the backup process ends.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, backupIdGet the properties of an individual backup of this cluster that is available to restore.
listselectsubscriptionId, resourceGroupName, clusterNameList the backups of this cluster that are available to restore.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
backupIdstringId of a restorable backup of a Cassandra cluster.
clusterNamestringManaged Cassandra cluster name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get the properties of an individual backup of this cluster that is available to restore.

SELECT
backupExpiryTimestamp,
backupId,
backupStartTimestamp,
backupState,
backupStopTimestamp
FROM azure.cosmos_db.cassandra_clusters_backups
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND backupId = '{{ backupId }}' -- required
;