diff --git a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts index 1f0a3da1ba8f..c3dfbe1cfa58 100644 --- a/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/dataFlowsMappers.ts @@ -460,6 +460,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts index 2e15a297d920..dd56da18e57b 100644 --- a/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/datasetsMappers.ts @@ -460,6 +460,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts index d72c6a5f2471..2b005e64716a 100644 --- a/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/factoriesMappers.ts @@ -465,6 +465,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/index.ts b/sdk/datafactory/arm-datafactory/src/models/index.ts index 93cf39213692..6da41a2fbc6a 100644 --- a/sdk/datafactory/arm-datafactory/src/models/index.ts +++ b/sdk/datafactory/arm-datafactory/src/models/index.ts @@ -17505,6 +17505,32 @@ export interface AzureMySqlSource { query?: any; } +/** + * The settings that will be leveraged for Sql source partitioning. + */ +export interface SqlPartitionSettings { + /** + * The name of the column in integer or datetime type that will be used for proceeding + * partitioning. If not specified, the primary key of the table is auto-detected and used as the + * partition column. Type: string (or Expression with resultType string). + */ + partitionColumnName?: any; + /** + * The maximum value of the partition column for partition range splitting. This value is used to + * decide the partition stride, not for filtering the rows in table. All rows in the table or + * query result will be partitioned and copied. Type: string (or Expression with resultType + * string). + */ + partitionUpperBound?: any; + /** + * The minimum value of the partition column for partition range splitting. This value is used to + * decide the partition stride, not for filtering the rows in table. All rows in the table or + * query result will be partitioned and copied. Type: string (or Expression with resultType + * string). + */ + partitionLowerBound?: any; +} + /** * A copy activity SQL Data Warehouse source. */ @@ -17552,6 +17578,15 @@ export interface SqlDWSource { * StoredProcedureParameter. */ storedProcedureParameters?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: + * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + */ + partitionOption?: SqlPartitionOption; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: SqlPartitionSettings; } /** @@ -17619,6 +17654,15 @@ export interface SqlMISource { * Which additional types to produce. */ produceAdditionalTypes?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: + * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + */ + partitionOption?: SqlPartitionOption; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: SqlPartitionSettings; } /** @@ -17671,6 +17715,15 @@ export interface AzureSqlSource { * Which additional types to produce. */ produceAdditionalTypes?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: + * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + */ + partitionOption?: SqlPartitionOption; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: SqlPartitionSettings; } /** @@ -17723,6 +17776,15 @@ export interface SqlServerSource { * Which additional types to produce. */ produceAdditionalTypes?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: + * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + */ + partitionOption?: SqlPartitionOption; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: SqlPartitionSettings; } /** @@ -17777,6 +17839,15 @@ export interface SqlSource { * ReadCommitted. Type: string (or Expression with resultType string). */ isolationLevel?: any; + /** + * The partition mechanism that will be used for Sql read in parallel. Possible values include: + * 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + */ + partitionOption?: SqlPartitionOption; + /** + * The settings that will be leveraged for Sql source partitioning. + */ + partitionSettings?: SqlPartitionSettings; } /** @@ -24083,6 +24154,14 @@ export type CassandraSourceReadConsistencyLevels = 'ALL' | 'EACH_QUORUM' | 'QUOR */ export type TeradataPartitionOption = 'None' | 'Hash' | 'DynamicRange'; +/** + * Defines values for SqlPartitionOption. + * Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange' + * @readonly + * @enum {string} + */ +export type SqlPartitionOption = 'None' | 'PhysicalPartitionsOfTable' | 'DynamicRange'; + /** * Defines values for StoredProcedureParameterType. * Possible values include: 'String', 'Int', 'Int64', 'Decimal', 'Guid', 'Boolean', 'Date' diff --git a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts index 5734dc6c9554..4a71bed7230b 100644 --- a/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/integrationRuntimesMappers.ts @@ -476,6 +476,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts index a8b910c54a78..9faa4f0c6bb8 100644 --- a/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/linkedServicesMappers.ts @@ -460,6 +460,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/mappers.ts b/sdk/datafactory/arm-datafactory/src/models/mappers.ts index 9189d981edfc..6c1af241b22c 100644 --- a/sdk/datafactory/arm-datafactory/src/models/mappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/mappers.ts @@ -16851,6 +16851,34 @@ export const AzureMySqlSource: msRest.CompositeMapper = { } }; +export const SqlPartitionSettings: msRest.CompositeMapper = { + serializedName: "SqlPartitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings", + modelProperties: { + partitionColumnName: { + serializedName: "partitionColumnName", + type: { + name: "Object" + } + }, + partitionUpperBound: { + serializedName: "partitionUpperBound", + type: { + name: "Object" + } + }, + partitionLowerBound: { + serializedName: "partitionLowerBound", + type: { + name: "Object" + } + } + } + } +}; + export const SqlDWSource: msRest.CompositeMapper = { serializedName: "SqlDWSource", type: { @@ -16877,6 +16905,19 @@ export const SqlDWSource: msRest.CompositeMapper = { type: { name: "Object" } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "String" + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } } }, additionalProperties: CopySource.type.additionalProperties @@ -16943,6 +16984,19 @@ export const SqlMISource: msRest.CompositeMapper = { type: { name: "Object" } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "String" + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } } }, additionalProperties: CopySource.type.additionalProperties @@ -16987,6 +17041,19 @@ export const AzureSqlSource: msRest.CompositeMapper = { type: { name: "Object" } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "String" + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } } }, additionalProperties: CopySource.type.additionalProperties @@ -17031,6 +17098,19 @@ export const SqlServerSource: msRest.CompositeMapper = { type: { name: "Object" } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "String" + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } } }, additionalProperties: CopySource.type.additionalProperties @@ -17075,6 +17155,19 @@ export const SqlSource: msRest.CompositeMapper = { type: { name: "Object" } + }, + partitionOption: { + serializedName: "partitionOption", + type: { + name: "String" + } + }, + partitionSettings: { + serializedName: "partitionSettings", + type: { + name: "Composite", + className: "SqlPartitionSettings" + } } }, additionalProperties: CopySource.type.additionalProperties diff --git a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts index 3ce252b37da8..6ab92c2339e4 100644 --- a/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/pipelinesMappers.ts @@ -461,6 +461,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource, diff --git a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts index 3e55ec5f3c34..a0bfa10e86a1 100644 --- a/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts +++ b/sdk/datafactory/arm-datafactory/src/models/triggersMappers.ts @@ -459,6 +459,7 @@ export { SqlDWSource, SqlMISink, SqlMISource, + SqlPartitionSettings, SqlServerLinkedService, SqlServerSink, SqlServerSource,