Skip to content

Commit

Permalink
Added APIs for KQL CRUD. (#13645)
Browse files Browse the repository at this point in the history
* Added APIs for Kusto CRUD.

* Added file to readme.

* Fixes for checks.

* Merge KQL script changes into artifacts.json.

* Remove add file, since no longer part of diff.

* Fixes for checks.

* Remove non existing status code.

* Added KQL script API with new version 2021-06-01-preview.

* Added files to readme. removed managedPrivateEndpoints.json

* Fixed refernce paths.

* Remove unused example files.

* Added missing paths.

* Added reference to readme.

* Remove duplicate operation.

* Update specification/synapse/data-plane/readme.md

Co-authored-by: Ravi Arora <[email protected]>
Co-authored-by: Laurent Mazuel <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2021
1 parent c7616be commit 4965f0f
Show file tree
Hide file tree
Showing 108 changed files with 28,789 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"swagger": "2.0",
"info": {
"version": "2021-06-01-preview",
"title": "ArtifactsClient"
},
"x-ms-parameterized-host": {
"hostTemplate": "{endpoint}",
"useSchemePrefix": false,
"parameters": [
{
"$ref": "#/parameters/Endpoint"
}
]
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/bigDataPools": {
"get": {
"tags": [
"BigDataPools"
],
"operationId": "BigDataPools_List",
"description": "List Big Data Pools",
"x-ms-examples": {
"List Big Data Pools": {
"$ref": "./examples/BigDataPools_List.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "Success response.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json#/definitions/BigDataPoolResourceInfoListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/workspace.json#/definitions/ErrorContract"
}
}
}
}
},
"/bigDataPools/{bigDataPoolName}": {
"get": {
"tags": [
"BigDataPools"
],
"operationId": "BigDataPools_Get",
"description": "Get Big Data Pool",
"x-ms-examples": {
"Get Big Data Pool": {
"$ref": "./examples/BigDataPools_Get.json"
}
},
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/BigDataPoolNameParameter"
}
],
"responses": {
"200": {
"description": "Success response.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/bigDataPool.json#/definitions/BigDataPoolResourceInfo"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/workspace.json#/definitions/ErrorContract"
}
}
}
}
}
},
"definitions": {},
"parameters": {
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The Synapse client API Version."
},
"Endpoint": {
"name": "endpoint",
"description": "The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-parameter-location": "client"
},
"BigDataPoolNameParameter": {
"name": "bigDataPoolName",
"in": "path",
"required": true,
"type": "string",
"description": "The Big Data Pool name",
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"swagger": "2.0",
"info": {
"title": "ArtifactsClient",
"version": "2021-06-01-preview"
},
"paths": {},
"definitions": {
"DataFlow": {
"description": "Azure Synapse nested object which contains a flow with data movements and transformations.",
"type": "object",
"discriminator": "type",
"properties": {
"type": {
"type": "string",
"description": "Type of data flow."
},
"description": {
"description": "The description of the data flow.",
"type": "string"
},
"annotations": {
"description": "List of tags that can be used for describing the data flow.",
"type": "array",
"items": {
"type": "object"
}
},
"folder": {
"description": "The folder that this data flow is in. If not specified, Data flow will appear at the root level.",
"type": "object",
"properties": {
"name": {
"description": "The name of the folder that this data flow is in.",
"type": "string"
}
}
}
},
"required": [
"type"
]
},
"MappingDataFlow": {
"x-ms-discriminator-value": "MappingDataFlow",
"description": "Mapping data flow.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/DataFlow"
}
],
"properties": {
"typeProperties": {
"description": "Mapping data flow type properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/MappingDataFlowTypeProperties"
}
}
},
"MappingDataFlowTypeProperties": {
"description": "Mapping data flow type properties.",
"type": "object",
"properties": {
"sources": {
"type": "array",
"description": "List of sources in data flow.",
"items": {
"$ref": "#/definitions/DataFlowSource"
}
},
"sinks": {
"type": "array",
"description": "List of sinks in data flow.",
"items": {
"$ref": "#/definitions/DataFlowSink"
}
},
"transformations": {
"type": "array",
"description": "List of transformations in data flow.",
"items": {
"$ref": "#/definitions/Transformation"
}
},
"script": {
"type": "string",
"description": "DataFlow script."
}
}
},
"Transformation": {
"description": "A data flow transformation.",
"type": "object",
"properties": {
"name": {
"description": "Transformation name.",
"type": "string"
},
"description": {
"description": "Transformation description.",
"type": "string"
}
},
"required": [
"name"
]
},
"DataFlowSource": {
"description": "Transformation for data flow source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Transformation"
}
],
"properties": {
"dataset": {
"description": "Dataset reference.",
"$ref": "../artifacts.json#/definitions/DatasetReference"
},
"linkedService": {
"description": "Linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
}
}
},
"DataFlowSink": {
"description": "Transformation for data flow sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Transformation"
}
],
"properties": {
"dataset": {
"description": "Dataset reference.",
"$ref": "../artifacts.json#/definitions/DatasetReference"
},
"linkedService": {
"description": "Linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
},
"schemaLinkedService": {
"description": "Schema linked service reference.",
"$ref": "../artifacts.json#/definitions/LinkedServiceReference"
}
}
}
}
}
Loading

0 comments on commit 4965f0f

Please sign in to comment.