Share via


SynapseDataWarehouseUserActivityCollection.GetAsync 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>> GetAsync (Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName dataWarehouseUserActivityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataWarehouseUserActivityResource>>
override this.GetAsync : Azure.ResourceManager.Synapse.Models.SynapseDataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseDataWarehouseUserActivityResource>>
Public Overridable Function GetAsync (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