diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DeleteActivity.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DeleteActivity.java index e9ff991aa027..27c9ba936a87 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DeleteActivity.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/DeleteActivity.java @@ -21,12 +21,33 @@ @JsonFlatten public class DeleteActivity extends ExecutionActivity { /** - * If true, files under the folder path will be deleted recursively. - * Default is true. Type: boolean (or Expression with resultType boolean). + * If true, files or sub-folders under current folder path will be deleted + * recursively. Default is false. Type: boolean (or Expression with + * resultType boolean). */ @JsonProperty(value = "typeProperties.recursive") private Object recursive; + /** + * The max concurrent connections to connect data source at the same time. + */ + @JsonProperty(value = "typeProperties.maxConcurrentConnections") + private Integer maxConcurrentConnections; + + /** + * Whether to record detailed logs of delete-activity execution. Default + * value is false. Type: boolean (or Expression with resultType boolean). + */ + @JsonProperty(value = "typeProperties.enableLogging") + private Object enableLogging; + + /** + * Log storage settings customer need to provide when enableLogging is + * true. + */ + @JsonProperty(value = "typeProperties.logStorageSettings") + private LogStorageSettings logStorageSettings; + /** * Delete activity dataset reference. */ @@ -34,7 +55,7 @@ public class DeleteActivity extends ExecutionActivity { private DatasetReference dataset; /** - * Get if true, files under the folder path will be deleted recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * 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). * * @return the recursive value */ @@ -43,7 +64,7 @@ public Object recursive() { } /** - * Set if true, files under the folder path will be deleted recursively. Default is true. Type: boolean (or Expression with resultType boolean). + * Set if true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean). * * @param recursive the recursive value to set * @return the DeleteActivity object itself. @@ -53,6 +74,66 @@ public DeleteActivity withRecursive(Object recursive) { return this; } + /** + * Get the max concurrent connections to connect data source at the same time. + * + * @return the maxConcurrentConnections value + */ + public Integer maxConcurrentConnections() { + return this.maxConcurrentConnections; + } + + /** + * Set the max concurrent connections to connect data source at the same time. + * + * @param maxConcurrentConnections the maxConcurrentConnections value to set + * @return the DeleteActivity object itself. + */ + public DeleteActivity withMaxConcurrentConnections(Integer maxConcurrentConnections) { + this.maxConcurrentConnections = maxConcurrentConnections; + return this; + } + + /** + * Get whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). + * + * @return the enableLogging value + */ + public Object enableLogging() { + return this.enableLogging; + } + + /** + * Set whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean). + * + * @param enableLogging the enableLogging value to set + * @return the DeleteActivity object itself. + */ + public DeleteActivity withEnableLogging(Object enableLogging) { + this.enableLogging = enableLogging; + return this; + } + + /** + * Get log storage settings customer need to provide when enableLogging is true. + * + * @return the logStorageSettings value + */ + public LogStorageSettings logStorageSettings() { + return this.logStorageSettings; + } + + /** + * Set log storage settings customer need to provide when enableLogging is true. + * + * @param logStorageSettings the logStorageSettings value to set + * @return the DeleteActivity object itself. + */ + public DeleteActivity withLogStorageSettings(LogStorageSettings logStorageSettings) { + this.logStorageSettings = logStorageSettings; + return this; + } + /** * Get delete activity dataset reference. * diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightHiveActivity.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightHiveActivity.java index 09c5c5cd49af..accb3b9f6f8f 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightHiveActivity.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightHiveActivity.java @@ -58,6 +58,19 @@ public class HDInsightHiveActivity extends ExecutionActivity { @JsonProperty(value = "typeProperties.defines") private Map defines; + /** + * User specified arguments under hivevar namespace. + */ + @JsonProperty(value = "typeProperties.variables") + private List variables; + + /** + * Query timeout value (in minutes). Effective when the HDInsight culster + * is with ESP (Enterprise Security Package). + */ + @JsonProperty(value = "typeProperties.queryTimeout") + private Integer queryTimeout; + /** * Get storage linked service references. * @@ -178,4 +191,44 @@ public HDInsightHiveActivity withDefines(Map defines) { return this; } + /** + * Get user specified arguments under hivevar namespace. + * + * @return the variables value + */ + public List variables() { + return this.variables; + } + + /** + * Set user specified arguments under hivevar namespace. + * + * @param variables the variables value to set + * @return the HDInsightHiveActivity object itself. + */ + public HDInsightHiveActivity withVariables(List variables) { + this.variables = variables; + return this; + } + + /** + * Get query timeout value (in minutes). Effective when the HDInsight culster is with ESP (Enterprise Security Package). + * + * @return the queryTimeout value + */ + public Integer queryTimeout() { + return this.queryTimeout; + } + + /** + * Set query timeout value (in minutes). Effective when the HDInsight culster is with ESP (Enterprise Security Package). + * + * @param queryTimeout the queryTimeout value to set + * @return the HDInsightHiveActivity object itself. + */ + public HDInsightHiveActivity withQueryTimeout(Integer queryTimeout) { + this.queryTimeout = queryTimeout; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java index d7f80aa1b521..135da052ddfd 100644 --- a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/HDInsightLinkedService.java @@ -62,6 +62,13 @@ public class HDInsightLinkedService extends LinkedServiceInner { @JsonProperty(value = "typeProperties.encryptedCredential") private Object encryptedCredential; + /** + * Specify if the HDInsight is created with ESP (Enterprise Security + * Package). Type: Boolean. + */ + @JsonProperty(value = "typeProperties.isEspEnabled") + private Object isEspEnabled; + /** * Get hDInsight cluster URI. Type: string (or Expression with resultType string). * @@ -182,4 +189,24 @@ public HDInsightLinkedService withEncryptedCredential(Object encryptedCredential return this; } + /** + * Get specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. + * + * @return the isEspEnabled value + */ + public Object isEspEnabled() { + return this.isEspEnabled; + } + + /** + * Set specify if the HDInsight is created with ESP (Enterprise Security Package). Type: Boolean. + * + * @param isEspEnabled the isEspEnabled value to set + * @return the HDInsightLinkedService object itself. + */ + public HDInsightLinkedService withIsEspEnabled(Object isEspEnabled) { + this.isEspEnabled = isEspEnabled; + return this; + } + } diff --git a/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/LogStorageSettings.java b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/LogStorageSettings.java new file mode 100644 index 000000000000..cc393b7546d2 --- /dev/null +++ b/datafactoryv2/resource-manager/v2018_06_01/src/main/java/com/microsoft/azure/management/datafactoryv2/v2018_06_01/LogStorageSettings.java @@ -0,0 +1,97 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.datafactoryv2.v2018_06_01; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Log storage settings. + */ +public class LogStorageSettings { + /** + * Unmatched properties from the message are deserialized this collection. + */ + @JsonProperty(value = "") + private Map additionalProperties; + + /** + * 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 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 LogStorageSettings object itself. + */ + public LogStorageSettings withAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + return this; + } + + /** + * 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 LogStorageSettings object itself. + */ + public LogStorageSettings 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 LogStorageSettings object itself. + */ + public LogStorageSettings withPath(Object path) { + this.path = path; + return this; + } + +}