Compartilhar via


ILongTermRetentionBackupsOperations.UpdateWithHttpMessagesAsync Método

Definição

Atualizações um backup de retenção de longo prazo existente.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackupOperationResult>> UpdateWithHttpMessagesAsync (string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, Microsoft.Azure.Management.Sql.Models.UpdateLongTermRetentionBackupParameters parameters, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Sql.Models.UpdateLongTermRetentionBackupParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackupOperationResult>>
Public Function UpdateWithHttpMessagesAsync (locationName As String, longTermRetentionServerName As String, longTermRetentionDatabaseName As String, backupName As String, parameters As UpdateLongTermRetentionBackupParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of LongTermRetentionBackupOperationResult))

Parâmetros

locationName
String

O local do banco de dados.

longTermRetentionServerName
String

O nome do servidor

longTermRetentionDatabaseName
String

O nome do banco de dados

backupName
String

O nome do backup.

parameters
UpdateLongTermRetentionBackupParameters

O estado do recurso de backup solicitado

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Aplica-se a