Compartilhar via


ManagedInstanceResource.GetRecoverableManagedDatabaseAsync Método

Definição

Obtém um banco de dados gerenciado recuperável.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases/{recoverableDatabaseName}
  • Operação IdRecoverableManagedDatabases_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource>> GetRecoverableManagedDatabaseAsync (string recoverableDatabaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecoverableManagedDatabaseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource>>
override this.GetRecoverableManagedDatabaseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource>>
Public Overridable Function GetRecoverableManagedDatabaseAsync (recoverableDatabaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RecoverableManagedDatabaseResource))

Parâmetros

recoverableDatabaseName
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

recoverableDatabaseName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

recoverableDatabaseName é nulo.

Aplica-se a