Partager via


ManagedInstanceResource.GetRecoverableManagedDatabaseAsync Méthode

Définition

Obtient une base de données managée récupérable.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases/{recoverableDatabaseName}
  • IdRecoverableManagedDatabases_Get d’opération
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))

Paramètres

recoverableDatabaseName
String

Chaîne à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

recoverableDatabaseName est une chaîne vide et devait être non vide.

recoverableDatabaseName a la valeur null.

S’applique à