Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
79 changes: 79 additions & 0 deletions sdk/datafactory/arm-datafactory/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
93 changes: 93 additions & 0 deletions sdk/datafactory/arm-datafactory/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ export {
SqlDWSource,
SqlMISink,
SqlMISource,
SqlPartitionSettings,
SqlServerLinkedService,
SqlServerSink,
SqlServerSource,
Expand Down