Data Warehouse User Activities - List By Database
List the user activities of a data warehouse which includes running and suspended queries
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataWarehouseUserActivities?api-version=2021-11-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
database
|
path | True |
string |
The name of the database. |
resource
|
path | True |
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. |
server
|
path | True |
string |
The name of the server. |
subscription
|
path | True |
string |
The subscription ID that identifies an Azure subscription. |
api-version
|
query | True |
string |
The API version to use for the request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Successfully list the data warehouse user activities. |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
List of the user activities of a data warehouse
Sample request
Sample response
{
"value": [
{
"id": "subscriptions/326affc3-21f4-4471-a545-e37430b70113/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/testsvr/databases/dwdb01/dataWarehouseUserActivities/current",
"type": "Microsoft.Sql/servers/databases/dataWarehouseUserActivities",
"properties": {
"activeQueriesCount": 0
}
}
]
}
Definitions
Name | Description |
---|---|
Data |
User activities of a data warehouse |
Data |
User activities of a data warehouse |
DataWarehouseUserActivities
User activities of a data warehouse
Name | Type | Description |
---|---|---|
id |
string |
Resource ID. |
name |
string |
Resource name. |
properties.activeQueriesCount |
integer |
Count of running and suspended queries. |
type |
string |
Resource type. |
DataWarehouseUserActivitiesListResult
User activities of a data warehouse
Name | Type | Description |
---|---|---|
nextLink |
string |
Link to retrieve next page of results. |
value |
Array of results. |