Skip to content

Commit 044a9ce

Browse files
authored
[Automation] Generate Fluent Lite from datafactory#package-2018-06 (Azure#27853)
1 parent 3be5dbb commit 044a9ce

File tree

973 files changed

+1545
-4049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

973 files changed

+1545
-4049
lines changed

sdk/datafactory/azure-resourcemanager-datafactory/CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Release History
22

3-
## 1.0.0-beta.13 (Unreleased)
3+
## 1.0.0-beta.13 (2022-03-24)
44

5-
### Features Added
5+
- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

7-
### Breaking Changes
7+
### Features Added
88

9-
### Bugs Fixed
9+
#### `models.WebActivity` was modified
1010

11-
### Other Changes
11+
* `withDisableCertValidation(java.lang.Boolean)` was added
12+
* `disableCertValidation()` was added
1213

1314
## 1.0.0-beta.12 (2022-02-24)
1415

sdk/datafactory/azure-resourcemanager-datafactory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-datafactory</artifactId>
35-
<version>1.0.0-beta.12</version>
35+
<version>1.0.0-beta.13</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/DataFactoryManager.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public static Configurable configure() {
153153

154154
/** The Configurable allowing configurations to be set. */
155155
public static final class Configurable {
156-
private final ClientLogger logger = new ClientLogger(Configurable.class);
156+
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
157157

158158
private HttpClient httpClient;
159159
private HttpLogOptions httpLogOptions;
@@ -227,9 +227,11 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
227227
* @return the configurable object itself.
228228
*/
229229
public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
230-
this.defaultPollInterval = Objects.requireNonNull(defaultPollInterval, "'retryPolicy' cannot be null.");
230+
this.defaultPollInterval =
231+
Objects.requireNonNull(defaultPollInterval, "'defaultPollInterval' cannot be null.");
231232
if (this.defaultPollInterval.isNegative()) {
232-
throw logger.logExceptionAsError(new IllegalArgumentException("'httpPipeline' cannot be negative"));
233+
throw LOGGER
234+
.logExceptionAsError(new IllegalArgumentException("'defaultPollInterval' cannot be negative"));
233235
}
234236
return this;
235237
}
@@ -251,7 +253,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
251253
.append("-")
252254
.append("com.azure.resourcemanager.datafactory")
253255
.append("/")
254-
.append("1.0.0-beta.12");
256+
.append("1.0.0-beta.13");
255257
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
256258
userAgentBuilder
257259
.append(" (")

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AccessPolicyResponseInner.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@
55
package com.azure.resourcemanager.datafactory.fluent.models;
66

77
import com.azure.core.annotation.Fluent;
8-
import com.azure.core.util.logging.ClientLogger;
98
import com.azure.resourcemanager.datafactory.models.UserAccessPolicy;
10-
import com.fasterxml.jackson.annotation.JsonIgnore;
119
import com.fasterxml.jackson.annotation.JsonProperty;
1210

1311
/** Get Data Plane read only token response definition. */
1412
@Fluent
1513
public final class AccessPolicyResponseInner {
16-
@JsonIgnore private final ClientLogger logger = new ClientLogger(AccessPolicyResponseInner.class);
17-
1814
/*
1915
* The user access policy.
2016
*/

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/ActivityRunsQueryResponseInner.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.azure.resourcemanager.datafactory.models.ActivityRun;
10-
import com.fasterxml.jackson.annotation.JsonIgnore;
1110
import com.fasterxml.jackson.annotation.JsonProperty;
1211
import java.util.List;
1312

1413
/** A list activity runs. */
1514
@Fluent
1615
public final class ActivityRunsQueryResponseInner {
17-
@JsonIgnore private final ClientLogger logger = new ClientLogger(ActivityRunsQueryResponseInner.class);
18-
1916
/*
2017
* List of activity runs.
2118
*/
@@ -78,12 +75,14 @@ public ActivityRunsQueryResponseInner withContinuationToken(String continuationT
7875
*/
7976
public void validate() {
8077
if (value() == null) {
81-
throw logger
78+
throw LOGGER
8279
.logExceptionAsError(
8380
new IllegalArgumentException(
8481
"Missing required property value in model ActivityRunsQueryResponseInner"));
8582
} else {
8683
value().forEach(e -> e.validate());
8784
}
8885
}
86+
87+
private static final ClientLogger LOGGER = new ClientLogger(ActivityRunsQueryResponseInner.class);
8988
}

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AddDataFlowToDebugSessionResponseInner.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,11 @@
55
package com.azure.resourcemanager.datafactory.fluent.models;
66

77
import com.azure.core.annotation.Fluent;
8-
import com.azure.core.util.logging.ClientLogger;
9-
import com.fasterxml.jackson.annotation.JsonIgnore;
108
import com.fasterxml.jackson.annotation.JsonProperty;
119

1210
/** Response body structure for starting data flow debug session. */
1311
@Fluent
1412
public final class AddDataFlowToDebugSessionResponseInner {
15-
@JsonIgnore private final ClientLogger logger = new ClientLogger(AddDataFlowToDebugSessionResponseInner.class);
16-
1713
/*
1814
* The ID of data flow debug job version.
1915
*/

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonMwsLinkedServiceTypeProperties.java

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.azure.resourcemanager.datafactory.models.SecretBase;
10-
import com.fasterxml.jackson.annotation.JsonIgnore;
1110
import com.fasterxml.jackson.annotation.JsonProperty;
1211

1312
/** Amazon Marketplace Web Service linked service properties. */
1413
@Fluent
1514
public final class AmazonMwsLinkedServiceTypeProperties {
16-
@JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonMwsLinkedServiceTypeProperties.class);
17-
1815
/*
1916
* The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com)
2017
*/
@@ -300,19 +297,19 @@ public AmazonMwsLinkedServiceTypeProperties withEncryptedCredential(Object encry
300297
*/
301298
public void validate() {
302299
if (endpoint() == null) {
303-
throw logger
300+
throw LOGGER
304301
.logExceptionAsError(
305302
new IllegalArgumentException(
306303
"Missing required property endpoint in model AmazonMwsLinkedServiceTypeProperties"));
307304
}
308305
if (marketplaceId() == null) {
309-
throw logger
306+
throw LOGGER
310307
.logExceptionAsError(
311308
new IllegalArgumentException(
312309
"Missing required property marketplaceId in model AmazonMwsLinkedServiceTypeProperties"));
313310
}
314311
if (sellerId() == null) {
315-
throw logger
312+
throw LOGGER
316313
.logExceptionAsError(
317314
new IllegalArgumentException(
318315
"Missing required property sellerId in model AmazonMwsLinkedServiceTypeProperties"));
@@ -321,7 +318,7 @@ public void validate() {
321318
mwsAuthToken().validate();
322319
}
323320
if (accessKeyId() == null) {
324-
throw logger
321+
throw LOGGER
325322
.logExceptionAsError(
326323
new IllegalArgumentException(
327324
"Missing required property accessKeyId in model AmazonMwsLinkedServiceTypeProperties"));
@@ -330,4 +327,6 @@ public void validate() {
330327
secretKey().validate();
331328
}
332329
}
330+
331+
private static final ClientLogger LOGGER = new ClientLogger(AmazonMwsLinkedServiceTypeProperties.class);
333332
}

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForLinkedServiceTypeProperties.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.azure.resourcemanager.datafactory.models.SecretBase;
10-
import com.fasterxml.jackson.annotation.JsonIgnore;
1110
import com.fasterxml.jackson.annotation.JsonProperty;
1211

1312
/** AmazonRdsForOracle database linked service properties. */
1413
@Fluent
1514
public final class AmazonRdsForLinkedServiceTypeProperties {
16-
@JsonIgnore private final ClientLogger logger = new ClientLogger(AmazonRdsForLinkedServiceTypeProperties.class);
17-
1815
/*
1916
* The connection string. Type: string, SecureString or
2017
* AzureKeyVaultSecretReference.
@@ -107,7 +104,7 @@ public AmazonRdsForLinkedServiceTypeProperties withEncryptedCredential(Object en
107104
*/
108105
public void validate() {
109106
if (connectionString() == null) {
110-
throw logger
107+
throw LOGGER
111108
.logExceptionAsError(
112109
new IllegalArgumentException(
113110
"Missing required property connectionString in model AmazonRdsForLinkedServiceTypeProperties"));
@@ -116,4 +113,6 @@ public void validate() {
116113
password().validate();
117114
}
118115
}
116+
117+
private static final ClientLogger LOGGER = new ClientLogger(AmazonRdsForLinkedServiceTypeProperties.class);
119118
}

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForOracleTableDatasetTypeProperties.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@
55
package com.azure.resourcemanager.datafactory.fluent.models;
66

77
import com.azure.core.annotation.Fluent;
8-
import com.azure.core.util.logging.ClientLogger;
9-
import com.fasterxml.jackson.annotation.JsonIgnore;
108
import com.fasterxml.jackson.annotation.JsonProperty;
119

1210
/** AmazonRdsForOracle dataset properties. */
1311
@Fluent
1412
public final class AmazonRdsForOracleTableDatasetTypeProperties {
15-
@JsonIgnore
16-
private final ClientLogger logger = new ClientLogger(AmazonRdsForOracleTableDatasetTypeProperties.class);
17-
1813
/*
1914
* The schema name of the AmazonRdsForOracle database. Type: string (or
2015
* Expression with resultType string).

sdk/datafactory/azure-resourcemanager-datafactory/src/main/java/com/azure/resourcemanager/datafactory/fluent/models/AmazonRdsForSqlServerLinkedServiceTypeProperties.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@
88
import com.azure.core.util.logging.ClientLogger;
99
import com.azure.resourcemanager.datafactory.models.SecretBase;
1010
import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
11-
import com.fasterxml.jackson.annotation.JsonIgnore;
1211
import com.fasterxml.jackson.annotation.JsonProperty;
1312

1413
/** Amazon Rds for SQL Server linked service properties. */
1514
@Fluent
1615
public final class AmazonRdsForSqlServerLinkedServiceTypeProperties {
17-
@JsonIgnore
18-
private final ClientLogger logger = new ClientLogger(AmazonRdsForSqlServerLinkedServiceTypeProperties.class);
19-
2016
/*
2117
* The connection string. Type: string, SecureString or
2218
* AzureKeyVaultSecretReference.
@@ -165,7 +161,7 @@ public AmazonRdsForSqlServerLinkedServiceTypeProperties withAlwaysEncryptedSetti
165161
*/
166162
public void validate() {
167163
if (connectionString() == null) {
168-
throw logger
164+
throw LOGGER
169165
.logExceptionAsError(
170166
new IllegalArgumentException(
171167
"Missing required property connectionString in model"
@@ -178,4 +174,6 @@ public void validate() {
178174
alwaysEncryptedSettings().validate();
179175
}
180176
}
177+
178+
private static final ClientLogger LOGGER = new ClientLogger(AmazonRdsForSqlServerLinkedServiceTypeProperties.class);
181179
}

0 commit comments

Comments
 (0)