Compartir a través de


ILongTermRetentionManagedInstanceBackupsOperations.DeleteWithHttpMessagesAsync Método

Definición

Elimina una copia de seguridad de retención a largo plazo.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string locationName, string managedInstanceName, string databaseName, string backupName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function DeleteWithHttpMessagesAsync (locationName As String, managedInstanceName As String, databaseName As String, backupName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parámetros

locationName
String

Ubicación de la base de datos.

managedInstanceName
String

El nombre de la instancia administrada.

databaseName
String

Nombre de la base de datos administrada.

backupName
String

Nombre de la copia de seguridad.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Se aplica a