Skip to content

Commit

Permalink
[datafactory] add new connector amazon rds for sql server (Azure#15661)
Browse files Browse the repository at this point in the history
* add new connector amazon rds for sql server

* update for synapse

* update latest synapse swagger api

* fix
  • Loading branch information
yxi339 authored Sep 3, 2021
1 parent 87a56cc commit 5d09c12
Show file tree
Hide file tree
Showing 6 changed files with 232 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2307,6 +2307,37 @@
}
}
},
"AmazonRdsForSqlServerTableDataset": {
"x-ms-discriminator-value": "AmazonRdsForSqlServerTable",
"description": "The Amazon RDS for SQL Server dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "The Amazon RDS for SQL Server dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AmazonRdsForSqlServerTableDatasetTypeProperties"
}
}
},
"AmazonRdsForSqlServerTableDatasetTypeProperties": {
"description": "The Amazon RDS for SQL Server dataset properties.",
"type": "object",
"properties": {
"schema": {
"type": "object",
"description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)."
}
}
},
"RestResourceDataset": {
"x-ms-discriminator-value": "RestResource",
"description": "A Rest service dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,55 @@
"connectionString"
]
},
"AmazonRdsForSqlServerLinkedService": {
"x-ms-discriminator-value": "AmazonRdsForSqlServer",
"description": "Amazon RDS for SQL Server linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Amazon RDS for SQL Server linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AmazonRdsForSqlServerLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"AmazonRdsForSqlServerLinkedServiceTypeProperties": {
"description": "Amazon Rds for SQL Server linked service properties.",
"type": "object",
"properties": {
"connectionString": {
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"userName": {
"type": "object",
"description": "The on-premises Windows authentication user name. Type: string (or Expression with resultType string)."
},
"password": {
"description": "The on-premises Windows authentication password.",
"$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)."
},
"alwaysEncryptedSettings": {
"$ref": "#/definitions/SqlAlwaysEncryptedProperties",
"description": "Sql always encrypted properties."
}
},
"required": [
"connectionString"
]
},
"AzureSqlDatabaseLinkedService": {
"x-ms-discriminator-value": "AzureSqlDatabase",
"description": "Microsoft Azure SQL Database linked service.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2396,6 +2396,44 @@
}
}
},
"AmazonRdsForSqlServerSource": {
"description": "A copy activity Amazon RDS for SQL Server source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/TabularSource"
}
],
"properties": {
"sqlReaderQuery": {
"type": "object",
"description": "SQL reader query. Type: string (or Expression with resultType string)."
},
"sqlReaderStoredProcedureName": {
"type": "object",
"description": "Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)."
},
"storedProcedureParameters": {
"description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/StoredProcedureParameter"
}
},
"produceAdditionalTypes": {
"description": "Which additional types to produce.",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel. Possible values include: \"None\", \"PhysicalPartitionsOfTable\", \"DynamicRange\".",
"type": "object"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
"AzureSqlSource": {
"description": "A copy activity Azure SQL source.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2307,6 +2307,37 @@
}
}
},
"AmazonRdsForSqlServerTableDataset": {
"x-ms-discriminator-value": "AmazonRdsForSqlServerTable",
"description": "The Amazon RDS for SQL Server dataset.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "The Amazon RDS for SQL Server dataset properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AmazonRdsForSqlServerTableDatasetTypeProperties"
}
}
},
"AmazonRdsForSqlServerTableDatasetTypeProperties": {
"description": "The Amazon RDS for SQL Server dataset properties.",
"type": "object",
"properties": {
"schema": {
"type": "object",
"description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)."
},
"table": {
"type": "object",
"description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)."
}
}
},
"RestResourceDataset": {
"x-ms-discriminator-value": "RestResource",
"description": "A Rest service dataset.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,51 @@
"connectionString"
]
},
"AmazonRdsForSqlServerLinkedService": {
"x-ms-discriminator-value": "AmazonRdsForSqlServer",
"description": "Amazon RDS for SQL Server linked service.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LinkedService"
}
],
"properties": {
"typeProperties": {
"description": "Amazon RDS for SQL Server linked service properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/AmazonRdsForSqlServerLinkedServiceTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"AmazonRdsForSqlServerLinkedServiceTypeProperties": {
"description": "SQL Server linked service properties.",
"type": "object",
"properties": {
"connectionString": {
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"type": "object"
},
"userName": {
"type": "object",
"description": "The on-premises Windows authentication user name. Type: string (or Expression with resultType string)."
},
"password": {
"description": "The on-premises Windows authentication password.",
"$ref": "../artifacts.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": [
"connectionString"
]
},
"AzureSqlDatabaseLinkedService": {
"x-ms-discriminator-value": "AzureSqlDatabase",
"description": "Microsoft Azure SQL Database linked service.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2270,6 +2270,44 @@
}
}
},
"AmazonRdsForSqlServerSource": {
"description": "A copy activity Amazon RDS for SQL Server source.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/TabularSource"
}
],
"properties": {
"sqlReaderQuery": {
"type": "object",
"description": "SQL reader query. Type: string (or Expression with resultType string)."
},
"sqlReaderStoredProcedureName": {
"type": "object",
"description": "Name of the stored procedure for a SQL Database source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)."
},
"storedProcedureParameters": {
"description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/StoredProcedureParameter"
}
},
"produceAdditionalTypes": {
"description": "Which additional types to produce.",
"type": "object"
},
"partitionOption": {
"description": "The partition mechanism that will be used for Sql read in parallel. Possible values include: \"None\", \"PhysicalPartitionsOfTable\", \"DynamicRange\".",
"type": "object"
},
"partitionSettings": {
"description": "The settings that will be leveraged for Sql source partitioning.",
"$ref": "#/definitions/SqlPartitionSettings"
}
}
},
"AzureSqlSource": {
"description": "A copy activity Azure SQL source.",
"type": "object",
Expand Down

0 comments on commit 5d09c12

Please sign in to comment.