From efd3d669a86d2e123f57ac3a43e5af4bb9e3a29f Mon Sep 17 00:00:00 2001 From: yuzhangyi <44692931+yuzhangyi@users.noreply.github.com> Date: Sun, 20 Feb 2022 23:58:23 -0800 Subject: [PATCH] [Data Factory] Support rest-based connectors in Synapse (I) (#17922) * Enable excel in public swagger * update * rollback dataflow change * Support rest-based connectors in Synapse (I) Co-authored-by: zhanyu2014 --- .../2020-12-01/entityTypes/LinkedService.json | 203 ++++++++++++++++++ 1 file changed, 203 insertions(+) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json index ea30af1df007..5bfe733d7b6b 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/entityTypes/LinkedService.json @@ -2774,6 +2774,209 @@ "authenticationType" ] }, + "TeamDeskLinkedService": { + "x-ms-discriminator-value": "TeamDesk", + "description": "Linked service for TeamDesk.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "TeamDesk linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/TeamDeskLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "TeamDeskLinkedServiceTypeProperties": { + "description": "TeamDesk linked service type properties.", + "type": "object", + "properties": { + "authenticationType": { + "description": "The authentication type to use.", + "type": "string", + "enum": [ + "Basic", + "Token" + ], + "x-ms-enum": { + "name": "TeamDeskAuthenticationType", + "modelAsString": true + } + }, + "url": { + "type": "object", + "description": "The url to connect TeamDesk source. Type: string (or Expression with resultType string)." + }, + "userName": { + "type": "object", + "description": "The username of the TeamDesk source. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "The password of the TeamDesk source.", + "$ref": "../artifacts.json#/definitions/SecretBase" + }, + "apiToken": { + "$ref": "../artifacts.json#/definitions/SecretBase", + "description": "The api token for the TeamDesk source." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "authenticationType", + "url" + ] + }, + "QuickbaseLinkedService": { + "x-ms-discriminator-value": "Quickbase", + "description": "Linked service for Quickbase.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Quickbase linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/QuickbaseLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "QuickbaseLinkedServiceTypeProperties": { + "description": "Quickbase linked service type properties.", + "type": "object", + "properties": { + "url": { + "type": "object", + "description": "The url to connect Quickbase source. Type: string (or Expression with resultType string)." + }, + "userToken": { + "$ref": "../artifacts.json#/definitions/SecretBase", + "description": "The user token for the Quickbase source." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "url", + "userToken" + ] + }, + "SmartsheetLinkedService": { + "x-ms-discriminator-value": "Smartsheet", + "description": "Linked service for Smartsheet.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Smartsheet linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SmartsheetLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "SmartsheetLinkedServiceTypeProperties": { + "description": "Smartsheet linked service type properties.", + "type": "object", + "properties": { + "apiToken": { + "$ref": "../artifacts.json#/definitions/SecretBase", + "description": "The api token for the Smartsheet source." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "apiToken" + ] + }, + "ZendeskLinkedService": { + "x-ms-discriminator-value": "Zendesk", + "description": "Linked service for Zendesk.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LinkedService" + } + ], + "properties": { + "typeProperties": { + "description": "Zendesk linked service properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ZendeskLinkedServiceTypeProperties" + } + }, + "required": [ + "typeProperties" + ] + }, + "ZendeskLinkedServiceTypeProperties": { + "description": "Zendesk linked service type properties.", + "type": "object", + "properties": { + "authenticationType": { + "description": "The authentication type to use.", + "type": "string", + "enum": [ + "Basic", + "Token" + ], + "x-ms-enum": { + "name": "ZendeskAuthenticationType", + "modelAsString": true + } + }, + "url": { + "type": "object", + "description": "The url to connect Zendesk source. Type: string (or Expression with resultType string)." + }, + "userName": { + "type": "object", + "description": "The username of the Zendesk source. Type: string (or Expression with resultType string)." + }, + "password": { + "description": "The password of the Zendesk source.", + "$ref": "../artifacts.json#/definitions/SecretBase" + }, + "apiToken": { + "$ref": "../artifacts.json#/definitions/SecretBase", + "description": "The api token for the Zendesk source." + }, + "encryptedCredential": { + "type": "object", + "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)." + } + }, + "required": [ + "authenticationType", + "url" + ] + }, "AmazonS3LinkedService": { "x-ms-discriminator-value": "AmazonS3", "description": "Linked service for Amazon S3.",