diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlSink.java new file mode 100644 index 000000000000..4bce3a895b43 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlSink.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity Azure PostgreSQL sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzurePostgreSqlSink") +public class AzurePostgreSqlSink extends CopySink { + /** + * A query to execute before starting the copy. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "preCopyScript") + private Object preCopyScript; + + /** + * Get a query to execute before starting the copy. Type: string (or Expression with resultType string). + * + * @return the preCopyScript value + */ + public Object preCopyScript() { + return this.preCopyScript; + } + + /** + * Set a query to execute before starting the copy. Type: string (or Expression with resultType string). + * + * @param preCopyScript the preCopyScript value to set + * @return the AzurePostgreSqlSink object itself. + */ + public AzurePostgreSqlSink withPreCopyScript(Object preCopyScript) { + this.preCopyScript = preCopyScript; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlTableDataset.java index 61d126896d28..283c7db524ca 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlTableDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzurePostgreSqlTableDataset.java @@ -22,13 +22,28 @@ @JsonFlatten public class AzurePostgreSqlTableDataset extends DatasetInner { /** - * The table name. Type: string (or Expression with resultType string). + * The table name of the Azure PostgreSQL database which includes both + * schema and table. Type: string (or Expression with resultType string). */ @JsonProperty(value = "typeProperties.tableName") private Object tableName; /** - * Get the table name. Type: string (or Expression with resultType string). + * The table name of the Azure PostgreSQL database. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.table") + private Object table; + + /** + * The schema name of the Azure PostgreSQL database. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.schema") + private Object azurePostgreSqlTableDatasetSchema; + + /** + * Get the table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). * * @return the tableName value */ @@ -37,7 +52,7 @@ public Object tableName() { } /** - * Set the table name. Type: string (or Expression with resultType string). + * Set the table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string). * * @param tableName the tableName value to set * @return the AzurePostgreSqlTableDataset object itself. @@ -47,4 +62,44 @@ public AzurePostgreSqlTableDataset withTableName(Object tableName) { return this; } + /** + * Get the table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + * + * @return the table value + */ + public Object table() { + return this.table; + } + + /** + * Set the table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + * + * @param table the table value to set + * @return the AzurePostgreSqlTableDataset object itself. + */ + public AzurePostgreSqlTableDataset withTable(Object table) { + this.table = table; + return this; + } + + /** + * Get the schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + * + * @return the azurePostgreSqlTableDatasetSchema value + */ + public Object azurePostgreSqlTableDatasetSchema() { + return this.azurePostgreSqlTableDatasetSchema; + } + + /** + * Set the schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string). + * + * @param azurePostgreSqlTableDatasetSchema the azurePostgreSqlTableDatasetSchema value to set + * @return the AzurePostgreSqlTableDataset object itself. + */ + public AzurePostgreSqlTableDataset withAzurePostgreSqlTableDatasetSchema(Object azurePostgreSqlTableDatasetSchema) { + this.azurePostgreSqlTableDatasetSchema = azurePostgreSqlTableDatasetSchema; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySink.java index c2db217b53ce..2da00c3f7a21 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySink.java @@ -47,6 +47,7 @@ @JsonSubTypes.Type(name = "AzureTableSink", value = AzureTableSink.class), @JsonSubTypes.Type(name = "AzureQueueSink", value = AzureQueueSink.class), @JsonSubTypes.Type(name = "SapCloudForCustomerSink", value = SapCloudForCustomerSink.class), + @JsonSubTypes.Type(name = "AzurePostgreSqlSink", value = AzurePostgreSqlSink.class), @JsonSubTypes.Type(name = "DelimitedTextSink", value = DelimitedTextSink.class) }) public class CopySink { diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySource.java index c9a310de3127..711c1eca937a 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopySource.java @@ -82,6 +82,12 @@ @JsonSubTypes.Type(name = "SapCloudForCustomerSource", value = SapCloudForCustomerSource.class), @JsonSubTypes.Type(name = "SalesforceServiceCloudSource", value = SalesforceServiceCloudSource.class), @JsonSubTypes.Type(name = "SalesforceSource", value = SalesforceSource.class), + @JsonSubTypes.Type(name = "ODataSource", value = ODataSource.class), + @JsonSubTypes.Type(name = "SybaseSource", value = SybaseSource.class), + @JsonSubTypes.Type(name = "PostgreSqlSource", value = PostgreSqlSource.class), + @JsonSubTypes.Type(name = "MySqlSource", value = MySqlSource.class), + @JsonSubTypes.Type(name = "OdbcSource", value = OdbcSource.class), + @JsonSubTypes.Type(name = "Db2Source", value = Db2Source.class), @JsonSubTypes.Type(name = "MicrosoftAccessSource", value = MicrosoftAccessSource.class), @JsonSubTypes.Type(name = "InformixSource", value = InformixSource.class), @JsonSubTypes.Type(name = "RelationalSource", value = RelationalSource.class), diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CosmosDbMongoDbApiSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CosmosDbMongoDbApiSource.java index 79ab950a5c42..b4a568020672 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CosmosDbMongoDbApiSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CosmosDbMongoDbApiSource.java @@ -35,7 +35,7 @@ public class CosmosDbMongoDbApiSource extends CopySource { /** * Specifies the number of documents to return in each batch of the * response from MongoDB instance. In most cases, modifying the batch size - * will not affect the user or the application. This property�s main + * will not affect the user or the application. This property's main * purpose is to avoid hit the limitation of response size. Type: integer * (or Expression with resultType integer). */ @@ -83,7 +83,7 @@ public CosmosDbMongoDbApiSource withCursorMethods(MongoDbCursorMethodsProperties } /** - * Get specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + * Get specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). * * @return the batchSize value */ @@ -92,7 +92,7 @@ public Object batchSize() { } /** - * Set specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + * Set specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). * * @param batchSize the batchSize value to set * @return the CosmosDbMongoDbApiSource object itself. diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/Db2Source.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/Db2Source.java new file mode 100644 index 000000000000..f273a7ccef71 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/Db2Source.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for Db2 databases. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("Db2Source") +public class Db2Source extends CopySource { + /** + * Database query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get database query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set database query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the Db2Source object itself. + */ + public Db2Source withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MongoDbV2Source.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MongoDbV2Source.java index 71785969e5c9..80fe99779aae 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MongoDbV2Source.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MongoDbV2Source.java @@ -35,7 +35,7 @@ public class MongoDbV2Source extends CopySource { /** * Specifies the number of documents to return in each batch of the * response from MongoDB instance. In most cases, modifying the batch size - * will not affect the user or the application. This property�s main + * will not affect the user or the application. This property's main * purpose is to avoid hit the limitation of response size. Type: integer * (or Expression with resultType integer). */ @@ -83,7 +83,7 @@ public MongoDbV2Source withCursorMethods(MongoDbCursorMethodsProperties cursorMe } /** - * Get specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + * Get specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). * * @return the batchSize value */ @@ -92,7 +92,7 @@ public Object batchSize() { } /** - * Set specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). + * Set specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer). * * @param batchSize the batchSize value to set * @return the MongoDbV2Source object itself. diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlSource.java new file mode 100644 index 000000000000..3952177a76b8 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlSource.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for MySQL databases. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("MySqlSource") +public class MySqlSource extends CopySource { + /** + * Database query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get database query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set database query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the MySqlSource object itself. + */ + public MySqlSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlTableDataset.java new file mode 100644 index 000000000000..b648edba8da6 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/MySqlTableDataset.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DatasetInner; + +/** + * The MySQL table dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("MySqlTable") +@JsonFlatten +public class MySqlTableDataset extends DatasetInner { + /** + * The MySQL table name. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.tableName") + private Object tableName; + + /** + * Get the MySQL table name. Type: string (or Expression with resultType string). + * + * @return the tableName value + */ + public Object tableName() { + return this.tableName; + } + + /** + * Set the MySQL table name. Type: string (or Expression with resultType string). + * + * @param tableName the tableName value to set + * @return the MySqlTableDataset object itself. + */ + public MySqlTableDataset withTableName(Object tableName) { + this.tableName = tableName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionOption.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionOption.java new file mode 100644 index 000000000000..d90975df4b7b --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionOption.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for NetezzaPartitionOption. + */ +public final class NetezzaPartitionOption extends ExpandableStringEnum { + /** Static value None for NetezzaPartitionOption. */ + public static final NetezzaPartitionOption NONE = fromString("None"); + + /** Static value DataSlice for NetezzaPartitionOption. */ + public static final NetezzaPartitionOption DATA_SLICE = fromString("DataSlice"); + + /** Static value DynamicRange for NetezzaPartitionOption. */ + public static final NetezzaPartitionOption DYNAMIC_RANGE = fromString("DynamicRange"); + + /** + * Creates or finds a NetezzaPartitionOption from its string representation. + * @param name a name to look for + * @return the corresponding NetezzaPartitionOption + */ + @JsonCreator + public static NetezzaPartitionOption fromString(String name) { + return fromString(name, NetezzaPartitionOption.class); + } + + /** + * @return known NetezzaPartitionOption values + */ + public static Collection values() { + return values(NetezzaPartitionOption.class); + } +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionSettings.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionSettings.java new file mode 100644 index 000000000000..bf4da7343bce --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaPartitionSettings.java @@ -0,0 +1,100 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The settings that will be leveraged for Netezza source partitioning. + */ +public class NetezzaPartitionSettings { + /** + * The name of the column in integer type that will be used for proceeding + * range partitioning. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionColumnName") + private Object partitionColumnName; + + /** + * The maximum value of column specified in partitionColumnName that will + * be used for proceeding range partitioning. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "partitionUpperBound") + private Object partitionUpperBound; + + /** + * The minimum value of column specified in partitionColumnName that will + * be used for proceeding range partitioning. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "partitionLowerBound") + private Object partitionLowerBound; + + /** + * Get the name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @return the partitionColumnName value + */ + public Object partitionColumnName() { + return this.partitionColumnName; + } + + /** + * Set the name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @param partitionColumnName the partitionColumnName value to set + * @return the NetezzaPartitionSettings object itself. + */ + public NetezzaPartitionSettings withPartitionColumnName(Object partitionColumnName) { + this.partitionColumnName = partitionColumnName; + return this; + } + + /** + * Get the maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @return the partitionUpperBound value + */ + public Object partitionUpperBound() { + return this.partitionUpperBound; + } + + /** + * Set the maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @param partitionUpperBound the partitionUpperBound value to set + * @return the NetezzaPartitionSettings object itself. + */ + public NetezzaPartitionSettings withPartitionUpperBound(Object partitionUpperBound) { + this.partitionUpperBound = partitionUpperBound; + return this; + } + + /** + * Get the minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @return the partitionLowerBound value + */ + public Object partitionLowerBound() { + return this.partitionLowerBound; + } + + /** + * Set the minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @param partitionLowerBound the partitionLowerBound value to set + * @return the NetezzaPartitionSettings object itself. + */ + public NetezzaPartitionSettings withPartitionLowerBound(Object partitionLowerBound) { + this.partitionLowerBound = partitionLowerBound; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaSource.java index 8a90a52b6b72..2249d122a436 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/NetezzaSource.java @@ -25,6 +25,19 @@ public class NetezzaSource extends CopySource { @JsonProperty(value = "query") private Object query; + /** + * The partition mechanism that will be used for Netezza read in parallel. + * Possible values include: 'None', 'DataSlice', 'DynamicRange'. + */ + @JsonProperty(value = "partitionOption") + private NetezzaPartitionOption partitionOption; + + /** + * The settings that will be leveraged for Netezza source partitioning. + */ + @JsonProperty(value = "partitionSettings") + private NetezzaPartitionSettings partitionSettings; + /** * Get a query to retrieve data from source. Type: string (or Expression with resultType string). * @@ -45,4 +58,44 @@ public NetezzaSource withQuery(Object query) { return this; } + /** + * Get the partition mechanism that will be used for Netezza read in parallel. Possible values include: 'None', 'DataSlice', 'DynamicRange'. + * + * @return the partitionOption value + */ + public NetezzaPartitionOption partitionOption() { + return this.partitionOption; + } + + /** + * Set the partition mechanism that will be used for Netezza read in parallel. Possible values include: 'None', 'DataSlice', 'DynamicRange'. + * + * @param partitionOption the partitionOption value to set + * @return the NetezzaSource object itself. + */ + public NetezzaSource withPartitionOption(NetezzaPartitionOption partitionOption) { + this.partitionOption = partitionOption; + return this; + } + + /** + * Get the settings that will be leveraged for Netezza source partitioning. + * + * @return the partitionSettings value + */ + public NetezzaPartitionSettings partitionSettings() { + return this.partitionSettings; + } + + /** + * Set the settings that will be leveraged for Netezza source partitioning. + * + * @param partitionSettings the partitionSettings value to set + * @return the NetezzaSource object itself. + */ + public NetezzaSource withPartitionSettings(NetezzaPartitionSettings partitionSettings) { + this.partitionSettings = partitionSettings; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ODataSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ODataSource.java new file mode 100644 index 000000000000..106803eccdf8 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ODataSource.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for OData source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("ODataSource") +public class ODataSource extends CopySource { + /** + * OData query. For example, "$top=1". Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get oData query. For example, "$top=1". Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set oData query. For example, "$top=1". Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the ODataSource object itself. + */ + public ODataSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcSource.java new file mode 100644 index 000000000000..9ce033c538dd --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcSource.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for ODBC databases. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("OdbcSource") +public class OdbcSource extends CopySource { + /** + * Database query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get database query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set database query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the OdbcSource object itself. + */ + public OdbcSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcTableDataset.java new file mode 100644 index 000000000000..57654d0ce778 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OdbcTableDataset.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DatasetInner; + +/** + * The ODBC table dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("OdbcTable") +@JsonFlatten +public class OdbcTableDataset extends DatasetInner { + /** + * The ODBC table name. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.tableName") + private Object tableName; + + /** + * Get the ODBC table name. Type: string (or Expression with resultType string). + * + * @return the tableName value + */ + public Object tableName() { + return this.tableName; + } + + /** + * Set the ODBC table name. Type: string (or Expression with resultType string). + * + * @param tableName the tableName value to set + * @return the OdbcTableDataset object itself. + */ + public OdbcTableDataset withTableName(Object tableName) { + this.tableName = tableName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionOption.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionOption.java new file mode 100644 index 000000000000..acf4d855a071 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionOption.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for OraclePartitionOption. + */ +public final class OraclePartitionOption extends ExpandableStringEnum { + /** Static value None for OraclePartitionOption. */ + public static final OraclePartitionOption NONE = fromString("None"); + + /** Static value PhysicalPartitionsOfTable for OraclePartitionOption. */ + public static final OraclePartitionOption PHYSICAL_PARTITIONS_OF_TABLE = fromString("PhysicalPartitionsOfTable"); + + /** Static value DynamicRange for OraclePartitionOption. */ + public static final OraclePartitionOption DYNAMIC_RANGE = fromString("DynamicRange"); + + /** + * Creates or finds a OraclePartitionOption from its string representation. + * @param name a name to look for + * @return the corresponding OraclePartitionOption + */ + @JsonCreator + public static OraclePartitionOption fromString(String name) { + return fromString(name, OraclePartitionOption.class); + } + + /** + * @return known OraclePartitionOption values + */ + public static Collection values() { + return values(OraclePartitionOption.class); + } +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionSettings.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionSettings.java index 2f461d1d4b15..2715ae7fedbe 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionSettings.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionSettings.java @@ -11,11 +11,11 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The settings that will be leveraged for oracle source partitioning. + * The settings that will be leveraged for Oracle source partitioning. */ public class OraclePartitionSettings { /** - * Names of the physical partitions of oracle table. + * Names of the physical partitions of Oracle table. */ @JsonProperty(value = "partitionNames") private Object partitionNames; @@ -44,7 +44,7 @@ public class OraclePartitionSettings { private Object partitionLowerBound; /** - * Get names of the physical partitions of oracle table. + * Get names of the physical partitions of Oracle table. * * @return the partitionNames value */ @@ -53,7 +53,7 @@ public Object partitionNames() { } /** - * Set names of the physical partitions of oracle table. + * Set names of the physical partitions of Oracle table. * * @param partitionNames the partitionNames value to set * @return the OraclePartitionSettings object itself. diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OracleSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OracleSource.java index 7fcfcdf51c7c..87bbccfd8d69 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OracleSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OracleSource.java @@ -32,6 +32,20 @@ public class OracleSource extends CopySource { @JsonProperty(value = "queryTimeout") private Object queryTimeout; + /** + * The partition mechanism that will be used for Oracle read in parallel. + * Possible values include: 'None', 'PhysicalPartitionsOfTable', + * 'DynamicRange'. + */ + @JsonProperty(value = "partitionOption") + private OraclePartitionOption partitionOption; + + /** + * The settings that will be leveraged for Oracle source partitioning. + */ + @JsonProperty(value = "partitionSettings") + private OraclePartitionSettings partitionSettings; + /** * Get oracle reader query. Type: string (or Expression with resultType string). * @@ -72,4 +86,44 @@ public OracleSource withQueryTimeout(Object queryTimeout) { return this; } + /** + * Get the partition mechanism that will be used for Oracle read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * + * @return the partitionOption value + */ + public OraclePartitionOption partitionOption() { + return this.partitionOption; + } + + /** + * Set the partition mechanism that will be used for Oracle read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * + * @param partitionOption the partitionOption value to set + * @return the OracleSource object itself. + */ + public OracleSource withPartitionOption(OraclePartitionOption partitionOption) { + this.partitionOption = partitionOption; + return this; + } + + /** + * Get the settings that will be leveraged for Oracle source partitioning. + * + * @return the partitionSettings value + */ + public OraclePartitionSettings partitionSettings() { + return this.partitionSettings; + } + + /** + * Set the settings that will be leveraged for Oracle source partitioning. + * + * @param partitionSettings the partitionSettings value to set + * @return the OracleSource object itself. + */ + public OracleSource withPartitionSettings(OraclePartitionSettings partitionSettings) { + this.partitionSettings = partitionSettings; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlSource.java new file mode 100644 index 000000000000..6b32491712f8 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlSource.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for PostgreSQL databases. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("PostgreSqlSource") +public class PostgreSqlSource extends CopySource { + /** + * Database query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get database query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set database query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the PostgreSqlSource object itself. + */ + public PostgreSqlSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlTableDataset.java new file mode 100644 index 000000000000..f8338f9cce43 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/PostgreSqlTableDataset.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.datafactoryv2.v2018_06_01.implementation.DatasetInner; + +/** + * The PostgreSQL table dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("PostgreSqlTable") +@JsonFlatten +public class PostgreSqlTableDataset extends DatasetInner { + /** + * The PostgreSQL table name. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.tableName") + private Object tableName; + + /** + * Get the PostgreSQL table name. Type: string (or Expression with resultType string). + * + * @return the tableName value + */ + public Object tableName() { + return this.tableName; + } + + /** + * Set the PostgreSQL table name. Type: string (or Expression with resultType string). + * + * @param tableName the tableName value to set + * @return the PostgreSqlTableDataset object itself. + */ + public PostgreSqlTableDataset withTableName(Object tableName) { + this.tableName = tableName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionOption.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionOption.java new file mode 100644 index 000000000000..f7c275dec531 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionOption.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for SapTablePartitionOption. + */ +public final class SapTablePartitionOption extends ExpandableStringEnum { + /** Static value None for SapTablePartitionOption. */ + public static final SapTablePartitionOption NONE = fromString("None"); + + /** Static value PartitionOnInt for SapTablePartitionOption. */ + public static final SapTablePartitionOption PARTITION_ON_INT = fromString("PartitionOnInt"); + + /** Static value PartitionOnCalendarYear for SapTablePartitionOption. */ + public static final SapTablePartitionOption PARTITION_ON_CALENDAR_YEAR = fromString("PartitionOnCalendarYear"); + + /** Static value PartitionOnCalendarMonth for SapTablePartitionOption. */ + public static final SapTablePartitionOption PARTITION_ON_CALENDAR_MONTH = fromString("PartitionOnCalendarMonth"); + + /** Static value PartitionOnCalendarDate for SapTablePartitionOption. */ + public static final SapTablePartitionOption PARTITION_ON_CALENDAR_DATE = fromString("PartitionOnCalendarDate"); + + /** Static value PartitionOnTime for SapTablePartitionOption. */ + public static final SapTablePartitionOption PARTITION_ON_TIME = fromString("PartitionOnTime"); + + /** + * Creates or finds a SapTablePartitionOption from its string representation. + * @param name a name to look for + * @return the corresponding SapTablePartitionOption + */ + @JsonCreator + public static SapTablePartitionOption fromString(String name) { + return fromString(name, SapTablePartitionOption.class); + } + + /** + * @return known SapTablePartitionOption values + */ + public static Collection values() { + return values(SapTablePartitionOption.class); + } +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java index c2ec1ac72677..c6507551cd03 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java @@ -61,6 +61,21 @@ public class SapTableSource extends CopySource { @JsonProperty(value = "customRfcReadTableFunctionModule") private Object customRfcReadTableFunctionModule; + /** + * The partition mechanism that will be used for SAP table read in + * parallel. Possible values include: 'None', 'PartitionOnInt', + * 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', + * 'PartitionOnCalendarDate', 'PartitionOnTime'. + */ + @JsonProperty(value = "partitionOption") + private SapTablePartitionOption partitionOption; + + /** + * The settings that will be leveraged for SAP table source partitioning. + */ + @JsonProperty(value = "partitionSettings") + private SapTablePartitionSettings partitionSettings; + /** * Get the number of rows to be retrieved. Type: integer(or Expression with resultType integer). * @@ -181,4 +196,44 @@ public SapTableSource withCustomRfcReadTableFunctionModule(Object customRfcReadT return this; } + /** + * Get the partition mechanism that will be used for SAP table read in parallel. Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime'. + * + * @return the partitionOption value + */ + public SapTablePartitionOption partitionOption() { + return this.partitionOption; + } + + /** + * Set the partition mechanism that will be used for SAP table read in parallel. Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime'. + * + * @param partitionOption the partitionOption value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withPartitionOption(SapTablePartitionOption partitionOption) { + this.partitionOption = partitionOption; + return this; + } + + /** + * Get the settings that will be leveraged for SAP table source partitioning. + * + * @return the partitionSettings value + */ + public SapTablePartitionSettings partitionSettings() { + return this.partitionSettings; + } + + /** + * Set the settings that will be leveraged for SAP table source partitioning. + * + * @param partitionSettings the partitionSettings value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withPartitionSettings(SapTablePartitionSettings partitionSettings) { + this.partitionSettings = partitionSettings; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SybaseSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SybaseSource.java new file mode 100644 index 000000000000..4b1634e09aef --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SybaseSource.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity source for Sybase databases. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SybaseSource") +public class SybaseSource extends CopySource { + /** + * Database query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Get database query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set database query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the SybaseSource object itself. + */ + public SybaseSource withQuery(Object query) { + this.query = query; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/implementation/DatasetInner.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/implementation/DatasetInner.java index 153d62cbaab3..59e62eb98157 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/implementation/DatasetInner.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/implementation/DatasetInner.java @@ -72,6 +72,9 @@ @JsonSubTypes.Type(name = "SalesforceServiceCloudObject", value = SalesforceServiceCloudObjectDataset.class), @JsonSubTypes.Type(name = "SalesforceObject", value = SalesforceObjectDataset.class), @JsonSubTypes.Type(name = "MicrosoftAccessTable", value = MicrosoftAccessTableDataset.class), + @JsonSubTypes.Type(name = "PostgreSqlTable", value = PostgreSqlTableDataset.class), + @JsonSubTypes.Type(name = "MySqlTable", value = MySqlTableDataset.class), + @JsonSubTypes.Type(name = "OdbcTable", value = OdbcTableDataset.class), @JsonSubTypes.Type(name = "InformixTable", value = InformixTableDataset.class), @JsonSubTypes.Type(name = "RelationalTable", value = RelationalTableDataset.class), @JsonSubTypes.Type(name = "AzureMySqlTable", value = AzureMySqlTableDataset.class),