Skip to content

Commit 6046f26

Browse files
azure-sdk-automation[bot]azure-sdkweidongxu-microsoftXiaofeiCaojeremyfrosti
authored
[AutoPR azure-resourcemanager-sql]-generated-from-SDK Generation - Java-6807690 (#50038)
* Configurations: 'specification/sql/resource-manager/Microsoft.Sql/SQL/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'fae30cdf5799e6c1323b2ecc24ba4e9669571ee4' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6662432 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Fix SQL changelog section Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a3e2a25e-0447-4e04-bd90-401bd4bf94ac * Configurations: 'specification/sql/resource-manager/Microsoft.Sql/SQL/tspconfig.yaml', and CommitSHA: 'c05ce5a2f35ffa080118a2b70d40e3113654d6cd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6672085 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Add SQL package API version to changelog Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 2a35f418-d7a1-4f73-ac51-19b0ba1a865a * Configurations: 'specification/sql/resource-manager/Microsoft.Sql/SQL/tspconfig.yaml', and CommitSHA: 'c578ee869e6406f1876cb9655c07c6abdc786006' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6802508 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * Deprecate SQL Data Sync APIs and provide migration guidance Deprecated SQL Data Sync APIs due to retirement schedule and authentication limitations. Suggested alternatives for distributed applications. * Configurations: 'specification/sql/resource-manager/Microsoft.Sql/SQL/tspconfig.yaml', and CommitSHA: '13121b2c98320c042f28a8393fb5c6f16af2ed3c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6807690 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: azure-sdk <azuresdk@microsoft.com> Co-authored-by: Weidong Xu <weidxu@microsoft.com> Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Co-authored-by: Jeremy Frosti <111934615+jeremyfrosti@users.noreply.github.com> Copilot-Session: a3e2a25e-0447-4e04-bd90-401bd4bf94ac Copilot-Session: 2a35f418-d7a1-4f73-ac51-19b0ba1a865a
1 parent 637a975 commit 6046f26

604 files changed

Lines changed: 3435 additions & 916 deletions

File tree

Some content is hidden

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

‎sdk/sql/azure-resourcemanager-sql/CHANGELOG.md‎

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

3-
## 2.55.0-beta.1 (Unreleased)
3+
## 2.55.0-beta.1 (2026-09-09)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
5+
- Package api-version 2026-08-01-preview.
126

137
- Deprecated the handwritten SQL Data Sync convenience APIs because SQL Data Sync is scheduled for retirement, requires
148
SQL authentication, and doesn't support Microsoft Entra ID or managed identities. For distributed applications, use
@@ -18,6 +12,66 @@
1812
to the [official retirement migration guidance](https://learn.microsoft.com/azure/azure-sql/database/sql-data-sync-retirement-migration)
1913
for more alternatives.
2014

15+
### Breaking Changes
16+
17+
#### `models.DataMaskingFunction` was modified
18+
19+
* `models.DataMaskingFunction[] values()` -> `java.util.Collection values()`
20+
* `valueOf(java.lang.String)` was removed
21+
* `toString()` was removed
22+
23+
#### `models.DataMaskingRuleState` was modified
24+
25+
* `valueOf(java.lang.String)` was removed
26+
* `models.DataMaskingRuleState[] values()` -> `java.util.Collection values()`
27+
* `toString()` was removed
28+
29+
#### `models.PrivateEndpointProvisioningState` was modified
30+
31+
* `READY` was removed
32+
* `APPROVING` was removed
33+
* `DROPPING` was removed
34+
* `REJECTING` was removed
35+
36+
### Features Added
37+
38+
* `models.ManagedInstanceAdministratorPrincipalType` was added
39+
40+
* `models.LinkModeType` was added
41+
42+
* `models.ImmutabilityStatus` was added
43+
44+
* `models.EndpointTrustedRootCertificateInfo` was added
45+
46+
* `models.DataSyncParticipantUserAssignedIdentity` was added
47+
48+
* `models.DataSyncParticipantIdentityType` was added
49+
50+
* `models.DataSyncParticipantIdentity` was added
51+
52+
#### `models.ElasticPoolUpdate` was modified
53+
54+
* `currentSku()` was added
55+
56+
#### `models.DataMaskingFunction` was modified
57+
58+
* `DataMaskingFunction()` was added
59+
60+
#### `models.DatabaseUpdate` was modified
61+
62+
* `provisioningState()` was added
63+
64+
#### `models.DataMaskingRuleState` was modified
65+
66+
* `DataMaskingRuleState()` was added
67+
68+
#### `models.PrivateEndpointProvisioningState` was modified
69+
70+
* `IN_PROGRESS` was added
71+
* `CREATED` was added
72+
* `SUCCEEDED` was added
73+
* `CANCELED` was added
74+
2175
## 2.54.1 (2026-08-18)
2276

2377
### Other Changes

‎sdk/sql/azure-resourcemanager-sql/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra
1818
<dependency>
1919
<groupId>com.azure.resourcemanager</groupId>
2020
<artifactId>azure-resourcemanager-sql</artifactId>
21-
<version>2.54.0</version>
21+
<version>2.55.0-beta.1</version>
2222
</dependency>
2323
```
2424
[//]: # ({x-version-update-end})

‎sdk/sql/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/fluent/DataMaskingRulesClient.java‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,23 @@
1818
* An instance of this class provides access to all the operations defined in DataMaskingRulesClient.
1919
*/
2020
public interface DataMaskingRulesClient {
21+
/**
22+
* Gets a list of database data masking rules.
23+
*
24+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
25+
* @param serverName The name of the server.
26+
* @param databaseName The name of the database.
27+
* @param dataMaskingPolicyName The name of the database for which the data masking policy applies.
28+
* @param skip The number of elements in the collection to skip.
29+
* @throws IllegalArgumentException thrown if parameters fail the validation.
30+
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
31+
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
32+
* @return a list of database data masking rules as paginated response with {@link PagedFlux}.
33+
*/
34+
@ServiceMethod(returns = ReturnType.COLLECTION)
35+
PagedFlux<DataMaskingRuleInner> listByDatabaseAsync(String resourceGroupName, String serverName,
36+
String databaseName, DataMaskingPolicyName dataMaskingPolicyName, Long skip);
37+
2138
/**
2239
* Gets a list of database data masking rules.
2340
*
@@ -57,6 +74,7 @@ PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, Str
5774
* @param serverName The name of the server.
5875
* @param databaseName The name of the database.
5976
* @param dataMaskingPolicyName The name of the database for which the data masking policy applies.
77+
* @param skip The number of elements in the collection to skip.
6078
* @param context The context to associate with this operation.
6179
* @throws IllegalArgumentException thrown if parameters fail the validation.
6280
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -65,7 +83,7 @@ PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, Str
6583
*/
6684
@ServiceMethod(returns = ReturnType.COLLECTION)
6785
PagedIterable<DataMaskingRuleInner> listByDatabase(String resourceGroupName, String serverName, String databaseName,
68-
DataMaskingPolicyName dataMaskingPolicyName, Context context);
86+
DataMaskingPolicyName dataMaskingPolicyName, Long skip, Context context);
6987

7088
/**
7189
* Creates or updates a database data masking rule.

‎sdk/sql/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/fluent/DatabasesClient.java‎

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,14 +424,18 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String
424424
*
425425
* @param resourceGroupName The name of the resource group. The name is case insensitive.
426426
* @param serverName The name of the server.
427-
* @param skipToken The skipToken parameter.
427+
* @param top The number of elements to return from the collection.
428+
* @param skip The number of elements in the collection to skip.
429+
* @param filter An OData filter expression that filters elements in the collection.
430+
* @param orderby How the results should be ordered.
428431
* @throws IllegalArgumentException thrown if parameters fail the validation.
429432
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
430433
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
431434
* @return a list of databases as paginated response with {@link PagedFlux}.
432435
*/
433436
@ServiceMethod(returns = ReturnType.COLLECTION)
434-
PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName, String skipToken);
437+
PagedFlux<DatabaseInner> listByServerAsync(String resourceGroupName, String serverName, Long top, Long skip,
438+
String filter, String orderby);
435439

436440
/**
437441
* Gets a list of databases.
@@ -464,16 +468,19 @@ SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String
464468
*
465469
* @param resourceGroupName The name of the resource group. The name is case insensitive.
466470
* @param serverName The name of the server.
467-
* @param skipToken The skipToken parameter.
471+
* @param top The number of elements to return from the collection.
472+
* @param skip The number of elements in the collection to skip.
473+
* @param filter An OData filter expression that filters elements in the collection.
474+
* @param orderby How the results should be ordered.
468475
* @param context The context to associate with this operation.
469476
* @throws IllegalArgumentException thrown if parameters fail the validation.
470477
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
471478
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
472479
* @return a list of databases as paginated response with {@link PagedIterable}.
473480
*/
474481
@ServiceMethod(returns = ReturnType.COLLECTION)
475-
PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName, String skipToken,
476-
Context context);
482+
PagedIterable<DatabaseInner> listByServer(String resourceGroupName, String serverName, Long top, Long skip,
483+
String filter, String orderby, Context context);
477484

478485
/**
479486
* Exports a database.

‎sdk/sql/azure-resourcemanager-sql/src/main/java/com/azure/resourcemanager/sql/fluent/LongTermRetentionBackupsClient.java‎

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2312,14 +2312,16 @@ LongTermRetentionBackupOperationResultInner updateByResourceGroup(String resourc
23122312
* @param locationName The location of the database.
23132313
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23142314
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2315+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2316+
* @param top The number of elements to return from the collection.
23152317
* @throws IllegalArgumentException thrown if parameters fail the validation.
23162318
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
23172319
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
23182320
* @return a list of long term retention backups as paginated response with {@link PagedFlux}.
23192321
*/
23202322
@ServiceMethod(returns = ReturnType.COLLECTION)
23212323
PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName, Boolean onlyLatestPerDatabase,
2322-
DatabaseState databaseState);
2324+
DatabaseState databaseState, String skiptoken, Long top);
23232325

23242326
/**
23252327
* Lists the long term retention backups for a given location.
@@ -2351,6 +2353,8 @@ PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName,
23512353
* @param locationName The location of the database.
23522354
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23532355
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2356+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2357+
* @param top The number of elements to return from the collection.
23542358
* @param context The context to associate with this operation.
23552359
* @throws IllegalArgumentException thrown if parameters fail the validation.
23562360
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2359,7 +2363,7 @@ PagedFlux<LongTermRetentionBackupInner> listByLocationAsync(String locationName,
23592363
*/
23602364
@ServiceMethod(returns = ReturnType.COLLECTION)
23612365
PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName, Boolean onlyLatestPerDatabase,
2362-
DatabaseState databaseState, Context context);
2366+
DatabaseState databaseState, String skiptoken, Long top, Context context);
23632367

23642368
/**
23652369
* Lists the long term retention backups for a given server.
@@ -2368,14 +2372,16 @@ PagedIterable<LongTermRetentionBackupInner> listByLocation(String locationName,
23682372
* @param longTermRetentionServerName The name of the server.
23692373
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
23702374
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2375+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2376+
* @param top The number of elements to return from the collection.
23712377
* @throws IllegalArgumentException thrown if parameters fail the validation.
23722378
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
23732379
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
23742380
* @return a list of long term retention backups as paginated response with {@link PagedFlux}.
23752381
*/
23762382
@ServiceMethod(returns = ReturnType.COLLECTION)
23772383
PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, String longTermRetentionServerName,
2378-
Boolean onlyLatestPerDatabase, DatabaseState databaseState);
2384+
Boolean onlyLatestPerDatabase, DatabaseState databaseState, String skiptoken, Long top);
23792385

23802386
/**
23812387
* Lists the long term retention backups for a given server.
@@ -2410,6 +2416,8 @@ PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, S
24102416
* @param longTermRetentionServerName The name of the server.
24112417
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24122418
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2419+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2420+
* @param top The number of elements to return from the collection.
24132421
* @param context The context to associate with this operation.
24142422
* @throws IllegalArgumentException thrown if parameters fail the validation.
24152423
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2418,7 +2426,7 @@ PagedFlux<LongTermRetentionBackupInner> listByServerAsync(String locationName, S
24182426
*/
24192427
@ServiceMethod(returns = ReturnType.COLLECTION)
24202428
PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, String longTermRetentionServerName,
2421-
Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context);
2429+
Boolean onlyLatestPerDatabase, DatabaseState databaseState, String skiptoken, Long top, Context context);
24222430

24232431
/**
24242432
* Lists the long term retention backups for a given location based on resource group.
@@ -2427,14 +2435,16 @@ PagedIterable<LongTermRetentionBackupInner> listByServer(String locationName, St
24272435
* @param locationName The location of the database.
24282436
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24292437
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2438+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2439+
* @param top The number of elements to return from the collection.
24302440
* @throws IllegalArgumentException thrown if parameters fail the validation.
24312441
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
24322442
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
24332443
* @return a list of long term retention backups as paginated response with {@link PagedFlux}.
24342444
*/
24352445
@ServiceMethod(returns = ReturnType.COLLECTION)
24362446
PagedFlux<LongTermRetentionBackupInner> listByResourceGroupLocationAsync(String resourceGroupName,
2437-
String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState);
2447+
String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, String skiptoken, Long top);
24382448

24392449
/**
24402450
* Lists the long term retention backups for a given location based on resource group.
@@ -2471,6 +2481,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24712481
* @param locationName The location of the database.
24722482
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24732483
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2484+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2485+
* @param top The number of elements to return from the collection.
24742486
* @param context The context to associate with this operation.
24752487
* @throws IllegalArgumentException thrown if parameters fail the validation.
24762488
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2479,7 +2491,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24792491
*/
24802492
@ServiceMethod(returns = ReturnType.COLLECTION)
24812493
PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String resourceGroupName,
2482-
String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, Context context);
2494+
String locationName, Boolean onlyLatestPerDatabase, DatabaseState databaseState, String skiptoken, Long top,
2495+
Context context);
24832496

24842497
/**
24852498
* Lists the long term retention backups for a given server based on resource groups.
@@ -2489,6 +2502,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24892502
* @param longTermRetentionServerName The name of the server.
24902503
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
24912504
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2505+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2506+
* @param top The number of elements to return from the collection.
24922507
* @throws IllegalArgumentException thrown if parameters fail the validation.
24932508
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
24942509
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -2497,7 +2512,7 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupLocation(String r
24972512
@ServiceMethod(returns = ReturnType.COLLECTION)
24982513
PagedFlux<LongTermRetentionBackupInner> listByResourceGroupServerAsync(String resourceGroupName,
24992514
String locationName, String longTermRetentionServerName, Boolean onlyLatestPerDatabase,
2500-
DatabaseState databaseState);
2515+
DatabaseState databaseState, String skiptoken, Long top);
25012516

25022517
/**
25032518
* Lists the long term retention backups for a given server based on resource groups.
@@ -2537,6 +2552,8 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String res
25372552
* @param longTermRetentionServerName The name of the server.
25382553
* @param onlyLatestPerDatabase Whether or not to only get the latest backup for each database.
25392554
* @param databaseState Whether to query against just live databases, just deleted databases, or all databases.
2555+
* @param skiptoken An opaque token that identifies a starting point in the collection.
2556+
* @param top The number of elements to return from the collection.
25402557
* @param context The context to associate with this operation.
25412558
* @throws IllegalArgumentException thrown if parameters fail the validation.
25422559
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -2546,5 +2563,5 @@ PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String res
25462563
@ServiceMethod(returns = ReturnType.COLLECTION)
25472564
PagedIterable<LongTermRetentionBackupInner> listByResourceGroupServer(String resourceGroupName, String locationName,
25482565
String longTermRetentionServerName, Boolean onlyLatestPerDatabase, DatabaseState databaseState,
2549-
Context context);
2566+
String skiptoken, Long top, Context context);
25502567
}

0 commit comments

Comments
 (0)