Skip to content

Commit 4b08d41

Browse files
authored
mgmt datafactory regenerate package-2018-06 (Azure#17852)
* mgmt regenerate datafactory package-2018-06 * update pom * fix compile errors
1 parent 58dcd34 commit 4b08d41

22 files changed

+523
-89
lines changed

sdk/datafactory/mgmt-v2018_06_01/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
1616
</parent>
1717
<artifactId>azure-mgmt-datafactory</artifactId>
18-
<version>1.0.0-beta-5</version>
18+
<version>1.0.0-beta-6</version>
1919
<packaging>jar</packaging>
2020
<name>Microsoft Azure SDK for DataFactory Management</name>
2121
<description>This package contains Microsoft DataFactory Management SDK.</description>

sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AmazonS3LinkedService.java

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
@JsonTypeName("AmazonS3")
2222
@JsonFlatten
2323
public class AmazonS3LinkedService extends LinkedServiceInner {
24+
/**
25+
* The authentication type of S3. Allowed value: AccessKey (default) or
26+
* TemporarySecurityCredentials. Type: string (or Expression with
27+
* resultType string).
28+
*/
29+
@JsonProperty(value = "typeProperties.authenticationType")
30+
private Object authenticationType;
31+
2432
/**
2533
* The access key identifier of the Amazon S3 Identity and Access
2634
* Management (IAM) user. Type: string (or Expression with resultType
@@ -45,6 +53,12 @@ public class AmazonS3LinkedService extends LinkedServiceInner {
4553
@JsonProperty(value = "typeProperties.serviceUrl")
4654
private Object serviceUrl;
4755

56+
/**
57+
* The session token for the S3 temporary security credential.
58+
*/
59+
@JsonProperty(value = "typeProperties.sessionToken")
60+
private SecretBase sessionToken;
61+
4862
/**
4963
* The encrypted credential used for authentication. Credentials are
5064
* encrypted using the integration runtime credential manager. Type: string
@@ -53,6 +67,26 @@ public class AmazonS3LinkedService extends LinkedServiceInner {
5367
@JsonProperty(value = "typeProperties.encryptedCredential")
5468
private Object encryptedCredential;
5569

70+
/**
71+
* Get the authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string).
72+
*
73+
* @return the authenticationType value
74+
*/
75+
public Object authenticationType() {
76+
return this.authenticationType;
77+
}
78+
79+
/**
80+
* Set the authentication type of S3. Allowed value: AccessKey (default) or TemporarySecurityCredentials. Type: string (or Expression with resultType string).
81+
*
82+
* @param authenticationType the authenticationType value to set
83+
* @return the AmazonS3LinkedService object itself.
84+
*/
85+
public AmazonS3LinkedService withAuthenticationType(Object authenticationType) {
86+
this.authenticationType = authenticationType;
87+
return this;
88+
}
89+
5690
/**
5791
* Get the access key identifier of the Amazon S3 Identity and Access Management (IAM) user. Type: string (or Expression with resultType string).
5892
*
@@ -113,6 +147,26 @@ public AmazonS3LinkedService withServiceUrl(Object serviceUrl) {
113147
return this;
114148
}
115149

150+
/**
151+
* Get the session token for the S3 temporary security credential.
152+
*
153+
* @return the sessionToken value
154+
*/
155+
public SecretBase sessionToken() {
156+
return this.sessionToken;
157+
}
158+
159+
/**
160+
* Set the session token for the S3 temporary security credential.
161+
*
162+
* @param sessionToken the sessionToken value to set
163+
* @return the AmazonS3LinkedService object itself.
164+
*/
165+
public AmazonS3LinkedService withSessionToken(SecretBase sessionToken) {
166+
this.sessionToken = sessionToken;
167+
return this;
168+
}
169+
116170
/**
117171
* Get the encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
118172
*

sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/AzureSqlSource.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public class AzureSqlSource extends TabularSource {
4848

4949
/**
5050
* The partition mechanism that will be used for Sql read in parallel.
51-
* Possible values include: 'None', 'PhysicalPartitionsOfTable',
52-
* 'DynamicRange'.
51+
* Possible values include: "None", "PhysicalPartitionsOfTable",
52+
* "DynamicRange".
5353
*/
5454
@JsonProperty(value = "partitionOption")
55-
private SqlPartitionOption partitionOption;
55+
private Object partitionOption;
5656

5757
/**
5858
* The settings that will be leveraged for Sql source partitioning.
@@ -141,21 +141,21 @@ public AzureSqlSource withProduceAdditionalTypes(Object produceAdditionalTypes)
141141
}
142142

143143
/**
144-
* Get the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'.
144+
* Get the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
145145
*
146146
* @return the partitionOption value
147147
*/
148-
public SqlPartitionOption partitionOption() {
148+
public Object partitionOption() {
149149
return this.partitionOption;
150150
}
151151

152152
/**
153-
* Set the partition mechanism that will be used for Sql read in parallel. Possible values include: 'None', 'PhysicalPartitionsOfTable', 'DynamicRange'.
153+
* Set the partition mechanism that will be used for Sql read in parallel. Possible values include: "None", "PhysicalPartitionsOfTable", "DynamicRange".
154154
*
155155
* @param partitionOption the partitionOption value to set
156156
* @return the AzureSqlSource object itself.
157157
*/
158-
public AzureSqlSource withPartitionOption(SqlPartitionOption partitionOption) {
158+
public AzureSqlSource withPartitionOption(Object partitionOption) {
159159
this.partitionOption = partitionOption;
160160
return this;
161161
}

sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/ConcurLinkedService.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
@JsonTypeName("Concur")
2222
@JsonFlatten
2323
public class ConcurLinkedService extends LinkedServiceInner {
24+
/**
25+
* Properties used to connect to Concur. It is mutually exclusive with any
26+
* other properties in the linked service. Type: object.
27+
*/
28+
@JsonProperty(value = "typeProperties.connectionProperties")
29+
private Object connectionProperties;
30+
2431
/**
2532
* Application client_id supplied by Concur App Management.
2633
*/
@@ -70,6 +77,26 @@ public class ConcurLinkedService extends LinkedServiceInner {
7077
@JsonProperty(value = "typeProperties.encryptedCredential")
7178
private Object encryptedCredential;
7279

80+
/**
81+
* Get properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object.
82+
*
83+
* @return the connectionProperties value
84+
*/
85+
public Object connectionProperties() {
86+
return this.connectionProperties;
87+
}
88+
89+
/**
90+
* Set properties used to connect to Concur. It is mutually exclusive with any other properties in the linked service. Type: object.
91+
*
92+
* @param connectionProperties the connectionProperties value to set
93+
* @return the ConcurLinkedService object itself.
94+
*/
95+
public ConcurLinkedService withConnectionProperties(Object connectionProperties) {
96+
this.connectionProperties = connectionProperties;
97+
return this;
98+
}
99+
73100
/**
74101
* Get application client_id supplied by Concur App Management.
75102
*

sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/CopyActivity.java

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,18 @@ public class CopyActivity extends ExecutionActivity {
8383
private RedirectIncompatibleRowSettings redirectIncompatibleRowSettings;
8484

8585
/**
86-
* Log storage settings customer need to provide when enabling session log.
86+
* (Deprecated. Please use LogSettings) Log storage settings customer need
87+
* to provide when enabling session log.
8788
*/
8889
@JsonProperty(value = "typeProperties.logStorageSettings")
8990
private LogStorageSettings logStorageSettings;
9091

92+
/**
93+
* Log settings customer needs provide when enabling log.
94+
*/
95+
@JsonProperty(value = "typeProperties.logSettings")
96+
private LogSettings logSettings;
97+
9198
/**
9299
* Preserve Rules.
93100
*/
@@ -306,7 +313,7 @@ public CopyActivity withRedirectIncompatibleRowSettings(RedirectIncompatibleRowS
306313
}
307314

308315
/**
309-
* Get log storage settings customer need to provide when enabling session log.
316+
* Get (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.
310317
*
311318
* @return the logStorageSettings value
312319
*/
@@ -315,7 +322,7 @@ public LogStorageSettings logStorageSettings() {
315322
}
316323

317324
/**
318-
* Set log storage settings customer need to provide when enabling session log.
325+
* Set (Deprecated. Please use LogSettings) Log storage settings customer need to provide when enabling session log.
319326
*
320327
* @param logStorageSettings the logStorageSettings value to set
321328
* @return the CopyActivity object itself.
@@ -325,6 +332,26 @@ public CopyActivity withLogStorageSettings(LogStorageSettings logStorageSettings
325332
return this;
326333
}
327334

335+
/**
336+
* Get log settings customer needs provide when enabling log.
337+
*
338+
* @return the logSettings value
339+
*/
340+
public LogSettings logSettings() {
341+
return this.logSettings;
342+
}
343+
344+
/**
345+
* Set log settings customer needs provide when enabling log.
346+
*
347+
* @param logSettings the logSettings value to set
348+
* @return the CopyActivity object itself.
349+
*/
350+
public CopyActivity withLogSettings(LogSettings logSettings) {
351+
this.logSettings = logSettings;
352+
return this;
353+
}
354+
328355
/**
329356
* Get preserve Rules.
330357
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/**
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for
4+
* license information.
5+
*
6+
* Code generated by Microsoft (R) AutoRest Code Generator.
7+
*/
8+
9+
package com.microsoft.azure.management.datafactory.v2018_06_01;
10+
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
13+
/**
14+
* Settings for copy activity log.
15+
*/
16+
public class CopyActivityLogSettings {
17+
/**
18+
* Gets or sets the log level, support: Info, Warning. Type: string (or
19+
* Expression with resultType string).
20+
*/
21+
@JsonProperty(value = "logLevel")
22+
private Object logLevel;
23+
24+
/**
25+
* Specifies whether to enable reliable logging. Type: boolean (or
26+
* Expression with resultType boolean).
27+
*/
28+
@JsonProperty(value = "enableReliableLogging")
29+
private Object enableReliableLogging;
30+
31+
/**
32+
* Get gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
33+
*
34+
* @return the logLevel value
35+
*/
36+
public Object logLevel() {
37+
return this.logLevel;
38+
}
39+
40+
/**
41+
* Set gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
42+
*
43+
* @param logLevel the logLevel value to set
44+
* @return the CopyActivityLogSettings object itself.
45+
*/
46+
public CopyActivityLogSettings withLogLevel(Object logLevel) {
47+
this.logLevel = logLevel;
48+
return this;
49+
}
50+
51+
/**
52+
* Get specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
53+
*
54+
* @return the enableReliableLogging value
55+
*/
56+
public Object enableReliableLogging() {
57+
return this.enableReliableLogging;
58+
}
59+
60+
/**
61+
* Set specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
62+
*
63+
* @param enableReliableLogging the enableReliableLogging value to set
64+
* @return the CopyActivityLogSettings object itself.
65+
*/
66+
public CopyActivityLogSettings withEnableReliableLogging(Object enableReliableLogging) {
67+
this.enableReliableLogging = enableReliableLogging;
68+
return this;
69+
}
70+
71+
}

0 commit comments

Comments
 (0)