Cassandra Clusters - List Backups
Vermeld de back-ups van dit cluster die beschikbaar zijn om te herstellen.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/backups?api-version=2025-05-01-preview
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
cluster
|
path | True |
string minLength: 1maxLength: 100 pattern: ^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$ |
Naam van beheerde Cassandra-cluster. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is hoofdletterongevoelig. |
subscription
|
path | True |
string (uuid) |
De id van het doelabonnement. De waarde moet een UUID zijn. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De lijst met herstelbare back-ups voor dit Cassandra-cluster is opgehaald. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount nabootsen |
Voorbeelden
CosmosDBManagedCassandraBackupsList
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cassandra-prod-rg/providers/Microsoft.DocumentDB/cassandraClusters/cassandra-prod/backups?api-version=2025-05-01-preview
Voorbeeldrespons
{
"value": [
{
"backupId": "2517222701827037570",
"backupState": "Initiated",
"backupStartTimestamp": "2023-03-28T19:10:17.2962429+00:00",
"backupExpiryTimestamp": "2023-03-28T20:10:17.2962429+00:00"
},
{
"backupId": "2517222704776158382",
"backupState": "InProgress",
"backupStartTimestamp": "2023-03-28T19:05:22.3841617+00:00",
"backupExpiryTimestamp": "2023-03-28T20:05:22.3841617+00:00"
},
{
"backupId": "2517222704776158383",
"backupState": "Succeeded",
"backupStartTimestamp": "2023-03-28T19:05:22.3841617+00:00",
"backupStopTimestamp": "2023-03-28T19:05:22.3841617+00:00",
"backupExpiryTimestamp": "2023-03-28T20:05:22.3841617+00:00"
},
{
"backupId": "2517222704776158384",
"backupState": "Failed",
"backupStartTimestamp": "2023-03-28T19:05:22.3841617+00:00",
"backupStopTimestamp": "2023-03-28T19:05:22.3841617+00:00",
"backupExpiryTimestamp": "2023-03-28T20:05:22.3841617+00:00"
}
]
}
Definities
Name | Description |
---|---|
Backup |
Een herstelbare back-up van een Cassandra-cluster. |
Backup |
De huidige status van de back-up. |
Cloud |
Een foutreactie van de service. |
Error |
Foutreactie. |
List |
Lijst met herstelbare back-ups voor een Cassandra-cluster. |
BackupResource
Een herstelbare back-up van een Cassandra-cluster.
Name | Type | Description |
---|---|---|
backupExpiryTimestamp |
string (date-time) |
Het tijdstip waarop de back-up verloopt. |
backupId |
string |
De unieke id van de back-up. |
backupStartTimestamp |
string (date-time) |
Het tijdstip waarop het back-upproces begint. |
backupState |
De huidige status van de back-up. |
|
backupStopTimestamp |
string (date-time) |
Het tijdstip waarop het back-upproces afloopt. |
BackupState
De huidige status van de back-up.
Waarde | Description |
---|---|
Failed | |
InProgress | |
Initiated | |
Succeeded |
CloudError
Een foutreactie van de service.
Name | Type | Description |
---|---|---|
error |
Foutreactie. |
ErrorResponse
Foutreactie.
Name | Type | Description |
---|---|---|
code |
string |
Foutcode. |
message |
string |
Foutbericht dat aangeeft waarom de bewerking is mislukt. |
ListBackups
Lijst met herstelbare back-ups voor een Cassandra-cluster.
Name | Type | Description |
---|---|---|
value |
Container voor matrix met back-ups. |