From d4d87cef55c53afae6879ae0ad98f74e80c849d3 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sat, 30 May 2020 11:47:12 +0000 Subject: [PATCH] Generated from 0685b742be63183ba8ac12ae7890938af436ad6d Merge remote-tracking branch 'upstream/master' into kantao/GlobalParametersAndWaitActivityParameterUpdate --- sdk/datafactory/mgmt-v2018_06_01/pom.xml | 6 +- .../v2018_06_01/AmazonS3ReadSettings.java | 27 +++ .../v2018_06_01/AzureBlobFSReadSettings.java | 27 +++ .../AzureBlobStorageReadSettings.java | 27 +++ .../AzureDataLakeStoreReadSettings.java | 27 +++ .../AzureFileStorageLinkedService.java | 137 ++++++++++++- .../AzureFileStorageReadSettings.java | 54 +++++ .../v2018_06_01/BinaryReadSettings.java | 47 +++++ .../datafactory/v2018_06_01/BinarySource.java | 26 +++ .../v2018_06_01/CompressionReadSettings.java | 52 +++++ .../datafactory/v2018_06_01/CopySink.java | 1 + .../datafactory/v2018_06_01/CopySource.java | 4 + .../datafactory/v2018_06_01/DataFlowSink.java | 52 +++++ .../v2018_06_01/DataFlowSource.java | 52 +++++ .../v2018_06_01/DeleteActivity.java | 26 +++ .../DelimitedTextReadSettings.java | 26 +++ .../v2018_06_01/DynamicsAXSource.java | 29 +++ .../datafactory/v2018_06_01/ExcelDataset.java | 186 ++++++++++++++++++ .../datafactory/v2018_06_01/ExcelSource.java | 75 +++++++ .../v2018_06_01/ExportSettings.java | 52 +++++ .../datafactory/v2018_06_01/Factory.java | 19 +- .../v2018_06_01/FileServerReadSettings.java | 55 ++++++ .../v2018_06_01/FormatReadSettings.java | 3 + .../v2018_06_01/FtpReadSettings.java | 53 +++++ .../v2018_06_01/GetMetadataActivity.java | 52 +++++ .../GlobalParameterSpecification.java | 70 +++++++ .../v2018_06_01/GlobalParameterType.java | 53 +++++ .../GoogleCloudStorageReadSettings.java | 27 +++ .../v2018_06_01/HdfsReadSettings.java | 27 +++ .../v2018_06_01/HttpReadSettings.java | 53 +++++ .../v2018_06_01/ImportSettings.java | 52 +++++ .../IntegrationRuntimeSsisProperties.java | 26 +++ .../v2018_06_01/JsonReadSettings.java | 47 +++++ .../datafactory/v2018_06_01/JsonSource.java | 26 +++ .../datafactory/v2018_06_01/ODataSource.java | 29 +++ .../datafactory/v2018_06_01/PackageStore.java | 69 +++++++ .../v2018_06_01/SSISPackageLocation.java | 32 ++- .../v2018_06_01/SapCloudForCustomerSink.java | 29 +++ .../SapCloudForCustomerSource.java | 29 +++ .../datafactory/v2018_06_01/SapEccSource.java | 29 +++ .../v2018_06_01/SapHanaLinkedService.java | 2 +- .../v2018_06_01/SftpReadSettings.java | 53 +++++ .../SharePointOnlineListLinkedService.java | 163 +++++++++++++++ .../SharePointOnlineListResourceDataset.java | 51 +++++ .../SharePointOnlineListSource.java | 76 +++++++ .../v2018_06_01/SnowflakeDataset.java | 78 ++++++++ .../SnowflakeExportCopyCommand.java | 80 ++++++++ .../SnowflakeImportCopyCommand.java | 80 ++++++++ .../v2018_06_01/SnowflakeLinkedService.java | 104 ++++++++++ .../v2018_06_01/SnowflakeSink.java | 74 +++++++ .../v2018_06_01/SnowflakeSource.java | 74 +++++++ .../v2018_06_01/SsisPackageLocationType.java | 3 + .../datafactory/v2018_06_01/WaitActivity.java | 6 +- .../datafactory/v2018_06_01/XmlDataset.java | 134 +++++++++++++ .../v2018_06_01/XmlReadSettings.java | 105 ++++++++++ .../datafactory/v2018_06_01/XmlSource.java | 101 ++++++++++ .../v2018_06_01/ZipDeflateReadSettings.java | 48 +++++ .../implementation/DataFlowInner.java | 1 - .../implementation/DatasetInner.java | 92 +-------- .../implementation/FactoryImpl.java | 12 ++ .../implementation/FactoryInner.java | 27 +++ .../IntegrationRuntimeInner.java | 2 - .../implementation/LinkedServiceInner.java | 97 +-------- .../implementation/TriggerInner.java | 5 - 64 files changed, 2978 insertions(+), 203 deletions(-) create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinaryReadSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CompressionReadSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelDataset.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelSource.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExportSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterSpecification.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterType.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ImportSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonReadSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/PackageStore.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListLinkedService.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListResourceDataset.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListSource.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeDataset.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeExportCopyCommand.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeImportCopyCommand.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeLinkedService.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSink.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSource.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlDataset.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlReadSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/XmlSource.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ZipDeflateReadSettings.java diff --git a/sdk/datafactory/mgmt-v2018_06_01/pom.xml b/sdk/datafactory/mgmt-v2018_06_01/pom.xml index f9f7f167ab4b5..6a01bee79fc62 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/pom.xml +++ b/sdk/datafactory/mgmt-v2018_06_01/pom.xml @@ -11,11 +11,11 @@ com.microsoft.azure azure-arm-parent - 1.3.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml azure-mgmt-datafactory - 1.0.0-beta-1 + 1.0.0-beta jar Microsoft Azure SDK for DataFactory Management This package contains Microsoft DataFactory Management SDK. diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3ReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3ReadSettings.java index 60113210f030f..484beb3d09351 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3ReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3ReadSettings.java @@ -60,6 +60,13 @@ public class AmazonS3ReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -194,6 +201,26 @@ public AmazonS3ReadSettings withEnablePartitionDiscovery(Boolean enablePartition return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the AmazonS3ReadSettings object itself. + */ + public AmazonS3ReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSReadSettings.java index dc4d0edbdee3b..a8af3156ccdfe 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobFSReadSettings.java @@ -53,6 +53,13 @@ public class AzureBlobFSReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -167,6 +174,26 @@ public AzureBlobFSReadSettings withEnablePartitionDiscovery(Boolean enablePartit return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the AzureBlobFSReadSettings object itself. + */ + public AzureBlobFSReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageReadSettings.java index 7f42a713ccf5e..16bf0a898ee36 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureBlobStorageReadSettings.java @@ -60,6 +60,13 @@ public class AzureBlobStorageReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -194,6 +201,26 @@ public AzureBlobStorageReadSettings withEnablePartitionDiscovery(Boolean enableP return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the AzureBlobStorageReadSettings object itself. + */ + public AzureBlobStorageReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreReadSettings.java index 98d24cedeec25..1ebfe36f21b2e 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureDataLakeStoreReadSettings.java @@ -53,6 +53,13 @@ public class AzureDataLakeStoreReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -167,6 +174,26 @@ public AzureDataLakeStoreReadSettings withEnablePartitionDiscovery(Boolean enabl return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the AzureDataLakeStoreReadSettings object itself. + */ + public AzureDataLakeStoreReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java index 332f55346613b..71c11abe047fd 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageLinkedService.java @@ -25,7 +25,7 @@ public class AzureFileStorageLinkedService extends LinkedServiceInner { * Host name of the server. Type: string (or Expression with resultType * string). */ - @JsonProperty(value = "typeProperties.host", required = true) + @JsonProperty(value = "typeProperties.host") private Object host; /** @@ -41,6 +41,41 @@ public class AzureFileStorageLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.password") private SecretBase password; + /** + * The connection string. It is mutually exclusive with sasUri property. + * Type: string, SecureString or AzureKeyVaultSecretReference. + */ + @JsonProperty(value = "typeProperties.connectionString") + private Object connectionString; + + /** + * The Azure key vault secret reference of accountKey in connection string. + */ + @JsonProperty(value = "typeProperties.accountKey") + private AzureKeyVaultSecretReference accountKey; + + /** + * SAS URI of the Azure File resource. It is mutually exclusive with + * connectionString property. Type: string, SecureString or + * AzureKeyVaultSecretReference. + */ + @JsonProperty(value = "typeProperties.sasUri") + private Object sasUri; + + /** + * The Azure key vault secret reference of sasToken in sas uri. + */ + @JsonProperty(value = "typeProperties.sasToken") + private AzureKeyVaultSecretReference sasToken; + + /** + * The azure file share name. It is required when auth with + * accountKey/sasToken. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.fileShare") + private Object fileShare; + /** * The encrypted credential used for authentication. Credentials are * encrypted using the integration runtime credential manager. Type: string @@ -109,6 +144,106 @@ public AzureFileStorageLinkedService withPassword(SecretBase password) { return this; } + /** + * Get the connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @return the connectionString value + */ + public Object connectionString() { + return this.connectionString; + } + + /** + * Set the connection string. It is mutually exclusive with sasUri property. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @param connectionString the connectionString value to set + * @return the AzureFileStorageLinkedService object itself. + */ + public AzureFileStorageLinkedService withConnectionString(Object connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get the Azure key vault secret reference of accountKey in connection string. + * + * @return the accountKey value + */ + public AzureKeyVaultSecretReference accountKey() { + return this.accountKey; + } + + /** + * Set the Azure key vault secret reference of accountKey in connection string. + * + * @param accountKey the accountKey value to set + * @return the AzureFileStorageLinkedService object itself. + */ + public AzureFileStorageLinkedService withAccountKey(AzureKeyVaultSecretReference accountKey) { + this.accountKey = accountKey; + return this; + } + + /** + * Get sAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @return the sasUri value + */ + public Object sasUri() { + return this.sasUri; + } + + /** + * Set sAS URI of the Azure File resource. It is mutually exclusive with connectionString property. Type: string, SecureString or AzureKeyVaultSecretReference. + * + * @param sasUri the sasUri value to set + * @return the AzureFileStorageLinkedService object itself. + */ + public AzureFileStorageLinkedService withSasUri(Object sasUri) { + this.sasUri = sasUri; + return this; + } + + /** + * Get the Azure key vault secret reference of sasToken in sas uri. + * + * @return the sasToken value + */ + public AzureKeyVaultSecretReference sasToken() { + return this.sasToken; + } + + /** + * Set the Azure key vault secret reference of sasToken in sas uri. + * + * @param sasToken the sasToken value to set + * @return the AzureFileStorageLinkedService object itself. + */ + public AzureFileStorageLinkedService withSasToken(AzureKeyVaultSecretReference sasToken) { + this.sasToken = sasToken; + return this; + } + + /** + * Get the azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). + * + * @return the fileShare value + */ + public Object fileShare() { + return this.fileShare; + } + + /** + * Set the azure file share name. It is required when auth with accountKey/sasToken. Type: string (or Expression with resultType string). + * + * @param fileShare the fileShare value to set + * @return the AzureFileStorageLinkedService object itself. + */ + public AzureFileStorageLinkedService withFileShare(Object fileShare) { + this.fileShare = fileShare; + 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). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageReadSettings.java index 174897feba009..0ec208be703d5 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureFileStorageReadSettings.java @@ -39,6 +39,13 @@ public class AzureFileStorageReadSettings extends StoreReadSettings { @JsonProperty(value = "wildcardFileName") private Object wildcardFileName; + /** + * The prefix filter for the Azure File name starting from root path. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "prefix") + private Object prefix; + /** * Point to a text file that lists each file (relative path to the path * configured in the dataset) that you want to copy. Type: string (or @@ -53,6 +60,13 @@ public class AzureFileStorageReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -127,6 +141,26 @@ public AzureFileStorageReadSettings withWildcardFileName(Object wildcardFileName return this; } + /** + * Get the prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). + * + * @return the prefix value + */ + public Object prefix() { + return this.prefix; + } + + /** + * Set the prefix filter for the Azure File name starting from root path. Type: string (or Expression with resultType string). + * + * @param prefix the prefix value to set + * @return the AzureFileStorageReadSettings object itself. + */ + public AzureFileStorageReadSettings withPrefix(Object prefix) { + this.prefix = prefix; + return this; + } + /** * Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). * @@ -167,6 +201,26 @@ public AzureFileStorageReadSettings withEnablePartitionDiscovery(Boolean enableP return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the AzureFileStorageReadSettings object itself. + */ + public AzureFileStorageReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinaryReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinaryReadSettings.java new file mode 100644 index 0000000000000..30457647f33ff --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinaryReadSettings.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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * Binary read settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = BinaryReadSettings.class) +@JsonTypeName("BinaryReadSettings") +public class BinaryReadSettings extends FormatReadSettings { + /** + * Compression settings. + */ + @JsonProperty(value = "compressionProperties") + private CompressionReadSettings compressionProperties; + + /** + * Get compression settings. + * + * @return the compressionProperties value + */ + public CompressionReadSettings compressionProperties() { + return this.compressionProperties; + } + + /** + * Set compression settings. + * + * @param compressionProperties the compressionProperties value to set + * @return the BinaryReadSettings object itself. + */ + public BinaryReadSettings withCompressionProperties(CompressionReadSettings compressionProperties) { + this.compressionProperties = compressionProperties; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinarySource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinarySource.java index 9c7ce23f96ec5..433793d5d4650 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinarySource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/BinarySource.java @@ -24,6 +24,12 @@ public class BinarySource extends CopySource { @JsonProperty(value = "storeSettings") private StoreReadSettings storeSettings; + /** + * Binary format settings. + */ + @JsonProperty(value = "formatSettings") + private BinaryReadSettings formatSettings; + /** * Get binary store settings. * @@ -44,4 +50,24 @@ public BinarySource withStoreSettings(StoreReadSettings storeSettings) { return this; } + /** + * Get binary format settings. + * + * @return the formatSettings value + */ + public BinaryReadSettings formatSettings() { + return this.formatSettings; + } + + /** + * Set binary format settings. + * + * @param formatSettings the formatSettings value to set + * @return the BinarySource object itself. + */ + public BinarySource withFormatSettings(BinaryReadSettings formatSettings) { + this.formatSettings = formatSettings; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CompressionReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CompressionReadSettings.java new file mode 100644 index 0000000000000..0ccdda9e73593 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CompressionReadSettings.java @@ -0,0 +1,52 @@ +/** + * 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.datafactory.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; +import com.fasterxml.jackson.annotation.JsonSubTypes; + +/** + * Compression read settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CompressionReadSettings.class) +@JsonTypeName("CompressionReadSettings") +@JsonSubTypes({ + @JsonSubTypes.Type(name = "ZipDeflateReadSettings", value = ZipDeflateReadSettings.class) +}) +public class CompressionReadSettings { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * 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 CompressionReadSettings object itself. + */ + public CompressionReadSettings withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySink.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySink.java index 785bf65edbdb3..dc770c33e5882 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySink.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySink.java @@ -34,6 +34,7 @@ @JsonSubTypes.Type(name = "AzureBlobFSSink", value = AzureBlobFSSink.class), @JsonSubTypes.Type(name = "AzureDataLakeStoreSink", value = AzureDataLakeStoreSink.class), @JsonSubTypes.Type(name = "OracleSink", value = OracleSink.class), + @JsonSubTypes.Type(name = "SnowflakeSink", value = SnowflakeSink.class), @JsonSubTypes.Type(name = "SqlDWSink", value = SqlDWSink.class), @JsonSubTypes.Type(name = "SqlMISink", value = SqlMISink.class), @JsonSubTypes.Type(name = "AzureSqlSink", value = AzureSqlSink.class), diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java index 90691b2f7239e..70aa6f0a01f58 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopySource.java @@ -20,6 +20,8 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = CopySource.class) @JsonTypeName("CopySource") @JsonSubTypes({ + @JsonSubTypes.Type(name = "SharePointOnlineListSource", value = SharePointOnlineListSource.class), + @JsonSubTypes.Type(name = "SnowflakeSource", value = SnowflakeSource.class), @JsonSubTypes.Type(name = "HttpSource", value = HttpSource.class), @JsonSubTypes.Type(name = "AzureBlobFSSource", value = AzureBlobFSSource.class), @JsonSubTypes.Type(name = "AzureDataLakeStoreSource", value = AzureDataLakeStoreSource.class), @@ -46,9 +48,11 @@ @JsonSubTypes.Type(name = "TabularSource", value = TabularSource.class), @JsonSubTypes.Type(name = "BinarySource", value = BinarySource.class), @JsonSubTypes.Type(name = "OrcSource", value = OrcSource.class), + @JsonSubTypes.Type(name = "XmlSource", value = XmlSource.class), @JsonSubTypes.Type(name = "JsonSource", value = JsonSource.class), @JsonSubTypes.Type(name = "DelimitedTextSource", value = DelimitedTextSource.class), @JsonSubTypes.Type(name = "ParquetSource", value = ParquetSource.class), + @JsonSubTypes.Type(name = "ExcelSource", value = ExcelSource.class), @JsonSubTypes.Type(name = "AvroSource", value = AvroSource.class) }) public class CopySource { diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java index f975b77f31df1..27d82aa33f7ad 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSink.java @@ -20,6 +20,18 @@ public class DataFlowSink extends Transformation { @JsonProperty(value = "dataset") private DatasetReference dataset; + /** + * Linked service reference. + */ + @JsonProperty(value = "linkedService") + private LinkedServiceReference linkedService; + + /** + * Schema linked service reference. + */ + @JsonProperty(value = "schemaLinkedService") + private LinkedServiceReference schemaLinkedService; + /** * Get dataset reference. * @@ -40,4 +52,44 @@ public DataFlowSink withDataset(DatasetReference dataset) { return this; } + /** + * Get linked service reference. + * + * @return the linkedService value + */ + public LinkedServiceReference linkedService() { + return this.linkedService; + } + + /** + * Set linked service reference. + * + * @param linkedService the linkedService value to set + * @return the DataFlowSink object itself. + */ + public DataFlowSink withLinkedService(LinkedServiceReference linkedService) { + this.linkedService = linkedService; + return this; + } + + /** + * Get schema linked service reference. + * + * @return the schemaLinkedService value + */ + public LinkedServiceReference schemaLinkedService() { + return this.schemaLinkedService; + } + + /** + * Set schema linked service reference. + * + * @param schemaLinkedService the schemaLinkedService value to set + * @return the DataFlowSink object itself. + */ + public DataFlowSink withSchemaLinkedService(LinkedServiceReference schemaLinkedService) { + this.schemaLinkedService = schemaLinkedService; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java index e8fd7c9703eee..72f5cd40bbd10 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DataFlowSource.java @@ -20,6 +20,18 @@ public class DataFlowSource extends Transformation { @JsonProperty(value = "dataset") private DatasetReference dataset; + /** + * Linked service reference. + */ + @JsonProperty(value = "linkedService") + private LinkedServiceReference linkedService; + + /** + * Schema linked service reference. + */ + @JsonProperty(value = "schemaLinkedService") + private LinkedServiceReference schemaLinkedService; + /** * Get dataset reference. * @@ -40,4 +52,44 @@ public DataFlowSource withDataset(DatasetReference dataset) { return this; } + /** + * Get linked service reference. + * + * @return the linkedService value + */ + public LinkedServiceReference linkedService() { + return this.linkedService; + } + + /** + * Set linked service reference. + * + * @param linkedService the linkedService value to set + * @return the DataFlowSource object itself. + */ + public DataFlowSource withLinkedService(LinkedServiceReference linkedService) { + this.linkedService = linkedService; + return this; + } + + /** + * Get schema linked service reference. + * + * @return the schemaLinkedService value + */ + public LinkedServiceReference schemaLinkedService() { + return this.schemaLinkedService; + } + + /** + * Set schema linked service reference. + * + * @param schemaLinkedService the schemaLinkedService value to set + * @return the DataFlowSource object itself. + */ + public DataFlowSource withSchemaLinkedService(LinkedServiceReference schemaLinkedService) { + this.schemaLinkedService = schemaLinkedService; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DeleteActivity.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DeleteActivity.java index 278f82e6dc80b..b420fb15aa648 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DeleteActivity.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DeleteActivity.java @@ -54,6 +54,12 @@ public class DeleteActivity extends ExecutionActivity { @JsonProperty(value = "typeProperties.dataset", required = true) private DatasetReference dataset; + /** + * Delete activity store settings. + */ + @JsonProperty(value = "typeProperties.storeSettings") + private StoreReadSettings storeSettings; + /** * Get if true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). * @@ -154,4 +160,24 @@ public DeleteActivity withDataset(DatasetReference dataset) { return this; } + /** + * Get delete activity store settings. + * + * @return the storeSettings value + */ + public StoreReadSettings storeSettings() { + return this.storeSettings; + } + + /** + * Set delete activity store settings. + * + * @param storeSettings the storeSettings value to set + * @return the DeleteActivity object itself. + */ + public DeleteActivity withStoreSettings(StoreReadSettings storeSettings) { + this.storeSettings = storeSettings; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DelimitedTextReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DelimitedTextReadSettings.java index 1868d9076aba1..9f8ef1a8777be 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DelimitedTextReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DelimitedTextReadSettings.java @@ -25,6 +25,12 @@ public class DelimitedTextReadSettings extends FormatReadSettings { @JsonProperty(value = "skipLineCount") private Object skipLineCount; + /** + * Compression settings. + */ + @JsonProperty(value = "compressionProperties") + private CompressionReadSettings compressionProperties; + /** * Get indicates the number of non-empty rows to skip when reading data from input files. Type: integer (or Expression with resultType integer). * @@ -45,4 +51,24 @@ public DelimitedTextReadSettings withSkipLineCount(Object skipLineCount) { return this; } + /** + * Get compression settings. + * + * @return the compressionProperties value + */ + public CompressionReadSettings compressionProperties() { + return this.compressionProperties; + } + + /** + * Set compression settings. + * + * @param compressionProperties the compressionProperties value to set + * @return the DelimitedTextReadSettings object itself. + */ + public DelimitedTextReadSettings withCompressionProperties(CompressionReadSettings compressionProperties) { + this.compressionProperties = compressionProperties; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DynamicsAXSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DynamicsAXSource.java index 78474ef80debc..fc2edb22f8339 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DynamicsAXSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/DynamicsAXSource.java @@ -25,6 +25,15 @@ public class DynamicsAXSource extends TabularSource { @JsonProperty(value = "query") private Object query; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get + * a response, not the timeout to read response data. Default value: + * 00:05:00. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + /** * Get a query to retrieve data from source. Type: string (or Expression with resultType string). * @@ -45,4 +54,24 @@ public DynamicsAXSource withQuery(Object query) { return this; } + /** + * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the DynamicsAXSource object itself. + */ + public DynamicsAXSource withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelDataset.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelDataset.java new file mode 100644 index 0000000000000..72370de486625 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelDataset.java @@ -0,0 +1,186 @@ +/** + * 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.datafactory.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.datafactory.v2018_06_01.implementation.DatasetInner; + +/** + * Excel dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ExcelDataset.class) +@JsonTypeName("Excel") +@JsonFlatten +public class ExcelDataset extends DatasetInner { + /** + * The location of the excel storage. + */ + @JsonProperty(value = "typeProperties.location", required = true) + private DatasetLocation location; + + /** + * The sheet of excel file. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.sheetName", required = true) + private Object sheetName; + + /** + * The partial data of one sheet. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "typeProperties.range") + private Object range; + + /** + * 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 data compression method used for the json dataset. + */ + @JsonProperty(value = "typeProperties.compression") + private DatasetCompression compression; + + /** + * The null value string. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "typeProperties.nullValue") + private Object nullValue; + + /** + * Get the location of the excel storage. + * + * @return the location value + */ + public DatasetLocation location() { + return this.location; + } + + /** + * Set the location of the excel storage. + * + * @param location the location value to set + * @return the ExcelDataset object itself. + */ + public ExcelDataset withLocation(DatasetLocation location) { + this.location = location; + return this; + } + + /** + * Get the sheet of excel file. Type: string (or Expression with resultType string). + * + * @return the sheetName value + */ + public Object sheetName() { + return this.sheetName; + } + + /** + * Set the sheet of excel file. Type: string (or Expression with resultType string). + * + * @param sheetName the sheetName value to set + * @return the ExcelDataset object itself. + */ + public ExcelDataset withSheetName(Object sheetName) { + this.sheetName = sheetName; + return this; + } + + /** + * Get the partial data of one sheet. Type: string (or Expression with resultType string). + * + * @return the range value + */ + public Object range() { + return this.range; + } + + /** + * Set the partial data of one sheet. Type: string (or Expression with resultType string). + * + * @param range the range value to set + * @return the ExcelDataset object itself. + */ + public ExcelDataset withRange(Object range) { + this.range = range; + 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 ExcelDataset object itself. + */ + public ExcelDataset withFirstRowAsHeader(Object firstRowAsHeader) { + this.firstRowAsHeader = firstRowAsHeader; + return this; + } + + /** + * Get the data compression method used for the json dataset. + * + * @return the compression value + */ + public DatasetCompression compression() { + return this.compression; + } + + /** + * Set the data compression method used for the json dataset. + * + * @param compression the compression value to set + * @return the ExcelDataset object itself. + */ + public ExcelDataset withCompression(DatasetCompression compression) { + this.compression = compression; + 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 ExcelDataset object itself. + */ + public ExcelDataset withNullValue(Object nullValue) { + this.nullValue = nullValue; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelSource.java new file mode 100644 index 0000000000000..dac063d5b209e --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExcelSource.java @@ -0,0 +1,75 @@ +/** + * 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.datafactory.v2018_06_01; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity excel source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ExcelSource.class) +@JsonTypeName("ExcelSource") +public class ExcelSource extends CopySource { + /** + * Excel store settings. + */ + @JsonProperty(value = "storeSettings") + private StoreReadSettings storeSettings; + + /** + * Specifies the additional columns to be added to source data. Type: array + * of objects (or Expression with resultType array of objects). + */ + @JsonProperty(value = "additionalColumns") + private List additionalColumns; + + /** + * Get excel store settings. + * + * @return the storeSettings value + */ + public StoreReadSettings storeSettings() { + return this.storeSettings; + } + + /** + * Set excel store settings. + * + * @param storeSettings the storeSettings value to set + * @return the ExcelSource object itself. + */ + public ExcelSource withStoreSettings(StoreReadSettings storeSettings) { + this.storeSettings = storeSettings; + return this; + } + + /** + * Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + * + * @return the additionalColumns value + */ + public List additionalColumns() { + return this.additionalColumns; + } + + /** + * Set specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + * + * @param additionalColumns the additionalColumns value to set + * @return the ExcelSource object itself. + */ + public ExcelSource withAdditionalColumns(List additionalColumns) { + this.additionalColumns = additionalColumns; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExportSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExportSettings.java new file mode 100644 index 0000000000000..6f322b480f3fa --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExportSettings.java @@ -0,0 +1,52 @@ +/** + * 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.datafactory.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; +import com.fasterxml.jackson.annotation.JsonSubTypes; + +/** + * Export command settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ExportSettings.class) +@JsonTypeName("ExportSettings") +@JsonSubTypes({ + @JsonSubTypes.Type(name = "SnowflakeExportCopyCommand", value = SnowflakeExportCopyCommand.class) +}) +public class ExportSettings { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * 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 ExportSettings object itself. + */ + public ExportSettings withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Factory.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Factory.java index f8544e543fe46..d47aa5f377f02 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Factory.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/Factory.java @@ -41,6 +41,11 @@ public interface Factory extends HasInner, Resource, GroupableReso */ String eTag(); + /** + * @return the globalParameters value. + */ + Map globalParameters(); + /** * @return the identity value. */ @@ -107,6 +112,18 @@ interface WithAdditionalProperties { WithCreate withAdditionalProperties(Map additionalProperties); } + /** + * The stage of the factory definition allowing to specify GlobalParameters. + */ + interface WithGlobalParameters { + /** + * Specifies globalParameters. + * @param globalParameters List of parameters for factory + * @return the next definition stage + */ + WithCreate withGlobalParameters(Map globalParameters); + } + /** * The stage of the factory definition allowing to specify Identity. */ @@ -136,7 +153,7 @@ interface WithRepoConfiguration { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdditionalProperties, DefinitionStages.WithIdentity, DefinitionStages.WithRepoConfiguration { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdditionalProperties, DefinitionStages.WithGlobalParameters, DefinitionStages.WithIdentity, DefinitionStages.WithRepoConfiguration { } } /** diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FileServerReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FileServerReadSettings.java index 9a64b8e218929..8946528386f81 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FileServerReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FileServerReadSettings.java @@ -53,6 +53,13 @@ public class FileServerReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -67,6 +74,14 @@ public class FileServerReadSettings extends StoreReadSettings { @JsonProperty(value = "modifiedDatetimeEnd") private Object modifiedDatetimeEnd; + /** + * Specify a filter to be used to select a subset of files in the + * folderPath rather than all files. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "fileFilter") + private Object fileFilter; + /** * Get if true, files under the folder path will be read recursively. Default is true. Type: boolean (or Expression with resultType boolean). * @@ -167,6 +182,26 @@ public FileServerReadSettings withEnablePartitionDiscovery(Boolean enablePartiti return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the FileServerReadSettings object itself. + */ + public FileServerReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * @@ -207,4 +242,24 @@ public FileServerReadSettings withModifiedDatetimeEnd(Object modifiedDatetimeEnd return this; } + /** + * Get specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + * + * @return the fileFilter value + */ + public Object fileFilter() { + return this.fileFilter; + } + + /** + * Set specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string). + * + * @param fileFilter the fileFilter value to set + * @return the FileServerReadSettings object itself. + */ + public FileServerReadSettings withFileFilter(Object fileFilter) { + this.fileFilter = fileFilter; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FormatReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FormatReadSettings.java index eef505e9b6214..c71079fac9de1 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FormatReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FormatReadSettings.java @@ -20,6 +20,9 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = FormatReadSettings.class) @JsonTypeName("FormatReadSettings") @JsonSubTypes({ + @JsonSubTypes.Type(name = "BinaryReadSettings", value = BinaryReadSettings.class), + @JsonSubTypes.Type(name = "XmlReadSettings", value = XmlReadSettings.class), + @JsonSubTypes.Type(name = "JsonReadSettings", value = JsonReadSettings.class), @JsonSubTypes.Type(name = "DelimitedTextReadSettings", value = DelimitedTextReadSettings.class) }) public class FormatReadSettings { diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FtpReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FtpReadSettings.java index 921642f9ff353..bf9383ce9e1f3 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FtpReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/FtpReadSettings.java @@ -39,6 +39,19 @@ public class FtpReadSettings extends StoreReadSettings { @JsonProperty(value = "wildcardFileName") private Object wildcardFileName; + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * Point to a text file that lists each file (relative path to the path * configured in the dataset) that you want to copy. Type: string (or @@ -113,6 +126,46 @@ public FtpReadSettings withWildcardFileName(Object 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 FtpReadSettings object itself. + */ + public FtpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the FtpReadSettings object itself. + */ + public FtpReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GetMetadataActivity.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GetMetadataActivity.java index 57beb041239df..d1335d556ac06 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GetMetadataActivity.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GetMetadataActivity.java @@ -33,6 +33,18 @@ public class GetMetadataActivity extends ExecutionActivity { @JsonProperty(value = "typeProperties.fieldList") private List fieldList; + /** + * GetMetadata activity store settings. + */ + @JsonProperty(value = "typeProperties.storeSettings") + private StoreReadSettings storeSettings; + + /** + * GetMetadata activity format settings. + */ + @JsonProperty(value = "typeProperties.formatSettings") + private FormatReadSettings formatSettings; + /** * Get getMetadata activity dataset reference. * @@ -73,4 +85,44 @@ public GetMetadataActivity withFieldList(List fieldList) { return this; } + /** + * Get getMetadata activity store settings. + * + * @return the storeSettings value + */ + public StoreReadSettings storeSettings() { + return this.storeSettings; + } + + /** + * Set getMetadata activity store settings. + * + * @param storeSettings the storeSettings value to set + * @return the GetMetadataActivity object itself. + */ + public GetMetadataActivity withStoreSettings(StoreReadSettings storeSettings) { + this.storeSettings = storeSettings; + return this; + } + + /** + * Get getMetadata activity format settings. + * + * @return the formatSettings value + */ + public FormatReadSettings formatSettings() { + return this.formatSettings; + } + + /** + * Set getMetadata activity format settings. + * + * @param formatSettings the formatSettings value to set + * @return the GetMetadataActivity object itself. + */ + public GetMetadataActivity withFormatSettings(FormatReadSettings formatSettings) { + this.formatSettings = formatSettings; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterSpecification.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterSpecification.java new file mode 100644 index 0000000000000..979f8234c892c --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterSpecification.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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Definition of a single parameter for an entity. + */ +public class GlobalParameterSpecification { + /** + * Global Parameter type. Possible values include: 'Object', 'String', + * 'Int', 'Float', 'Bool', 'Array'. + */ + @JsonProperty(value = "type", required = true) + private GlobalParameterType type; + + /** + * Value of parameter. + */ + @JsonProperty(value = "value", required = true) + private Object value; + + /** + * Get global Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array'. + * + * @return the type value + */ + public GlobalParameterType type() { + return this.type; + } + + /** + * Set global Parameter type. Possible values include: 'Object', 'String', 'Int', 'Float', 'Bool', 'Array'. + * + * @param type the type value to set + * @return the GlobalParameterSpecification object itself. + */ + public GlobalParameterSpecification withType(GlobalParameterType type) { + this.type = type; + return this; + } + + /** + * Get value of parameter. + * + * @return the value value + */ + public Object value() { + return this.value; + } + + /** + * Set value of parameter. + * + * @param value the value value to set + * @return the GlobalParameterSpecification object itself. + */ + public GlobalParameterSpecification withValue(Object value) { + this.value = value; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterType.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterType.java new file mode 100644 index 0000000000000..c996d716fce1f --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GlobalParameterType.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactory.v2018_06_01; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for GlobalParameterType. + */ +public final class GlobalParameterType extends ExpandableStringEnum { + /** Static value Object for GlobalParameterType. */ + public static final GlobalParameterType OBJECT = fromString("Object"); + + /** Static value String for GlobalParameterType. */ + public static final GlobalParameterType STRING = fromString("String"); + + /** Static value Int for GlobalParameterType. */ + public static final GlobalParameterType INT = fromString("Int"); + + /** Static value Float for GlobalParameterType. */ + public static final GlobalParameterType FLOAT = fromString("Float"); + + /** Static value Bool for GlobalParameterType. */ + public static final GlobalParameterType BOOL = fromString("Bool"); + + /** Static value Array for GlobalParameterType. */ + public static final GlobalParameterType ARRAY = fromString("Array"); + + /** + * Creates or finds a GlobalParameterType from its string representation. + * @param name a name to look for + * @return the corresponding GlobalParameterType + */ + @JsonCreator + public static GlobalParameterType fromString(String name) { + return fromString(name, GlobalParameterType.class); + } + + /** + * @return known GlobalParameterType values + */ + public static Collection values() { + return values(GlobalParameterType.class); + } +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageReadSettings.java index c6368a06345f3..dd1435268df6d 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageReadSettings.java @@ -60,6 +60,13 @@ public class GoogleCloudStorageReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -194,6 +201,26 @@ public GoogleCloudStorageReadSettings withEnablePartitionDiscovery(Boolean enabl return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the GoogleCloudStorageReadSettings object itself. + */ + public GoogleCloudStorageReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HdfsReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HdfsReadSettings.java index 6915c721c2da3..f6939ccc73c1a 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HdfsReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HdfsReadSettings.java @@ -53,6 +53,13 @@ public class HdfsReadSettings extends StoreReadSettings { @JsonProperty(value = "enablePartitionDiscovery") private Boolean enablePartitionDiscovery; + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * The start of file's modified datetime. Type: string (or Expression with * resultType string). @@ -173,6 +180,26 @@ public HdfsReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDisc return this; } + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the HdfsReadSettings object itself. + */ + public HdfsReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get the start of file's modified datetime. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HttpReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HttpReadSettings.java index 1c08927d4fd25..be25e6fb02c7e 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HttpReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/HttpReadSettings.java @@ -46,6 +46,19 @@ public class HttpReadSettings extends StoreReadSettings { @JsonProperty(value = "requestTimeout") private Object requestTimeout; + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * Get the HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string). * @@ -126,4 +139,44 @@ public HttpReadSettings withRequestTimeout(Object requestTimeout) { 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 HttpReadSettings object itself. + */ + public HttpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the HttpReadSettings object itself. + */ + public HttpReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ImportSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ImportSettings.java new file mode 100644 index 0000000000000..a6ce0f6222051 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ImportSettings.java @@ -0,0 +1,52 @@ +/** + * 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.datafactory.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; +import com.fasterxml.jackson.annotation.JsonSubTypes; + +/** + * Import command settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ImportSettings.class) +@JsonTypeName("ImportSettings") +@JsonSubTypes({ + @JsonSubTypes.Type(name = "SnowflakeImportCopyCommand", value = SnowflakeImportCopyCommand.class) +}) +public class ImportSettings { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * 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 ImportSettings object itself. + */ + public ImportSettings withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/IntegrationRuntimeSsisProperties.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/IntegrationRuntimeSsisProperties.java index 9724b925ec960..cf10170a64179 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/IntegrationRuntimeSsisProperties.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/IntegrationRuntimeSsisProperties.java @@ -61,6 +61,12 @@ public class IntegrationRuntimeSsisProperties { @JsonProperty(value = "expressCustomSetupProperties") private List expressCustomSetupProperties; + /** + * Package stores for the SSIS Integration Runtime. + */ + @JsonProperty(value = "packageStores") + private List packageStores; + /** * Get unmatched properties from the message are deserialized this collection. * @@ -201,4 +207,24 @@ public IntegrationRuntimeSsisProperties withExpressCustomSetupProperties(List packageStores() { + return this.packageStores; + } + + /** + * Set package stores for the SSIS Integration Runtime. + * + * @param packageStores the packageStores value to set + * @return the IntegrationRuntimeSsisProperties object itself. + */ + public IntegrationRuntimeSsisProperties withPackageStores(List packageStores) { + this.packageStores = packageStores; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonReadSettings.java new file mode 100644 index 0000000000000..751f29fc8b4a9 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonReadSettings.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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * Json read settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = JsonReadSettings.class) +@JsonTypeName("JsonReadSettings") +public class JsonReadSettings extends FormatReadSettings { + /** + * Compression settings. + */ + @JsonProperty(value = "compressionProperties") + private CompressionReadSettings compressionProperties; + + /** + * Get compression settings. + * + * @return the compressionProperties value + */ + public CompressionReadSettings compressionProperties() { + return this.compressionProperties; + } + + /** + * Set compression settings. + * + * @param compressionProperties the compressionProperties value to set + * @return the JsonReadSettings object itself. + */ + public JsonReadSettings withCompressionProperties(CompressionReadSettings compressionProperties) { + this.compressionProperties = compressionProperties; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonSource.java index 84a3eb79a72f1..38cfa928a3cde 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/JsonSource.java @@ -25,6 +25,12 @@ public class JsonSource extends CopySource { @JsonProperty(value = "storeSettings") private StoreReadSettings storeSettings; + /** + * Json format settings. + */ + @JsonProperty(value = "formatSettings") + private JsonReadSettings formatSettings; + /** * Specifies the additional columns to be added to source data. Type: array * of objects (or Expression with resultType array of objects). @@ -52,6 +58,26 @@ public JsonSource withStoreSettings(StoreReadSettings storeSettings) { return this; } + /** + * Get json format settings. + * + * @return the formatSettings value + */ + public JsonReadSettings formatSettings() { + return this.formatSettings; + } + + /** + * Set json format settings. + * + * @param formatSettings the formatSettings value to set + * @return the JsonSource object itself. + */ + public JsonSource withFormatSettings(JsonReadSettings formatSettings) { + this.formatSettings = formatSettings; + return this; + } + /** * Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataSource.java index 57c3fae095737..01b9c8e5b9f53 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ODataSource.java @@ -26,6 +26,15 @@ public class ODataSource extends CopySource { @JsonProperty(value = "query") private Object query; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get + * a response, not the timeout to read response data. Default value: + * 00:05:00. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + /** * Specifies the additional columns to be added to source data. Type: array * of objects (or Expression with resultType array of objects). @@ -53,6 +62,26 @@ public ODataSource withQuery(Object query) { return this; } + /** + * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the ODataSource object itself. + */ + public ODataSource withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + /** * Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/PackageStore.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/PackageStore.java new file mode 100644 index 0000000000000..08655b7752db0 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/PackageStore.java @@ -0,0 +1,69 @@ +/** + * 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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Package store for the SSIS integration runtime. + */ +public class PackageStore { + /** + * The name of the package store. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /** + * The package store linked service reference. + */ + @JsonProperty(value = "packageStoreLinkedService", required = true) + private EntityReference packageStoreLinkedService; + + /** + * Get the name of the package store. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name of the package store. + * + * @param name the name value to set + * @return the PackageStore object itself. + */ + public PackageStore withName(String name) { + this.name = name; + return this; + } + + /** + * Get the package store linked service reference. + * + * @return the packageStoreLinkedService value + */ + public EntityReference packageStoreLinkedService() { + return this.packageStoreLinkedService; + } + + /** + * Set the package store linked service reference. + * + * @param packageStoreLinkedService the packageStoreLinkedService value to set + * @return the PackageStore object itself. + */ + public PackageStore withPackageStoreLinkedService(EntityReference packageStoreLinkedService) { + this.packageStoreLinkedService = packageStoreLinkedService; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SSISPackageLocation.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SSISPackageLocation.java index b41049152c878..06ba20b800f0b 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SSISPackageLocation.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SSISPackageLocation.java @@ -26,7 +26,7 @@ public class SSISPackageLocation { /** * The type of SSIS package location. Possible values include: 'SSISDB', - * 'File', 'InlinePackage'. + * 'File', 'InlinePackage', 'PackageStore'. */ @JsonProperty(value = "type") private SsisPackageLocationType type; @@ -50,6 +50,12 @@ public class SSISPackageLocation { @JsonProperty(value = "typeProperties.configurationPath") private Object configurationPath; + /** + * The configuration file access credential. + */ + @JsonProperty(value = "typeProperties.configurationAccessCredential") + private SSISAccessCredential configurationAccessCredential; + /** * The package name. */ @@ -96,7 +102,7 @@ public SSISPackageLocation withPackagePath(Object packagePath) { } /** - * Get the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage'. + * Get the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore'. * * @return the type value */ @@ -105,7 +111,7 @@ public SsisPackageLocationType type() { } /** - * Set the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage'. + * Set the type of SSIS package location. Possible values include: 'SSISDB', 'File', 'InlinePackage', 'PackageStore'. * * @param type the type value to set * @return the SSISPackageLocation object itself. @@ -175,6 +181,26 @@ public SSISPackageLocation withConfigurationPath(Object configurationPath) { return this; } + /** + * Get the configuration file access credential. + * + * @return the configurationAccessCredential value + */ + public SSISAccessCredential configurationAccessCredential() { + return this.configurationAccessCredential; + } + + /** + * Set the configuration file access credential. + * + * @param configurationAccessCredential the configurationAccessCredential value to set + * @return the SSISPackageLocation object itself. + */ + public SSISPackageLocation withConfigurationAccessCredential(SSISAccessCredential configurationAccessCredential) { + this.configurationAccessCredential = configurationAccessCredential; + return this; + } + /** * Get the package name. * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSink.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSink.java index 9e21ed6d3babe..0874e25636103 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSink.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSink.java @@ -25,6 +25,15 @@ public class SapCloudForCustomerSink extends CopySink { @JsonProperty(value = "writeBehavior") private SapCloudForCustomerSinkWriteBehavior writeBehavior; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get + * a response, not the timeout to read response data. Default value: + * 00:05:00. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + /** * Get the write behavior for the operation. Default is 'Insert'. Possible values include: 'Insert', 'Update'. * @@ -45,4 +54,24 @@ public SapCloudForCustomerSink withWriteBehavior(SapCloudForCustomerSinkWriteBeh return this; } + /** + * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the SapCloudForCustomerSink object itself. + */ + public SapCloudForCustomerSink withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSource.java index ceed077c4ed48..165c389781f98 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapCloudForCustomerSource.java @@ -25,6 +25,15 @@ public class SapCloudForCustomerSource extends TabularSource { @JsonProperty(value = "query") private Object query; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get + * a response, not the timeout to read response data. Default value: + * 00:05:00. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + /** * Get sAP Cloud for Customer OData query. For example, "$top=1". Type: string (or Expression with resultType string). * @@ -45,4 +54,24 @@ public SapCloudForCustomerSource withQuery(Object query) { return this; } + /** + * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the SapCloudForCustomerSource object itself. + */ + public SapCloudForCustomerSource withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapEccSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapEccSource.java index fc07525a791c6..a2fdf152404da 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapEccSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapEccSource.java @@ -25,6 +25,15 @@ public class SapEccSource extends TabularSource { @JsonProperty(value = "query") private Object query; + /** + * The timeout (TimeSpan) to get an HTTP response. It is the timeout to get + * a response, not the timeout to read response data. Default value: + * 00:05:00. Type: string (or Expression with resultType string), pattern: + * ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + /** * Get sAP ECC OData query. For example, "$top=1". Type: string (or Expression with resultType string). * @@ -45,4 +54,24 @@ public SapEccSource withQuery(Object query) { return this; } + /** + * Get the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:05:00. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the SapEccSource object itself. + */ + public SapEccSource withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaLinkedService.java index 5a943f3b4d5a3..a998c492824a6 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaLinkedService.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaLinkedService.java @@ -32,7 +32,7 @@ public class SapHanaLinkedService extends LinkedServiceInner { * Host name of the SAP HANA server. Type: string (or Expression with * resultType string). */ - @JsonProperty(value = "typeProperties.server", required = true) + @JsonProperty(value = "typeProperties.server") private Object server; /** diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SftpReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SftpReadSettings.java index c8e3012479407..8f5acc2bfab50 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SftpReadSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SftpReadSettings.java @@ -39,6 +39,19 @@ public class SftpReadSettings extends StoreReadSettings { @JsonProperty(value = "wildcardFileName") private Object wildcardFileName; + /** + * Indicates whether to enable partition discovery. + */ + @JsonProperty(value = "enablePartitionDiscovery") + private Boolean enablePartitionDiscovery; + + /** + * Specify the root path where partition discovery starts from. Type: + * string (or Expression with resultType string). + */ + @JsonProperty(value = "partitionRootPath") + private Object partitionRootPath; + /** * Point to a text file that lists each file (relative path to the path * configured in the dataset) that you want to copy. Type: string (or @@ -121,6 +134,46 @@ public SftpReadSettings withWildcardFileName(Object 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 SftpReadSettings object itself. + */ + public SftpReadSettings withEnablePartitionDiscovery(Boolean enablePartitionDiscovery) { + this.enablePartitionDiscovery = enablePartitionDiscovery; + return this; + } + + /** + * Get specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @return the partitionRootPath value + */ + public Object partitionRootPath() { + return this.partitionRootPath; + } + + /** + * Set specify the root path where partition discovery starts from. Type: string (or Expression with resultType string). + * + * @param partitionRootPath the partitionRootPath value to set + * @return the SftpReadSettings object itself. + */ + public SftpReadSettings withPartitionRootPath(Object partitionRootPath) { + this.partitionRootPath = partitionRootPath; + return this; + } + /** * Get point to a text file that lists each file (relative path to the path configured in the dataset) that you want to copy. Type: string (or Expression with resultType string). * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListLinkedService.java new file mode 100644 index 0000000000000..deb308ebde01b --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListLinkedService.java @@ -0,0 +1,163 @@ +/** + * 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.datafactory.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.datafactory.v2018_06_01.implementation.LinkedServiceInner; + +/** + * SharePoint Online List linked service. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SharePointOnlineListLinkedService.class) +@JsonTypeName("SharePointOnlineList") +@JsonFlatten +public class SharePointOnlineListLinkedService extends LinkedServiceInner { + /** + * The URL of the SharePoint Online site. For example, + * https://contoso.sharepoint.com/sites/siteName. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.siteUrl", required = true) + private Object siteUrl; + + /** + * The tenant ID under which your application resides. You can find it from + * Azure portal Active Directory overview page. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "typeProperties.tenantId", required = true) + private Object tenantId; + + /** + * The application (client) ID of your application registered in Azure + * Active Directory. Make sure to grant SharePoint site permission to this + * application. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.servicePrincipalId", required = true) + private Object servicePrincipalId; + + /** + * The client secret of your application registered in Azure Active + * Directory. Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "typeProperties.servicePrincipalKey", required = true) + private SecretBase servicePrincipalKey; + + /** + * 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 the URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). + * + * @return the siteUrl value + */ + public Object siteUrl() { + return this.siteUrl; + } + + /** + * Set the URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string). + * + * @param siteUrl the siteUrl value to set + * @return the SharePointOnlineListLinkedService object itself. + */ + public SharePointOnlineListLinkedService withSiteUrl(Object siteUrl) { + this.siteUrl = siteUrl; + return this; + } + + /** + * Get the tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). + * + * @return the tenantId value + */ + public Object tenantId() { + return this.tenantId; + } + + /** + * Set the tenant ID under which your application resides. You can find it from Azure portal Active Directory overview page. Type: string (or Expression with resultType string). + * + * @param tenantId the tenantId value to set + * @return the SharePointOnlineListLinkedService object itself. + */ + public SharePointOnlineListLinkedService withTenantId(Object tenantId) { + this.tenantId = tenantId; + return this; + } + + /** + * Get the application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). + * + * @return the servicePrincipalId value + */ + public Object servicePrincipalId() { + return this.servicePrincipalId; + } + + /** + * Set the application (client) ID of your application registered in Azure Active Directory. Make sure to grant SharePoint site permission to this application. Type: string (or Expression with resultType string). + * + * @param servicePrincipalId the servicePrincipalId value to set + * @return the SharePointOnlineListLinkedService object itself. + */ + public SharePointOnlineListLinkedService withServicePrincipalId(Object servicePrincipalId) { + this.servicePrincipalId = servicePrincipalId; + return this; + } + + /** + * Get the client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + * + * @return the servicePrincipalKey value + */ + public SecretBase servicePrincipalKey() { + return this.servicePrincipalKey; + } + + /** + * Set the client secret of your application registered in Azure Active Directory. Type: string (or Expression with resultType string). + * + * @param servicePrincipalKey the servicePrincipalKey value to set + * @return the SharePointOnlineListLinkedService object itself. + */ + public SharePointOnlineListLinkedService withServicePrincipalKey(SecretBase servicePrincipalKey) { + this.servicePrincipalKey = servicePrincipalKey; + 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 SharePointOnlineListLinkedService object itself. + */ + public SharePointOnlineListLinkedService withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListResourceDataset.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListResourceDataset.java new file mode 100644 index 0000000000000..036a57d56ba79 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListResourceDataset.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.datafactory.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.datafactory.v2018_06_01.implementation.DatasetInner; + +/** + * The sharepoint online list resource dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SharePointOnlineListResourceDataset.class) +@JsonTypeName("SharePointOnlineListResource") +@JsonFlatten +public class SharePointOnlineListResourceDataset extends DatasetInner { + /** + * The name of the SharePoint Online list. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "typeProperties.listName") + private Object listName; + + /** + * Get the name of the SharePoint Online list. Type: string (or Expression with resultType string). + * + * @return the listName value + */ + public Object listName() { + return this.listName; + } + + /** + * Set the name of the SharePoint Online list. Type: string (or Expression with resultType string). + * + * @param listName the listName value to set + * @return the SharePointOnlineListResourceDataset object itself. + */ + public SharePointOnlineListResourceDataset withListName(Object listName) { + this.listName = listName; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListSource.java new file mode 100644 index 0000000000000..0ad953141b806 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SharePointOnlineListSource.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.datafactory.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 sharePoint online list source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SharePointOnlineListSource.class) +@JsonTypeName("SharePointOnlineListSource") +public class SharePointOnlineListSource extends CopySource { + /** + * The OData query to filter the data in SharePoint Online list. For + * example, "$top=1". Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * The wait time to get a response from SharePoint Online. Default value is + * 5 minutes (00:05:00). Type: string (or Expression with resultType + * string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + */ + @JsonProperty(value = "httpRequestTimeout") + private Object httpRequestTimeout; + + /** + * Get the OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set the OData query to filter the data in SharePoint Online list. For example, "$top=1". Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the SharePointOnlineListSource object itself. + */ + public SharePointOnlineListSource withQuery(Object query) { + this.query = query; + return this; + } + + /** + * Get the wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @return the httpRequestTimeout value + */ + public Object httpRequestTimeout() { + return this.httpRequestTimeout; + } + + /** + * Set the wait time to get a response from SharePoint Online. Default value is 5 minutes (00:05:00). Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). + * + * @param httpRequestTimeout the httpRequestTimeout value to set + * @return the SharePointOnlineListSource object itself. + */ + public SharePointOnlineListSource withHttpRequestTimeout(Object httpRequestTimeout) { + this.httpRequestTimeout = httpRequestTimeout; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeDataset.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeDataset.java new file mode 100644 index 0000000000000..220b0b56517b9 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeDataset.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.datafactory.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.datafactory.v2018_06_01.implementation.DatasetInner; + +/** + * The snowflake dataset. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeDataset.class) +@JsonTypeName("SnowflakeTable") +@JsonFlatten +public class SnowflakeDataset extends DatasetInner { + /** + * The schema name of the Snowflake database. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "typeProperties.schema") + private Object snowflakeDatasetSchema; + + /** + * The table name of the Snowflake database. Type: string (or Expression + * with resultType string). + */ + @JsonProperty(value = "typeProperties.table") + private Object table; + + /** + * Get the schema name of the Snowflake database. Type: string (or Expression with resultType string). + * + * @return the snowflakeDatasetSchema value + */ + public Object snowflakeDatasetSchema() { + return this.snowflakeDatasetSchema; + } + + /** + * Set the schema name of the Snowflake database. Type: string (or Expression with resultType string). + * + * @param snowflakeDatasetSchema the snowflakeDatasetSchema value to set + * @return the SnowflakeDataset object itself. + */ + public SnowflakeDataset withSnowflakeDatasetSchema(Object snowflakeDatasetSchema) { + this.snowflakeDatasetSchema = snowflakeDatasetSchema; + return this; + } + + /** + * Get the table name of the Snowflake database. Type: string (or Expression with resultType string). + * + * @return the table value + */ + public Object table() { + return this.table; + } + + /** + * Set the table name of the Snowflake database. Type: string (or Expression with resultType string). + * + * @param table the table value to set + * @return the SnowflakeDataset object itself. + */ + public SnowflakeDataset withTable(Object table) { + this.table = table; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeExportCopyCommand.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeExportCopyCommand.java new file mode 100644 index 0000000000000..f98578e97a571 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeExportCopyCommand.java @@ -0,0 +1,80 @@ +/** + * 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.datafactory.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; + +/** + * Snowflake export command settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeExportCopyCommand.class) +@JsonTypeName("SnowflakeExportCopyCommand") +public class SnowflakeExportCopyCommand extends ExportSettings { + /** + * Additional copy options directly passed to snowflake Copy Command. Type: + * key value pairs (value should be string type) (or Expression with + * resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": + * "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + */ + @JsonProperty(value = "additionalCopyOptions") + private Map additionalCopyOptions; + + /** + * Additional format options directly passed to snowflake Copy Command. + * Type: key value pairs (value should be string type) (or Expression with + * resultType object). Example: "additionalFormatOptions": { "OVERWRITE": + * "TRUE", "MAX_FILE_SIZE": "'FALSE'" }. + */ + @JsonProperty(value = "additionalFormatOptions") + private Map additionalFormatOptions; + + /** + * Get additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + * + * @return the additionalCopyOptions value + */ + public Map additionalCopyOptions() { + return this.additionalCopyOptions; + } + + /** + * Set additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + * + * @param additionalCopyOptions the additionalCopyOptions value to set + * @return the SnowflakeExportCopyCommand object itself. + */ + public SnowflakeExportCopyCommand withAdditionalCopyOptions(Map additionalCopyOptions) { + this.additionalCopyOptions = additionalCopyOptions; + return this; + } + + /** + * Get additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }. + * + * @return the additionalFormatOptions value + */ + public Map additionalFormatOptions() { + return this.additionalFormatOptions; + } + + /** + * Set additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "OVERWRITE": "TRUE", "MAX_FILE_SIZE": "'FALSE'" }. + * + * @param additionalFormatOptions the additionalFormatOptions value to set + * @return the SnowflakeExportCopyCommand object itself. + */ + public SnowflakeExportCopyCommand withAdditionalFormatOptions(Map additionalFormatOptions) { + this.additionalFormatOptions = additionalFormatOptions; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeImportCopyCommand.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeImportCopyCommand.java new file mode 100644 index 0000000000000..200645c825705 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeImportCopyCommand.java @@ -0,0 +1,80 @@ +/** + * 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.datafactory.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; + +/** + * Snowflake import command settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeImportCopyCommand.class) +@JsonTypeName("SnowflakeImportCopyCommand") +public class SnowflakeImportCopyCommand extends ImportSettings { + /** + * Additional copy options directly passed to snowflake Copy Command. Type: + * key value pairs (value should be string type) (or Expression with + * resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": + * "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + */ + @JsonProperty(value = "additionalCopyOptions") + private Map additionalCopyOptions; + + /** + * Additional format options directly passed to snowflake Copy Command. + * Type: key value pairs (value should be string type) (or Expression with + * resultType object). Example: "additionalFormatOptions": { "FORCE": + * "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }. + */ + @JsonProperty(value = "additionalFormatOptions") + private Map additionalFormatOptions; + + /** + * Get additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + * + * @return the additionalCopyOptions value + */ + public Map additionalCopyOptions() { + return this.additionalCopyOptions; + } + + /** + * Set additional copy options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalCopyOptions": { "DATE_FORMAT": "MM/DD/YYYY", "TIME_FORMAT": "'HH24:MI:SS.FF'" }. + * + * @param additionalCopyOptions the additionalCopyOptions value to set + * @return the SnowflakeImportCopyCommand object itself. + */ + public SnowflakeImportCopyCommand withAdditionalCopyOptions(Map additionalCopyOptions) { + this.additionalCopyOptions = additionalCopyOptions; + return this; + } + + /** + * Get additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }. + * + * @return the additionalFormatOptions value + */ + public Map additionalFormatOptions() { + return this.additionalFormatOptions; + } + + /** + * Set additional format options directly passed to snowflake Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalFormatOptions": { "FORCE": "TRUE", "LOAD_UNCERTAIN_FILES": "'FALSE'" }. + * + * @param additionalFormatOptions the additionalFormatOptions value to set + * @return the SnowflakeImportCopyCommand object itself. + */ + public SnowflakeImportCopyCommand withAdditionalFormatOptions(Map additionalFormatOptions) { + this.additionalFormatOptions = additionalFormatOptions; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeLinkedService.java new file mode 100644 index 0000000000000..770dfadbff8f0 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeLinkedService.java @@ -0,0 +1,104 @@ +/** + * 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.datafactory.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.datafactory.v2018_06_01.implementation.LinkedServiceInner; + +/** + * Snowflake linked service. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeLinkedService.class) +@JsonTypeName("Snowflake") +@JsonFlatten +public class SnowflakeLinkedService extends LinkedServiceInner { + /** + * The connection string of snowflake. Type: string, SecureString. + */ + @JsonProperty(value = "typeProperties.connectionString", required = true) + private Object connectionString; + + /** + * The Azure key vault secret reference of password in connection string. + */ + @JsonProperty(value = "typeProperties.password") + private AzureKeyVaultSecretReference password; + + /** + * 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 the connection string of snowflake. Type: string, SecureString. + * + * @return the connectionString value + */ + public Object connectionString() { + return this.connectionString; + } + + /** + * Set the connection string of snowflake. Type: string, SecureString. + * + * @param connectionString the connectionString value to set + * @return the SnowflakeLinkedService object itself. + */ + public SnowflakeLinkedService withConnectionString(Object connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get the Azure key vault secret reference of password in connection string. + * + * @return the password value + */ + public AzureKeyVaultSecretReference password() { + return this.password; + } + + /** + * Set the Azure key vault secret reference of password in connection string. + * + * @param password the password value to set + * @return the SnowflakeLinkedService object itself. + */ + public SnowflakeLinkedService withPassword(AzureKeyVaultSecretReference password) { + this.password = password; + 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 SnowflakeLinkedService object itself. + */ + public SnowflakeLinkedService withEncryptedCredential(Object encryptedCredential) { + this.encryptedCredential = encryptedCredential; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSink.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSink.java new file mode 100644 index 0000000000000..bed7874db1d6e --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSink.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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity snowflake sink. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeSink.class) +@JsonTypeName("SnowflakeSink") +public class SnowflakeSink extends CopySink { + /** + * SQL pre-copy script. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "preCopyScript") + private Object preCopyScript; + + /** + * Snowflake import settings. + */ + @JsonProperty(value = "importSettings") + private SnowflakeImportCopyCommand importSettings; + + /** + * 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 SnowflakeSink object itself. + */ + public SnowflakeSink withPreCopyScript(Object preCopyScript) { + this.preCopyScript = preCopyScript; + return this; + } + + /** + * Get snowflake import settings. + * + * @return the importSettings value + */ + public SnowflakeImportCopyCommand importSettings() { + return this.importSettings; + } + + /** + * Set snowflake import settings. + * + * @param importSettings the importSettings value to set + * @return the SnowflakeSink object itself. + */ + public SnowflakeSink withImportSettings(SnowflakeImportCopyCommand importSettings) { + this.importSettings = importSettings; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSource.java new file mode 100644 index 0000000000000..c9406c096e17b --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SnowflakeSource.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.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * A copy activity snowflake source. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = SnowflakeSource.class) +@JsonTypeName("SnowflakeSource") +public class SnowflakeSource extends CopySource { + /** + * Snowflake Sql query. Type: string (or Expression with resultType + * string). + */ + @JsonProperty(value = "query") + private Object query; + + /** + * Snowflake export settings. + */ + @JsonProperty(value = "exportSettings") + private SnowflakeExportCopyCommand exportSettings; + + /** + * Get snowflake Sql query. Type: string (or Expression with resultType string). + * + * @return the query value + */ + public Object query() { + return this.query; + } + + /** + * Set snowflake Sql query. Type: string (or Expression with resultType string). + * + * @param query the query value to set + * @return the SnowflakeSource object itself. + */ + public SnowflakeSource withQuery(Object query) { + this.query = query; + return this; + } + + /** + * Get snowflake export settings. + * + * @return the exportSettings value + */ + public SnowflakeExportCopyCommand exportSettings() { + return this.exportSettings; + } + + /** + * Set snowflake export settings. + * + * @param exportSettings the exportSettings value to set + * @return the SnowflakeSource object itself. + */ + public SnowflakeSource withExportSettings(SnowflakeExportCopyCommand exportSettings) { + this.exportSettings = exportSettings; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SsisPackageLocationType.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SsisPackageLocationType.java index bb3ccf778cd60..dc99b6f2860f1 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SsisPackageLocationType.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SsisPackageLocationType.java @@ -25,6 +25,9 @@ public final class SsisPackageLocationType extends ExpandableStringEnum additionalColumns; + + /** + * Get xml store settings. + * + * @return the storeSettings value + */ + public StoreReadSettings storeSettings() { + return this.storeSettings; + } + + /** + * Set xml store settings. + * + * @param storeSettings the storeSettings value to set + * @return the XmlSource object itself. + */ + public XmlSource withStoreSettings(StoreReadSettings storeSettings) { + this.storeSettings = storeSettings; + return this; + } + + /** + * Get xml format settings. + * + * @return the formatSettings value + */ + public XmlReadSettings formatSettings() { + return this.formatSettings; + } + + /** + * Set xml format settings. + * + * @param formatSettings the formatSettings value to set + * @return the XmlSource object itself. + */ + public XmlSource withFormatSettings(XmlReadSettings formatSettings) { + this.formatSettings = formatSettings; + return this; + } + + /** + * Get specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + * + * @return the additionalColumns value + */ + public List additionalColumns() { + return this.additionalColumns; + } + + /** + * Set specifies the additional columns to be added to source data. Type: array of objects (or Expression with resultType array of objects). + * + * @param additionalColumns the additionalColumns value to set + * @return the XmlSource object itself. + */ + public XmlSource withAdditionalColumns(List additionalColumns) { + this.additionalColumns = additionalColumns; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ZipDeflateReadSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ZipDeflateReadSettings.java new file mode 100644 index 0000000000000..4266b70ffaecf --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ZipDeflateReadSettings.java @@ -0,0 +1,48 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonTypeInfo; +import com.fasterxml.jackson.annotation.JsonTypeName; + +/** + * The ZipDeflate compression read settings. + */ +@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = ZipDeflateReadSettings.class) +@JsonTypeName("ZipDeflateReadSettings") +public class ZipDeflateReadSettings extends CompressionReadSettings { + /** + * Preserve the zip file name as folder path. Type: boolean (or Expression + * with resultType boolean). + */ + @JsonProperty(value = "preserveZipFileNameAsFolder") + private Object preserveZipFileNameAsFolder; + + /** + * Get preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). + * + * @return the preserveZipFileNameAsFolder value + */ + public Object preserveZipFileNameAsFolder() { + return this.preserveZipFileNameAsFolder; + } + + /** + * Set preserve the zip file name as folder path. Type: boolean (or Expression with resultType boolean). + * + * @param preserveZipFileNameAsFolder the preserveZipFileNameAsFolder value to set + * @return the ZipDeflateReadSettings object itself. + */ + public ZipDeflateReadSettings withPreserveZipFileNameAsFolder(Object preserveZipFileNameAsFolder) { + this.preserveZipFileNameAsFolder = preserveZipFileNameAsFolder; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFlowInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFlowInner.java index ae6b5b3cdcbdd..640ce52d1e970 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFlowInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DataFlowInner.java @@ -14,7 +14,6 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.microsoft.azure.management.datafactory.v2018_06_01.MappingDataFlow; /** * Azure Data Factory nested object which contains a flow with data movements diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java index bb956ee4f264a..e6a553623dcae 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/DatasetInner.java @@ -9,66 +9,7 @@ package com.microsoft.azure.management.datafactory.v2018_06_01.implementation; import java.util.Map; - -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonMWSObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonRedshiftTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonS3Dataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AvroDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobFSDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataExplorerTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataLakeStoreDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMariaDBTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMySqlTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzurePostgreSqlTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSearchIndexDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlDWTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlMITableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.BinaryDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CassandraTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CommonDataServiceForAppsEntityDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ConcurObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbMongoDbApiCollectionDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbSqlApiCollectionDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CouchbaseTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.CustomDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.Db2TableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DelimitedTextDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DocumentDbCollectionDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DrillTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsAXResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsCrmEntityDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsEntityDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.EloquaObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.FileShareDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleAdWordsObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleBigQueryObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.GreenplumTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.HBaseObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.HiveObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.HttpDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.HubspotObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ImpalaObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.InformixTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.JiraObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.JsonDataset; import com.microsoft.azure.management.datafactory.v2018_06_01.LinkedServiceReference; -import com.microsoft.azure.management.datafactory.v2018_06_01.MagentoObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MariaDBTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MarketoObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MicrosoftAccessTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbCollectionDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbV2CollectionDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.MySqlTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.NetezzaTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ODataResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.OdbcTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.Office365Dataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.OracleServiceCloudObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.OracleTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.OrcDataset; import com.microsoft.azure.management.datafactory.v2018_06_01.ParameterSpecification; import java.util.List; import com.microsoft.azure.management.datafactory.v2018_06_01.DatasetFolder; @@ -76,35 +17,6 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.microsoft.azure.management.datafactory.v2018_06_01.ParquetDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.PaypalObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.PhoenixObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.PostgreSqlTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.PrestoObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.QuickBooksObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.RelationalTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ResponsysObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.RestResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceMarketingCloudObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceServiceCloudObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapBwCubeDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapCloudForCustomerResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapEccResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapHanaTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapOpenHubTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapTableResourceDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ServiceNowObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ShopifyObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SparkObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SqlServerTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SquareObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.SybaseTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.TeradataTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.VerticaTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.WebTableDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.XeroObjectDataset; -import com.microsoft.azure.management.datafactory.v2018_06_01.ZohoObjectDataset; /** * The Azure Data Factory nested object which identifies data within different @@ -113,6 +25,8 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = DatasetInner.class) @JsonTypeName("Dataset") @JsonSubTypes({ + @JsonSubTypes.Type(name = "SharePointOnlineListResource", value = SharePointOnlineListResourceDataset.class), + @JsonSubTypes.Type(name = "SnowflakeTable", value = SnowflakeDataset.class), @JsonSubTypes.Type(name = "GoogleAdWordsObject", value = GoogleAdWordsObjectDataset.class), @JsonSubTypes.Type(name = "AzureDataExplorerTable", value = AzureDataExplorerTableDataset.class), @JsonSubTypes.Type(name = "OracleServiceCloudObject", value = OracleServiceCloudObjectDataset.class), @@ -195,9 +109,11 @@ @JsonSubTypes.Type(name = "AzureBlob", value = AzureBlobDataset.class), @JsonSubTypes.Type(name = "Binary", value = BinaryDataset.class), @JsonSubTypes.Type(name = "Orc", value = OrcDataset.class), + @JsonSubTypes.Type(name = "Xml", value = XmlDataset.class), @JsonSubTypes.Type(name = "Json", value = JsonDataset.class), @JsonSubTypes.Type(name = "DelimitedText", value = DelimitedTextDataset.class), @JsonSubTypes.Type(name = "Parquet", value = ParquetDataset.class), + @JsonSubTypes.Type(name = "Excel", value = ExcelDataset.class), @JsonSubTypes.Type(name = "Avro", value = AvroDataset.class), @JsonSubTypes.Type(name = "AmazonS3Object", value = AmazonS3Dataset.class) }) diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryImpl.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryImpl.java index f389774359d90..05c971d955918 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryImpl.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryImpl.java @@ -16,6 +16,7 @@ import com.microsoft.azure.management.datafactory.v2018_06_01.FactoryIdentity; import org.joda.time.DateTime; import com.microsoft.azure.management.datafactory.v2018_06_01.FactoryRepoConfiguration; +import com.microsoft.azure.management.datafactory.v2018_06_01.GlobalParameterSpecification; import rx.functions.Func1; class FactoryImpl extends GroupableResourceCoreImpl implements Factory, Factory.Definition, Factory.Update { @@ -84,6 +85,11 @@ public String eTag() { return this.inner().eTag(); } + @Override + public Map globalParameters() { + return this.inner().globalParameters(); + } + @Override public FactoryIdentity identity() { return this.inner().identity(); @@ -116,6 +122,12 @@ public FactoryImpl withAdditionalProperties(Map additionalProper return this; } + @Override + public FactoryImpl withGlobalParameters(Map globalParameters) { + this.inner().withGlobalParameters(globalParameters); + return this; + } + @Override public FactoryImpl withRepoConfiguration(FactoryRepoConfiguration repoConfiguration) { this.inner().withRepoConfiguration(repoConfiguration); diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryInner.java index a82b27d65f644..307eeaba11098 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/FactoryInner.java @@ -12,6 +12,7 @@ import com.microsoft.azure.management.datafactory.v2018_06_01.FactoryIdentity; import org.joda.time.DateTime; import com.microsoft.azure.management.datafactory.v2018_06_01.FactoryRepoConfiguration; +import com.microsoft.azure.management.datafactory.v2018_06_01.GlobalParameterSpecification; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.rest.SkipParentValidation; @@ -59,6 +60,12 @@ public class FactoryInner extends Resource { @JsonProperty(value = "properties.repoConfiguration") private FactoryRepoConfiguration repoConfiguration; + /** + * List of parameters for factory. + */ + @JsonProperty(value = "properties.globalParameters") + private Map globalParameters; + /** * Etag identifies change in the resource. */ @@ -152,6 +159,26 @@ public FactoryInner withRepoConfiguration(FactoryRepoConfiguration repoConfigura return this; } + /** + * Get list of parameters for factory. + * + * @return the globalParameters value + */ + public Map globalParameters() { + return this.globalParameters; + } + + /** + * Set list of parameters for factory. + * + * @param globalParameters the globalParameters value to set + * @return the FactoryInner object itself. + */ + public FactoryInner withGlobalParameters(Map globalParameters) { + this.globalParameters = globalParameters; + return this; + } + /** * Get etag identifies change in the resource. * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java index 714c12e9db2ec..58b27acef3ca8 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/IntegrationRuntimeInner.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.microsoft.azure.management.datafactory.v2018_06_01.ManagedIntegrationRuntime; -import com.microsoft.azure.management.datafactory.v2018_06_01.SelfHostedIntegrationRuntime; /** * Azure Data Factory nested object which serves as a compute resource for diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java index 1c9e8b5034ead..a11d27d96022e 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/LinkedServiceInner.java @@ -9,108 +9,13 @@ package com.microsoft.azure.management.datafactory.v2018_06_01.implementation; import java.util.Map; - -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonMWSLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonRedshiftLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AmazonS3LinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBatchLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobFSLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureBlobStorageLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataExplorerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataLakeAnalyticsLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDataLakeStoreLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureDatabricksLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureFileStorageLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureFunctionLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureKeyVaultLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMLLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMLServiceLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMariaDBLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureMySqlLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzurePostgreSqlLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSearchLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlDWLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlDatabaseLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureSqlMILinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureStorageLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.AzureTableStorageLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CassandraLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CommonDataServiceForAppsLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ConcurLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CosmosDbMongoDbApiLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CouchbaseLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.CustomDataSourceLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.Db2LinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.DrillLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsAXLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsCrmLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.DynamicsLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.EloquaLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.FileServerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.FtpServerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleAdWordsLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleBigQueryLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.GoogleCloudStorageLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.GreenplumLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HBaseLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HDInsightLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HDInsightOnDemandLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HdfsLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HiveLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HttpLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.HubspotLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ImpalaLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.InformixLinkedService; import com.microsoft.azure.management.datafactory.v2018_06_01.IntegrationRuntimeReference; -import com.microsoft.azure.management.datafactory.v2018_06_01.JiraLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MagentoLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MariaDBLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MarketoLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MicrosoftAccessLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MongoDbV2LinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.MySqlLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.NetezzaLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ODataLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.OdbcLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.Office365LinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.OracleLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.OracleServiceCloudLinkedService; import com.microsoft.azure.management.datafactory.v2018_06_01.ParameterSpecification; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.microsoft.azure.management.datafactory.v2018_06_01.PaypalLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.PhoenixLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.PostgreSqlLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.PrestoLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.QuickBooksLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ResponsysLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.RestServiceLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceMarketingCloudLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SalesforceServiceCloudLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapBWLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapCloudForCustomerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapEccLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapHanaLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapOpenHubLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SapTableLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ServiceNowLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SftpServerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ShopifyLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SparkLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SqlServerLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SquareLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.SybaseLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.TeradataLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.VerticaLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.WebLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.XeroLinkedService; -import com.microsoft.azure.management.datafactory.v2018_06_01.ZohoLinkedService; /** * The Azure Data Factory nested object which contains the information and @@ -120,6 +25,8 @@ @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type", defaultImpl = LinkedServiceInner.class) @JsonTypeName("LinkedService") @JsonSubTypes({ + @JsonSubTypes.Type(name = "SharePointOnlineList", value = SharePointOnlineListLinkedService.class), + @JsonSubTypes.Type(name = "Snowflake", value = SnowflakeLinkedService.class), @JsonSubTypes.Type(name = "AzureFunction", value = AzureFunctionLinkedService.class), @JsonSubTypes.Type(name = "AzureDataExplorer", value = AzureDataExplorerLinkedService.class), @JsonSubTypes.Type(name = "SapTable", value = SapTableLinkedService.class), diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/TriggerInner.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/TriggerInner.java index 275a137e2dab6..d6a5e12c92a21 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/TriggerInner.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/implementation/TriggerInner.java @@ -9,17 +9,12 @@ package com.microsoft.azure.management.datafactory.v2018_06_01.implementation; import java.util.Map; - -import com.microsoft.azure.management.datafactory.v2018_06_01.ChainingTrigger; -import com.microsoft.azure.management.datafactory.v2018_06_01.MultiplePipelineTrigger; -import com.microsoft.azure.management.datafactory.v2018_06_01.RerunTumblingWindowTrigger; import com.microsoft.azure.management.datafactory.v2018_06_01.TriggerRuntimeState; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonTypeName; import com.fasterxml.jackson.annotation.JsonSubTypes; -import com.microsoft.azure.management.datafactory.v2018_06_01.TumblingWindowTrigger; /** * Azure data factory nested object which contains information about creating