Long Term Retention Managed Instance Backups - Delete By Resource Group
Elimina un backup di conservazione a lungo termine.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}?api-version=2025-01-01
Parametri dell'URI
| Nome | In | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
backup
|
path | True |
string |
Nome del backup. |
|
database
|
path | True |
string |
Nome del database gestito. |
|
location
|
path | True |
string |
Posizione del database |
|
managed
|
path | True |
string |
Nome dell'istanza gestita. |
|
resource
|
path | True |
string |
Nome del gruppo di risorse che contiene la risorsa. È possibile ottenere questo valore dall'API di Azure Resource Manager o dal portale. |
|
subscription
|
path | True |
string |
ID sottoscrizione che identifica una sottoscrizione di Azure. |
|
api-version
|
query | True |
string |
Versione dell'API da usare per la richiesta. |
Risposte
| Nome | Tipo | Descrizione |
|---|---|---|
| 200 OK |
Il backup è stato eliminato correttamente. |
|
| 202 Accepted |
Accettato Intestazioni Location: string |
|
| Other Status Codes |
Risposte di errore:
|
Esempio
Delete the long term retention backup.
Esempio di richiesta
DELETE https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testResourceGroup/providers/Microsoft.Sql/locations/japaneast/longTermRetentionManagedInstances/testInstance/longTermRetentionDatabases/testDatabase/longTermRetentionManagedInstanceBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Archive?api-version=2025-01-01
Risposta di esempio
Location: https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/westus/longTermRetentionManagedInstanceBackupOperationResults/00000000-1111-2222-3333-444444444444?api-version=2023-05-01-preview
Definizioni
| Nome | Descrizione |
|---|---|
|
Error |
Informazioni aggiuntive sull'errore di gestione delle risorse. |
|
Error |
Dettagli dell'errore. |
|
Error |
Risposta di errore |
ErrorAdditionalInfo
Informazioni aggiuntive sull'errore di gestione delle risorse.
| Nome | Tipo | Descrizione |
|---|---|---|
| info |
object |
Informazioni aggiuntive. |
| type |
string |
Tipo di informazioni aggiuntive. |
ErrorDetail
Dettagli dell'errore.
| Nome | Tipo | Descrizione |
|---|---|---|
| additionalInfo |
Informazioni aggiuntive sull'errore. |
|
| code |
string |
Codice di errore. |
| details |
Dettagli dell'errore. |
|
| message |
string |
Messaggio di errore. |
| target |
string |
Destinazione dell'errore. |
ErrorResponse
Risposta di errore
| Nome | Tipo | Descrizione |
|---|---|---|
| error |
Oggetto error. |