ManagedDatabaseQueriesOperationsExtensions.GetAsync(IManagedDatabaseQueriesOperations, String, String, String, String, CancellationToken) Method

Definition

Get query by query id.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstanceQuery> GetAsync (this Microsoft.Azure.Management.Sql.IManagedDatabaseQueriesOperations operations, string resourceGroupName, string managedInstanceName, string databaseName, string queryId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Sql.IManagedDatabaseQueriesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstanceQuery>
<Extension()>
Public Function GetAsync (operations As IManagedDatabaseQueriesOperations, resourceGroupName As String, managedInstanceName As String, databaseName As String, queryId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedInstanceQuery)

Parameters

operations
IManagedDatabaseQueriesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managedInstanceName
System.String

The name of the managed instance.

databaseName
System.String

The name of the database.

queryId
System.String
cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ManagedInstanceQuery>

Applies to