Skip to content

Commit 6a19b5c

Browse files
author
SDKAuto
committed
CodeGen from PR 33478 in Azure/azure-rest-api-specs
Merge aedfb167dbe61c92a93230f6aaf848e17d29ac1f into 1b47f62ee9da78db7e011c709c48ecd700095a5a
1 parent d909347 commit 6a19b5c

File tree

1,126 files changed

+4216
-40245
lines changed

Some content is hidden

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

1,126 files changed

+4216
-40245
lines changed

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

Lines changed: 166 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,176 @@
11
# Release History
22

3-
## 1.1.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-03-31)
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

7-
### Breaking Changes
9+
* `models.GreenplumAuthenticationType` was added
10+
11+
* `models.AzurePostgreSqlSinkUpsertSettings` was added
12+
13+
* `models.ImpalaThriftTransportProtocol` was added
14+
15+
* `models.ValueType` was added
16+
17+
* `models.TeradataSink` was added
18+
19+
* `models.OracleAuthenticationType` was added
20+
21+
* `models.TeradataImportCommand` was added
22+
23+
* `models.AzurePostgreSqlWriteMethodEnum` was added
24+
25+
#### `models.GreenplumLinkedService` was modified
26+
27+
* `commandTimeout()` was added
28+
* `withDatabase(java.lang.Object)` was added
29+
* `authenticationType()` was added
30+
* `host()` was added
31+
* `sslMode()` was added
32+
* `withPort(java.lang.Object)` was added
33+
* `withCommandTimeout(java.lang.Object)` was added
34+
* `username()` was added
35+
* `port()` was added
36+
* `connectionTimeout()` was added
37+
* `withConnectionTimeout(java.lang.Object)` was added
38+
* `withSslMode(java.lang.Object)` was added
39+
* `database()` was added
40+
* `withHost(java.lang.Object)` was added
41+
* `withAuthenticationType(models.GreenplumAuthenticationType)` was added
42+
* `withUsername(java.lang.Object)` was added
43+
44+
#### `models.DynamicsCrmSink` was modified
45+
46+
* `withBypassPowerAutomateFlows(java.lang.Object)` was added
47+
* `bypassBusinessLogicExecution()` was added
48+
* `withBypassBusinessLogicExecution(java.lang.Object)` was added
49+
* `bypassPowerAutomateFlows()` was added
50+
51+
#### `models.AzurePostgreSqlSink` was modified
852

9-
### Bugs Fixed
53+
* `withUpsertSettings(models.AzurePostgreSqlSinkUpsertSettings)` was added
54+
* `withWriteMethod(models.AzurePostgreSqlWriteMethodEnum)` was added
55+
* `upsertSettings()` was added
56+
* `writeMethod()` was added
57+
58+
#### `models.ServiceNowV2ObjectDataset` was modified
59+
60+
* `valueType()` was added
61+
* `withValueType(models.ValueType)` was added
62+
63+
#### `models.PrestoLinkedService` was modified
1064

11-
### Other Changes
65+
* `enableServerCertificateValidation()` was added
66+
* `withEnableServerCertificateValidation(java.lang.Object)` was added
67+
68+
#### `models.TeradataLinkedService` was modified
69+
70+
* `withUseDataEncryption(java.lang.Object)` was added
71+
* `withHttpsPortNumber(java.lang.Object)` was added
72+
* `maxRespSize()` was added
73+
* `portNumber()` was added
74+
* `httpsPortNumber()` was added
75+
* `useDataEncryption()` was added
76+
* `withSslMode(java.lang.Object)` was added
77+
* `sslMode()` was added
78+
* `withPortNumber(java.lang.Object)` was added
79+
* `withCharacterSet(java.lang.Object)` was added
80+
* `characterSet()` was added
81+
* `withMaxRespSize(java.lang.Object)` was added
82+
83+
#### `models.DynamicsSink` was modified
84+
85+
* `bypassBusinessLogicExecution()` was added
86+
* `bypassPowerAutomateFlows()` was added
87+
* `withBypassPowerAutomateFlows(java.lang.Object)` was added
88+
* `withBypassBusinessLogicExecution(java.lang.Object)` was added
89+
90+
#### `models.SnowflakeV2LinkedService` was modified
91+
92+
* `withRole(java.lang.Object)` was added
93+
* `schema()` was added
94+
* `withSchema(java.lang.Object)` was added
95+
* `role()` was added
96+
97+
#### `models.TypeConversionSettings` was modified
98+
99+
* `withTimeFormat(java.lang.Object)` was added
100+
* `withDateFormat(java.lang.Object)` was added
101+
* `dateFormat()` was added
102+
* `timeFormat()` was added
103+
104+
#### `models.AzurePostgreSqlLinkedService` was modified
105+
106+
* `servicePrincipalKey()` was added
107+
* `withAzureCloudType(java.lang.Object)` was added
108+
* `withServicePrincipalEmbeddedCert(models.SecretBase)` was added
109+
* `servicePrincipalEmbeddedCertPassword()` was added
110+
* `withServicePrincipalKey(models.SecretBase)` was added
111+
* `withServicePrincipalCredentialType(java.lang.Object)` was added
112+
* `withCredential(models.CredentialReference)` was added
113+
* `withTenant(java.lang.Object)` was added
114+
* `withServicePrincipalEmbeddedCertPassword(models.SecretBase)` was added
115+
* `credential()` was added
116+
* `azureCloudType()` was added
117+
* `servicePrincipalEmbeddedCert()` was added
118+
* `servicePrincipalCredentialType()` was added
119+
* `servicePrincipalId()` was added
120+
* `withServicePrincipalId(java.lang.Object)` was added
121+
* `tenant()` was added
122+
123+
#### `models.OracleLinkedService` was modified
124+
125+
* `withSupportV1DataTypes(java.lang.Object)` was added
126+
* `withInitialLobFetchSize(java.lang.Object)` was added
127+
* `withInitializationString(java.lang.Object)` was added
128+
* `initializationString()` was added
129+
* `withEncryptionClient(java.lang.Object)` was added
130+
* `authenticationType()` was added
131+
* `withEncryptionTypesClient(java.lang.Object)` was added
132+
* `enableBulkLoad()` was added
133+
* `withAuthenticationType(models.OracleAuthenticationType)` was added
134+
* `statementCacheSize()` was added
135+
* `withStatementCacheSize(java.lang.Object)` was added
136+
* `cryptoChecksumClient()` was added
137+
* `withEnableBulkLoad(java.lang.Object)` was added
138+
* `server()` was added
139+
* `withUsername(java.lang.Object)` was added
140+
* `supportV1DataTypes()` was added
141+
* `withCryptoChecksumTypesClient(java.lang.Object)` was added
142+
* `encryptionTypesClient()` was added
143+
* `encryptionClient()` was added
144+
* `fetchSize()` was added
145+
* `cryptoChecksumTypesClient()` was added
146+
* `fetchTswtzAsTimestamp()` was added
147+
* `withFetchSize(java.lang.Object)` was added
148+
* `initialLobFetchSize()` was added
149+
* `withFetchTswtzAsTimestamp(java.lang.Object)` was added
150+
* `username()` was added
151+
* `withServer(java.lang.Object)` was added
152+
* `withCryptoChecksumClient(java.lang.Object)` was added
153+
154+
#### `models.CommonDataServiceForAppsSink` was modified
155+
156+
* `bypassPowerAutomateFlows()` was added
157+
* `bypassBusinessLogicExecution()` was added
158+
* `withBypassBusinessLogicExecution(java.lang.Object)` was added
159+
* `withBypassPowerAutomateFlows(java.lang.Object)` was added
160+
161+
#### `models.ImpalaLinkedService` was modified
162+
163+
* `thriftTransportProtocol()` was added
164+
* `withThriftTransportProtocol(models.ImpalaThriftTransportProtocol)` was added
165+
166+
#### `models.Office365LinkedService` was modified
167+
168+
* `withServicePrincipalEmbeddedCertPassword(models.SecretBase)` was added
169+
* `withServicePrincipalCredentialType(java.lang.Object)` was added
170+
* `withServicePrincipalEmbeddedCert(models.SecretBase)` was added
171+
* `servicePrincipalCredentialType()` was added
172+
* `servicePrincipalEmbeddedCertPassword()` was added
173+
* `servicePrincipalEmbeddedCert()` was added
12174

13175
## 1.0.0 (2024-12-16)
14176

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
DataFactoryManager manager = DataFactoryManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -73,19 +73,19 @@ See [API design][design] for general introduction on design and key concepts on
7373
```java
7474
// storage account
7575
StorageAccount storageAccount = storageManager.storageAccounts()
76-
.define(STORAGE_ACCOUNT)
76+
.define(storageAccountName)
7777
.withRegion(REGION)
7878
.withExistingResourceGroup(resourceGroup)
7979
.create();
8080
final String storageAccountKey = storageAccount.getKeys().iterator().next().value();
8181
final String connectionString
82-
= getStorageConnectionString(STORAGE_ACCOUNT, storageAccountKey, storageManager.environment());
82+
= getStorageConnectionString(storageAccountName, storageAccountKey, storageManager.environment());
8383

8484
// container
8585
final String containerName = "adf";
8686
storageManager.blobContainers()
8787
.defineContainer(containerName)
88-
.withExistingStorageAccount(resourceGroup, STORAGE_ACCOUNT)
88+
.withExistingStorageAccount(resourceGroup, storageAccountName)
8989
.withPublicAccess(PublicAccess.NONE)
9090
.create();
9191

@@ -193,5 +193,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
193193
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
194194
[coc]: https://opensource.microsoft.com/codeofconduct/
195195
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
196-
197-

sdk/datafactory/azure-resourcemanager-datafactory/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48+
<revapi.skip>true</revapi.skip>
4849
<spotless.skip>false</spotless.skip>
4950
</properties>
5051
<dependencies>

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.azure.core.http.policy.UserAgentPolicy;
2323
import com.azure.core.management.profile.AzureProfile;
2424
import com.azure.core.util.Configuration;
25+
import com.azure.core.util.CoreUtils;
2526
import com.azure.core.util.logging.ClientLogger;
2627
import com.azure.resourcemanager.datafactory.fluent.DataFactoryManagementClient;
2728
import com.azure.resourcemanager.datafactory.implementation.ActivityRunsImpl;
@@ -75,6 +76,7 @@
7576
import java.time.temporal.ChronoUnit;
7677
import java.util.ArrayList;
7778
import java.util.List;
79+
import java.util.Map;
7880
import java.util.Objects;
7981
import java.util.stream.Collectors;
8082

@@ -182,6 +184,9 @@ public static Configurable configure() {
182184
*/
183185
public static final class Configurable {
184186
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
187+
private static final String SDK_VERSION = "version";
188+
private static final Map<String, String> PROPERTIES
189+
= CoreUtils.getProperties("azure-resourcemanager-datafactory.properties");
185190

186191
private HttpClient httpClient;
187192
private HttpLogOptions httpLogOptions;
@@ -289,12 +294,14 @@ public DataFactoryManager authenticate(TokenCredential credential, AzureProfile
289294
Objects.requireNonNull(credential, "'credential' cannot be null.");
290295
Objects.requireNonNull(profile, "'profile' cannot be null.");
291296

297+
String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
298+
292299
StringBuilder userAgentBuilder = new StringBuilder();
293300
userAgentBuilder.append("azsdk-java")
294301
.append("-")
295302
.append("com.azure.resourcemanager.datafactory")
296303
.append("/")
297-
.append("1.0.0");
304+
.append(clientVersion);
298305
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
299306
userAgentBuilder.append(" (")
300307
.append(Configuration.getGlobalConfiguration().get("java.version"))

0 commit comments

Comments
 (0)