Skip to content

Commit

Permalink
[Datafactory] Add three new connectors (#6578)
Browse files Browse the repository at this point in the history
* [Datafactory] Add Azure SQL Database Managed Instance, Dynamics CRM and Common Data Service for Apps

* Change enum type to string
  • Loading branch information
davidzhaoyue authored and kpajdzik committed Jul 11, 2019
1 parent b453699 commit 808cfe2
Show file tree
Hide file tree
Showing 3 changed files with 454 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,40 @@
}
}
},
"AzureSqlMITableDataset": {
"x-ms-discriminator-value": "AzureSqlMITable",
"description": "The Azure SQL Managed Instance dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Azure SQL Managed Instance dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AzureSqlMITableDatasetTypeProperties"
}
}
},
"AzureSqlMITableDatasetTypeProperties": {
"description": "Azure SQL Managed Instance dataset properties.",
"properties": {
"tableName": {
"type": "object",
"description": "This property will be retired. Please consider using schema + table properties instead."
},
"schema": {
"type": "object",
"description": "The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string)."
}
}
},
"AzureSqlDWTableDataset": {
"x-ms-discriminator-value": "AzureSqlDWTable",
"description": "The Azure SQL Data Warehouse dataset.",
Expand Down Expand Up @@ -872,6 +906,58 @@
}
}
},
"DynamicsCrmEntityDataset": {
"x-ms-discriminator-value": "DynamicsCrmEntity",
"description": "The Dynamics CRM entity dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Dynamics CRM entity dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/DynamicsCrmEntityDatasetTypeProperties"
}
}
},
"DynamicsCrmEntityDatasetTypeProperties": {
"description": "Dynamics CRM entity dataset properties.",
"properties": {
"entityName": {
"type": "object",
"description": "The logical name of the entity. Type: string (or Expression with resultType string)."
}
}
},
"CommonDataServiceForAppsEntityDataset": {
"x-ms-discriminator-value": "CommonDataServiceForAppsEntity",
"description": "The Common Data Service for Apps entity dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Common Data Service for Apps entity dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/CommonDataServiceForAppsEntityDatasetTypeProperties"
}
}
},
"CommonDataServiceForAppsEntityDatasetTypeProperties": {
"description": "Common Data Service for Apps entity dataset properties.",
"properties": {
"entityName": {
"type": "object",
"description": "The logical name of the entity. Type: string (or Expression with resultType string)."
}
}
},
"AzureDataLakeStoreDataset": {
"x-ms-discriminator-value": "AzureDataLakeStoreFile",
"description": "Azure Data Lake Store dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,58 @@
"connectionString"
]
},
"AzureSqlMILinkedService": {
"x-ms-discriminator-value": "AzureSqlMI",
"description": "Azure SQL Managed Instance linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Azure SQL Managed Instance linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AzureSqlMILinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"AzureSqlMILinkedServiceTypeProperties": {
"description": "Azure SQL Managed Instance linked service properties.",
"properties": {
"connectionString": {
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"password": {
"$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
"description": "The Azure key vault secret reference of password in connection string."
},
"servicePrincipalId": {
"type": "object",
"description": "The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
},
"servicePrincipalKey": {
"$ref": "../datafactory.json#/definitions/SecretBase",
"description": "The key of the service principal used to authenticate against Azure SQL Managed Instance."
},
"tenant": {
"type": "object",
"description": "The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string)."
},
"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": [
"connectionString"
]
},
"AzureBatchLinkedService": {
"x-ms-discriminator-value": "AzureBatch",
"description": "Azure Batch linked service.",
Expand Down Expand Up @@ -525,6 +577,170 @@
"username"
]
},
"DynamicsCrmLinkedService": {
"x-ms-discriminator-value": "DynamicsCrm",
"description": "Dynamics CRM linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Dynamics CRM linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/DynamicsCrmLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"DynamicsCrmLinkedServiceTypeProperties": {
"description": "Dynamics CRM linked service properties.",
"properties": {
"deploymentType": {
"x-ms-enum": {
"name": "DynamicsDeploymentType",
"modelAsString": true
},
"enum": [
"Online",
"OnPremisesWithIfd"
],
"type": "string",
"description": "The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string)."
},
"hostName": {
"type": "object",
"description": "The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
},
"port": {
"type": "object",
"description": "The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
},
"serviceUri": {
"type": "object",
"description": "The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
},
"organizationName": {
"type": "object",
"description": "The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string)."
},
"authenticationType": {
"x-ms-enum": {
"name": "DynamicsAuthenticationType",
"modelAsString": true
},
"enum": [
"Office365",
"Ifd"
],
"type": "string",
"description": "The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
},
"username": {
"type": "object",
"description": "User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string)."
},
"password": {
"description": "Password to access the Dynamics CRM instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"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": [
"deploymentType",
"authenticationType",
"username"
]
},
"CommonDataServiceForAppsLinkedService": {
"x-ms-discriminator-value": "CommonDataServiceForApps",
"description": "Common Data Service for Apps linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Common Data Service for Apps linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/CommonDataServiceForAppsLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"CommonDataServiceForAppsLinkedServiceTypeProperties": {
"description": "Common Data Service for Apps linked service properties.",
"properties": {
"deploymentType": {
"x-ms-enum": {
"name": "DynamicsDeploymentType",
"modelAsString": true
},
"enum": [
"Online",
"OnPremisesWithIfd"
],
"type": "string",
"description": "The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string)."
},
"hostName": {
"type": "object",
"description": "The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
},
"port": {
"type": "object",
"description": "The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
},
"serviceUri": {
"type": "object",
"description": "The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
},
"organizationName": {
"type": "object",
"description": "The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string)."
},
"authenticationType": {
"x-ms-enum": {
"name": "DynamicsAuthenticationType",
"modelAsString": true
},
"enum": [
"Office365",
"Ifd"
],
"type": "string",
"description": "The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
},
"username": {
"type": "object",
"description": "User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string)."
},
"password": {
"description": "Password to access the Common Data Service for Apps instance.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"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": [
"deploymentType",
"authenticationType",
"username"
]
},
"HDInsightLinkedService": {
"x-ms-discriminator-value": "HDInsight",
"description": "HDInsight linked service.",
Expand Down
Loading

0 comments on commit 808cfe2

Please sign in to comment.