SubscriptionLongTermRetentionManagedInstanceBackupCollection.GetAsync 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}
  • IdLongTermRetentionManagedInstanceBackups_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupResource>> GetAsync (string backupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionManagedInstanceBackupResource>>
Public Overridable Function GetAsync (backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionLongTermRetentionManagedInstanceBackupResource))

Parâmetros

backupName
String

O nome do backup.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

backupName é nulo.

Aplica-se a