Skip to content

Commit 5d09c12

Browse files
authored
[datafactory] add new connector amazon rds for sql server (#15661)
* add new connector amazon rds for sql server * update for synapse * update latest synapse swagger api * fix
1 parent 87a56cc commit 5d09c12

File tree

6 files changed

+232
-0
lines changed

6 files changed

+232
-0
lines changed

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,37 @@
23072307
}
23082308
}
23092309
},
2310+
"AmazonRdsForSqlServerTableDataset": {
2311+
"x-ms-discriminator-value": "AmazonRdsForSqlServerTable",
2312+
"description": "The Amazon RDS for SQL Server dataset.",
2313+
"type": "object",
2314+
"allOf": [
2315+
{
2316+
"$ref": "#/definitions/Dataset"
2317+
}
2318+
],
2319+
"properties": {
2320+
"typeProperties": {
2321+
"description": "The Amazon RDS for SQL Server dataset properties.",
2322+
"x-ms-client-flatten": true,
2323+
"$ref": "#/definitions/AmazonRdsForSqlServerTableDatasetTypeProperties"
2324+
}
2325+
}
2326+
},
2327+
"AmazonRdsForSqlServerTableDatasetTypeProperties": {
2328+
"description": "The Amazon RDS for SQL Server dataset properties.",
2329+
"type": "object",
2330+
"properties": {
2331+
"schema": {
2332+
"type": "object",
2333+
"description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)."
2334+
},
2335+
"table": {
2336+
"type": "object",
2337+
"description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)."
2338+
}
2339+
}
2340+
},
23102341
"RestResourceDataset": {
23112342
"x-ms-discriminator-value": "RestResource",
23122343
"description": "A Rest service dataset.",

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,55 @@
299299
"connectionString"
300300
]
301301
},
302+
"AmazonRdsForSqlServerLinkedService": {
303+
"x-ms-discriminator-value": "AmazonRdsForSqlServer",
304+
"description": "Amazon RDS for SQL Server linked service.",
305+
"type": "object",
306+
"allOf": [
307+
{
308+
"$ref": "#/definitions/LinkedService"
309+
}
310+
],
311+
"properties": {
312+
"typeProperties": {
313+
"description": "Amazon RDS for SQL Server linked service properties.",
314+
"x-ms-client-flatten": true,
315+
"$ref": "#/definitions/AmazonRdsForSqlServerLinkedServiceTypeProperties"
316+
}
317+
},
318+
"required": [
319+
"typeProperties"
320+
]
321+
},
322+
"AmazonRdsForSqlServerLinkedServiceTypeProperties": {
323+
"description": "Amazon Rds for SQL Server linked service properties.",
324+
"type": "object",
325+
"properties": {
326+
"connectionString": {
327+
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
328+
"type": "object"
329+
},
330+
"userName": {
331+
"type": "object",
332+
"description": "The on-premises Windows authentication user name. Type: string (or Expression with resultType string)."
333+
},
334+
"password": {
335+
"description": "The on-premises Windows authentication password.",
336+
"$ref": "../datafactory.json#/definitions/SecretBase"
337+
},
338+
"encryptedCredential": {
339+
"type": "object",
340+
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
341+
},
342+
"alwaysEncryptedSettings": {
343+
"$ref": "#/definitions/SqlAlwaysEncryptedProperties",
344+
"description": "Sql always encrypted properties."
345+
}
346+
},
347+
"required": [
348+
"connectionString"
349+
]
350+
},
302351
"AzureSqlDatabaseLinkedService": {
303352
"x-ms-discriminator-value": "AzureSqlDatabase",
304353
"description": "Microsoft Azure SQL Database linked service.",

specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2396,6 +2396,44 @@
23962396
}
23972397
}
23982398
},
2399+
"AmazonRdsForSqlServerSource": {
2400+
"description": "A copy activity Amazon RDS for SQL Server source.",
2401+
"type": "object",
2402+
"allOf": [
2403+
{
2404+
"$ref": "#/definitions/TabularSource"
2405+
}
2406+
],
2407+
"properties": {
2408+
"sqlReaderQuery": {
2409+
"type": "object",
2410+
"description": "SQL reader query. Type: string (or Expression with resultType string)."
2411+
},
2412+
"sqlReaderStoredProcedureName": {
2413+
"type": "object",
2414+
"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)."
2415+
},
2416+
"storedProcedureParameters": {
2417+
"description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
2418+
"type": "object",
2419+
"additionalProperties": {
2420+
"$ref": "#/definitions/StoredProcedureParameter"
2421+
}
2422+
},
2423+
"produceAdditionalTypes": {
2424+
"description": "Which additional types to produce.",
2425+
"type": "object"
2426+
},
2427+
"partitionOption": {
2428+
"description": "The partition mechanism that will be used for Sql read in parallel. Possible values include: \"None\", \"PhysicalPartitionsOfTable\", \"DynamicRange\".",
2429+
"type": "object"
2430+
},
2431+
"partitionSettings": {
2432+
"description": "The settings that will be leveraged for Sql source partitioning.",
2433+
"$ref": "#/definitions/SqlPartitionSettings"
2434+
}
2435+
}
2436+
},
23992437
"AzureSqlSource": {
24002438
"description": "A copy activity Azure SQL source.",
24012439
"type": "object",

specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/entityTypes/Dataset.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,37 @@
23072307
}
23082308
}
23092309
},
2310+
"AmazonRdsForSqlServerTableDataset": {
2311+
"x-ms-discriminator-value": "AmazonRdsForSqlServerTable",
2312+
"description": "The Amazon RDS for SQL Server dataset.",
2313+
"type": "object",
2314+
"allOf": [
2315+
{
2316+
"$ref": "#/definitions/Dataset"
2317+
}
2318+
],
2319+
"properties": {
2320+
"typeProperties": {
2321+
"description": "The Amazon RDS for SQL Server dataset properties.",
2322+
"x-ms-client-flatten": true,
2323+
"$ref": "#/definitions/AmazonRdsForSqlServerTableDatasetTypeProperties"
2324+
}
2325+
}
2326+
},
2327+
"AmazonRdsForSqlServerTableDatasetTypeProperties": {
2328+
"description": "The Amazon RDS for SQL Server dataset properties.",
2329+
"type": "object",
2330+
"properties": {
2331+
"schema": {
2332+
"type": "object",
2333+
"description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)."
2334+
},
2335+
"table": {
2336+
"type": "object",
2337+
"description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)."
2338+
}
2339+
}
2340+
},
23102341
"RestResourceDataset": {
23112342
"x-ms-discriminator-value": "RestResource",
23122343
"description": "A Rest service dataset.",

specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/entityTypes/LinkedService.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,51 @@
276276
"connectionString"
277277
]
278278
},
279+
"AmazonRdsForSqlServerLinkedService": {
280+
"x-ms-discriminator-value": "AmazonRdsForSqlServer",
281+
"description": "Amazon RDS for SQL Server linked service.",
282+
"type": "object",
283+
"allOf": [
284+
{
285+
"$ref": "#/definitions/LinkedService"
286+
}
287+
],
288+
"properties": {
289+
"typeProperties": {
290+
"description": "Amazon RDS for SQL Server linked service properties.",
291+
"x-ms-client-flatten": true,
292+
"$ref": "#/definitions/AmazonRdsForSqlServerLinkedServiceTypeProperties"
293+
}
294+
},
295+
"required": [
296+
"typeProperties"
297+
]
298+
},
299+
"AmazonRdsForSqlServerLinkedServiceTypeProperties": {
300+
"description": "SQL Server linked service properties.",
301+
"type": "object",
302+
"properties": {
303+
"connectionString": {
304+
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
305+
"type": "object"
306+
},
307+
"userName": {
308+
"type": "object",
309+
"description": "The on-premises Windows authentication user name. Type: string (or Expression with resultType string)."
310+
},
311+
"password": {
312+
"description": "The on-premises Windows authentication password.",
313+
"$ref": "../artifacts.json#/definitions/SecretBase"
314+
},
315+
"encryptedCredential": {
316+
"type": "object",
317+
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
318+
}
319+
},
320+
"required": [
321+
"connectionString"
322+
]
323+
},
279324
"AzureSqlDatabaseLinkedService": {
280325
"x-ms-discriminator-value": "AzureSqlDatabase",
281326
"description": "Microsoft Azure SQL Database linked service.",

specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/entityTypes/Pipeline.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,44 @@
22702270
}
22712271
}
22722272
},
2273+
"AmazonRdsForSqlServerSource": {
2274+
"description": "A copy activity Amazon RDS for SQL Server source.",
2275+
"type": "object",
2276+
"allOf": [
2277+
{
2278+
"$ref": "#/definitions/TabularSource"
2279+
}
2280+
],
2281+
"properties": {
2282+
"sqlReaderQuery": {
2283+
"type": "object",
2284+
"description": "SQL reader query. Type: string (or Expression with resultType string)."
2285+
},
2286+
"sqlReaderStoredProcedureName": {
2287+
"type": "object",
2288+
"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)."
2289+
},
2290+
"storedProcedureParameters": {
2291+
"description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
2292+
"type": "object",
2293+
"additionalProperties": {
2294+
"$ref": "#/definitions/StoredProcedureParameter"
2295+
}
2296+
},
2297+
"produceAdditionalTypes": {
2298+
"description": "Which additional types to produce.",
2299+
"type": "object"
2300+
},
2301+
"partitionOption": {
2302+
"description": "The partition mechanism that will be used for Sql read in parallel. Possible values include: \"None\", \"PhysicalPartitionsOfTable\", \"DynamicRange\".",
2303+
"type": "object"
2304+
},
2305+
"partitionSettings": {
2306+
"description": "The settings that will be leveraged for Sql source partitioning.",
2307+
"$ref": "#/definitions/SqlPartitionSettings"
2308+
}
2309+
}
2310+
},
22732311
"AzureSqlSource": {
22742312
"description": "A copy activity Azure SQL source.",
22752313
"type": "object",

0 commit comments

Comments
 (0)