Data Warehouse User Activities - Get
Gets 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/current?api-version=2023-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
database
|
path | True |
string |
The name of the database. |
|
data
|
path | True |
The activity name of the data warehouse. |
|
|
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 get the data warehouse user activities. |
|
| Other Status Codes |
*** Error Responses: ***
|
Examples
Get the list of the user activities of a data warehouse
Sample request
Sample response
{
"properties": {
"activeQueriesCount": 0
},
"id": "subscriptions/326affc3-21f4-4471-a545-e37430b70113/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Sql/servers/testsvr/databases/dwdb01/dataWarehouseUserActivities/current",
"name": "current",
"type": "Microsoft.Sql/servers/databases/dataWarehouseUserActivities"
}
Definitions
| Name | Description |
|---|---|
|
Data |
User activities of a data warehouse |
|
Data |
The activity name of the data warehouse. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
DataWarehouseUserActivities
User activities of a data warehouse
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource ID. |
| name |
string |
Resource name. |
| properties.activeQueriesCount |
integer (int32) |
Count of running and suspended queries. |
| type |
string |
Resource type. |
DataWarehouseUserActivityName
The activity name of the data warehouse.
| Value | Description |
|---|---|
| current |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |