Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Path and Properties #20580

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "cde3513f-fbc4-414d-abc2-c4b2ad011bd8",
"resourceGroupName": "kedodd2021synrg1",
"workspaceName": "kedoddsynprodws",
"sqlPoolName": "kedoddsqlpool1",
"dataWarehouseQueriesId": "QID683040",
"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/steps/0",
"type": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseQueries/steps",
"name": "0",
"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",
"stepIndex": "0,",
"operationType": "BackupAzureDatabaseOperation",
"distributionType": "AllAzureEndpoints",
"locationType": "Control",
"rowCount": "-1"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5283,6 +5283,71 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataWarehouseQueries/{dataWarehouseQueriesId}/steps": {
"get": {
"operationId": "SqlPoolsDatawareHouseQueriesSteps_List",
"summary": "Lists the datawareHouse queries steps of a SQL pool",
"description": "SQL pool datawareHouse queries steps",
"tags": [
"SqlPools,DatawareHouseQueriesSteps"
],
"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
},
{
"name": "dataWarehouseQueriesId",
"in": "path",
"description": "DatawareHouseQueries Id",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"schema": {
"type": "object",
"items": {
"$ref": "#/definitions/DataWarehouseQueriesSteps"
}
},
"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 DataWarehouseQueriesSteps": {
"$ref": "./examples/DataWarehouseQueriesSteps.json"
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -7796,6 +7861,151 @@
"readOnly": true
}
}
},
"DataWarehouseQueriesSteps": {
"description": "The response to a list datawarehouse queries.steps",
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
}
],
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DataWarehouseQueriesStepsProperties",
"description": "Resource properties."
}
}
},
"DataWarehouseQueriesStepsProperties": {
"description": "Properties of a datawarehousequeries.",
"type": "object",
"properties": {
"queryId": {
"description": "Requested QueryId. of datawarehousequeries steps",
"type": "string",
"readOnly": true
},
"startTime": {
"description": "The start time of dataWarehouseQueries Steps.",
"type": "string",
"format": "date-time",
"readOnly": true
},
"endTime": {
"description": "The end time of dataWarehouseQueries Steps.",
"type": "string",
"format": "date-time",
"readOnly": true
},
"duration": {
"description": "The duration of requested dataWarehouseQueries Steps.",
"type": "number",
"format": "int32",
"readOnly": true
},
"status": {
"description": " Status of dataWarehouseQueries Steps",
"type": "string",
"readOnly": true
},
"queryText": {
"description": " QueryText Message",
"type": "string",
"readOnly": true
},
"stepIndex": {
"description": "dataWarehouseQueries step index",
"type": "string",
"readOnly": true
},
"operationType": {
"description": "Type of operation",
"type": "string",
"enum": [
"BackupAzureDatabaseOperation",
"BroadcastMoveOperation",
"CheckEncryptionStatusOperation",
"CopyOperation",
"CreateDiagnosticsOperation",
"DSQLCallBackOperation",
"DbccShowStatisticsOperation",
"DistributedExchangeOperation",
"DistributeReplicatedTableMoveOperation",
"DropDiagnosticsNotifyOperation",
"DropDiagnosticsSynchronizeOperation",
"ExternalBroadcastMove",
"ExternalExportControlMove",
"ExternalExportControlOperation",
"ExternalExportDistributedMove",
"ExternalExportDistributedOperation",
"ExternalExportReplicatedMove",
"ExternalExportReplicatedOperation",
"ExternalShuffleOperation",
"ExternalStatisticsOperation",
"HadoopBroadcastOperation",
"HadoopRoundRobinOperation",
"HadoopShuffleOperation",
"InsertBulkOperation",
"MetaDataCreateOperation",
"MoveOperation",
"OnOperation",
"PartitionMoveOperation",
"RandomIDOperation",
"ReconfigureOperation",
"ReturnOperation",
"RoundRobinMoveOperation",
"SetIdentityInsertOperation",
"SetOptionsOperation",
"ShuffleMoveOperation",
"SingleSourceRoundRobinMoveOperation",
"TempTablePropertiesOperation",
"TrimMoveOperation"
],
"x-ms-enum": {
"modelAsString": false,
"name": "StepsOperationType"
}
},
"distributionType": {
"description": "Type of distribution",
"type": "string",
"enum": [
"AllAzureEndpoints",
"AllComputeNodes",
"AllDistributions",
"AllNodes",
"ComputeNode",
"Distribution",
"SubsetDistributions",
"SubsetNodes",
"Unspecified"
],
"x-ms-enum": {
"modelAsString": false,
"name": "StepsDistributionType"
}
},
"locationType": {
"description": "Type of location",
"type": "string",
"enum": [
"Compute",
"Control",
"DMS"
],
"x-ms-enum": {
"modelAsString": false,
"name": "StepsLocationType"
}
},
"rowCount": {
"description": "Number of rows count",
"type": "string",
"readOnly": true
}
}
}
},
"parameters": {
Expand Down