Skip to content

Commit 5ce311c

Browse files
author
SDKAuto
committed
CodeGen from PR 23013 in Azure/azure-rest-api-specs
Merge afdb5bca2b32b05451e1f1c4d5fc6a399a9b320b into d1f4d6fcf1bbb2e71a32bb2079de12f17fedf56a
1 parent f6909fb commit 5ce311c

File tree

827 files changed

+5190
-40054
lines changed

Some content is hidden

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

827 files changed

+5190
-40054
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.29 (Unreleased)
3+
## 1.0.0-beta.1 (2024-05-09)
4+
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).
46

57
### Features Added
68

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.28</version>
35+
<version>1.0.0-beta.29</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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
294294
.append("-")
295295
.append("com.azure.resourcemanager.datafactory")
296296
.append("/")
297-
.append("1.0.0-beta.28");
297+
.append("1.0.0-beta.1");
298298
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
299299
userAgentBuilder.append(" (")
300300
.append(Configuration.getGlobalConfiguration().get("java.version"))

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

Lines changed: 205 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,29 @@
55
package com.azure.resourcemanager.datafactory.fluent.models;
66

77
import com.azure.core.annotation.Fluent;
8-
import com.azure.core.util.logging.ClientLogger;
8+
import com.azure.resourcemanager.datafactory.models.AmazonRdsForSqlAuthenticationType;
99
import com.azure.resourcemanager.datafactory.models.SecretBase;
1010
import com.azure.resourcemanager.datafactory.models.SqlAlwaysEncryptedProperties;
11+
import com.azure.resourcemanager.datafactory.models.SqlServerBaseLinkedServiceTypeProperties;
1112
import com.fasterxml.jackson.annotation.JsonProperty;
1213

1314
/**
1415
* Amazon Rds for SQL Server linked service properties.
1516
*/
1617
@Fluent
17-
public final class AmazonRdsForSqlServerLinkedServiceTypeProperties {
18+
public final class AmazonRdsForSqlServerLinkedServiceTypeProperties extends SqlServerBaseLinkedServiceTypeProperties {
1819
/*
1920
* The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
2021
*/
21-
@JsonProperty(value = "connectionString", required = true)
22+
@JsonProperty(value = "connectionString")
2223
private Object connectionString;
2324

25+
/*
26+
* The type used for authentication. Type: string.
27+
*/
28+
@JsonProperty(value = "authenticationType")
29+
private AmazonRdsForSqlAuthenticationType authenticationType;
30+
2431
/*
2532
* The on-premises Windows authentication user name. Type: string (or Expression with resultType string).
2633
*/
@@ -73,6 +80,27 @@ public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectionString(Obj
7380
return this;
7481
}
7582

83+
/**
84+
* Get the authenticationType property: The type used for authentication. Type: string.
85+
*
86+
* @return the authenticationType value.
87+
*/
88+
public AmazonRdsForSqlAuthenticationType authenticationType() {
89+
return this.authenticationType;
90+
}
91+
92+
/**
93+
* Set the authenticationType property: The type used for authentication. Type: string.
94+
*
95+
* @param authenticationType the authenticationType value to set.
96+
* @return the AmazonRdsForSqlServerLinkedServiceTypeProperties object itself.
97+
*/
98+
public AmazonRdsForSqlServerLinkedServiceTypeProperties
99+
withAuthenticationType(AmazonRdsForSqlAuthenticationType authenticationType) {
100+
this.authenticationType = authenticationType;
101+
return this;
102+
}
103+
76104
/**
77105
* Get the username property: The on-premises Windows authentication user name. Type: string (or Expression with
78106
* resultType string).
@@ -158,24 +186,191 @@ public SqlAlwaysEncryptedProperties alwaysEncryptedSettings() {
158186
return this;
159187
}
160188

189+
/**
190+
* {@inheritDoc}
191+
*/
192+
@Override
193+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withServer(Object server) {
194+
super.withServer(server);
195+
return this;
196+
}
197+
198+
/**
199+
* {@inheritDoc}
200+
*/
201+
@Override
202+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withDatabase(Object database) {
203+
super.withDatabase(database);
204+
return this;
205+
}
206+
207+
/**
208+
* {@inheritDoc}
209+
*/
210+
@Override
211+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withEncrypt(Object encrypt) {
212+
super.withEncrypt(encrypt);
213+
return this;
214+
}
215+
216+
/**
217+
* {@inheritDoc}
218+
*/
219+
@Override
220+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withTrustServerCertificate(Object trustServerCertificate) {
221+
super.withTrustServerCertificate(trustServerCertificate);
222+
return this;
223+
}
224+
225+
/**
226+
* {@inheritDoc}
227+
*/
228+
@Override
229+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withHostnameInCertificate(Object hostnameInCertificate) {
230+
super.withHostnameInCertificate(hostnameInCertificate);
231+
return this;
232+
}
233+
234+
/**
235+
* {@inheritDoc}
236+
*/
237+
@Override
238+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withApplicationIntent(Object applicationIntent) {
239+
super.withApplicationIntent(applicationIntent);
240+
return this;
241+
}
242+
243+
/**
244+
* {@inheritDoc}
245+
*/
246+
@Override
247+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectTimeout(Object connectTimeout) {
248+
super.withConnectTimeout(connectTimeout);
249+
return this;
250+
}
251+
252+
/**
253+
* {@inheritDoc}
254+
*/
255+
@Override
256+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectRetryCount(Object connectRetryCount) {
257+
super.withConnectRetryCount(connectRetryCount);
258+
return this;
259+
}
260+
261+
/**
262+
* {@inheritDoc}
263+
*/
264+
@Override
265+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withConnectRetryInterval(Object connectRetryInterval) {
266+
super.withConnectRetryInterval(connectRetryInterval);
267+
return this;
268+
}
269+
270+
/**
271+
* {@inheritDoc}
272+
*/
273+
@Override
274+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withLoadBalanceTimeout(Object loadBalanceTimeout) {
275+
super.withLoadBalanceTimeout(loadBalanceTimeout);
276+
return this;
277+
}
278+
279+
/**
280+
* {@inheritDoc}
281+
*/
282+
@Override
283+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withCommandTimeout(Object commandTimeout) {
284+
super.withCommandTimeout(commandTimeout);
285+
return this;
286+
}
287+
288+
/**
289+
* {@inheritDoc}
290+
*/
291+
@Override
292+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withIntegratedSecurity(Object integratedSecurity) {
293+
super.withIntegratedSecurity(integratedSecurity);
294+
return this;
295+
}
296+
297+
/**
298+
* {@inheritDoc}
299+
*/
300+
@Override
301+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withFailoverPartner(Object failoverPartner) {
302+
super.withFailoverPartner(failoverPartner);
303+
return this;
304+
}
305+
306+
/**
307+
* {@inheritDoc}
308+
*/
309+
@Override
310+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMaxPoolSize(Object maxPoolSize) {
311+
super.withMaxPoolSize(maxPoolSize);
312+
return this;
313+
}
314+
315+
/**
316+
* {@inheritDoc}
317+
*/
318+
@Override
319+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMinPoolSize(Object minPoolSize) {
320+
super.withMinPoolSize(minPoolSize);
321+
return this;
322+
}
323+
324+
/**
325+
* {@inheritDoc}
326+
*/
327+
@Override
328+
public AmazonRdsForSqlServerLinkedServiceTypeProperties
329+
withMultipleActiveResultSets(Object multipleActiveResultSets) {
330+
super.withMultipleActiveResultSets(multipleActiveResultSets);
331+
return this;
332+
}
333+
334+
/**
335+
* {@inheritDoc}
336+
*/
337+
@Override
338+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withMultiSubnetFailover(Object multiSubnetFailover) {
339+
super.withMultiSubnetFailover(multiSubnetFailover);
340+
return this;
341+
}
342+
343+
/**
344+
* {@inheritDoc}
345+
*/
346+
@Override
347+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withPacketSize(Object packetSize) {
348+
super.withPacketSize(packetSize);
349+
return this;
350+
}
351+
352+
/**
353+
* {@inheritDoc}
354+
*/
355+
@Override
356+
public AmazonRdsForSqlServerLinkedServiceTypeProperties withPooling(Object pooling) {
357+
super.withPooling(pooling);
358+
return this;
359+
}
360+
161361
/**
162362
* Validates the instance.
163363
*
164364
* @throws IllegalArgumentException thrown if the instance is not valid.
165365
*/
366+
@Override
166367
public void validate() {
167-
if (connectionString() == null) {
168-
throw LOGGER.atError()
169-
.log(new IllegalArgumentException(
170-
"Missing required property connectionString in model AmazonRdsForSqlServerLinkedServiceTypeProperties"));
171-
}
368+
super.validate();
172369
if (password() != null) {
173370
password().validate();
174371
}
175372
if (alwaysEncryptedSettings() != null) {
176373
alwaysEncryptedSettings().validate();
177374
}
178375
}
179-
180-
private static final ClientLogger LOGGER = new ClientLogger(AmazonRdsForSqlServerLinkedServiceTypeProperties.class);
181376
}

0 commit comments

Comments
 (0)