Share via


SynapseSqlPoolResource.GetSynapseDataWarehouseUserActivityAsync Method

Definition

Gets the user activities of a SQL pool which includes running and suspended queries

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataWarehouseUserActivities/{dataWarehouseUserActivityName}
  • Operation Id: SqlPoolDataWarehouseUserActivities_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataWarehouseUserActivityResource>> GetSynapseDataWarehouseUserActivityAsync (Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName dataWarehouseUserActivityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseDataWarehouseUserActivityAsync : Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataWarehouseUserActivityResource>>
override this.GetSynapseDataWarehouseUserActivityAsync : Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataWarehouseUserActivityResource>>
Public Overridable Function GetSynapseDataWarehouseUserActivityAsync (dataWarehouseUserActivityName As SynapseDataWarehouseUserActivityName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseDataWarehouseUserActivityResource))

Parameters

dataWarehouseUserActivityName
SynapseDataWarehouseUserActivityName

The activity name of the Sql pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to