Share via


CassandraClusterResource.GetBackupsAsync(CancellationToken) Method

Definition

List the backups of this cluster that are available to restore.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups
  • Operation Id: CassandraClusters_ListBackups
  • Default Api Version: 2024-09-01-preview
  • Resource: CassandraClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupResourceInfo> GetBackupsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBackupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupResourceInfo>
override this.GetBackupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupResourceInfo>
Public Overridable Function GetBackupsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CassandraClusterBackupResourceInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CassandraClusterBackupResourceInfo that may take multiple service requests to iterate over.

Applies to