diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureDataLakeStoreSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureDataLakeStoreSink.java index c4450e8c59a3..ffd2ac63e436 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureDataLakeStoreSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureDataLakeStoreSink.java @@ -19,28 +19,27 @@ @JsonTypeName("AzureDataLakeStoreSink") public class AzureDataLakeStoreSink extends CopySink { /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the AzureDataLakeStoreSink object itself. */ - public AzureDataLakeStoreSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public AzureDataLakeStoreSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureSearchIndexSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureSearchIndexSink.java index 0ea56afb6e7f..2734f0d415d1 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureSearchIndexSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/AzureSearchIndexSink.java @@ -20,27 +20,27 @@ public class AzureSearchIndexSink extends CopySink { /** * Specify the write behavior when upserting documents into Azure Search - * Index. Possible values include: 'Merge', 'Upload'. + * Index. */ @JsonProperty(value = "writeBehavior") - private AzureSearchIndexWriteBehaviorType writeBehavior; + private Object writeBehavior; /** - * Get specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'. + * Get specify the write behavior when upserting documents into Azure Search Index. * * @return the writeBehavior value */ - public AzureSearchIndexWriteBehaviorType writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'. + * Set specify the write behavior when upserting documents into Azure Search Index. * * @param writeBehavior the writeBehavior value to set * @return the AzureSearchIndexSink object itself. */ - public AzureSearchIndexSink withWriteBehavior(AzureSearchIndexWriteBehaviorType writeBehavior) { + public AzureSearchIndexSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/BlobSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/BlobSink.java index 3f5dd3a87070..4512dac194c3 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/BlobSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/BlobSink.java @@ -40,11 +40,10 @@ public class BlobSink extends CopySink { private Object blobWriterAddHeader; /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** * Get blob writer overwrite files. Type: boolean (or Expression with resultType boolean). @@ -107,21 +106,21 @@ public BlobSink withBlobWriterAddHeader(Object blobWriterAddHeader) { } /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the BlobSink object itself. */ - public BlobSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public BlobSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CassandraSource.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CassandraSource.java index ff55bebdc1c0..de241fee37bd 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CassandraSource.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CassandraSource.java @@ -32,12 +32,10 @@ public class CassandraSource extends CopySource { * Cassandra checks the specified number of Cassandra servers for data to * satisfy the read request. Must be one of * cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is - * case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', - * 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', - * 'LOCAL_SERIAL'. + * case-insensitive. */ @JsonProperty(value = "consistencyLevel") - private CassandraSourceReadConsistencyLevels consistencyLevel; + private Object consistencyLevel; /** * Get database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). @@ -60,21 +58,21 @@ public CassandraSource withQuery(Object query) { } /** - * Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'. + * Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. * * @return the consistencyLevel value */ - public CassandraSourceReadConsistencyLevels consistencyLevel() { + public Object consistencyLevel() { return this.consistencyLevel; } /** - * Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'. + * Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. * * @param consistencyLevel the consistencyLevel value to set * @return the CassandraSource object itself. */ - public CassandraSource withConsistencyLevel(CassandraSourceReadConsistencyLevels consistencyLevel) { + public CassandraSource withConsistencyLevel(Object consistencyLevel) { this.consistencyLevel = consistencyLevel; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CopyActivity.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CopyActivity.java index 96cf413b0571..6def9e40c240 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CopyActivity.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/CopyActivity.java @@ -37,7 +37,7 @@ public class CopyActivity extends ExecutionActivity { * Copy activity translator. If not specified, tabular translator is used. */ @JsonProperty(value = "typeProperties.translator") - private CopyTranslator translator; + private Object translator; /** * Specifies whether to copy data via an interim staging. Default value is @@ -139,7 +139,7 @@ public CopyActivity withSink(CopySink sink) { * * @return the translator value */ - public CopyTranslator translator() { + public Object translator() { return this.translator; } @@ -149,7 +149,7 @@ public CopyTranslator translator() { * @param translator the translator value to set * @return the CopyActivity object itself. */ - public CopyActivity withTranslator(CopyTranslator translator) { + public CopyActivity withTranslator(Object translator) { this.translator = translator; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetDeflateCompression.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetDeflateCompression.java index 491362b0ca64..bdb5ffe06ad1 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetDeflateCompression.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetDeflateCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("Deflate") public class DatasetDeflateCompression extends DatasetCompression { /** - * The Deflate compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The Deflate compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the Deflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the Deflate compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the Deflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the Deflate compression level. * * @param level the level value to set * @return the DatasetDeflateCompression object itself. */ - public DatasetDeflateCompression withLevel(DatasetCompressionLevel level) { + public DatasetDeflateCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetGZipCompression.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetGZipCompression.java index d29377866f3b..c9a45fca6b7d 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetGZipCompression.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetGZipCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("GZip") public class DatasetGZipCompression extends DatasetCompression { /** - * The GZip compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The GZip compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the GZip compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the GZip compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the GZip compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the GZip compression level. * * @param level the level value to set * @return the DatasetGZipCompression object itself. */ - public DatasetGZipCompression withLevel(DatasetCompressionLevel level) { + public DatasetGZipCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetZipDeflateCompression.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetZipDeflateCompression.java index 257b5d2b9c93..0ad51fbf3d48 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetZipDeflateCompression.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DatasetZipDeflateCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("ZipDeflate") public class DatasetZipDeflateCompression extends DatasetCompression { /** - * The ZipDeflate compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The ZipDeflate compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the ZipDeflate compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the ZipDeflate compression level. * * @param level the level value to set * @return the DatasetZipDeflateCompression object itself. */ - public DatasetZipDeflateCompression withLevel(DatasetCompressionLevel level) { + public DatasetZipDeflateCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DynamicsSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DynamicsSink.java index 1302aaf66b53..61bfc9311694 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DynamicsSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/DynamicsSink.java @@ -22,7 +22,7 @@ public class DynamicsSink extends CopySink { * The write behavior for the operation. */ @JsonProperty(value = "writeBehavior", required = true) - private String writeBehavior; + private Object writeBehavior; /** * The flag indicating whether ignore null values from input dataset @@ -36,7 +36,7 @@ public class DynamicsSink extends CopySink { * Creates an instance of DynamicsSink class. */ public DynamicsSink() { - writeBehavior = "Upsert"; + writeBehavior = Upsert; } /** @@ -44,7 +44,7 @@ public DynamicsSink() { * * @return the writeBehavior value */ - public String writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } @@ -54,7 +54,7 @@ public String writeBehavior() { * @param writeBehavior the writeBehavior value to set * @return the DynamicsSink object itself. */ - public DynamicsSink withWriteBehavior(String writeBehavior) { + public DynamicsSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/EntityReference.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/EntityReference.java new file mode 100644 index 000000000000..b2d3213c78de --- /dev/null +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/EntityReference.java @@ -0,0 +1,70 @@ +/** + * 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.v2017_09_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The entity reference. + */ +public class EntityReference { + /** + * The type of this referenced entity. Possible values include: + * 'IntegrationRuntimeReference', 'LinkedServiceReference'. + */ + @JsonProperty(value = "type") + private IntegrationRuntimeEntityReferenceType type; + + /** + * The name of this referenced entity. + */ + @JsonProperty(value = "referenceName") + private String referenceName; + + /** + * Get the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'. + * + * @return the type value + */ + public IntegrationRuntimeEntityReferenceType type() { + return this.type; + } + + /** + * Set the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'. + * + * @param type the type value to set + * @return the EntityReference object itself. + */ + public EntityReference withType(IntegrationRuntimeEntityReferenceType type) { + this.type = type; + return this; + } + + /** + * Get the name of this referenced entity. + * + * @return the referenceName value + */ + public String referenceName() { + return this.referenceName; + } + + /** + * Set the name of this referenced entity. + * + * @param referenceName the referenceName value to set + * @return the EntityReference object itself. + */ + public EntityReference withReferenceName(String referenceName) { + this.referenceName = referenceName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/FileSystemSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/FileSystemSink.java index 30c33f81eee7..3fbd6eca2eca 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/FileSystemSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/FileSystemSink.java @@ -19,28 +19,27 @@ @JsonTypeName("FileSystemSink") public class FileSystemSink extends CopySink { /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the FileSystemSink object itself. */ - public FileSystemSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public FileSystemSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeDataProxyProperties.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeDataProxyProperties.java new file mode 100644 index 000000000000..c21637c74e09 --- /dev/null +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeDataProxyProperties.java @@ -0,0 +1,95 @@ +/** + * 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.v2017_09_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Data proxy properties for a managed dedicated integration runtime. + */ +public class IntegrationRuntimeDataProxyProperties { + /** + * The self-hosted integration runtime reference. + */ + @JsonProperty(value = "connectVia") + private EntityReference connectVia; + + /** + * The staging linked service reference. + */ + @JsonProperty(value = "stagingLinkedService") + private EntityReference stagingLinkedService; + + /** + * The path to contain the staged data in the Blob storage. + */ + @JsonProperty(value = "path") + private String path; + + /** + * Get the self-hosted integration runtime reference. + * + * @return the connectVia value + */ + public EntityReference connectVia() { + return this.connectVia; + } + + /** + * Set the self-hosted integration runtime reference. + * + * @param connectVia the connectVia value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withConnectVia(EntityReference connectVia) { + this.connectVia = connectVia; + return this; + } + + /** + * Get the staging linked service reference. + * + * @return the stagingLinkedService value + */ + public EntityReference stagingLinkedService() { + return this.stagingLinkedService; + } + + /** + * Set the staging linked service reference. + * + * @param stagingLinkedService the stagingLinkedService value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withStagingLinkedService(EntityReference stagingLinkedService) { + this.stagingLinkedService = stagingLinkedService; + return this; + } + + /** + * Get the path to contain the staged data in the Blob storage. + * + * @return the path value + */ + public String path() { + return this.path; + } + + /** + * Set the path to contain the staged data in the Blob storage. + * + * @param path the path value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withPath(String path) { + this.path = path; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeEntityReferenceType.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeEntityReferenceType.java new file mode 100644 index 000000000000..acac705e3cb5 --- /dev/null +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeEntityReferenceType.java @@ -0,0 +1,41 @@ +/** + * 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.v2017_09_01_preview; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for IntegrationRuntimeEntityReferenceType. + */ +public final class IntegrationRuntimeEntityReferenceType extends ExpandableStringEnum { + /** Static value IntegrationRuntimeReference for IntegrationRuntimeEntityReferenceType. */ + public static final IntegrationRuntimeEntityReferenceType INTEGRATION_RUNTIME_REFERENCE = fromString("IntegrationRuntimeReference"); + + /** Static value LinkedServiceReference for IntegrationRuntimeEntityReferenceType. */ + public static final IntegrationRuntimeEntityReferenceType LINKED_SERVICE_REFERENCE = fromString("LinkedServiceReference"); + + /** + * Creates or finds a IntegrationRuntimeEntityReferenceType from its string representation. + * @param name a name to look for + * @return the corresponding IntegrationRuntimeEntityReferenceType + */ + @JsonCreator + public static IntegrationRuntimeEntityReferenceType fromString(String name) { + return fromString(name, IntegrationRuntimeEntityReferenceType.class); + } + + /** + * @return known IntegrationRuntimeEntityReferenceType values + */ + public static Collection values() { + return values(IntegrationRuntimeEntityReferenceType.class); + } +} diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeSsisProperties.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeSsisProperties.java index 086db64aa2f7..fc9537859ef4 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeSsisProperties.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/IntegrationRuntimeSsisProperties.java @@ -41,6 +41,12 @@ public class IntegrationRuntimeSsisProperties { @JsonProperty(value = "customSetupScriptProperties") private IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties; + /** + * Data proxy properties for a managed dedicated integration runtime. + */ + @JsonProperty(value = "dataProxyProperties") + private IntegrationRuntimeDataProxyProperties dataProxyProperties; + /** * The edition for the SSIS Integration Runtime. Possible values include: * 'Standard', 'Enterprise'. @@ -128,6 +134,26 @@ public IntegrationRuntimeSsisProperties withCustomSetupScriptProperties(Integrat return this; } + /** + * Get data proxy properties for a managed dedicated integration runtime. + * + * @return the dataProxyProperties value + */ + public IntegrationRuntimeDataProxyProperties dataProxyProperties() { + return this.dataProxyProperties; + } + + /** + * Set data proxy properties for a managed dedicated integration runtime. + * + * @param dataProxyProperties the dataProxyProperties value to set + * @return the IntegrationRuntimeSsisProperties object itself. + */ + public IntegrationRuntimeSsisProperties withDataProxyProperties(IntegrationRuntimeDataProxyProperties dataProxyProperties) { + this.dataProxyProperties = dataProxyProperties; + return this; + } + /** * Get the edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise'. * diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/PolybaseSettings.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/PolybaseSettings.java index f1812d2c6fe2..2a78e0797e6f 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/PolybaseSettings.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/PolybaseSettings.java @@ -22,10 +22,10 @@ public class PolybaseSettings { private Map additionalProperties; /** - * Reject type. Possible values include: 'value', 'percentage'. + * Reject type. */ @JsonProperty(value = "rejectType") - private PolybaseSettingsRejectType rejectType; + private Object rejectType; /** * Specifies the value or the percentage of rows that can be rejected @@ -72,21 +72,21 @@ public PolybaseSettings withAdditionalProperties(Map additionalP } /** - * Get reject type. Possible values include: 'value', 'percentage'. + * Get reject type. * * @return the rejectType value */ - public PolybaseSettingsRejectType rejectType() { + public Object rejectType() { return this.rejectType; } /** - * Set reject type. Possible values include: 'value', 'percentage'. + * Set reject type. * * @param rejectType the rejectType value to set * @return the PolybaseSettings object itself. */ - public PolybaseSettings withRejectType(PolybaseSettingsRejectType rejectType) { + public PolybaseSettings withRejectType(Object rejectType) { this.rejectType = rejectType; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSink.java index 4dcba907fff7..fb1958e01a76 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSink.java @@ -19,11 +19,10 @@ @JsonTypeName("SalesforceSink") public class SalesforceSink extends CopySink { /** - * The write behavior for the operation. Default is Insert. Possible values - * include: 'Insert', 'Upsert'. + * The write behavior for the operation. Default is Insert. */ @JsonProperty(value = "writeBehavior") - private SalesforceSinkWriteBehavior writeBehavior; + private Object writeBehavior; /** * The name of the external ID field for upsert operation. Default value is @@ -46,21 +45,21 @@ public class SalesforceSink extends CopySink { private Object ignoreNullValues; /** - * Get the write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'. + * Get the write behavior for the operation. Default is Insert. * * @return the writeBehavior value */ - public SalesforceSinkWriteBehavior writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set the write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'. + * Set the write behavior for the operation. Default is Insert. * * @param writeBehavior the writeBehavior value to set * @return the SalesforceSink object itself. */ - public SalesforceSink withWriteBehavior(SalesforceSinkWriteBehavior writeBehavior) { + public SalesforceSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSource.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSource.java index ed545b359abd..2b042ecd2c70 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSource.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SalesforceSource.java @@ -25,11 +25,10 @@ public class SalesforceSource extends CopySource { private Object query; /** - * The read behavior for the operation. Default is Query. Possible values - * include: 'Query', 'QueryAll'. + * The read behavior for the operation. Default is Query. */ @JsonProperty(value = "readBehavior") - private SalesforceSourceReadBehavior readBehavior; + private Object readBehavior; /** * Get database query. Type: string (or Expression with resultType string). @@ -52,21 +51,21 @@ public SalesforceSource withQuery(Object query) { } /** - * Get the read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'. + * Get the read behavior for the operation. Default is Query. * * @return the readBehavior value */ - public SalesforceSourceReadBehavior readBehavior() { + public Object readBehavior() { return this.readBehavior; } /** - * Set the read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'. + * Set the read behavior for the operation. Default is Query. * * @param readBehavior the readBehavior value to set * @return the SalesforceSource object itself. */ - public SalesforceSource withReadBehavior(SalesforceSourceReadBehavior readBehavior) { + public SalesforceSource withReadBehavior(Object readBehavior) { this.readBehavior = readBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapCloudForCustomerSink.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapCloudForCustomerSink.java index 883ee19bfc2a..207999def104 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapCloudForCustomerSink.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapCloudForCustomerSink.java @@ -19,28 +19,27 @@ @JsonTypeName("SapCloudForCustomerSink") public class SapCloudForCustomerSink extends CopySink { /** - * The write behavior for the operation. Default is 'Insert'. Possible - * values include: 'Insert', 'Update'. + * The write behavior for the operation. Default is 'Insert'. */ @JsonProperty(value = "writeBehavior") - private SapCloudForCustomerSinkWriteBehavior writeBehavior; + private Object writeBehavior; /** - * Get the write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', 'Update'. + * Get the write behavior for the operation. Default is 'Insert'. * * @return the writeBehavior value */ - public SapCloudForCustomerSinkWriteBehavior writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set the write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', 'Update'. + * Set the write behavior for the operation. Default is 'Insert'. * * @param writeBehavior the writeBehavior value to set * @return the SapCloudForCustomerSink object itself. */ - public SapCloudForCustomerSink withWriteBehavior(SapCloudForCustomerSinkWriteBehavior writeBehavior) { + public SapCloudForCustomerSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccResourceDataset.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccResourceDataset.java index bf1aa34db6e0..a0f5acf395a1 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccResourceDataset.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccResourceDataset.java @@ -26,14 +26,14 @@ public class SapEccResourceDataset extends DatasetInner { * resultType string). */ @JsonProperty(value = "typeProperties.path", required = true) - private String path; + private Object path; /** * Get the path of the SAP ECC OData entity. Type: string (or Expression with resultType string). * * @return the path value */ - public String path() { + public Object path() { return this.path; } @@ -43,7 +43,7 @@ public String path() { * @param path the path value to set * @return the SapEccResourceDataset object itself. */ - public SapEccResourceDataset withPath(String path) { + public SapEccResourceDataset withPath(Object path) { this.path = path; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccSource.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccSource.java index bf553a64a35d..fc986b56d5b7 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccSource.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/SapEccSource.java @@ -23,14 +23,14 @@ public class SapEccSource extends CopySource { * with resultType string). */ @JsonProperty(value = "query") - private String query; + private Object query; /** * Get sAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). * * @return the query value */ - public String query() { + public Object query() { return this.query; } @@ -40,7 +40,7 @@ public String query() { * @param query the query value to set * @return the SapEccSource object itself. */ - public SapEccSource withQuery(String query) { + public SapEccSource withQuery(Object query) { this.query = query; return this; } diff --git a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/StoredProcedureParameter.java b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/StoredProcedureParameter.java index 027c8eca6509..fc32cdaa4d51 100644 --- a/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/StoredProcedureParameter.java +++ b/datafactoryv2/resource-manager/v2017_09_01_preview/src/main/java/com/microsoft/azure/management/datafactoryv2/v2017_09_01_preview/StoredProcedureParameter.java @@ -22,11 +22,10 @@ public class StoredProcedureParameter { private Object value; /** - * Stored procedure parameter type. Possible values include: 'String', - * 'Int', 'Decimal', 'Guid', 'Boolean', 'Date'. + * Stored procedure parameter type. */ @JsonProperty(value = "type") - private StoredProcedureParameterType type; + private Object type; /** * Get stored procedure parameter value. Type: string (or Expression with resultType string). @@ -49,21 +48,21 @@ public StoredProcedureParameter withValue(Object value) { } /** - * Get stored procedure parameter type. Possible values include: 'String', 'Int', 'Decimal', 'Guid', 'Boolean', 'Date'. + * Get stored procedure parameter type. * * @return the type value */ - public StoredProcedureParameterType type() { + public Object type() { return this.type; } /** - * Set stored procedure parameter type. Possible values include: 'String', 'Int', 'Decimal', 'Guid', 'Boolean', 'Date'. + * Set stored procedure parameter type. * * @param type the type value to set * @return the StoredProcedureParameter object itself. */ - public StoredProcedureParameter withType(StoredProcedureParameterType type) { + public StoredProcedureParameter withType(Object type) { this.type = type; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3Location.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3Location.java new file mode 100644 index 000000000000..ddb8a2e9585e --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3Location.java @@ -0,0 +1,71 @@ +/** + * 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 location of amazon S3 dataset. + */ +public class AmazonS3Location extends DatasetLocation { + /** + * Specify the bucketName of amazon S3. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "bucketName") + private Object bucketName; + + /** + * Specify the version of amazon S3. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "version") + private Object version; + + /** + * Get specify the bucketName of amazon S3. Type: string (or Expression with resultType string). + * + * @return the bucketName value + */ + public Object bucketName() { + return this.bucketName; + } + + /** + * Set specify the bucketName of amazon S3. Type: string (or Expression with resultType string). + * + * @param bucketName the bucketName value to set + * @return the AmazonS3Location object itself. + */ + public AmazonS3Location withBucketName(Object bucketName) { + this.bucketName = bucketName; + return this; + } + + /** + * Get specify the version of amazon S3. Type: string (or Expression with resultType string). + * + * @return the version value + */ + public Object version() { + return this.version; + } + + /** + * Set specify the version of amazon S3. Type: string (or Expression with resultType string). + * + * @param version the version value to set + * @return the AmazonS3Location object itself. + */ + public AmazonS3Location withVersion(Object version) { + this.version = version; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3ReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3ReadSetting.java new file mode 100644 index 000000000000..9e7893037c18 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AmazonS3ReadSetting.java @@ -0,0 +1,205 @@ +/** + * 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; + +/** + * Azure data lake store read settings. + */ +public class AmazonS3ReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * AmazonS3 wildcardFolderPath. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * AmazonS3 wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * The prefix filter for the S3 object name. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "prefix") + private Object prefix; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get amazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set amazonS3 wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get amazonS3 wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set amazonS3 wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get the prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * + * @return the prefix value + */ + public Object prefix() { + return this.prefix; + } + + /** + * Set the prefix filter for the S3 object name. Type: string (or Expression with resultType string). + * + * @param prefix the prefix value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withPrefix(Object prefix) { + this.prefix = prefix; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the AmazonS3ReadSetting object itself. + */ + public AmazonS3ReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSLocation.java new file mode 100644 index 000000000000..8eac61442c89 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSLocation.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 com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The location of azure blobFS dataset. + */ +public class AzureBlobFSLocation extends DatasetLocation { + /** + * Specify the fileSystem of azure blobFS. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "fileSystem") + private Object fileSystem; + + /** + * Get specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). + * + * @return the fileSystem value + */ + public Object fileSystem() { + return this.fileSystem; + } + + /** + * Set specify the fileSystem of azure blobFS. Type: string (or Expression with resultType string). + * + * @param fileSystem the fileSystem value to set + * @return the AzureBlobFSLocation object itself. + */ + public AzureBlobFSLocation withFileSystem(Object fileSystem) { + this.fileSystem = fileSystem; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSReadSetting.java new file mode 100644 index 000000000000..bafe92838f37 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSReadSetting.java @@ -0,0 +1,178 @@ +/** + * 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; + +/** + * Azure blobFS read settings. + */ +public class AzureBlobFSReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * Azure blobFS wildcardFolderPath. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * Azure blobFS wildcardFileName. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set azure blobFS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get azure blobFS wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set azure blobFS wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the AzureBlobFSReadSetting object itself. + */ + public AzureBlobFSReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSSink.java index d75d606a2f9c..ba59302693ba 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSSink.java @@ -19,28 +19,27 @@ @JsonTypeName("AzureBlobFSSink") public class AzureBlobFSSink extends CopySink { /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the AzureBlobFSSink object itself. */ - public AzureBlobFSSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public AzureBlobFSSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSWriteSetting.java new file mode 100644 index 000000000000..f163c63fef13 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobFSWriteSetting.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * Azure blobFS write settings. + */ +public class AzureBlobFSWriteSetting extends ConnectorWriteSetting { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageLocation.java new file mode 100644 index 000000000000..f79d029b70c7 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageLocation.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 com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The location of azure blob dataset. + */ +public class AzureBlobStorageLocation extends DatasetLocation { + /** + * Specify the container of azure blob. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "container") + private Object container; + + /** + * Get specify the container of azure blob. Type: string (or Expression with resultType string). + * + * @return the container value + */ + public Object container() { + return this.container; + } + + /** + * Set specify the container of azure blob. Type: string (or Expression with resultType string). + * + * @param container the container value to set + * @return the AzureBlobStorageLocation object itself. + */ + public AzureBlobStorageLocation withContainer(Object container) { + this.container = container; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageReadSetting.java new file mode 100644 index 000000000000..2fdfa56774d3 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageReadSetting.java @@ -0,0 +1,178 @@ +/** + * 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; + +/** + * Azure blob read settings. + */ +public class AzureBlobStorageReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * Azure blob wildcardFolderPath. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * Azure blob wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get azure blob wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set azure blob wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get azure blob wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set azure blob wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the AzureBlobStorageReadSetting object itself. + */ + public AzureBlobStorageReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageWriteSetting.java new file mode 100644 index 000000000000..68d65e8655a1 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureBlobStorageWriteSetting.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * Azure blob write settings. + */ +public class AzureBlobStorageWriteSetting extends ConnectorWriteSetting { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreLocation.java new file mode 100644 index 000000000000..5a5ba315df33 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreLocation.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * The location of azure data lake store dataset. + */ +public class AzureDataLakeStoreLocation extends DatasetLocation { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreReadSetting.java new file mode 100644 index 000000000000..24c06785d18b --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreReadSetting.java @@ -0,0 +1,178 @@ +/** + * 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; + +/** + * Azure data lake store read settings. + */ +public class AzureDataLakeStoreReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * ADLS wildcardFolderPath. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * ADLS wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get aDLS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set aDLS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get aDLS wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set aDLS wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the AzureDataLakeStoreReadSetting object itself. + */ + public AzureDataLakeStoreReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreSink.java index 425abadd49c9..51c441f56c17 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreSink.java @@ -19,30 +19,55 @@ @JsonTypeName("AzureDataLakeStoreSink") public class AzureDataLakeStoreSink extends CopySink { /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Single File Parallel. + */ + @JsonProperty(value = "enableAdlsSingleFileParallel") + private Object enableAdlsSingleFileParallel; + + /** + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the AzureDataLakeStoreSink object itself. */ - public AzureDataLakeStoreSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public AzureDataLakeStoreSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } + /** + * Get single File Parallel. + * + * @return the enableAdlsSingleFileParallel value + */ + public Object enableAdlsSingleFileParallel() { + return this.enableAdlsSingleFileParallel; + } + + /** + * Set single File Parallel. + * + * @param enableAdlsSingleFileParallel the enableAdlsSingleFileParallel value to set + * @return the AzureDataLakeStoreSink object itself. + */ + public AzureDataLakeStoreSink withEnableAdlsSingleFileParallel(Object enableAdlsSingleFileParallel) { + this.enableAdlsSingleFileParallel = enableAdlsSingleFileParallel; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreWriteSetting.java new file mode 100644 index 000000000000..1ad2f67fd225 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureDataLakeStoreWriteSetting.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * Azure data lake store write settings. + */ +public class AzureDataLakeStoreWriteSetting extends ConnectorWriteSetting { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSearchIndexSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSearchIndexSink.java index c62a33a321fc..e9ef4a729b7d 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSearchIndexSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSearchIndexSink.java @@ -20,27 +20,27 @@ public class AzureSearchIndexSink extends CopySink { /** * Specify the write behavior when upserting documents into Azure Search - * Index. Possible values include: 'Merge', 'Upload'. + * Index. */ @JsonProperty(value = "writeBehavior") - private AzureSearchIndexWriteBehaviorType writeBehavior; + private Object writeBehavior; /** - * Get specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'. + * Get specify the write behavior when upserting documents into Azure Search Index. * * @return the writeBehavior value */ - public AzureSearchIndexWriteBehaviorType writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set specify the write behavior when upserting documents into Azure Search Index. Possible values include: 'Merge', 'Upload'. + * Set specify the write behavior when upserting documents into Azure Search Index. * * @param writeBehavior the writeBehavior value to set * @return the AzureSearchIndexSink object itself. */ - public AzureSearchIndexSink withWriteBehavior(AzureSearchIndexWriteBehaviorType writeBehavior) { + public AzureSearchIndexSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlDWTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlDWTableDataset.java index 35056f9f48be..92113016d5a4 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlDWTableDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlDWTableDataset.java @@ -25,7 +25,7 @@ public class AzureSqlDWTableDataset extends DatasetInner { * The table name of the Azure SQL Data Warehouse. Type: string (or * Expression with resultType string). */ - @JsonProperty(value = "typeProperties.tableName", required = true) + @JsonProperty(value = "typeProperties.tableName") private Object tableName; /** diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSink.java new file mode 100644 index 000000000000..43a5ace440fd --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSink.java @@ -0,0 +1,156 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity Azure SQL sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzureSqlSink") +public class AzureSqlSink extends CopySink { + /** + * SQL writer stored procedure name. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "sqlWriterStoredProcedureName") + private Object sqlWriterStoredProcedureName; + + /** + * SQL writer table type. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "sqlWriterTableType") + private Object sqlWriterTableType; + + /** + * SQL pre-copy script. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "preCopyScript") + private Object preCopyScript; + + /** + * SQL stored procedure parameters. + */ + @JsonProperty(value = "storedProcedureParameters") + private Map storedProcedureParameters; + + /** + * The stored procedure parameter name of the table type. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "storedProcedureTableTypeParameterName") + private Object storedProcedureTableTypeParameterName; + + /** + * Get sQL writer stored procedure name. Type: string (or Expression with resultType string). + * + * @return the sqlWriterStoredProcedureName value + */ + public Object sqlWriterStoredProcedureName() { + return this.sqlWriterStoredProcedureName; + } + + /** + * Set sQL writer stored procedure name. Type: string (or Expression with resultType string). + * + * @param sqlWriterStoredProcedureName the sqlWriterStoredProcedureName value to set + * @return the AzureSqlSink object itself. + */ + public AzureSqlSink withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName) { + this.sqlWriterStoredProcedureName = sqlWriterStoredProcedureName; + return this; + } + + /** + * Get sQL writer table type. Type: string (or Expression with resultType string). + * + * @return the sqlWriterTableType value + */ + public Object sqlWriterTableType() { + return this.sqlWriterTableType; + } + + /** + * Set sQL writer table type. Type: string (or Expression with resultType string). + * + * @param sqlWriterTableType the sqlWriterTableType value to set + * @return the AzureSqlSink object itself. + */ + public AzureSqlSink withSqlWriterTableType(Object sqlWriterTableType) { + this.sqlWriterTableType = sqlWriterTableType; + return this; + } + + /** + * Get sQL pre-copy script. Type: string (or Expression with resultType string). + * + * @return the preCopyScript value + */ + public Object preCopyScript() { + return this.preCopyScript; + } + + /** + * Set sQL pre-copy script. Type: string (or Expression with resultType string). + * + * @param preCopyScript the preCopyScript value to set + * @return the AzureSqlSink object itself. + */ + public AzureSqlSink withPreCopyScript(Object preCopyScript) { + this.preCopyScript = preCopyScript; + return this; + } + + /** + * Get sQL stored procedure parameters. + * + * @return the storedProcedureParameters value + */ + public Map storedProcedureParameters() { + return this.storedProcedureParameters; + } + + /** + * Set sQL stored procedure parameters. + * + * @param storedProcedureParameters the storedProcedureParameters value to set + * @return the AzureSqlSink object itself. + */ + public AzureSqlSink withStoredProcedureParameters(Map storedProcedureParameters) { + this.storedProcedureParameters = storedProcedureParameters; + return this; + } + + /** + * Get the stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * + * @return the storedProcedureTableTypeParameterName value + */ + public Object storedProcedureTableTypeParameterName() { + return this.storedProcedureTableTypeParameterName; + } + + /** + * Set the stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * + * @param storedProcedureTableTypeParameterName the storedProcedureTableTypeParameterName value to set + * @return the AzureSqlSink object itself. + */ + public AzureSqlSink withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName) { + this.storedProcedureTableTypeParameterName = storedProcedureTableTypeParameterName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSource.java new file mode 100644 index 000000000000..3b0cdd0493a1 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlSource.java @@ -0,0 +1,129 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity Azure SQL source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("AzureSqlSource") +public class AzureSqlSource extends CopySource { + /** + * SQL reader query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "sqlReaderQuery") + private Object sqlReaderQuery; + + /** + * 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). + */ + @JsonProperty(value = "sqlReaderStoredProcedureName") + private Object sqlReaderStoredProcedureName; + + /** + * Value and type setting for stored procedure parameters. Example: + * "{Parameter1: {value: "1", type: "int"}}". + */ + @JsonProperty(value = "storedProcedureParameters") + private Map storedProcedureParameters; + + /** + * Which additional types to produce. + */ + @JsonProperty(value = "produceAdditionalTypes") + private Object produceAdditionalTypes; + + /** + * Get sQL reader query. Type: string (or Expression with resultType string). + * + * @return the sqlReaderQuery value + */ + public Object sqlReaderQuery() { + return this.sqlReaderQuery; + } + + /** + * Set sQL reader query. Type: string (or Expression with resultType string). + * + * @param sqlReaderQuery the sqlReaderQuery value to set + * @return the AzureSqlSource object itself. + */ + public AzureSqlSource withSqlReaderQuery(Object sqlReaderQuery) { + this.sqlReaderQuery = sqlReaderQuery; + return this; + } + + /** + * Get 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). + * + * @return the sqlReaderStoredProcedureName value + */ + public Object sqlReaderStoredProcedureName() { + return this.sqlReaderStoredProcedureName; + } + + /** + * Set 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). + * + * @param sqlReaderStoredProcedureName the sqlReaderStoredProcedureName value to set + * @return the AzureSqlSource object itself. + */ + public AzureSqlSource withSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName) { + this.sqlReaderStoredProcedureName = sqlReaderStoredProcedureName; + return this; + } + + /** + * Get value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * + * @return the storedProcedureParameters value + */ + public Map storedProcedureParameters() { + return this.storedProcedureParameters; + } + + /** + * Set value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * + * @param storedProcedureParameters the storedProcedureParameters value to set + * @return the AzureSqlSource object itself. + */ + public AzureSqlSource withStoredProcedureParameters(Map storedProcedureParameters) { + this.storedProcedureParameters = storedProcedureParameters; + return this; + } + + /** + * Get which additional types to produce. + * + * @return the produceAdditionalTypes value + */ + public Object produceAdditionalTypes() { + return this.produceAdditionalTypes; + } + + /** + * Set which additional types to produce. + * + * @param produceAdditionalTypes the produceAdditionalTypes value to set + * @return the AzureSqlSource object itself. + */ + public AzureSqlSource withProduceAdditionalTypes(Object produceAdditionalTypes) { + this.produceAdditionalTypes = produceAdditionalTypes; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlTableDataset.java index 99e2e4065598..a9ddd4150a30 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlTableDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/AzureSqlTableDataset.java @@ -25,7 +25,7 @@ public class AzureSqlTableDataset extends DatasetInner { * The table name of the Azure SQL database. Type: string (or Expression * with resultType string). */ - @JsonProperty(value = "typeProperties.tableName", required = true) + @JsonProperty(value = "typeProperties.tableName") private Object tableName; /** diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BlobSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BlobSink.java index 2fd98c95b848..68f97b00db2b 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BlobSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/BlobSink.java @@ -40,11 +40,10 @@ public class BlobSink extends CopySink { private Object blobWriterAddHeader; /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** * Get blob writer overwrite files. Type: boolean (or Expression with resultType boolean). @@ -107,21 +106,21 @@ public BlobSink withBlobWriterAddHeader(Object blobWriterAddHeader) { } /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the BlobSink object itself. */ - public BlobSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public BlobSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CassandraSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CassandraSource.java index 8fa32eba0b75..d9ae160fbf14 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CassandraSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CassandraSource.java @@ -32,12 +32,10 @@ public class CassandraSource extends CopySource { * Cassandra checks the specified number of Cassandra servers for data to * satisfy the read request. Must be one of * cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is - * case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', - * 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', - * 'LOCAL_SERIAL'. + * case-insensitive. */ @JsonProperty(value = "consistencyLevel") - private CassandraSourceReadConsistencyLevels consistencyLevel; + private Object consistencyLevel; /** * Get database query. Should be a SQL-92 query expression or Cassandra Query Language (CQL) command. Type: string (or Expression with resultType string). @@ -60,21 +58,21 @@ public CassandraSource withQuery(Object query) { } /** - * Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'. + * Get the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. * * @return the consistencyLevel value */ - public CassandraSourceReadConsistencyLevels consistencyLevel() { + public Object consistencyLevel() { return this.consistencyLevel; } /** - * Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. Possible values include: 'ALL', 'EACH_QUORUM', 'QUORUM', 'LOCAL_QUORUM', 'ONE', 'TWO', 'THREE', 'LOCAL_ONE', 'SERIAL', 'LOCAL_SERIAL'. + * Set the consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive. * * @param consistencyLevel the consistencyLevel value to set * @return the CassandraSource object itself. */ - public CassandraSource withConsistencyLevel(CassandraSourceReadConsistencyLevels consistencyLevel) { + public CassandraSource withConsistencyLevel(Object consistencyLevel) { this.consistencyLevel = consistencyLevel; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorReadSetting.java new file mode 100644 index 000000000000..0aa4405bebb8 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorReadSetting.java @@ -0,0 +1,97 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Connector read setting. + */ +public class ConnectorReadSetting { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * The read setting type. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * The maximum concurrent connection count for the source data store. Type: + * integer (or Expression with resultType integer). + */ + @JsonProperty(value = "maxConcurrentConnections") + private Object maxConcurrentConnections; + + /** + * Get unmatched properties from the message are deserialized this collection. + * + * @return the additionalProperties value + */ + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set unmatched properties from the message are deserialized this collection. + * + * @param additionalProperties the additionalProperties value to set + * @return the ConnectorReadSetting object itself. + */ + public ConnectorReadSetting withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get the read setting type. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set the read setting type. + * + * @param type the type value to set + * @return the ConnectorReadSetting object itself. + */ + public ConnectorReadSetting withType(String type) { + this.type = type; + return this; + } + + /** + * Get the maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * + * @return the maxConcurrentConnections value + */ + public Object maxConcurrentConnections() { + return this.maxConcurrentConnections; + } + + /** + * Set the maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * + * @param maxConcurrentConnections the maxConcurrentConnections value to set + * @return the ConnectorReadSetting object itself. + */ + public ConnectorReadSetting withMaxConcurrentConnections(Object maxConcurrentConnections) { + this.maxConcurrentConnections = maxConcurrentConnections; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorWriteSetting.java new file mode 100644 index 000000000000..f3ef13a13316 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ConnectorWriteSetting.java @@ -0,0 +1,123 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Connector write settings. + */ +public class ConnectorWriteSetting { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * The write setting type. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * The maximum concurrent connection count for the source data store. Type: + * integer (or Expression with resultType integer). + */ + @JsonProperty(value = "maxConcurrentConnections") + private Object maxConcurrentConnections; + + /** + * The type of copy behavior for copy sink. + */ + @JsonProperty(value = "copyBehavior") + private Object copyBehavior; + + /** + * Get unmatched properties from the message are deserialized this collection. + * + * @return the additionalProperties value + */ + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set unmatched properties from the message are deserialized this collection. + * + * @param additionalProperties the additionalProperties value to set + * @return the ConnectorWriteSetting object itself. + */ + public ConnectorWriteSetting withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get the write setting type. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set the write setting type. + * + * @param type the type value to set + * @return the ConnectorWriteSetting object itself. + */ + public ConnectorWriteSetting withType(String type) { + this.type = type; + return this; + } + + /** + * Get the maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * + * @return the maxConcurrentConnections value + */ + public Object maxConcurrentConnections() { + return this.maxConcurrentConnections; + } + + /** + * Set the maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer). + * + * @param maxConcurrentConnections the maxConcurrentConnections value to set + * @return the ConnectorWriteSetting object itself. + */ + public ConnectorWriteSetting withMaxConcurrentConnections(Object maxConcurrentConnections) { + this.maxConcurrentConnections = maxConcurrentConnections; + return this; + } + + /** + * Get the type of copy behavior for copy sink. + * + * @return the copyBehavior value + */ + public Object copyBehavior() { + return this.copyBehavior; + } + + /** + * Set the type of copy behavior for copy sink. + * + * @param copyBehavior the copyBehavior value to set + * @return the ConnectorWriteSetting object itself. + */ + public ConnectorWriteSetting withCopyBehavior(Object copyBehavior) { + this.copyBehavior = copyBehavior; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopyActivity.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopyActivity.java index 483fcfafb9e3..8dd3b1219468 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopyActivity.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/CopyActivity.java @@ -37,7 +37,7 @@ public class CopyActivity extends ExecutionActivity { * Copy activity translator. If not specified, tabular translator is used. */ @JsonProperty(value = "typeProperties.translator") - private CopyTranslator translator; + private Object translator; /** * Specifies whether to copy data via an interim staging. Default value is @@ -88,6 +88,12 @@ public class CopyActivity extends ExecutionActivity { @JsonProperty(value = "typeProperties.preserveRules") private List preserveRules; + /** + * Preserve rules. + */ + @JsonProperty(value = "typeProperties.preserve") + private List preserve; + /** * List of inputs for the activity. */ @@ -145,7 +151,7 @@ public CopyActivity withSink(CopySink sink) { * * @return the translator value */ - public CopyTranslator translator() { + public Object translator() { return this.translator; } @@ -155,7 +161,7 @@ public CopyTranslator translator() { * @param translator the translator value to set * @return the CopyActivity object itself. */ - public CopyActivity withTranslator(CopyTranslator translator) { + public CopyActivity withTranslator(Object translator) { this.translator = translator; return this; } @@ -300,6 +306,26 @@ public CopyActivity withPreserveRules(List preserveRules) { return this; } + /** + * Get preserve rules. + * + * @return the preserve value + */ + public List preserve() { + return this.preserve; + } + + /** + * Set preserve rules. + * + * @param preserve the preserve value to set + * @return the CopyActivity object itself. + */ + public CopyActivity withPreserve(List preserve) { + this.preserve = preserve; + return this; + } + /** * Get list of inputs for the activity. * 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 a2269fc24d4e..51fd5779d684 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 @@ -30,13 +30,17 @@ @JsonSubTypes.Type(name = "AzureDataLakeStoreSink", value = AzureDataLakeStoreSink.class), @JsonSubTypes.Type(name = "OracleSink", value = OracleSink.class), @JsonSubTypes.Type(name = "SqlDWSink", value = SqlDWSink.class), + @JsonSubTypes.Type(name = "AzureSqlSink", value = AzureSqlSink.class), + @JsonSubTypes.Type(name = "SqlServerSink", value = SqlServerSink.class), @JsonSubTypes.Type(name = "SqlSink", value = SqlSink.class), @JsonSubTypes.Type(name = "DocumentDbCollectionSink", value = DocumentDbCollectionSink.class), @JsonSubTypes.Type(name = "FileSystemSink", value = FileSystemSink.class), @JsonSubTypes.Type(name = "BlobSink", value = BlobSink.class), + @JsonSubTypes.Type(name = "ParquetSink", value = ParquetSink.class), @JsonSubTypes.Type(name = "AzureTableSink", value = AzureTableSink.class), @JsonSubTypes.Type(name = "AzureQueueSink", value = AzureQueueSink.class), - @JsonSubTypes.Type(name = "SapCloudForCustomerSink", value = SapCloudForCustomerSink.class) + @JsonSubTypes.Type(name = "SapCloudForCustomerSink", value = SapCloudForCustomerSink.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 ce1e8ba457ff..e9728fad4076 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 @@ -63,15 +63,20 @@ @JsonSubTypes.Type(name = "MongoDbSource", value = MongoDbSource.class), @JsonSubTypes.Type(name = "CassandraSource", value = CassandraSource.class), @JsonSubTypes.Type(name = "WebSource", value = WebSource.class), + @JsonSubTypes.Type(name = "TeradataSource", value = TeradataSource.class), @JsonSubTypes.Type(name = "OracleSource", value = OracleSource.class), @JsonSubTypes.Type(name = "AzureDataExplorerSource", value = AzureDataExplorerSource.class), @JsonSubTypes.Type(name = "AzureMySqlSource", value = AzureMySqlSource.class), @JsonSubTypes.Type(name = "HdfsSource", value = HdfsSource.class), @JsonSubTypes.Type(name = "FileSystemSource", value = FileSystemSource.class), @JsonSubTypes.Type(name = "SqlDWSource", value = SqlDWSource.class), + @JsonSubTypes.Type(name = "AzureSqlSource", value = AzureSqlSource.class), + @JsonSubTypes.Type(name = "SqlServerSource", value = SqlServerSource.class), @JsonSubTypes.Type(name = "SqlSource", value = SqlSource.class), @JsonSubTypes.Type(name = "RestSource", value = RestSource.class), + @JsonSubTypes.Type(name = "SapTableSource", value = SapTableSource.class), @JsonSubTypes.Type(name = "SapOpenHubSource", value = SapOpenHubSource.class), + @JsonSubTypes.Type(name = "SapHanaSource", value = SapHanaSource.class), @JsonSubTypes.Type(name = "SapEccSource", value = SapEccSource.class), @JsonSubTypes.Type(name = "SapCloudForCustomerSource", value = SapCloudForCustomerSource.class), @JsonSubTypes.Type(name = "SalesforceSource", value = SalesforceSource.class), @@ -79,7 +84,9 @@ @JsonSubTypes.Type(name = "DynamicsSource", value = DynamicsSource.class), @JsonSubTypes.Type(name = "DocumentDbCollectionSource", value = DocumentDbCollectionSource.class), @JsonSubTypes.Type(name = "BlobSource", value = BlobSource.class), - @JsonSubTypes.Type(name = "AzureTableSource", value = AzureTableSource.class) + @JsonSubTypes.Type(name = "AzureTableSource", value = AzureTableSource.class), + @JsonSubTypes.Type(name = "DelimitedTextSource", value = DelimitedTextSource.class), + @JsonSubTypes.Type(name = "ParquetSource", value = ParquetSource.class) }) public class CopySource { /** diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetDeflateCompression.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetDeflateCompression.java index b461904c2160..6b45f98d3cdf 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetDeflateCompression.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetDeflateCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("Deflate") public class DatasetDeflateCompression extends DatasetCompression { /** - * The Deflate compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The Deflate compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the Deflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the Deflate compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the Deflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the Deflate compression level. * * @param level the level value to set * @return the DatasetDeflateCompression object itself. */ - public DatasetDeflateCompression withLevel(DatasetCompressionLevel level) { + public DatasetDeflateCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetGZipCompression.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetGZipCompression.java index e717fb6d12b1..1c822f1a0908 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetGZipCompression.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetGZipCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("GZip") public class DatasetGZipCompression extends DatasetCompression { /** - * The GZip compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The GZip compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the GZip compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the GZip compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the GZip compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the GZip compression level. * * @param level the level value to set * @return the DatasetGZipCompression object itself. */ - public DatasetGZipCompression withLevel(DatasetCompressionLevel level) { + public DatasetGZipCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetLocation.java new file mode 100644 index 000000000000..2d26819d5cc3 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetLocation.java @@ -0,0 +1,124 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Dataset location. + */ +public class DatasetLocation { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * Type of dataset storage location. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * Specify the folder path of dataset. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "folderPath") + private Object folderPath; + + /** + * Specify the file name of dataset. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "fileName") + private Object fileName; + + /** + * Get unmatched properties from the message are deserialized this collection. + * + * @return the additionalProperties value + */ + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set unmatched properties from the message are deserialized this collection. + * + * @param additionalProperties the additionalProperties value to set + * @return the DatasetLocation object itself. + */ + public DatasetLocation withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get type of dataset storage location. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set type of dataset storage location. + * + * @param type the type value to set + * @return the DatasetLocation object itself. + */ + public DatasetLocation withType(String type) { + this.type = type; + return this; + } + + /** + * Get specify the folder path of dataset. Type: string (or Expression with resultType string). + * + * @return the folderPath value + */ + public Object folderPath() { + return this.folderPath; + } + + /** + * Set specify the folder path of dataset. Type: string (or Expression with resultType string). + * + * @param folderPath the folderPath value to set + * @return the DatasetLocation object itself. + */ + public DatasetLocation withFolderPath(Object folderPath) { + this.folderPath = folderPath; + return this; + } + + /** + * Get specify the file name of dataset. Type: string (or Expression with resultType string). + * + * @return the fileName value + */ + public Object fileName() { + return this.fileName; + } + + /** + * Set specify the file name of dataset. Type: string (or Expression with resultType string). + * + * @param fileName the fileName value to set + * @return the DatasetLocation object itself. + */ + public DatasetLocation withFileName(Object fileName) { + this.fileName = fileName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetZipDeflateCompression.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetZipDeflateCompression.java index 5e492d61d33a..283f00aad5b1 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetZipDeflateCompression.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DatasetZipDeflateCompression.java @@ -19,28 +19,27 @@ @JsonTypeName("ZipDeflate") public class DatasetZipDeflateCompression extends DatasetCompression { /** - * The ZipDeflate compression level. Possible values include: 'Optimal', - * 'Fastest'. + * The ZipDeflate compression level. */ @JsonProperty(value = "level") - private DatasetCompressionLevel level; + private Object level; /** - * Get the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Get the ZipDeflate compression level. * * @return the level value */ - public DatasetCompressionLevel level() { + public Object level() { return this.level; } /** - * Set the ZipDeflate compression level. Possible values include: 'Optimal', 'Fastest'. + * Set the ZipDeflate compression level. * * @param level the level value to set * @return the DatasetZipDeflateCompression object itself. */ - public DatasetZipDeflateCompression withLevel(DatasetCompressionLevel level) { + public DatasetZipDeflateCompression withLevel(Object level) { this.level = level; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextDataset.java new file mode 100644 index 000000000000..4f9d00c77983 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextDataset.java @@ -0,0 +1,295 @@ +/** + * 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; + +/** + * Delimited text dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("DelimitedText") +@JsonFlatten +public class DelimitedTextDataset extends DatasetInner { + /** + * The location of the delimited text storage. + */ + @JsonProperty(value = "typeProperties.location", required = true) + private DatasetLocation location; + + /** + * The column delimiter. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.columnDelimiter") + private Object columnDelimiter; + + /** + * The row delimiter. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.rowDelimiter") + private Object rowDelimiter; + + /** + * The code page name of the preferred encoding. If miss, the default value + * is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name + * column of the table in the following link to set supported values: + * https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.encodingName") + private Object encodingName; + + /** + * The compressionCodec property. + */ + @JsonProperty(value = "typeProperties.compressionCodec") + private Object compressionCodec; + + /** + * The data compression method used for DelimitedText. + */ + @JsonProperty(value = "typeProperties.compressionLevel") + private Object compressionLevel; + + /** + * The quote character. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.quoteChar") + private Object quoteChar; + + /** + * The escape character. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.escapeChar") + private Object escapeChar; + + /** + * When used as input, treat the first row of data as headers. When used as + * output,write the headers into the output as the first row of data. The + * default value is false. Type: boolean (or Expression with resultType + * boolean). + */ + @JsonProperty(value = "typeProperties.firstRowAsHeader") + private Object firstRowAsHeader; + + /** + * The null value string. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.nullValue") + private Object nullValue; + + /** + * Get the location of the delimited text storage. + * + * @return the location value + */ + public DatasetLocation location() { + return this.location; + } + + /** + * Set the location of the delimited text storage. + * + * @param location the location value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withLocation(DatasetLocation location) { + this.location = location; + return this; + } + + /** + * Get the column delimiter. Type: string (or Expression with resultType string). + * + * @return the columnDelimiter value + */ + public Object columnDelimiter() { + return this.columnDelimiter; + } + + /** + * Set the column delimiter. Type: string (or Expression with resultType string). + * + * @param columnDelimiter the columnDelimiter value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withColumnDelimiter(Object columnDelimiter) { + this.columnDelimiter = columnDelimiter; + return this; + } + + /** + * Get the row delimiter. Type: string (or Expression with resultType string). + * + * @return the rowDelimiter value + */ + public Object rowDelimiter() { + return this.rowDelimiter; + } + + /** + * Set the row delimiter. Type: string (or Expression with resultType string). + * + * @param rowDelimiter the rowDelimiter value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withRowDelimiter(Object rowDelimiter) { + this.rowDelimiter = rowDelimiter; + return this; + } + + /** + * Get the code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + * + * @return the encodingName value + */ + public Object encodingName() { + return this.encodingName; + } + + /** + * Set the code page name of the preferred encoding. If miss, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string). + * + * @param encodingName the encodingName value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withEncodingName(Object encodingName) { + this.encodingName = encodingName; + return this; + } + + /** + * Get the compressionCodec value. + * + * @return the compressionCodec value + */ + public Object compressionCodec() { + return this.compressionCodec; + } + + /** + * Set the compressionCodec value. + * + * @param compressionCodec the compressionCodec value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withCompressionCodec(Object compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + + /** + * Get the data compression method used for DelimitedText. + * + * @return the compressionLevel value + */ + public Object compressionLevel() { + return this.compressionLevel; + } + + /** + * Set the data compression method used for DelimitedText. + * + * @param compressionLevel the compressionLevel value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withCompressionLevel(Object compressionLevel) { + this.compressionLevel = compressionLevel; + return this; + } + + /** + * Get the quote character. Type: string (or Expression with resultType string). + * + * @return the quoteChar value + */ + public Object quoteChar() { + return this.quoteChar; + } + + /** + * Set the quote character. Type: string (or Expression with resultType string). + * + * @param quoteChar the quoteChar value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withQuoteChar(Object quoteChar) { + this.quoteChar = quoteChar; + return this; + } + + /** + * Get the escape character. Type: string (or Expression with resultType string). + * + * @return the escapeChar value + */ + public Object escapeChar() { + return this.escapeChar; + } + + /** + * Set the escape character. Type: string (or Expression with resultType string). + * + * @param escapeChar the escapeChar value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withEscapeChar(Object escapeChar) { + this.escapeChar = escapeChar; + return this; + } + + /** + * Get when used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + * + * @return the firstRowAsHeader value + */ + public Object firstRowAsHeader() { + return this.firstRowAsHeader; + } + + /** + * Set when used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean). + * + * @param firstRowAsHeader the firstRowAsHeader value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withFirstRowAsHeader(Object firstRowAsHeader) { + this.firstRowAsHeader = firstRowAsHeader; + return this; + } + + /** + * Get the null value string. Type: string (or Expression with resultType string). + * + * @return the nullValue value + */ + public Object nullValue() { + return this.nullValue; + } + + /** + * Set the null value string. Type: string (or Expression with resultType string). + * + * @param nullValue the nullValue value to set + * @return the DelimitedTextDataset object itself. + */ + public DelimitedTextDataset withNullValue(Object nullValue) { + this.nullValue = nullValue; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextReadSetting.java new file mode 100644 index 000000000000..8f864fcbee18 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextReadSetting.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 com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Delimited text read settings. + */ +public class DelimitedTextReadSetting extends FormatReadSetting { + /** + * Indicates the number of non-empty rows to skip when reading data from + * input files. Type: integer (or Expression with resultType integer). + */ + @JsonProperty(value = "skipLineCount") + private Object skipLineCount; + + /** + * Get indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). + * + * @return the skipLineCount value + */ + public Object skipLineCount() { + return this.skipLineCount; + } + + /** + * Set indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). + * + * @param skipLineCount the skipLineCount value to set + * @return the DelimitedTextReadSetting object itself. + */ + public DelimitedTextReadSetting withSkipLineCount(Object skipLineCount) { + this.skipLineCount = skipLineCount; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSink.java new file mode 100644 index 000000000000..ced0de2546c2 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSink.java @@ -0,0 +1,73 @@ +/** + * 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 DelimitedText sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("DelimitedTextSink") +public class DelimitedTextSink extends CopySink { + /** + * DelimitedText store settings. + */ + @JsonProperty(value = "storeSettings") + private ConnectorWriteSetting storeSettings; + + /** + * DelimitedText format settings. + */ + @JsonProperty(value = "formatSettings") + private DelimitedTextWriteSetting formatSettings; + + /** + * Get delimitedText store settings. + * + * @return the storeSettings value + */ + public ConnectorWriteSetting storeSettings() { + return this.storeSettings; + } + + /** + * Set delimitedText store settings. + * + * @param storeSettings the storeSettings value to set + * @return the DelimitedTextSink object itself. + */ + public DelimitedTextSink withStoreSettings(ConnectorWriteSetting storeSettings) { + this.storeSettings = storeSettings; + return this; + } + + /** + * Get delimitedText format settings. + * + * @return the formatSettings value + */ + public DelimitedTextWriteSetting formatSettings() { + return this.formatSettings; + } + + /** + * Set delimitedText format settings. + * + * @param formatSettings the formatSettings value to set + * @return the DelimitedTextSink object itself. + */ + public DelimitedTextSink withFormatSettings(DelimitedTextWriteSetting formatSettings) { + this.formatSettings = formatSettings; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSource.java new file mode 100644 index 000000000000..e0b7bfc47351 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextSource.java @@ -0,0 +1,73 @@ +/** + * 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 DelimitedText source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("DelimitedTextSource") +public class DelimitedTextSource extends CopySource { + /** + * DelimitedText store settings. + */ + @JsonProperty(value = "storeSettings") + private ConnectorReadSetting storeSettings; + + /** + * DelimitedText format settings. + */ + @JsonProperty(value = "formatSettings") + private DelimitedTextReadSetting formatSettings; + + /** + * Get delimitedText store settings. + * + * @return the storeSettings value + */ + public ConnectorReadSetting storeSettings() { + return this.storeSettings; + } + + /** + * Set delimitedText store settings. + * + * @param storeSettings the storeSettings value to set + * @return the DelimitedTextSource object itself. + */ + public DelimitedTextSource withStoreSettings(ConnectorReadSetting storeSettings) { + this.storeSettings = storeSettings; + return this; + } + + /** + * Get delimitedText format settings. + * + * @return the formatSettings value + */ + public DelimitedTextReadSetting formatSettings() { + return this.formatSettings; + } + + /** + * Set delimitedText format settings. + * + * @param formatSettings the formatSettings value to set + * @return the DelimitedTextSource object itself. + */ + public DelimitedTextSource withFormatSettings(DelimitedTextReadSetting formatSettings) { + this.formatSettings = formatSettings; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextWriteSetting.java new file mode 100644 index 000000000000..477f03751272 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DelimitedTextWriteSetting.java @@ -0,0 +1,71 @@ +/** + * 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; + +/** + * Delimited text write settings. + */ +public class DelimitedTextWriteSetting extends FormatWriteSetting { + /** + * Indicates whether string values should always be enclosed with quotes. + * Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "quoteAllText") + private Object quoteAllText; + + /** + * The file extension used to create the files. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "fileExtension", required = true) + private Object fileExtension; + + /** + * Get indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). + * + * @return the quoteAllText value + */ + public Object quoteAllText() { + return this.quoteAllText; + } + + /** + * Set indicates whether string values should always be enclosed with quotes. Type: boolean (or Expression with resultType boolean). + * + * @param quoteAllText the quoteAllText value to set + * @return the DelimitedTextWriteSetting object itself. + */ + public DelimitedTextWriteSetting withQuoteAllText(Object quoteAllText) { + this.quoteAllText = quoteAllText; + return this; + } + + /** + * Get the file extension used to create the files. Type: string (or Expression with resultType string). + * + * @return the fileExtension value + */ + public Object fileExtension() { + return this.fileExtension; + } + + /** + * Set the file extension used to create the files. Type: string (or Expression with resultType string). + * + * @param fileExtension the fileExtension value to set + * @return the DelimitedTextWriteSetting object itself. + */ + public DelimitedTextWriteSetting withFileExtension(Object fileExtension) { + this.fileExtension = fileExtension; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DocumentDbCollectionSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DocumentDbCollectionSink.java index 9f7ccd00883a..96736c653b75 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DocumentDbCollectionSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DocumentDbCollectionSink.java @@ -25,6 +25,13 @@ public class DocumentDbCollectionSink extends CopySink { @JsonProperty(value = "nestingSeparator") private Object nestingSeparator; + /** + * Describes how to write data to Azure Cosmos DB. Allowed values: insert + * and upsert. + */ + @JsonProperty(value = "writeBehavior") + private Object writeBehavior; + /** * Get nested properties separator. Default is . (dot). Type: string (or Expression with resultType string). * @@ -45,4 +52,24 @@ public DocumentDbCollectionSink withNestingSeparator(Object nestingSeparator) { return this; } + /** + * Get describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert. + * + * @return the writeBehavior value + */ + public Object writeBehavior() { + return this.writeBehavior; + } + + /** + * Set describes how to write data to Azure Cosmos DB. Allowed values: insert and upsert. + * + * @param writeBehavior the writeBehavior value to set + * @return the DocumentDbCollectionSink object itself. + */ + public DocumentDbCollectionSink withWriteBehavior(Object writeBehavior) { + this.writeBehavior = writeBehavior; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsAXResourceDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsAXResourceDataset.java index 66b38f87f3fc..39a213096261 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsAXResourceDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsAXResourceDataset.java @@ -26,14 +26,14 @@ public class DynamicsAXResourceDataset extends DatasetInner { * with resultType string). */ @JsonProperty(value = "typeProperties.path", required = true) - private String path; + private Object path; /** * Get the path of the Dynamics AX OData entity. Type: string (or Expression with resultType string). * * @return the path value */ - public String path() { + public Object path() { return this.path; } @@ -43,7 +43,7 @@ public String path() { * @param path the path value to set * @return the DynamicsAXResourceDataset object itself. */ - public DynamicsAXResourceDataset withPath(String path) { + public DynamicsAXResourceDataset withPath(Object path) { this.path = path; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsSink.java index 0b6398b4448b..a27865158d39 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DynamicsSink.java @@ -22,7 +22,7 @@ public class DynamicsSink extends CopySink { * The write behavior for the operation. */ @JsonProperty(value = "writeBehavior", required = true) - private String writeBehavior; + private Object writeBehavior; /** * The flag indicating whether ignore null values from input dataset @@ -36,7 +36,7 @@ public class DynamicsSink extends CopySink { * Creates an instance of DynamicsSink class. */ public DynamicsSink() { - writeBehavior = "Upsert"; + writeBehavior = Upsert; } /** @@ -44,7 +44,7 @@ public DynamicsSink() { * * @return the writeBehavior value */ - public String writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } @@ -54,7 +54,7 @@ public String writeBehavior() { * @param writeBehavior the writeBehavior value to set * @return the DynamicsSink object itself. */ - public DynamicsSink withWriteBehavior(String writeBehavior) { + public DynamicsSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/EntityReference.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/EntityReference.java new file mode 100644 index 000000000000..5c960c87c90c --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/EntityReference.java @@ -0,0 +1,70 @@ +/** + * 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 entity reference. + */ +public class EntityReference { + /** + * The type of this referenced entity. Possible values include: + * 'IntegrationRuntimeReference', 'LinkedServiceReference'. + */ + @JsonProperty(value = "type") + private IntegrationRuntimeEntityReferenceType type; + + /** + * The name of this referenced entity. + */ + @JsonProperty(value = "referenceName") + private String referenceName; + + /** + * Get the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'. + * + * @return the type value + */ + public IntegrationRuntimeEntityReferenceType type() { + return this.type; + } + + /** + * Set the type of this referenced entity. Possible values include: 'IntegrationRuntimeReference', 'LinkedServiceReference'. + * + * @param type the type value to set + * @return the EntityReference object itself. + */ + public EntityReference withType(IntegrationRuntimeEntityReferenceType type) { + this.type = type; + return this; + } + + /** + * Get the name of this referenced entity. + * + * @return the referenceName value + */ + public String referenceName() { + return this.referenceName; + } + + /** + * Set the name of this referenced entity. + * + * @param referenceName the referenceName value to set + * @return the EntityReference object itself. + */ + public EntityReference withReferenceName(String referenceName) { + this.referenceName = referenceName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerLocation.java new file mode 100644 index 000000000000..cc266ac17167 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerLocation.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * The location of file server dataset. + */ +public class FileServerLocation extends DatasetLocation { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerReadSetting.java new file mode 100644 index 000000000000..e8224cc83ee9 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerReadSetting.java @@ -0,0 +1,178 @@ +/** + * 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; + +/** + * File server read settings. + */ +public class FileServerReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * FileServer wildcardFolderPath. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * FileServer wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get fileServer wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set fileServer wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get fileServer wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set fileServer wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the FileServerReadSetting object itself. + */ + public FileServerReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerWriteSetting.java new file mode 100644 index 000000000000..f4d27b3b18fa --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileServerWriteSetting.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * File server write settings. + */ +public class FileServerWriteSetting extends ConnectorWriteSetting { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileSystemSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileSystemSink.java index 0f149a04055f..d179c14d5146 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileSystemSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FileSystemSink.java @@ -19,28 +19,27 @@ @JsonTypeName("FileSystemSink") public class FileSystemSink extends CopySink { /** - * The type of copy behavior for copy sink. Possible values include: - * 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * The type of copy behavior for copy sink. */ @JsonProperty(value = "copyBehavior") - private CopyBehaviorType copyBehavior; + private Object copyBehavior; /** - * Get the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Get the type of copy behavior for copy sink. * * @return the copyBehavior value */ - public CopyBehaviorType copyBehavior() { + public Object copyBehavior() { return this.copyBehavior; } /** - * Set the type of copy behavior for copy sink. Possible values include: 'PreserveHierarchy', 'FlattenHierarchy', 'MergeFiles'. + * Set the type of copy behavior for copy sink. * * @param copyBehavior the copyBehavior value to set * @return the FileSystemSink object itself. */ - public FileSystemSink withCopyBehavior(CopyBehaviorType copyBehavior) { + public FileSystemSink withCopyBehavior(Object copyBehavior) { this.copyBehavior = copyBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatReadSetting.java new file mode 100644 index 000000000000..006387e79e4a --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatReadSetting.java @@ -0,0 +1,70 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Format read settings. + */ +public class FormatReadSetting { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * The read setting type. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * Get unmatched properties from the message are deserialized this collection. + * + * @return the additionalProperties value + */ + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set unmatched properties from the message are deserialized this collection. + * + * @param additionalProperties the additionalProperties value to set + * @return the FormatReadSetting object itself. + */ + public FormatReadSetting withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get the read setting type. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set the read setting type. + * + * @param type the type value to set + * @return the FormatReadSetting object itself. + */ + public FormatReadSetting withType(String type) { + this.type = type; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatWriteSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatWriteSetting.java new file mode 100644 index 000000000000..fbbd182d7cba --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FormatWriteSetting.java @@ -0,0 +1,70 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Format write settings. + */ +public class FormatWriteSetting { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * The write setting type. + */ + @JsonProperty(value = "type", required = true) + private String type; + + /** + * Get unmatched properties from the message are deserialized this collection. + * + * @return the additionalProperties value + */ + public Map additionalProperties() { + return this.additionalProperties; + } + + /** + * Set unmatched properties from the message are deserialized this collection. + * + * @param additionalProperties the additionalProperties value to set + * @return the FormatWriteSetting object itself. + */ + public FormatWriteSetting withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * Get the write setting type. + * + * @return the type value + */ + public String type() { + return this.type; + } + + /** + * Set the write setting type. + * + * @param type the type value to set + * @return the FormatWriteSetting object itself. + */ + public FormatWriteSetting withType(String type) { + this.type = type; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpReadSetting.java new file mode 100644 index 000000000000..8a853dc4fb74 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpReadSetting.java @@ -0,0 +1,124 @@ +/** + * 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; + +/** + * Ftp read settings. + */ +public class FtpReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * Ftp wildcardFolderPath. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * Ftp wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Specify whether to use binary transfer mode for FTP stores. + */ + @JsonProperty(value = "useBinaryTransfer") + private Boolean useBinaryTransfer; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the FtpReadSetting object itself. + */ + public FtpReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get ftp wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set ftp wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the FtpReadSetting object itself. + */ + public FtpReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get ftp wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set ftp wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the FtpReadSetting object itself. + */ + public FtpReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get specify whether to use binary transfer mode for FTP stores. + * + * @return the useBinaryTransfer value + */ + public Boolean useBinaryTransfer() { + return this.useBinaryTransfer; + } + + /** + * Set specify whether to use binary transfer mode for FTP stores. + * + * @param useBinaryTransfer the useBinaryTransfer value to set + * @return the FtpReadSetting object itself. + */ + public FtpReadSetting withUseBinaryTransfer(Boolean useBinaryTransfer) { + this.useBinaryTransfer = useBinaryTransfer; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpServerLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpServerLocation.java new file mode 100644 index 000000000000..51b51998bf85 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/FtpServerLocation.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * The location of ftp server dataset. + */ +public class FtpServerLocation extends DatasetLocation { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java index 135da052ddfd..2477cc22965e 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java @@ -69,6 +69,13 @@ public class HDInsightLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.isEspEnabled") private Object isEspEnabled; + /** + * Specify the FileSystem if the main storage for the HDInsight is ADLS + * Gen2. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.fileSystem") + private Object fileSystem; + /** * Get hDInsight cluster URI. Type: string (or Expression with resultType string). * @@ -209,4 +216,24 @@ public HDInsightLinkedService withIsEspEnabled(Object isEspEnabled) { return this; } + /** + * Get specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). + * + * @return the fileSystem value + */ + public Object fileSystem() { + return this.fileSystem; + } + + /** + * Set specify the FileSystem if the main storage for the HDInsight is ADLS Gen2. Type: string (or Expression with resultType string). + * + * @param fileSystem the fileSystem value to set + * @return the HDInsightLinkedService object itself. + */ + public HDInsightLinkedService withFileSystem(Object fileSystem) { + this.fileSystem = fileSystem; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightOnDemandLinkedService.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightOnDemandLinkedService.java index d6eac80eaea7..d4237dd46878 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightOnDemandLinkedService.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightOnDemandLinkedService.java @@ -238,6 +238,21 @@ public class HDInsightOnDemandLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.scriptActions") private List scriptActions; + /** + * The ARM resource ID for the vNet to which the cluster should be joined + * after creation. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.virtualNetworkId") + private Object virtualNetworkId; + + /** + * The ARM resource ID for the subnet in the vNet. If virtualNetworkId was + * specified, then this property is required. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "typeProperties.subnetName") + private Object subnetName; + /** * Get number of worker/data nodes in the cluster. Suggestion value: 4. Type: string (or Expression with resultType string). * @@ -858,4 +873,44 @@ public HDInsightOnDemandLinkedService withScriptActions(List scrip return this; } + /** + * Get the ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). + * + * @return the virtualNetworkId value + */ + public Object virtualNetworkId() { + return this.virtualNetworkId; + } + + /** + * Set the ARM resource ID for the vNet to which the cluster should be joined after creation. Type: string (or Expression with resultType string). + * + * @param virtualNetworkId the virtualNetworkId value to set + * @return the HDInsightOnDemandLinkedService object itself. + */ + public HDInsightOnDemandLinkedService withVirtualNetworkId(Object virtualNetworkId) { + this.virtualNetworkId = virtualNetworkId; + return this; + } + + /** + * Get the ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). + * + * @return the subnetName value + */ + public Object subnetName() { + return this.subnetName; + } + + /** + * Set the ARM resource ID for the subnet in the vNet. If virtualNetworkId was specified, then this property is required. Type: string (or Expression with resultType string). + * + * @param subnetName the subnetName value to set + * @return the HDInsightOnDemandLinkedService object itself. + */ + public HDInsightOnDemandLinkedService withSubnetName(Object subnetName) { + this.subnetName = subnetName; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsLocation.java new file mode 100644 index 000000000000..5ef4379001a4 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsLocation.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * The location of HDFS. + */ +public class HdfsLocation extends DatasetLocation { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsReadSetting.java new file mode 100644 index 000000000000..22521b0a0d60 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HdfsReadSetting.java @@ -0,0 +1,204 @@ +/** + * 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; + +/** + * HDFS read settings. + */ +public class HdfsReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * HDFS wildcardFolderPath. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * HDFS wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Specifies Distcp-related settings. + */ + @JsonProperty(value = "distcpSettings") + private DistcpSettings distcpSettings; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get hDFS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set hDFS wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get hDFS wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set hDFS wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get indicates whether to enable partition discovery. + * + * @return the enablePartitionDiscovery value + */ + public Boolean enablePartitionDiscovery() { + return this.enablePartitionDiscovery; + } + + /** + * Set indicates whether to enable partition discovery. + * + * @param enablePartitionDiscovery the enablePartitionDiscovery value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + + /** + * Get specifies Distcp-related settings. + * + * @return the distcpSettings value + */ + public DistcpSettings distcpSettings() { + return this.distcpSettings; + } + + /** + * Set specifies Distcp-related settings. + * + * @param distcpSettings the distcpSettings value to set + * @return the HdfsReadSetting object itself. + */ + public HdfsReadSetting withDistcpSettings(DistcpSettings distcpSettings) { + this.distcpSettings = distcpSettings; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpReadSetting.java new file mode 100644 index 000000000000..6827235b26f0 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpReadSetting.java @@ -0,0 +1,125 @@ +/** + * 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; + +/** + * Sftp read settings. + */ +public class HttpReadSetting extends ConnectorReadSetting { + /** + * The HTTP method used to call the RESTful API. The default is GET. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestMethod") + private Object requestMethod; + + /** + * The HTTP request body to the RESTful API if requestMethod is POST. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "requestBody") + private Object requestBody; + + /** + * The additional HTTP headers in the request to the RESTful API. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "additionalHeaders") + private Object additionalHeaders; + + /** + * Specifies the timeout for a HTTP client to get HTTP response from HTTP + * server. + */ + @JsonProperty(value = "requestTimeout") + private Object requestTimeout; + + /** + * Get the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @return the requestMethod value + */ + public Object requestMethod() { + return this.requestMethod; + } + + /** + * Set the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). + * + * @param requestMethod the requestMethod value to set + * @return the HttpReadSetting object itself. + */ + public HttpReadSetting withRequestMethod(Object requestMethod) { + this.requestMethod = requestMethod; + return this; + } + + /** + * Get the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @return the requestBody value + */ + public Object requestBody() { + return this.requestBody; + } + + /** + * Set the HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string). + * + * @param requestBody the requestBody value to set + * @return the HttpReadSetting object itself. + */ + public HttpReadSetting withRequestBody(Object requestBody) { + this.requestBody = requestBody; + return this; + } + + /** + * Get the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @return the additionalHeaders value + */ + public Object additionalHeaders() { + return this.additionalHeaders; + } + + /** + * Set the additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string). + * + * @param additionalHeaders the additionalHeaders value to set + * @return the HttpReadSetting object itself. + */ + public HttpReadSetting withAdditionalHeaders(Object additionalHeaders) { + this.additionalHeaders = additionalHeaders; + return this; + } + + /** + * Get specifies the timeout for a HTTP client to get HTTP response from HTTP server. + * + * @return the requestTimeout value + */ + public Object requestTimeout() { + return this.requestTimeout; + } + + /** + * Set specifies the timeout for a HTTP client to get HTTP response from HTTP server. + * + * @param requestTimeout the requestTimeout value to set + * @return the HttpReadSetting object itself. + */ + public HttpReadSetting withRequestTimeout(Object requestTimeout) { + this.requestTimeout = requestTimeout; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpServerLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpServerLocation.java new file mode 100644 index 000000000000..a222834b808b --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HttpServerLocation.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 com.fasterxml.jackson.annotation.JsonProperty; + +/** + * The location of http server. + */ +public class HttpServerLocation extends DatasetLocation { + /** + * Specify the relativeUrl of http server. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "relativeUrl") + private Object relativeUrl; + + /** + * Get specify the relativeUrl of http server. Type: string (or Expression with resultType string). + * + * @return the relativeUrl value + */ + public Object relativeUrl() { + return this.relativeUrl; + } + + /** + * Set specify the relativeUrl of http server. Type: string (or Expression with resultType string). + * + * @param relativeUrl the relativeUrl value to set + * @return the HttpServerLocation object itself. + */ + public HttpServerLocation withRelativeUrl(Object relativeUrl) { + this.relativeUrl = relativeUrl; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeDataProxyProperties.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeDataProxyProperties.java new file mode 100644 index 000000000000..39cd230b60e0 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeDataProxyProperties.java @@ -0,0 +1,95 @@ +/** + * 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; + +/** + * Data proxy properties for a managed dedicated integration runtime. + */ +public class IntegrationRuntimeDataProxyProperties { + /** + * The self-hosted integration runtime reference. + */ + @JsonProperty(value = "connectVia") + private EntityReference connectVia; + + /** + * The staging linked service reference. + */ + @JsonProperty(value = "stagingLinkedService") + private EntityReference stagingLinkedService; + + /** + * The path to contain the staged data in the Blob storage. + */ + @JsonProperty(value = "path") + private String path; + + /** + * Get the self-hosted integration runtime reference. + * + * @return the connectVia value + */ + public EntityReference connectVia() { + return this.connectVia; + } + + /** + * Set the self-hosted integration runtime reference. + * + * @param connectVia the connectVia value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withConnectVia(EntityReference connectVia) { + this.connectVia = connectVia; + return this; + } + + /** + * Get the staging linked service reference. + * + * @return the stagingLinkedService value + */ + public EntityReference stagingLinkedService() { + return this.stagingLinkedService; + } + + /** + * Set the staging linked service reference. + * + * @param stagingLinkedService the stagingLinkedService value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withStagingLinkedService(EntityReference stagingLinkedService) { + this.stagingLinkedService = stagingLinkedService; + return this; + } + + /** + * Get the path to contain the staged data in the Blob storage. + * + * @return the path value + */ + public String path() { + return this.path; + } + + /** + * Set the path to contain the staged data in the Blob storage. + * + * @param path the path value to set + * @return the IntegrationRuntimeDataProxyProperties object itself. + */ + public IntegrationRuntimeDataProxyProperties withPath(String path) { + this.path = path; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeEntityReferenceType.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeEntityReferenceType.java new file mode 100644 index 000000000000..a8df23cc9570 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeEntityReferenceType.java @@ -0,0 +1,41 @@ +/** + * 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 IntegrationRuntimeEntityReferenceType. + */ +public final class IntegrationRuntimeEntityReferenceType extends ExpandableStringEnum { + /** Static value IntegrationRuntimeReference for IntegrationRuntimeEntityReferenceType. */ + public static final IntegrationRuntimeEntityReferenceType INTEGRATION_RUNTIME_REFERENCE = fromString("IntegrationRuntimeReference"); + + /** Static value LinkedServiceReference for IntegrationRuntimeEntityReferenceType. */ + public static final IntegrationRuntimeEntityReferenceType LINKED_SERVICE_REFERENCE = fromString("LinkedServiceReference"); + + /** + * Creates or finds a IntegrationRuntimeEntityReferenceType from its string representation. + * @param name a name to look for + * @return the corresponding IntegrationRuntimeEntityReferenceType + */ + @JsonCreator + public static IntegrationRuntimeEntityReferenceType fromString(String name) { + return fromString(name, IntegrationRuntimeEntityReferenceType.class); + } + + /** + * @return known IntegrationRuntimeEntityReferenceType values + */ + public static Collection values() { + return values(IntegrationRuntimeEntityReferenceType.class); + } +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeSsisProperties.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeSsisProperties.java index 1a52c98111c0..2b58b57d2abc 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeSsisProperties.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/IntegrationRuntimeSsisProperties.java @@ -41,6 +41,12 @@ public class IntegrationRuntimeSsisProperties { @JsonProperty(value = "customSetupScriptProperties") private IntegrationRuntimeCustomSetupScriptProperties customSetupScriptProperties; + /** + * Data proxy properties for a managed dedicated integration runtime. + */ + @JsonProperty(value = "dataProxyProperties") + private IntegrationRuntimeDataProxyProperties dataProxyProperties; + /** * The edition for the SSIS Integration Runtime. Possible values include: * 'Standard', 'Enterprise'. @@ -128,6 +134,26 @@ public IntegrationRuntimeSsisProperties withCustomSetupScriptProperties(Integrat return this; } + /** + * Get data proxy properties for a managed dedicated integration runtime. + * + * @return the dataProxyProperties value + */ + public IntegrationRuntimeDataProxyProperties dataProxyProperties() { + return this.dataProxyProperties; + } + + /** + * Set data proxy properties for a managed dedicated integration runtime. + * + * @param dataProxyProperties the dataProxyProperties value to set + * @return the IntegrationRuntimeSsisProperties object itself. + */ + public IntegrationRuntimeSsisProperties withDataProxyProperties(IntegrationRuntimeDataProxyProperties dataProxyProperties) { + this.dataProxyProperties = dataProxyProperties; + return this; + } + /** * Get the edition for the SSIS Integration Runtime. Possible values include: 'Standard', 'Enterprise'. * diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/JsonFormat.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/JsonFormat.java index 269a1b199cc0..087bb4794236 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/JsonFormat.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/JsonFormat.java @@ -21,11 +21,10 @@ public class JsonFormat extends DatasetStorageFormat { /** * File pattern of JSON. To be more specific, the way of separating a * collection of JSON objects. The default value is 'setOfObjects'. It is - * case-sensitive. Possible values include: 'setOfObjects', - * 'arrayOfObjects'. + * case-sensitive. */ @JsonProperty(value = "filePattern") - private JsonFormatFilePattern filePattern; + private Object filePattern; /** * The character used to separate nesting levels. Default value is '.' @@ -64,21 +63,21 @@ public class JsonFormat extends DatasetStorageFormat { private Object jsonPathDefinition; /** - * Get file pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: 'setOfObjects', 'arrayOfObjects'. + * Get file pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. * * @return the filePattern value */ - public JsonFormatFilePattern filePattern() { + public Object filePattern() { return this.filePattern; } /** - * Set file pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. Possible values include: 'setOfObjects', 'arrayOfObjects'. + * Set file pattern of JSON. To be more specific, the way of separating a collection of JSON objects. The default value is 'setOfObjects'. It is case-sensitive. * * @param filePattern the filePattern value to set * @return the JsonFormat object itself. */ - public JsonFormat withFilePattern(JsonFormatFilePattern filePattern) { + public JsonFormat withFilePattern(Object filePattern) { this.filePattern = filePattern; return this; } 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 new file mode 100644 index 000000000000..2f461d1d4b15 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OraclePartitionSettings.java @@ -0,0 +1,126 @@ +/** + * 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 oracle source partitioning. + */ +public class OraclePartitionSettings { + /** + * Names of the physical partitions of oracle table. + */ + @JsonProperty(value = "partitionNames") + private Object partitionNames; + + /** + * 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 names of the physical partitions of oracle table. + * + * @return the partitionNames value + */ + public Object partitionNames() { + return this.partitionNames; + } + + /** + * Set names of the physical partitions of oracle table. + * + * @param partitionNames the partitionNames value to set + * @return the OraclePartitionSettings object itself. + */ + public OraclePartitionSettings withPartitionNames(Object partitionNames) { + this.partitionNames = partitionNames; + return this; + } + + /** + * 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 OraclePartitionSettings object itself. + */ + public OraclePartitionSettings 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 OraclePartitionSettings object itself. + */ + public OraclePartitionSettings 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 OraclePartitionSettings object itself. + */ + public OraclePartitionSettings 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/OracleSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/OracleSource.java index 7fcfcdf51c7c..5de4ca3506d8 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,18 @@ public class OracleSource extends CopySource { @JsonProperty(value = "queryTimeout") private Object queryTimeout; + /** + * The partition mechanism that will be used for oracle read in parallel. + */ + @JsonProperty(value = "partitionOption") + private Object 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 +84,44 @@ public OracleSource withQueryTimeout(Object queryTimeout) { return this; } + /** + * Get the partition mechanism that will be used for oracle read in parallel. + * + * @return the partitionOption value + */ + public Object partitionOption() { + return this.partitionOption; + } + + /** + * Set the partition mechanism that will be used for oracle read in parallel. + * + * @param partitionOption the partitionOption value to set + * @return the OracleSource object itself. + */ + public OracleSource withPartitionOption(Object 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/ParquetDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetDataset.java new file mode 100644 index 000000000000..6293a9b52abd --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetDataset.java @@ -0,0 +1,76 @@ +/** + * 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; + +/** + * Parquet dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("Parquet") +@JsonFlatten +public class ParquetDataset extends DatasetInner { + /** + * The location of the parquet storage. + */ + @JsonProperty(value = "typeProperties.location", required = true) + private DatasetLocation location; + + /** + * The compressionCodec property. + */ + @JsonProperty(value = "typeProperties.compressionCodec") + private Object compressionCodec; + + /** + * Get the location of the parquet storage. + * + * @return the location value + */ + public DatasetLocation location() { + return this.location; + } + + /** + * Set the location of the parquet storage. + * + * @param location the location value to set + * @return the ParquetDataset object itself. + */ + public ParquetDataset withLocation(DatasetLocation location) { + this.location = location; + return this; + } + + /** + * Get the compressionCodec value. + * + * @return the compressionCodec value + */ + public Object compressionCodec() { + return this.compressionCodec; + } + + /** + * Set the compressionCodec value. + * + * @param compressionCodec the compressionCodec value to set + * @return the ParquetDataset object itself. + */ + public ParquetDataset withCompressionCodec(Object compressionCodec) { + this.compressionCodec = compressionCodec; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSink.java new file mode 100644 index 000000000000..be8ef9456a03 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSink.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 Parquet sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("ParquetSink") +public class ParquetSink extends CopySink { + /** + * Parquet store settings. + */ + @JsonProperty(value = "storeSettings") + private ConnectorWriteSetting storeSettings; + + /** + * Get parquet store settings. + * + * @return the storeSettings value + */ + public ConnectorWriteSetting storeSettings() { + return this.storeSettings; + } + + /** + * Set parquet store settings. + * + * @param storeSettings the storeSettings value to set + * @return the ParquetSink object itself. + */ + public ParquetSink withStoreSettings(ConnectorWriteSetting storeSettings) { + this.storeSettings = storeSettings; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSource.java new file mode 100644 index 000000000000..b0ef43a4fe5c --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/ParquetSource.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 Parquet source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("ParquetSource") +public class ParquetSource extends CopySource { + /** + * Parquet store settings. + */ + @JsonProperty(value = "storeSettings") + private ConnectorReadSetting storeSettings; + + /** + * Get parquet store settings. + * + * @return the storeSettings value + */ + public ConnectorReadSetting storeSettings() { + return this.storeSettings; + } + + /** + * Set parquet store settings. + * + * @param storeSettings the storeSettings value to set + * @return the ParquetSource object itself. + */ + public ParquetSource withStoreSettings(ConnectorReadSetting storeSettings) { + this.storeSettings = storeSettings; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSink.java index 31612c5cf1db..952858f60552 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSink.java @@ -19,11 +19,10 @@ @JsonTypeName("SalesforceSink") public class SalesforceSink extends CopySink { /** - * The write behavior for the operation. Default is Insert. Possible values - * include: 'Insert', 'Upsert'. + * The write behavior for the operation. Default is Insert. */ @JsonProperty(value = "writeBehavior") - private SalesforceSinkWriteBehavior writeBehavior; + private Object writeBehavior; /** * The name of the external ID field for upsert operation. Default value is @@ -46,21 +45,21 @@ public class SalesforceSink extends CopySink { private Object ignoreNullValues; /** - * Get the write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'. + * Get the write behavior for the operation. Default is Insert. * * @return the writeBehavior value */ - public SalesforceSinkWriteBehavior writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set the write behavior for the operation. Default is Insert. Possible values include: 'Insert', 'Upsert'. + * Set the write behavior for the operation. Default is Insert. * * @param writeBehavior the writeBehavior value to set * @return the SalesforceSink object itself. */ - public SalesforceSink withWriteBehavior(SalesforceSinkWriteBehavior writeBehavior) { + public SalesforceSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSource.java index c29cfed39d4e..299fd245a5d7 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SalesforceSource.java @@ -25,11 +25,10 @@ public class SalesforceSource extends CopySource { private Object query; /** - * The read behavior for the operation. Default is Query. Possible values - * include: 'Query', 'QueryAll'. + * The read behavior for the operation. Default is Query. */ @JsonProperty(value = "readBehavior") - private SalesforceSourceReadBehavior readBehavior; + private Object readBehavior; /** * Get database query. Type: string (or Expression with resultType string). @@ -52,21 +51,21 @@ public SalesforceSource withQuery(Object query) { } /** - * Get the read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'. + * Get the read behavior for the operation. Default is Query. * * @return the readBehavior value */ - public SalesforceSourceReadBehavior readBehavior() { + public Object readBehavior() { return this.readBehavior; } /** - * Set the read behavior for the operation. Default is Query. Possible values include: 'Query', 'QueryAll'. + * Set the read behavior for the operation. Default is Query. * * @param readBehavior the readBehavior value to set * @return the SalesforceSource object itself. */ - public SalesforceSource withReadBehavior(SalesforceSourceReadBehavior readBehavior) { + public SalesforceSource withReadBehavior(Object readBehavior) { this.readBehavior = readBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapCloudForCustomerSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapCloudForCustomerSink.java index 6e7bd7bc8c34..759c774979ee 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapCloudForCustomerSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapCloudForCustomerSink.java @@ -19,28 +19,27 @@ @JsonTypeName("SapCloudForCustomerSink") public class SapCloudForCustomerSink extends CopySink { /** - * The write behavior for the operation. Default is 'Insert'. Possible - * values include: 'Insert', 'Update'. + * The write behavior for the operation. Default is 'Insert'. */ @JsonProperty(value = "writeBehavior") - private SapCloudForCustomerSinkWriteBehavior writeBehavior; + private Object writeBehavior; /** - * Get the write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', 'Update'. + * Get the write behavior for the operation. Default is 'Insert'. * * @return the writeBehavior value */ - public SapCloudForCustomerSinkWriteBehavior writeBehavior() { + public Object writeBehavior() { return this.writeBehavior; } /** - * Set the write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', 'Update'. + * Set the write behavior for the operation. Default is 'Insert'. * * @param writeBehavior the writeBehavior value to set * @return the SapCloudForCustomerSink object itself. */ - public SapCloudForCustomerSink withWriteBehavior(SapCloudForCustomerSinkWriteBehavior writeBehavior) { + public SapCloudForCustomerSink withWriteBehavior(Object writeBehavior) { this.writeBehavior = writeBehavior; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccResourceDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccResourceDataset.java index 78041d88d5bd..d4c3aa95b872 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccResourceDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccResourceDataset.java @@ -26,14 +26,14 @@ public class SapEccResourceDataset extends DatasetInner { * resultType string). */ @JsonProperty(value = "typeProperties.path", required = true) - private String path; + private Object path; /** * Get the path of the SAP ECC OData entity. Type: string (or Expression with resultType string). * * @return the path value */ - public String path() { + public Object path() { return this.path; } @@ -43,7 +43,7 @@ public String path() { * @param path the path value to set * @return the SapEccResourceDataset object itself. */ - public SapEccResourceDataset withPath(String path) { + public SapEccResourceDataset withPath(Object path) { this.path = path; return this; } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccSource.java index bb5fbeac4880..6effb493016d 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccSource.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapEccSource.java @@ -23,14 +23,14 @@ public class SapEccSource extends CopySource { * with resultType string). */ @JsonProperty(value = "query") - private String query; + private Object query; /** * Get sAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). * * @return the query value */ - public String query() { + public Object query() { return this.query; } @@ -40,7 +40,7 @@ public String query() { * @param query the query value to set * @return the SapEccSource object itself. */ - public SapEccSource withQuery(String query) { + public SapEccSource 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/SapHanaLinkedService.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaLinkedService.java index a708f56af3ac..e19f98f4e03a 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaLinkedService.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaLinkedService.java @@ -21,6 +21,13 @@ @JsonTypeName("SapHana") @JsonFlatten public class SapHanaLinkedService extends LinkedServiceInner { + /** + * SAP HANA ODBC connection string. Type: string, SecureString or + * AzureKeyVaultSecretReference. + */ + @JsonProperty(value = "typeProperties.connectionString") + private Object connectionString; + /** * Host name of the SAP HANA server. Type: string (or Expression with * resultType string). @@ -56,6 +63,26 @@ public class SapHanaLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.encryptedCredential") private Object encryptedCredential; + /** + * Get sAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @return the connectionString value + */ + public Object connectionString() { + return this.connectionString; + } + + /** + * Set sAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @param connectionString the connectionString value to set + * @return the SapHanaLinkedService object itself. + */ + public SapHanaLinkedService withConnectionString(Object connectionString) { + this.connectionString = connectionString; + return this; + } + /** * Get host name of the SAP HANA server. Type: string (or Expression with resultType string). * diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaSource.java new file mode 100644 index 000000000000..8c6bd1c45849 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaSource.java @@ -0,0 +1,74 @@ +/** + * 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 SAP HANA source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapHanaSource") +public class SapHanaSource extends CopySource { + /** + * SAP HANA Sql query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * The packet size of data read from SAP HANA. Type: integer(or Expression + * with resultType integer). + */ + @JsonProperty(value = "packetSize") + private Object packetSize; + + /** + * Get sAP HANA Sql query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set sAP HANA Sql query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the SapHanaSource object itself. + */ + public SapHanaSource withQuery(Object query) { + this.query = query; + return this; + } + + /** + * Get the packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). + * + * @return the packetSize value + */ + public Object packetSize() { + return this.packetSize; + } + + /** + * Set the packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer). + * + * @param packetSize the packetSize value to set + * @return the SapHanaSource object itself. + */ + public SapHanaSource withPacketSize(Object packetSize) { + this.packetSize = packetSize; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaTableDataset.java new file mode 100644 index 000000000000..a8eb91dbcf9b --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapHanaTableDataset.java @@ -0,0 +1,78 @@ +/** + * 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; + +/** + * SAP HANA Table properties. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapHanaTable") +@JsonFlatten +public class SapHanaTableDataset extends DatasetInner { + /** + * The schema name of SAP HANA. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.schema") + private Object sapHanaTableDatasetSchema; + + /** + * The table name of SAP HANA. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.table") + private Object table; + + /** + * Get the schema name of SAP HANA. Type: string (or Expression with resultType string). + * + * @return the sapHanaTableDatasetSchema value + */ + public Object sapHanaTableDatasetSchema() { + return this.sapHanaTableDatasetSchema; + } + + /** + * Set the schema name of SAP HANA. Type: string (or Expression with resultType string). + * + * @param sapHanaTableDatasetSchema the sapHanaTableDatasetSchema value to set + * @return the SapHanaTableDataset object itself. + */ + public SapHanaTableDataset withSapHanaTableDatasetSchema(Object sapHanaTableDatasetSchema) { + this.sapHanaTableDatasetSchema = sapHanaTableDatasetSchema; + return this; + } + + /** + * Get the table name of SAP HANA. Type: string (or Expression with resultType string). + * + * @return the table value + */ + public Object table() { + return this.table; + } + + /** + * Set the table name of SAP HANA. Type: string (or Expression with resultType string). + * + * @param table the table value to set + * @return the SapHanaTableDataset object itself. + */ + public SapHanaTableDataset withTable(Object table) { + this.table = table; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableLinkedService.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableLinkedService.java new file mode 100644 index 000000000000..74090eb0d997 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableLinkedService.java @@ -0,0 +1,459 @@ +/** + * 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.LinkedServiceInner; + +/** + * SAP Table Linked Service. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapTable") +@JsonFlatten +public class SapTableLinkedService extends LinkedServiceInner { + /** + * Host name of the SAP instance where the table is located. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.server") + private Object server; + + /** + * System number of the SAP system where the table is located. (Usually a + * two-digit decimal number represented as a string.) Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.systemNumber") + private Object systemNumber; + + /** + * Client ID of the client on the SAP system where the table is located. + * (Usually a three-digit decimal number represented as a string) Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.clientId") + private Object clientId; + + /** + * Language of the SAP system where the table is located. The default value + * is EN. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.language") + private Object language; + + /** + * SystemID of the SAP system where the table is located. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.systemId") + private Object systemId; + + /** + * Username to access the SAP server where the table is located. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.userName") + private Object userName; + + /** + * Password to access the SAP server where the table is located. + */ + @JsonProperty(value = "typeProperties.password") + private SecretBase password; + + /** + * The hostname of the SAP Message Server. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "typeProperties.messageServer") + private Object messageServer; + + /** + * The service name or port number of the Message Server. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.messageServerService") + private Object messageServerService; + + /** + * SNC activation indicator to access the SAP server where the table is + * located. Must be either 0 (off) or 1 (on). Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "typeProperties.sncMode") + private Object sncMode; + + /** + * Initiator's SNC name to access the SAP server where the table is + * located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.sncMyName") + private Object sncMyName; + + /** + * Communication partner's SNC name to access the SAP server where the + * table is located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.sncPartnerName") + private Object sncPartnerName; + + /** + * External security product's library to access the SAP server where the + * table is located. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.sncLibraryPath") + private Object sncLibraryPath; + + /** + * SNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.sncQop") + private Object sncQop; + + /** + * The Logon Group for the SAP System. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "typeProperties.logonGroup") + private Object logonGroup; + + /** + * The encrypted credential used for authentication. Credentials are + * encrypted using the integration runtime credential manager. Type: string + * (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.encryptedCredential") + private Object encryptedCredential; + + /** + * Get host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). + * + * @return the server value + */ + public Object server() { + return this.server; + } + + /** + * Set host name of the SAP instance where the table is located. Type: string (or Expression with resultType string). + * + * @param server the server value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withServer(Object server) { + this.server = server; + return this; + } + + /** + * Get system number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @return the systemNumber value + */ + public Object systemNumber() { + return this.systemNumber; + } + + /** + * Set system number of the SAP system where the table is located. (Usually a two-digit decimal number represented as a string.) Type: string (or Expression with resultType string). + * + * @param systemNumber the systemNumber value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSystemNumber(Object systemNumber) { + this.systemNumber = systemNumber; + return this; + } + + /** + * Get client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @return the clientId value + */ + public Object clientId() { + return this.clientId; + } + + /** + * Set client ID of the client on the SAP system where the table is located. (Usually a three-digit decimal number represented as a string) Type: string (or Expression with resultType string). + * + * @param clientId the clientId value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withClientId(Object clientId) { + this.clientId = clientId; + return this; + } + + /** + * Get language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). + * + * @return the language value + */ + public Object language() { + return this.language; + } + + /** + * Set language of the SAP system where the table is located. The default value is EN. Type: string (or Expression with resultType string). + * + * @param language the language value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withLanguage(Object language) { + this.language = language; + return this; + } + + /** + * Get systemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + * + * @return the systemId value + */ + public Object systemId() { + return this.systemId; + } + + /** + * Set systemID of the SAP system where the table is located. Type: string (or Expression with resultType string). + * + * @param systemId the systemId value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSystemId(Object systemId) { + this.systemId = systemId; + return this; + } + + /** + * Get username to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @return the userName value + */ + public Object userName() { + return this.userName; + } + + /** + * Set username to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @param userName the userName value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withUserName(Object userName) { + this.userName = userName; + return this; + } + + /** + * Get password to access the SAP server where the table is located. + * + * @return the password value + */ + public SecretBase password() { + return this.password; + } + + /** + * Set password to access the SAP server where the table is located. + * + * @param password the password value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withPassword(SecretBase password) { + this.password = password; + return this; + } + + /** + * Get the hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * + * @return the messageServer value + */ + public Object messageServer() { + return this.messageServer; + } + + /** + * Set the hostname of the SAP Message Server. Type: string (or Expression with resultType string). + * + * @param messageServer the messageServer value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withMessageServer(Object messageServer) { + this.messageServer = messageServer; + return this; + } + + /** + * Get the service name or port number of the Message Server. Type: string (or Expression with resultType string). + * + * @return the messageServerService value + */ + public Object messageServerService() { + return this.messageServerService; + } + + /** + * Set the service name or port number of the Message Server. Type: string (or Expression with resultType string). + * + * @param messageServerService the messageServerService value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withMessageServerService(Object messageServerService) { + this.messageServerService = messageServerService; + return this; + } + + /** + * Get sNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @return the sncMode value + */ + public Object sncMode() { + return this.sncMode; + } + + /** + * Set sNC activation indicator to access the SAP server where the table is located. Must be either 0 (off) or 1 (on). Type: string (or Expression with resultType string). + * + * @param sncMode the sncMode value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSncMode(Object sncMode) { + this.sncMode = sncMode; + return this; + } + + /** + * Get initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @return the sncMyName value + */ + public Object sncMyName() { + return this.sncMyName; + } + + /** + * Set initiator's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @param sncMyName the sncMyName value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSncMyName(Object sncMyName) { + this.sncMyName = sncMyName; + return this; + } + + /** + * Get communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @return the sncPartnerName value + */ + public Object sncPartnerName() { + return this.sncPartnerName; + } + + /** + * Set communication partner's SNC name to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @param sncPartnerName the sncPartnerName value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSncPartnerName(Object sncPartnerName) { + this.sncPartnerName = sncPartnerName; + return this; + } + + /** + * Get external security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @return the sncLibraryPath value + */ + public Object sncLibraryPath() { + return this.sncLibraryPath; + } + + /** + * Set external security product's library to access the SAP server where the table is located. Type: string (or Expression with resultType string). + * + * @param sncLibraryPath the sncLibraryPath value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSncLibraryPath(Object sncLibraryPath) { + this.sncLibraryPath = sncLibraryPath; + return this; + } + + /** + * Get sNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). + * + * @return the sncQop value + */ + public Object sncQop() { + return this.sncQop; + } + + /** + * Set sNC Quality of Protection. Allowed value include: 1, 2, 3, 8, 9. Type: string (or Expression with resultType string). + * + * @param sncQop the sncQop value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withSncQop(Object sncQop) { + this.sncQop = sncQop; + return this; + } + + /** + * Get the Logon Group for the SAP System. Type: string (or Expression with resultType string). + * + * @return the logonGroup value + */ + public Object logonGroup() { + return this.logonGroup; + } + + /** + * Set the Logon Group for the SAP System. Type: string (or Expression with resultType string). + * + * @param logonGroup the logonGroup value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withLogonGroup(Object logonGroup) { + this.logonGroup = logonGroup; + return this; + } + + /** + * Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @return the encryptedCredential value + */ + public Object encryptedCredential() { + return this.encryptedCredential; + } + + /** + * Set the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string). + * + * @param encryptedCredential the encryptedCredential value to set + * @return the SapTableLinkedService object itself. + */ + public SapTableLinkedService withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionSettings.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionSettings.java new file mode 100644 index 000000000000..f1668b1d9d3a --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTablePartitionSettings.java @@ -0,0 +1,127 @@ +/** + * 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 SAP table source partitioning. + */ +public class SapTablePartitionSettings { + /** + * The name of the column 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; + + /** + * The maximum value of partitions the table will be split into. Type: + * integer (or Expression with resultType string). + */ + @JsonProperty(value = "maxPartitionsNumber") + private Object maxPartitionsNumber; + + /** + * Get the name of the column 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 that will be used for proceeding range partitioning. Type: string (or Expression with resultType string). + * + * @param partitionColumnName the partitionColumnName value to set + * @return the SapTablePartitionSettings object itself. + */ + public SapTablePartitionSettings 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 SapTablePartitionSettings object itself. + */ + public SapTablePartitionSettings 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 SapTablePartitionSettings object itself. + */ + public SapTablePartitionSettings withPartitionLowerBound(Object partitionLowerBound) { + this.partitionLowerBound = partitionLowerBound; + return this; + } + + /** + * Get the maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). + * + * @return the maxPartitionsNumber value + */ + public Object maxPartitionsNumber() { + return this.maxPartitionsNumber; + } + + /** + * Set the maximum value of partitions the table will be split into. Type: integer (or Expression with resultType string). + * + * @param maxPartitionsNumber the maxPartitionsNumber value to set + * @return the SapTablePartitionSettings object itself. + */ + public SapTablePartitionSettings withMaxPartitionsNumber(Object maxPartitionsNumber) { + this.maxPartitionsNumber = maxPartitionsNumber; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableResourceDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableResourceDataset.java new file mode 100644 index 000000000000..ca2e817bfbbf --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableResourceDataset.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; + +/** + * SAP Table Resource properties. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapTableResource") +@JsonFlatten +public class SapTableResourceDataset extends DatasetInner { + /** + * The name of the SAP Table. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.tableName", required = true) + private Object tableName; + + /** + * Get the name of the SAP Table. Type: string (or Expression with resultType string). + * + * @return the tableName value + */ + public Object tableName() { + return this.tableName; + } + + /** + * Set the name of the SAP Table. Type: string (or Expression with resultType string). + * + * @param tableName the tableName value to set + * @return the SapTableResourceDataset object itself. + */ + public SapTableResourceDataset 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/SapTableSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java new file mode 100644 index 000000000000..d59294fb7149 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SapTableSource.java @@ -0,0 +1,237 @@ +/** + * 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 SAP Table source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SapTableSource") +public class SapTableSource extends CopySource { + /** + * The number of rows to be retrieved. Type: integer(or Expression with + * resultType integer). + */ + @JsonProperty(value = "rowCount") + private Object rowCount; + + /** + * The number of rows that will be skipped. Type: integer (or Expression + * with resultType integer). + */ + @JsonProperty(value = "rowSkips") + private Object rowSkips; + + /** + * The fields of the SAP table that will be retrieved. For example, + * column0, column1. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "rfcTableFields") + private Object rfcTableFields; + + /** + * The options for the filtering of the SAP Table. For example, COLUMN0 EQ + * SOME VALUE. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "rfcTableOptions") + private Object rfcTableOptions; + + /** + * Specifies the maximum number of rows that will be retrieved at a time + * when retrieving data from SAP Table. Type: integer (or Expression with + * resultType integer). + */ + @JsonProperty(value = "batchSize") + private Object batchSize; + + /** + * Specifies the custom RFC function module that will be used to read data + * from SAP Table. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "customRfcReadTableFunctionModule") + private Object customRfcReadTableFunctionModule; + + /** + * The partition mechanism that will be used for SAP table read in + * parallel. + */ + @JsonProperty(value = "partitionOption") + private Object 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). + * + * @return the rowCount value + */ + public Object rowCount() { + return this.rowCount; + } + + /** + * Set the number of rows to be retrieved. Type: integer(or Expression with resultType integer). + * + * @param rowCount the rowCount value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withRowCount(Object rowCount) { + this.rowCount = rowCount; + return this; + } + + /** + * Get the number of rows that will be skipped. Type: integer (or Expression with resultType integer). + * + * @return the rowSkips value + */ + public Object rowSkips() { + return this.rowSkips; + } + + /** + * Set the number of rows that will be skipped. Type: integer (or Expression with resultType integer). + * + * @param rowSkips the rowSkips value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withRowSkips(Object rowSkips) { + this.rowSkips = rowSkips; + return this; + } + + /** + * Get the fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). + * + * @return the rfcTableFields value + */ + public Object rfcTableFields() { + return this.rfcTableFields; + } + + /** + * Set the fields of the SAP table that will be retrieved. For example, column0, column1. Type: string (or Expression with resultType string). + * + * @param rfcTableFields the rfcTableFields value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withRfcTableFields(Object rfcTableFields) { + this.rfcTableFields = rfcTableFields; + return this; + } + + /** + * Get the options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). + * + * @return the rfcTableOptions value + */ + public Object rfcTableOptions() { + return this.rfcTableOptions; + } + + /** + * Set the options for the filtering of the SAP Table. For example, COLUMN0 EQ SOME VALUE. Type: string (or Expression with resultType string). + * + * @param rfcTableOptions the rfcTableOptions value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withRfcTableOptions(Object rfcTableOptions) { + this.rfcTableOptions = rfcTableOptions; + return this; + } + + /** + * Get specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). + * + * @return the batchSize value + */ + public Object batchSize() { + return this.batchSize; + } + + /** + * Set specifies the maximum number of rows that will be retrieved at a time when retrieving data from SAP Table. Type: integer (or Expression with resultType integer). + * + * @param batchSize the batchSize value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withBatchSize(Object batchSize) { + this.batchSize = batchSize; + return this; + } + + /** + * Get specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). + * + * @return the customRfcReadTableFunctionModule value + */ + public Object customRfcReadTableFunctionModule() { + return this.customRfcReadTableFunctionModule; + } + + /** + * Set specifies the custom RFC function module that will be used to read data from SAP Table. Type: string (or Expression with resultType string). + * + * @param customRfcReadTableFunctionModule the customRfcReadTableFunctionModule value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withCustomRfcReadTableFunctionModule(Object customRfcReadTableFunctionModule) { + this.customRfcReadTableFunctionModule = customRfcReadTableFunctionModule; + return this; + } + + /** + * Get the partition mechanism that will be used for SAP table read in parallel. + * + * @return the partitionOption value + */ + public Object partitionOption() { + return this.partitionOption; + } + + /** + * Set the partition mechanism that will be used for SAP table read in parallel. + * + * @param partitionOption the partitionOption value to set + * @return the SapTableSource object itself. + */ + public SapTableSource withPartitionOption(Object 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/SftpLocation.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SftpLocation.java new file mode 100644 index 000000000000..9966b31a0330 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SftpLocation.java @@ -0,0 +1,16 @@ +/** + * 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; + + +/** + * The location of SFTP dataset. + */ +public class SftpLocation extends DatasetLocation { +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SftpReadSetting.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SftpReadSetting.java new file mode 100644 index 000000000000..781c4193bdb2 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SftpReadSetting.java @@ -0,0 +1,152 @@ +/** + * 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; + +/** + * Sftp read settings. + */ +public class SftpReadSetting extends ConnectorReadSetting { + /** + * If true, files under the folder path will be read recursively. Default + * is true. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "recursive") + private Object recursive; + + /** + * Sftp wildcardFolderPath. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFolderPath") + private Object wildcardFolderPath; + + /** + * Sftp wildcardFileName. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "wildcardFileName") + private Object wildcardFileName; + + /** + * The start of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeStart") + private Object modifiedDatetimeStart; + + /** + * The end of file's modified datetime. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "modifiedDatetimeEnd") + private Object modifiedDatetimeEnd; + + /** + * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @return the recursive value + */ + public Object recursive() { + return this.recursive; + } + + /** + * Set if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * + * @param recursive the recursive value to set + * @return the SftpReadSetting object itself. + */ + public SftpReadSetting withRecursive(Object recursive) { + this.recursive = recursive; + return this; + } + + /** + * Get sftp wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @return the wildcardFolderPath value + */ + public Object wildcardFolderPath() { + return this.wildcardFolderPath; + } + + /** + * Set sftp wildcardFolderPath. Type: string (or Expression with resultType string). + * + * @param wildcardFolderPath the wildcardFolderPath value to set + * @return the SftpReadSetting object itself. + */ + public SftpReadSetting withWildcardFolderPath(Object wildcardFolderPath) { + this.wildcardFolderPath = wildcardFolderPath; + return this; + } + + /** + * Get sftp wildcardFileName. Type: string (or Expression with resultType string). + * + * @return the wildcardFileName value + */ + public Object wildcardFileName() { + return this.wildcardFileName; + } + + /** + * Set sftp wildcardFileName. Type: string (or Expression with resultType string). + * + * @param wildcardFileName the wildcardFileName value to set + * @return the SftpReadSetting object itself. + */ + public SftpReadSetting withWildcardFileName(Object wildcardFileName) { + this.wildcardFileName = wildcardFileName; + return this; + } + + /** + * Get the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeStart value + */ + public Object modifiedDatetimeStart() { + return this.modifiedDatetimeStart; + } + + /** + * Set the start of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeStart the modifiedDatetimeStart value to set + * @return the SftpReadSetting object itself. + */ + public SftpReadSetting withModifiedDatetimeStart(Object modifiedDatetimeStart) { + this.modifiedDatetimeStart = modifiedDatetimeStart; + return this; + } + + /** + * Get the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @return the modifiedDatetimeEnd value + */ + public Object modifiedDatetimeEnd() { + return this.modifiedDatetimeEnd; + } + + /** + * Set the end of file's modified datetime. Type: string (or Expression with resultType string). + * + * @param modifiedDatetimeEnd the modifiedDatetimeEnd value to set + * @return the SftpReadSetting object itself. + */ + public SftpReadSetting withModifiedDatetimeEnd(Object modifiedDatetimeEnd) { + this.modifiedDatetimeEnd = modifiedDatetimeEnd; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSink.java new file mode 100644 index 000000000000..9653c3897085 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSink.java @@ -0,0 +1,156 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity SQL server sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SqlServerSink") +public class SqlServerSink extends CopySink { + /** + * SQL writer stored procedure name. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "sqlWriterStoredProcedureName") + private Object sqlWriterStoredProcedureName; + + /** + * SQL writer table type. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "sqlWriterTableType") + private Object sqlWriterTableType; + + /** + * SQL pre-copy script. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "preCopyScript") + private Object preCopyScript; + + /** + * SQL stored procedure parameters. + */ + @JsonProperty(value = "storedProcedureParameters") + private Map storedProcedureParameters; + + /** + * The stored procedure parameter name of the table type. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "storedProcedureTableTypeParameterName") + private Object storedProcedureTableTypeParameterName; + + /** + * Get sQL writer stored procedure name. Type: string (or Expression with resultType string). + * + * @return the sqlWriterStoredProcedureName value + */ + public Object sqlWriterStoredProcedureName() { + return this.sqlWriterStoredProcedureName; + } + + /** + * Set sQL writer stored procedure name. Type: string (or Expression with resultType string). + * + * @param sqlWriterStoredProcedureName the sqlWriterStoredProcedureName value to set + * @return the SqlServerSink object itself. + */ + public SqlServerSink withSqlWriterStoredProcedureName(Object sqlWriterStoredProcedureName) { + this.sqlWriterStoredProcedureName = sqlWriterStoredProcedureName; + return this; + } + + /** + * Get sQL writer table type. Type: string (or Expression with resultType string). + * + * @return the sqlWriterTableType value + */ + public Object sqlWriterTableType() { + return this.sqlWriterTableType; + } + + /** + * Set sQL writer table type. Type: string (or Expression with resultType string). + * + * @param sqlWriterTableType the sqlWriterTableType value to set + * @return the SqlServerSink object itself. + */ + public SqlServerSink withSqlWriterTableType(Object sqlWriterTableType) { + this.sqlWriterTableType = sqlWriterTableType; + return this; + } + + /** + * Get sQL pre-copy script. Type: string (or Expression with resultType string). + * + * @return the preCopyScript value + */ + public Object preCopyScript() { + return this.preCopyScript; + } + + /** + * Set sQL pre-copy script. Type: string (or Expression with resultType string). + * + * @param preCopyScript the preCopyScript value to set + * @return the SqlServerSink object itself. + */ + public SqlServerSink withPreCopyScript(Object preCopyScript) { + this.preCopyScript = preCopyScript; + return this; + } + + /** + * Get sQL stored procedure parameters. + * + * @return the storedProcedureParameters value + */ + public Map storedProcedureParameters() { + return this.storedProcedureParameters; + } + + /** + * Set sQL stored procedure parameters. + * + * @param storedProcedureParameters the storedProcedureParameters value to set + * @return the SqlServerSink object itself. + */ + public SqlServerSink withStoredProcedureParameters(Map storedProcedureParameters) { + this.storedProcedureParameters = storedProcedureParameters; + return this; + } + + /** + * Get the stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * + * @return the storedProcedureTableTypeParameterName value + */ + public Object storedProcedureTableTypeParameterName() { + return this.storedProcedureTableTypeParameterName; + } + + /** + * Set the stored procedure parameter name of the table type. Type: string (or Expression with resultType string). + * + * @param storedProcedureTableTypeParameterName the storedProcedureTableTypeParameterName value to set + * @return the SqlServerSink object itself. + */ + public SqlServerSink withStoredProcedureTableTypeParameterName(Object storedProcedureTableTypeParameterName) { + this.storedProcedureTableTypeParameterName = storedProcedureTableTypeParameterName; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSource.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSource.java new file mode 100644 index 000000000000..e3a6c4b3da28 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerSource.java @@ -0,0 +1,129 @@ +/** + * 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.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity SQL server source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type") +@JsonTypeName("SqlServerSource") +public class SqlServerSource extends CopySource { + /** + * SQL reader query. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "sqlReaderQuery") + private Object sqlReaderQuery; + + /** + * 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). + */ + @JsonProperty(value = "sqlReaderStoredProcedureName") + private Object sqlReaderStoredProcedureName; + + /** + * Value and type setting for stored procedure parameters. Example: + * "{Parameter1: {value: "1", type: "int"}}". + */ + @JsonProperty(value = "storedProcedureParameters") + private Map storedProcedureParameters; + + /** + * Which additional types to produce. + */ + @JsonProperty(value = "produceAdditionalTypes") + private Object produceAdditionalTypes; + + /** + * Get sQL reader query. Type: string (or Expression with resultType string). + * + * @return the sqlReaderQuery value + */ + public Object sqlReaderQuery() { + return this.sqlReaderQuery; + } + + /** + * Set sQL reader query. Type: string (or Expression with resultType string). + * + * @param sqlReaderQuery the sqlReaderQuery value to set + * @return the SqlServerSource object itself. + */ + public SqlServerSource withSqlReaderQuery(Object sqlReaderQuery) { + this.sqlReaderQuery = sqlReaderQuery; + return this; + } + + /** + * Get 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). + * + * @return the sqlReaderStoredProcedureName value + */ + public Object sqlReaderStoredProcedureName() { + return this.sqlReaderStoredProcedureName; + } + + /** + * Set 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). + * + * @param sqlReaderStoredProcedureName the sqlReaderStoredProcedureName value to set + * @return the SqlServerSource object itself. + */ + public SqlServerSource withSqlReaderStoredProcedureName(Object sqlReaderStoredProcedureName) { + this.sqlReaderStoredProcedureName = sqlReaderStoredProcedureName; + return this; + } + + /** + * Get value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * + * @return the storedProcedureParameters value + */ + public Map storedProcedureParameters() { + return this.storedProcedureParameters; + } + + /** + * Set value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}". + * + * @param storedProcedureParameters the storedProcedureParameters value to set + * @return the SqlServerSource object itself. + */ + public SqlServerSource withStoredProcedureParameters(Map storedProcedureParameters) { + this.storedProcedureParameters = storedProcedureParameters; + return this; + } + + /** + * Get which additional types to produce. + * + * @return the produceAdditionalTypes value + */ + public Object produceAdditionalTypes() { + return this.produceAdditionalTypes; + } + + /** + * Set which additional types to produce. + * + * @param produceAdditionalTypes the produceAdditionalTypes value to set + * @return the SqlServerSource object itself. + */ + public SqlServerSource withProduceAdditionalTypes(Object produceAdditionalTypes) { + this.produceAdditionalTypes = produceAdditionalTypes; + return this; + } + +} diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerTableDataset.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerTableDataset.java index 0e70e1e5296f..207a4aa8d798 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerTableDataset.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlServerTableDataset.java @@ -25,7 +25,7 @@ public class SqlServerTableDataset extends DatasetInner { * The table name of the SQL Server dataset. Type: string (or Expression * with resultType string). */ - @JsonProperty(value = "typeProperties.tableName", required = true) + @JsonProperty(value = "typeProperties.tableName") private Object tableName; /** diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlSink.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlSink.java index cc1d49759815..1af592866ceb 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlSink.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/SqlSink.java @@ -46,6 +46,13 @@ public class SqlSink extends CopySink { @JsonProperty(value = "storedProcedureParameters") private Map storedProcedureParameters; + /** + * The stored procedure parameter name of the table type. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "storedProcedureTableTypeParameterName") + private Object storedProcedureTableTypeParameterName; + /** * Get sQL writer stored procedure name. Type: string (or Expression with resultType string). * @@ -126,4 +133,24 @@ public SqlSink withStoredProcedureParameters(Map