Compartilhar via


SqlExtensions.GetSubscriptionLongTermRetentionBackup Método

Definição

Obtém um backup de retenção de longo prazo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups/{backupName}
  • IdLongTermRetentionBackups_Get de operação
public static Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupResource> GetSubscriptionLongTermRetentionBackup (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionLongTermRetentionBackup : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupResource>
<Extension()>
Public Function GetSubscriptionLongTermRetentionBackup (subscriptionResource As SubscriptionResource, locationName As AzureLocation, longTermRetentionServerName As String, longTermRetentionDatabaseName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubscriptionLongTermRetentionBackupResource)

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância na qual o método será executado.

locationName
AzureLocation

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.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

longTermRetentionServerName, longTermRetentionDatabaseName ou backupName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

longTermRetentionServerName, longTermRetentionDatabaseName ou backupName é nulo.

Aplica-se a