Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR mgmt-v2018_06_01] [DataFactory] add traceLevel, continueOnError, and runConcurrently properties to Da… #5920

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/datafactory/mgmt-v2018_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-datafactory</artifactId>
<version>1.0.0-beta-5</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for DataFactory Management</name>
<description>This package contains Microsoft DataFactory Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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).
*
Expand Down Expand Up @@ -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).
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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
*/
Expand All @@ -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.
Expand All @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,30 @@ public class ExecuteDataFlowActivity extends ExecutionActivity {
@JsonProperty(value = "typeProperties.compute")
private ExecuteDataFlowActivityTypePropertiesCompute compute;

/**
* Trace level setting used for data flow monitoring output. Supported
* values are: 'coarse', 'fine', and 'none'. Type: string (or Expression
* with resultType string).
*/
@JsonProperty(value = "typeProperties.traceLevel")
private Object traceLevel;

/**
* Continue on error setting used for data flow execution. Enables
* processing to continue if a sink fails. Type: boolean (or Expression
* with resultType boolean).
*/
@JsonProperty(value = "typeProperties.continueOnError")
private Object continueOnError;

/**
* Concurrent run setting used for data flow execution. Allows sinks with
* the same save order to be processed concurrently. Type: boolean (or
* Expression with resultType boolean).
*/
@JsonProperty(value = "typeProperties.runConcurrently")
private Object runConcurrently;

/**
* Get data flow reference.
*
Expand Down Expand Up @@ -124,4 +148,64 @@ public ExecuteDataFlowActivity withCompute(ExecuteDataFlowActivityTypeProperties
return this;
}

/**
* Get trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string).
*
* @return the traceLevel value
*/
public Object traceLevel() {
return this.traceLevel;
}

/**
* Set trace level setting used for data flow monitoring output. Supported values are: 'coarse', 'fine', and 'none'. Type: string (or Expression with resultType string).
*
* @param traceLevel the traceLevel value to set
* @return the ExecuteDataFlowActivity object itself.
*/
public ExecuteDataFlowActivity withTraceLevel(Object traceLevel) {
this.traceLevel = traceLevel;
return this;
}

/**
* Get continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean).
*
* @return the continueOnError value
*/
public Object continueOnError() {
return this.continueOnError;
}

/**
* Set continue on error setting used for data flow execution. Enables processing to continue if a sink fails. Type: boolean (or Expression with resultType boolean).
*
* @param continueOnError the continueOnError value to set
* @return the ExecuteDataFlowActivity object itself.
*/
public ExecuteDataFlowActivity withContinueOnError(Object continueOnError) {
this.continueOnError = continueOnError;
return this;
}

/**
* Get concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean).
*
* @return the runConcurrently value
*/
public Object runConcurrently() {
return this.runConcurrently;
}

/**
* Set concurrent run setting used for data flow execution. Allows sinks with the same save order to be processed concurrently. Type: boolean (or Expression with resultType boolean).
*
* @param runConcurrently the runConcurrently value to set
* @return the ExecuteDataFlowActivity object itself.
*/
public ExecuteDataFlowActivity withRunConcurrently(Object runConcurrently) {
this.runConcurrently = runConcurrently;
return this;
}

}
Loading