SqlExtensions.GetSubscriptionLongTermRetentionManagedInstanceBackupAsync Método

Definição

Obtém um backup de retenção de longo prazo para um banco de dados gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operação IdLongTermRetentionManagedInstanceBackups_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupResource>> GetSubscriptionLongTermRetentionManagedInstanceBackupAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionLongTermRetentionManagedInstanceBackupAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupResource>>
<Extension()>
Public Function GetSubscriptionLongTermRetentionManagedInstanceBackupAsync (subscriptionResource As SubscriptionResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionLongTermRetentionManagedInstanceBackupResource))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

locationName
AzureLocation

O local do banco de dados.

managedInstanceName
String

O nome da instância gerenciada.

databaseName
String

O nome do banco de dados gerenciado.

backupName
String

O nome do backup.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

managedInstanceName, databaseName ou backupName é nulo.

Aplica-se a