Compartilhar via


RecoverableManagedDatabaseCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/recoverableDatabases/{recoverableDatabaseName}
  • IdRecoverableManagedDatabases_Get de operação
public virtual Azure.NullableResponse<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource> GetIfExists (string recoverableDatabaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Sql.RecoverableManagedDatabaseResource>
Public Overridable Function GetIfExists (recoverableDatabaseName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(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 era esperado que não estivesse vazio.

recoverableDatabaseName é nulo.

Aplica-se a