From b63e7534760f40647f6d1f54cbe74caec2ee2822 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 12 Nov 2020 08:41:39 +0000 Subject: [PATCH] CodeGen from PR 11613 in Azure/azure-rest-api-specs Merge f23d27b76d136c6d467ac48b9d320f59594915d1 into 80db0e5cef00f0e666c2e1e39d23729eb0c0b0d8 --- sdk/datafactory/mgmt-v2018_06_01/pom.xml | 6 +- .../v2018_06_01/AmazonS3LinkedService.java | 54 ++++++++++ .../v2018_06_01/AzureSqlSource.java | 14 +-- .../v2018_06_01/ConcurLinkedService.java | 27 +++++ .../datafactory/v2018_06_01/CopyActivity.java | 33 ++++++- .../v2018_06_01/CopyActivityLogSettings.java | 71 +++++++++++++ ...DataFlowActivityTypePropertiesCompute.java | 26 ++--- .../v2018_06_01/LogLocationSettings.java | 70 +++++++++++++ .../datafactory/v2018_06_01/LogSettings.java | 96 ++++++++++++++++++ .../v2018_06_01/LogStorageSettings.java | 2 +- .../v2018_06_01/NetezzaSource.java | 12 +-- .../datafactory/v2018_06_01/OracleSource.java | 14 +-- .../v2018_06_01/SapHanaSource.java | 14 +-- .../v2018_06_01/SapTableSource.java | 16 +-- .../datafactory/v2018_06_01/SqlDWSource.java | 14 +-- .../datafactory/v2018_06_01/SqlMISource.java | 14 +-- .../v2018_06_01/SqlServerSource.java | 14 +-- .../datafactory/v2018_06_01/SqlSource.java | 14 +-- .../v2018_06_01/TeradataSource.java | 12 +-- .../v2018_06_01/TumblingWindowFrequency.java | 3 + .../v2018_06_01/TumblingWindowTrigger.java | 6 +- .../implementation/DataFlowInner.java | 1 - .../implementation/DatasetInner.java | 94 ------------------ .../IntegrationRuntimeInner.java | 2 - .../implementation/LinkedServiceInner.java | 99 ------------------- .../implementation/TriggerInner.java | 5 - 26 files changed, 441 insertions(+), 292 deletions(-) create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivityLogSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogLocationSettings.java create mode 100644 sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogSettings.java diff --git a/sdk/datafactory/mgmt-v2018_06_01/pom.xml b/sdk/datafactory/mgmt-v2018_06_01/pom.xml index 62feedf34f06c..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.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-datafactory - 1.0.0-beta-5 + 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/AmazonS3LinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3LinkedService.java index 34d108ea53642..d650e97a6b73f 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3LinkedService.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3LinkedService.java @@ -21,6 +21,14 @@ @JsonTypeName("AmazonS3") @JsonFlatten public class AmazonS3LinkedService extends LinkedServiceInner { + /** + * The authentication type of S3. Allowed value: AccessKey (default) or + * TemporarySecurityCredentials. Type: string (or Expression with + * resultType string). + */ + @JsonProperty(value = "typeProperties.authenticationType") + private Object authenticationType; + /** * The access key identifier of the Amazon S3 Identity and Access * Management (IAM) user. Type: string (or Expression with resultType @@ -45,6 +53,12 @@ public class AmazonS3LinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.serviceUrl") private Object serviceUrl; + /** + * The session token for the S3 temporary security credential. + */ + @JsonProperty(value = "typeProperties.sessionToken") + private SecretBase sessionToken; + /** * The encrypted credential used for authentication. Credentials are * encrypted using the integration runtime credential manager. Type: string @@ -53,6 +67,26 @@ public class AmazonS3LinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.encryptedCredential") private Object encryptedCredential; + /** + * Get the authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). + * + * @return the authenticationType value + */ + public Object authenticationType() { + return this.authenticationType; + } + + /** + * Set the authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string). + * + * @param authenticationType the authenticationType value to set + * @return the AmazonS3LinkedService object itself. + */ + public AmazonS3LinkedService withAuthenticationType(Object authenticationType) { + this.authenticationType = authenticationType; + return this; + } + /** * Get the access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string). * @@ -113,6 +147,26 @@ public AmazonS3LinkedService withServiceUrl(Object serviceUrl) { return this; } + /** + * Get the session token for the S3 temporary security credential. + * + * @return the sessionToken value + */ + public SecretBase sessionToken() { + return this.sessionToken; + } + + /** + * Set the session token for the S3 temporary security credential. + * + * @param sessionToken the sessionToken value to set + * @return the AmazonS3LinkedService object itself. + */ + public AmazonS3LinkedService withSessionToken(SecretBase sessionToken) { + this.sessionToken = sessionToken; + 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/AzureSqlSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlSource.java index d30bb15f8723e..6ac87c73c627d 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlSource.java @@ -48,11 +48,11 @@ public class AzureSqlSource extends TabularSource { /** * The partition mechanism that will be used for Sql read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private SqlPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Sql source partitioning. @@ -141,21 +141,21 @@ public AzureSqlSource withProduceAdditionalTypes(Object produceAdditionalTypes) } /** - * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public SqlPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the AzureSqlSource object itself. */ - public AzureSqlSource withPartitionOption(SqlPartitionOption partitionOption) { + public AzureSqlSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConcurLinkedService.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConcurLinkedService.java index b92ab71440238..b1a3f76dc6c13 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConcurLinkedService.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConcurLinkedService.java @@ -21,6 +21,13 @@ @JsonTypeName("Concur") @JsonFlatten public class ConcurLinkedService extends LinkedServiceInner { + /** + * Properties used to connect to Concur. It is mutually exclusive with any + * other properties in the linked service. Type: object. + */ + @JsonProperty(value = "typeProperties.connectionProperties") + private Object connectionProperties; + /** * Application client_id supplied by Concur App Management. */ @@ -70,6 +77,26 @@ public class ConcurLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.encryptedCredential") private Object encryptedCredential; + /** + * Get properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. + * + * @return the connectionProperties value + */ + public Object connectionProperties() { + return this.connectionProperties; + } + + /** + * Set properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object. + * + * @param connectionProperties the connectionProperties value to set + * @return the ConcurLinkedService object itself. + */ + public ConcurLinkedService withConnectionProperties(Object connectionProperties) { + this.connectionProperties = connectionProperties; + return this; + } + /** * Get application client_id supplied by Concur App Management. * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivity.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivity.java index 44418ba364bf4..19d57b5eb3c72 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivity.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivity.java @@ -83,11 +83,18 @@ public class CopyActivity extends ExecutionActivity { private RedirectIncompatibleRowSettings redirectIncompatibleRowSettings; /** - * Log storage settings customer need to provide when enabling session log. + * (Deprecated. Please use LogSettings) Log storage settings customer need + * to provide when enabling session log. */ @JsonProperty(value = "typeProperties.logStorageSettings") private LogStorageSettings logStorageSettings; + /** + * Log settings customer needs provide when enabling log. + */ + @JsonProperty(value = "typeProperties.logSettings") + private LogSettings logSettings; + /** * Preserve Rules. */ @@ -306,7 +313,7 @@ public CopyActivity withRedirectIncompatibleRowSettings(RedirectIncompatibleRowS } /** - * Get log storage settings customer need to provide when enabling session log. + * Get (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. * * @return the logStorageSettings value */ @@ -315,7 +322,7 @@ public LogStorageSettings logStorageSettings() { } /** - * Set log storage settings customer need to provide when enabling session log. + * Set (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log. * * @param logStorageSettings the logStorageSettings value to set * @return the CopyActivity object itself. @@ -325,6 +332,26 @@ public CopyActivity withLogStorageSettings(LogStorageSettings logStorageSettings return this; } + /** + * Get log settings customer needs provide when enabling log. + * + * @return the logSettings value + */ + public LogSettings logSettings() { + return this.logSettings; + } + + /** + * Set log settings customer needs provide when enabling log. + * + * @param logSettings the logSettings value to set + * @return the CopyActivity object itself. + */ + public CopyActivity withLogSettings(LogSettings logSettings) { + this.logSettings = logSettings; + return this; + } + /** * Get preserve Rules. * diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivityLogSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivityLogSettings.java new file mode 100644 index 0000000000000..d64b005ccfb6c --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivityLogSettings.java @@ -0,0 +1,71 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactory.v2018_06_01; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Settings for copy activity log. + */ +public class CopyActivityLogSettings { + /** + * Gets or sets the log level, support: Info, Warning. Type: string (or + * Expression with resultType string). + */ + @JsonProperty(value = "logLevel") + private Object logLevel; + + /** + * Specifies whether to enable reliable logging. Type: boolean (or + * Expression with resultType boolean). + */ + @JsonProperty(value = "enableReliableLogging") + private Object enableReliableLogging; + + /** + * Get gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). + * + * @return the logLevel value + */ + public Object logLevel() { + return this.logLevel; + } + + /** + * Set gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string). + * + * @param logLevel the logLevel value to set + * @return the CopyActivityLogSettings object itself. + */ + public CopyActivityLogSettings withLogLevel(Object logLevel) { + this.logLevel = logLevel; + return this; + } + + /** + * Get specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). + * + * @return the enableReliableLogging value + */ + public Object enableReliableLogging() { + return this.enableReliableLogging; + } + + /** + * Set specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean). + * + * @param enableReliableLogging the enableReliableLogging value to set + * @return the CopyActivityLogSettings object itself. + */ + public CopyActivityLogSettings withEnableReliableLogging(Object enableReliableLogging) { + this.enableReliableLogging = enableReliableLogging; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExecuteDataFlowActivityTypePropertiesCompute.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExecuteDataFlowActivityTypePropertiesCompute.java index e66f96a286391..6261c65dcee75 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExecuteDataFlowActivityTypePropertiesCompute.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ExecuteDataFlowActivityTypePropertiesCompute.java @@ -16,54 +16,56 @@ public class ExecuteDataFlowActivityTypePropertiesCompute { /** * Compute type of the cluster which will execute data flow job. Possible - * values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. + * values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: + * string (or Expression with resultType string). */ @JsonProperty(value = "computeType") - private DataFlowComputeType computeType; + private Object computeType; /** * Core count of the cluster which will execute data flow job. Supported - * values are: 8, 16, 32, 48, 80, 144 and 272. + * values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression + * with resultType integer). */ @JsonProperty(value = "coreCount") - private Integer coreCount; + private Object coreCount; /** - * Get compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. + * Get compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string). * * @return the computeType value */ - public DataFlowComputeType computeType() { + public Object computeType() { return this.computeType; } /** - * Set compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. + * Set compute type of the cluster which will execute data flow job. Possible values include: 'General', 'MemoryOptimized', 'ComputeOptimized'. Type: string (or Expression with resultType string). * * @param computeType the computeType value to set * @return the ExecuteDataFlowActivityTypePropertiesCompute object itself. */ - public ExecuteDataFlowActivityTypePropertiesCompute withComputeType(DataFlowComputeType computeType) { + public ExecuteDataFlowActivityTypePropertiesCompute withComputeType(Object computeType) { this.computeType = computeType; return this; } /** - * Get core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. + * Get core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression with resultType integer). * * @return the coreCount value */ - public Integer coreCount() { + public Object coreCount() { return this.coreCount; } /** - * Set core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. + * Set core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. Type: integer (or Expression with resultType integer). * * @param coreCount the coreCount value to set * @return the ExecuteDataFlowActivityTypePropertiesCompute object itself. */ - public ExecuteDataFlowActivityTypePropertiesCompute withCoreCount(Integer coreCount) { + public ExecuteDataFlowActivityTypePropertiesCompute withCoreCount(Object coreCount) { this.coreCount = coreCount; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogLocationSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogLocationSettings.java new file mode 100644 index 0000000000000..b1bb2a97251f0 --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogLocationSettings.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; + +/** + * Log location settings. + */ +public class LogLocationSettings { + /** + * Log storage linked service reference. + */ + @JsonProperty(value = "linkedServiceName", required = true) + private LinkedServiceReference linkedServiceName; + + /** + * The path to storage for storing detailed logs of activity execution. + * Type: string (or Expression with resultType string). + */ + @JsonProperty(value = "path") + private Object path; + + /** + * Get log storage linked service reference. + * + * @return the linkedServiceName value + */ + public LinkedServiceReference linkedServiceName() { + return this.linkedServiceName; + } + + /** + * Set log storage linked service reference. + * + * @param linkedServiceName the linkedServiceName value to set + * @return the LogLocationSettings object itself. + */ + public LogLocationSettings withLinkedServiceName(LinkedServiceReference linkedServiceName) { + this.linkedServiceName = linkedServiceName; + return this; + } + + /** + * Get the path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). + * + * @return the path value + */ + public Object path() { + return this.path; + } + + /** + * Set the path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string). + * + * @param path the path value to set + * @return the LogLocationSettings object itself. + */ + public LogLocationSettings withPath(Object path) { + this.path = path; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogSettings.java new file mode 100644 index 0000000000000..8d44368b8db7a --- /dev/null +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogSettings.java @@ -0,0 +1,96 @@ +/** + * 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; + +/** + * Log settings. + */ +public class LogSettings { + /** + * Specifies whether to enable copy activity log. Type: boolean (or + * Expression with resultType boolean). + */ + @JsonProperty(value = "enableCopyActivityLog") + private Object enableCopyActivityLog; + + /** + * Specifies settings for copy activity log. + */ + @JsonProperty(value = "copyActivityLogSettings") + private CopyActivityLogSettings copyActivityLogSettings; + + /** + * Log location settings customer needs to provide when enabling log. + */ + @JsonProperty(value = "logLocationSettings", required = true) + private LogLocationSettings logLocationSettings; + + /** + * Get specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). + * + * @return the enableCopyActivityLog value + */ + public Object enableCopyActivityLog() { + return this.enableCopyActivityLog; + } + + /** + * Set specifies whether to enable copy activity log. Type: boolean (or Expression with resultType boolean). + * + * @param enableCopyActivityLog the enableCopyActivityLog value to set + * @return the LogSettings object itself. + */ + public LogSettings withEnableCopyActivityLog(Object enableCopyActivityLog) { + this.enableCopyActivityLog = enableCopyActivityLog; + return this; + } + + /** + * Get specifies settings for copy activity log. + * + * @return the copyActivityLogSettings value + */ + public CopyActivityLogSettings copyActivityLogSettings() { + return this.copyActivityLogSettings; + } + + /** + * Set specifies settings for copy activity log. + * + * @param copyActivityLogSettings the copyActivityLogSettings value to set + * @return the LogSettings object itself. + */ + public LogSettings withCopyActivityLogSettings(CopyActivityLogSettings copyActivityLogSettings) { + this.copyActivityLogSettings = copyActivityLogSettings; + return this; + } + + /** + * Get log location settings customer needs to provide when enabling log. + * + * @return the logLocationSettings value + */ + public LogLocationSettings logLocationSettings() { + return this.logLocationSettings; + } + + /** + * Set log location settings customer needs to provide when enabling log. + * + * @param logLocationSettings the logLocationSettings value to set + * @return the LogSettings object itself. + */ + public LogSettings withLogLocationSettings(LogLocationSettings logLocationSettings) { + this.logLocationSettings = logLocationSettings; + return this; + } + +} diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogStorageSettings.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogStorageSettings.java index a9abe562e5a48..98b67f014d1ad 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogStorageSettings.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/LogStorageSettings.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Log storage settings. + * (Deprecated. Please use LogSettings) Log storage settings. */ public class LogStorageSettings { /** diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/NetezzaSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/NetezzaSource.java index 88d427a93b120..735d7712ab2db 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/NetezzaSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/NetezzaSource.java @@ -27,10 +27,10 @@ public class NetezzaSource extends TabularSource { /** * The partition mechanism that will be used for Netezza read in parallel. - * Possible values include: 'None', 'DataSlice', 'DynamicRange'. + * Possible values include: "None", "DataSlice", "DynamicRange". */ @JsonProperty(value = "partitionOption") - private NetezzaPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Netezza source partitioning. @@ -59,21 +59,21 @@ public NetezzaSource withQuery(Object query) { } /** - * Get the partition mechanism that will be used for Netezza read in parallel. Possible values include: 'None', 'DataSlice', 'DynamicRange'. + * Get the partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". * * @return the partitionOption value */ - public NetezzaPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Netezza read in parallel. Possible values include: 'None', 'DataSlice', 'DynamicRange'. + * Set the partition mechanism that will be used for Netezza read in parallel. Possible values include: "None", "DataSlice", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the NetezzaSource object itself. */ - public NetezzaSource withPartitionOption(NetezzaPartitionOption partitionOption) { + public NetezzaSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/OracleSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/OracleSource.java index 9995a54f83591..9b23578684cb6 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/OracleSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/OracleSource.java @@ -35,11 +35,11 @@ public class OracleSource extends CopySource { /** * The partition mechanism that will be used for Oracle read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private OraclePartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Oracle source partitioning. @@ -95,21 +95,21 @@ public OracleSource withQueryTimeout(Object queryTimeout) { } /** - * Get the partition mechanism that will be used for Oracle read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public OraclePartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Oracle read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Oracle read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the OracleSource object itself. */ - public OracleSource withPartitionOption(OraclePartitionOption partitionOption) { + public OracleSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaSource.java index 9a2cc56b8f7d4..218b7dbff0bd3 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapHanaSource.java @@ -33,11 +33,11 @@ public class SapHanaSource extends TabularSource { /** * The partition mechanism that will be used for SAP HANA read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'SapHanaDynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "SapHanaDynamicRange". */ @JsonProperty(value = "partitionOption") - private SapHanaPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for SAP HANA source partitioning. @@ -86,21 +86,21 @@ public SapHanaSource withPacketSize(Object packetSize) { } /** - * Get the partition mechanism that will be used for SAP HANA read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'SapHanaDynamicRange'. + * Get the partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". * * @return the partitionOption value */ - public SapHanaPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for SAP HANA read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'SapHanaDynamicRange'. + * Set the partition mechanism that will be used for SAP HANA read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "SapHanaDynamicRange". * * @param partitionOption the partitionOption value to set * @return the SapHanaSource object itself. */ - public SapHanaSource withPartitionOption(SapHanaPartitionOption partitionOption) { + public SapHanaSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java index ecf0f409877c9..3616202082551 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SapTableSource.java @@ -71,12 +71,12 @@ public class SapTableSource extends TabularSource { /** * The partition mechanism that will be used for SAP table read in - * parallel. Possible values include: 'None', 'PartitionOnInt', - * 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', - * 'PartitionOnCalendarDate', 'PartitionOnTime'. + * parallel. Possible values include: "None", "PartitionOnInt", + * "PartitionOnCalendarYear", "PartitionOnCalendarMonth", + * "PartitionOnCalendarDate", "PartitionOnTime". */ @JsonProperty(value = "partitionOption") - private SapTablePartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for SAP table source partitioning. @@ -225,21 +225,21 @@ public SapTableSource withSapDataColumnDelimiter(Object sapDataColumnDelimiter) } /** - * Get the partition mechanism that will be used for SAP table read in parallel. Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime'. + * Get the partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". * * @return the partitionOption value */ - public SapTablePartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for SAP table read in parallel. Possible values include: 'None', 'PartitionOnInt', 'PartitionOnCalendarYear', 'PartitionOnCalendarMonth', 'PartitionOnCalendarDate', 'PartitionOnTime'. + * Set the partition mechanism that will be used for SAP table read in parallel. Possible values include: "None", "PartitionOnInt", "PartitionOnCalendarYear", "PartitionOnCalendarMonth", "PartitionOnCalendarDate", "PartitionOnTime". * * @param partitionOption the partitionOption value to set * @return the SapTableSource object itself. */ - public SapTableSource withPartitionOption(SapTablePartitionOption partitionOption) { + public SapTableSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlDWSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlDWSource.java index 30aa16d72df20..40560db5eec09 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlDWSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlDWSource.java @@ -43,11 +43,11 @@ public class SqlDWSource extends TabularSource { /** * The partition mechanism that will be used for Sql read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private SqlPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Sql source partitioning. @@ -116,21 +116,21 @@ public SqlDWSource withStoredProcedureParameters(Object storedProcedureParameter } /** - * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public SqlPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the SqlDWSource object itself. */ - public SqlDWSource withPartitionOption(SqlPartitionOption partitionOption) { + public SqlDWSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlMISource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlMISource.java index 9800904b732c9..af7a76d38d63e 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlMISource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlMISource.java @@ -48,11 +48,11 @@ public class SqlMISource extends TabularSource { /** * The partition mechanism that will be used for Sql read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private SqlPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Sql source partitioning. @@ -141,21 +141,21 @@ public SqlMISource withProduceAdditionalTypes(Object produceAdditionalTypes) { } /** - * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public SqlPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the SqlMISource object itself. */ - public SqlMISource withPartitionOption(SqlPartitionOption partitionOption) { + public SqlMISource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlServerSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlServerSource.java index 3a678a0a374fa..dbb63ce82ca37 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlServerSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlServerSource.java @@ -48,11 +48,11 @@ public class SqlServerSource extends TabularSource { /** * The partition mechanism that will be used for Sql read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private SqlPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Sql source partitioning. @@ -141,21 +141,21 @@ public SqlServerSource withProduceAdditionalTypes(Object produceAdditionalTypes) } /** - * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public SqlPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the SqlServerSource object itself. */ - public SqlServerSource withPartitionOption(SqlPartitionOption partitionOption) { + public SqlServerSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlSource.java index 5122513466364..b0d4597e93754 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/SqlSource.java @@ -52,11 +52,11 @@ public class SqlSource extends TabularSource { /** * The partition mechanism that will be used for Sql read in parallel. - * Possible values include: 'None', 'PhysicalPartitionsOfTable', - * 'DynamicRange'. + * Possible values include: "None", "PhysicalPartitionsOfTable", + * "DynamicRange". */ @JsonProperty(value = "partitionOption") - private SqlPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for Sql source partitioning. @@ -145,21 +145,21 @@ public SqlSource withIsolationLevel(Object isolationLevel) { } /** - * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @return the partitionOption value */ - public SqlPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'. + * Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the SqlSource object itself. */ - public SqlSource withPartitionOption(SqlPartitionOption partitionOption) { + public SqlSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TeradataSource.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TeradataSource.java index d773ece3ee43f..3d78e2b6257ce 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TeradataSource.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TeradataSource.java @@ -26,10 +26,10 @@ public class TeradataSource extends TabularSource { /** * The partition mechanism that will be used for teradata read in parallel. - * Possible values include: 'None', 'Hash', 'DynamicRange'. + * Possible values include: "None", "Hash", "DynamicRange". */ @JsonProperty(value = "partitionOption") - private TeradataPartitionOption partitionOption; + private Object partitionOption; /** * The settings that will be leveraged for teradata source partitioning. @@ -58,21 +58,21 @@ public TeradataSource withQuery(Object query) { } /** - * Get the partition mechanism that will be used for teradata read in parallel. Possible values include: 'None', 'Hash', 'DynamicRange'. + * Get the partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". * * @return the partitionOption value */ - public TeradataPartitionOption partitionOption() { + public Object partitionOption() { return this.partitionOption; } /** - * Set the partition mechanism that will be used for teradata read in parallel. Possible values include: 'None', 'Hash', 'DynamicRange'. + * Set the partition mechanism that will be used for teradata read in parallel. Possible values include: "None", "Hash", "DynamicRange". * * @param partitionOption the partitionOption value to set * @return the TeradataSource object itself. */ - public TeradataSource withPartitionOption(TeradataPartitionOption partitionOption) { + public TeradataSource withPartitionOption(Object partitionOption) { this.partitionOption = partitionOption; return this; } diff --git a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TumblingWindowFrequency.java b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TumblingWindowFrequency.java index 481f62c353a45..8ad2da9c2f659 100644 --- a/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TumblingWindowFrequency.java +++ b/sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/TumblingWindowFrequency.java @@ -22,6 +22,9 @@ public final class TumblingWindowFrequency extends ExpandableStringEnum