Share via


SqlDatabaseResource.GetDataWarehouseUserActivityAsync Method

Definition

Gets the user activities of a data warehouse which includes running and suspended queries

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataWarehouseUserActivities/{dataWarehouseUserActivityName}
  • Operation Id: DataWarehouseUserActivities_Get
  • Default Api Version: 2020-11-01-preview
  • Resource: DataWarehouseUserActivityResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.DataWarehouseUserActivityResource>> GetDataWarehouseUserActivityAsync (Azure.ResourceManager.Sql.Models.DataWarehouseUserActivityName dataWarehouseUserActivityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataWarehouseUserActivityAsync : Azure.ResourceManager.Sql.Models.DataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.DataWarehouseUserActivityResource>>
override this.GetDataWarehouseUserActivityAsync : Azure.ResourceManager.Sql.Models.DataWarehouseUserActivityName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.DataWarehouseUserActivityResource>>
Public Overridable Function GetDataWarehouseUserActivityAsync (dataWarehouseUserActivityName As DataWarehouseUserActivityName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataWarehouseUserActivityResource))

Parameters

dataWarehouseUserActivityName
DataWarehouseUserActivityName

The activity name of the data warehouse.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to