diff --git a/custom-words.txt b/custom-words.txt index d0bf41ef16a8..5f40b17935c0 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2657,6 +2657,8 @@ verifyx removex generateverificationcodex favorited +datawarehousequeries +Dataware SIMIDs ICCID unversioned @@ -2710,4 +2712,8 @@ Thangmi Tuvan Uyghur Paramter -Spza \ No newline at end of file +Spza +xlargerc +largerc +mediumrc +smallrc \ No newline at end of file diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetDatawareHouseQueries.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetDatawareHouseQueries.json new file mode 100644 index 000000000000..320db7b8f82d --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/GetDatawareHouseQueries.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "cde3513f-fbc4-414d-abc2-c4b2ad011bd8", + "resourceGroupName": "kedodd2021synrg1", + "workspaceName": "kedoddsynprodws", + "sqlPoolName": "kedoddsqlpool1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/cde3513f-fbc4-414d-abc2-c4b2ad011bd8/resourceGroups/kedodd2021synrg1/providers/Microsoft.Synapse/workspaces/kedoddsynprodws/sqlPools/kedoddsqlpool1/datawarehousequeries/QID683040", + "type": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseQueries", + "name": "QID683040", + "location": "null", + "properties": { + "queryId": "QID683040", + "startTime": "2022-08-01T02:27:39.36", + "endTime": "2022-08-01T02:27:59.91", + "duration": 20562, + "status": "Completed", + "queryText": "--Backing up Logical Azure Database", + "importance": "N/A", + "groupName": "N/A", + "classifierName": "N/A", + "resourceAllocationPercentage": "N/A", + "error": null, + "login": "System", + "progress": 100, + "sessionId": "SID41961", + "resourceClass": "N/A", + "concurrencySlots": "N/A" + } + } + ] + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json index 89517a0864ce..2f9a6b870030 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json @@ -5225,6 +5225,64 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataWarehouseQueries": { + "get": { + "operationId": "SqlPoolsDatawareHouseQueries_Get", + "summary": "Get SQL pool DatawareHouse Queries ", + "description": "SQL pool DatawareHouse Queries ", + "tags": [ + "SqlPools,DatawareHouseQueries" + ], + "deprecated": false, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "type": "string", + "in": "path", + "name": "sqlPoolName", + "description": "SQL pool name", + "required": true + } + ], + "responses": { + "200": { + "schema": { + "type": "object", + "items": { + "$ref": "#/definitions/DataWarehouseQueries" + } + }, + "description": "OK" + }, + "default": { + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "description": "" + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Get Sql pool DataWarehouseQueries": { + "$ref": "./examples/GetDatawareHouseQueries.json" + } + } + } } }, "definitions": { @@ -7623,6 +7681,121 @@ } } } + }, + "DataWarehouseQueries": { + "description": "The response to a list datawarehouse queries.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DataWareHouseQueriesProperties", + "description": "Resource properties." + } + } + }, + "DataWareHouseQueriesProperties": { + "description": "Properties of a datawarehousequeries.", + "type": "object", + "properties": { + "queryId": { + "description": "Requested QueryId. of datawarehousequeries", + "type": "string", + "readOnly": true + }, + "startTime": { + "description": "The start time for queries datawarehousequeries", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "endTime": { + "description": "The end time for queries", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "duration": { + "description": "The duration of requested queries.", + "type": "number", + "format": "int32", + "readOnly": true + }, + "status": { + "description": " Status of dataWarehouseQueries.", + "type": "string", + "readOnly": true + }, + "queryText": { + "description": " QueryText Message", + "type": "string", + "readOnly": true + }, + "importance": { + "description": "dataWarehouseQueries Importance", + "type": "string", + "readOnly": true + }, + "groupName": { + "description": "Requested GroupName ", + "type": "string", + "readOnly": true + }, + "classifierName": { + "description": "Requested ClassifierName", + "type": "string", + "readOnly": true + }, + "resourceAllocationPercentage": { + "description": "AllocationPercentage of the Resource", + "type": "string", + "readOnly": true + }, + "error": { + "description": "The operation error message.", + "type": "string", + "readOnly": true + }, + "login": { + "description": "Login Details", + "type": "string", + "readOnly": true + }, + "progress": { + "description": "Progress value", + "type": "number", + "format": "int32", + "readOnly": true + }, + "sessionId": { + "description": "SessionId for Resource", + "type": "string", + "readOnly": true + }, + "resourceClass": { + "description": "Requested ResourceClass", + "type": "string", + "enum": [ + "xlargerc", + "largerc", + "mediumrc", + "smallrc" + ], + "x-ms-enum": { + "modelAsString": false, + "name": "DatawarehousequeriesResourceClass" + } + }, + "concurrencySlots": { + "description": "Requested ConcurrencySlots", + "type": "string", + "readOnly": true + } + } } }, "parameters": { diff --git a/specification/synapse/resource-manager/readme.md b/specification/synapse/resource-manager/readme.md index cb427d53ebf7..4d91b39a605a 100644 --- a/specification/synapse/resource-manager/readme.md +++ b/specification/synapse/resource-manager/readme.md @@ -388,4 +388,4 @@ batch: ## Go -See configuration in [readme.go.md](./readme.go.md) +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file