ManagedDatabaseResource.GetManagedDatabaseQueryAsync Método

Definição

Obter consulta por ID de consulta.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}
  • IdManagedDatabaseQueries_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceQuery>> GetManagedDatabaseQueryAsync (string queryId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseQueryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceQuery>>
override this.GetManagedDatabaseQueryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.Models.ManagedInstanceQuery>>
Public Overridable Function GetManagedDatabaseQueryAsync (queryId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedInstanceQuery))

Parâmetros

queryId
String

A cadeia de caracteres a ser usada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

queryId é nulo.

Aplica-se a