Skip to content

Adding Back Legacy Fields to Avoid Breaking Changes in DataMaskingRules.json#39317

Merged
ericshape merged 1 commit intoAzure:publish-sql-Microsoft.Sql-2025-02-01-previewfrom
skpadhy33:dev/skpadhy33/DataMaskingRules_AddingBackLegacyParams
Dec 17, 2025
Merged

Adding Back Legacy Fields to Avoid Breaking Changes in DataMaskingRules.json#39317
ericshape merged 1 commit intoAzure:publish-sql-Microsoft.Sql-2025-02-01-previewfrom
skpadhy33:dev/skpadhy33/DataMaskingRules_AddingBackLegacyParams

Conversation

@skpadhy33
Copy link
Contributor

Some legacy fields were removed from the response objects for the new (2025-02-01) version of the Data Masking Rules API as they had not been in use. This leads to breaking changes in the 2025-02-01 version of the API.

Original PR introducing the 2025-02-01 version of the Data Masking Rules API: #36819

In this PR, we are adding back those legacy fields to avoid the breaking changes. Although these fields would not be used, but still be retained to avoid breaking changes.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. SQL labels Dec 17, 2025
@github-actions
Copy link

github-actions bot commented Dec 17, 2025

Next Steps to Merge

Important checks have failed. As of today they are not blocking this PR, but in near future they may.
Addressing the following failures is highly recommended:
  • ⚠️ The check named Swagger LintDiff has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it and consult the aka.ms/ci-fix guide
If you still want to proceed merging this PR without addressing the above failures, refer to step 4 in the PR workflow diagram.

Comment generated by summarize-checks workflow run.

@github-actions
Copy link

github-actions bot commented Dec 17, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Language API Review for Package
Go sdk/resourcemanager/sql/armsql
Java com.azure.resourcemanager:azure-resourcemanager-sql-generated
JavaScript @azure/arm-sql
Python azure-mgmt-sql

@github-actions github-actions bot added brownfield Brownfield services will soon be required to convert to TypeSpec. See https://aka.ms/azsdk/typespec. resource-manager labels Dec 17, 2025
@ericshape ericshape merged commit b67fceb into Azure:publish-sql-Microsoft.Sql-2025-02-01-preview Dec 17, 2025
51 of 55 checks passed
jeremyfrosti added a commit that referenced this pull request Mar 4, 2026
* Create base of release-sql-Microsoft.Sql-2025-02-01-preview via Copy-ApiVersion.ps1 (#36370)

* Copy files from preview/2024-11-01-preview

Copied the files in a separate commit.
This allows reviewers to easily diff subsequent changes against the previous spec.

* Update version to preview/2025-02-01-preview

Updated the API version from preview/2024-11-01-preview to preview/2025-02-01-preview.

* Added tag for 2025-02-01-preview in readme file

---------

Co-authored-by: Mitesh Vishwakarma <mvishwakarma@microsoft.com>

* Swagger changes for Paginated List DDM rules API (#36819)

Co-authored-by: Santosh Padhy <santoshpadhy@microsoft.com>

* Datasync UAMI support API in 2025-02-01-preview (#35876)

* Datasync UAMI support API in 2025-02-01-preview

* Updated json to fix validation failure

* Spell, lint fix

* Fix error message

* Updating error codes

---------

Co-authored-by: Hareesh Kumar Gajulapalli <hgajulapalli@microsoft.com>

* Azure SQL API Parity (#38442)

* Azure SQL API Parity

* avocado error update

* fixes lint diff errors

---------

Co-authored-by: mvishwakarma <mvishwakarma@microsoft.com>

* Removing datasync breaking change because of required fields (#39059)

Co-authored-by: Hareesh Kumar Gajulapalli <hgajulapalli@microsoft.com>

* Added back the legacy params (#39317)

Co-authored-by: Santosh Padhy <santoshpadhy@microsoft.com>

* 20250201-preview breaking change fix for databases.json (#40027)

* breaking change fix

* fix model validation failure

---------

Co-authored-by: mvishwakarma <mvishwakarma@microsoft.com>

* fixing model validation errors (#40364)

* fixing model validation errors

* adds model validation fix

* fixes model validation errors

* Fixes model validation errors

* fixes model validation failures

* model valdation fixes '

* model validation fix

* model validation fixes

* fixes model validation errors

---------

Co-authored-by: mvishwakarma <mvishwakarma@microsoft.com>

* fix semantic error

* fix semantic error

* add v2

* fix breaking change (#40593)

Co-authored-by: mvishwakarma <mvishwakarma@microsoft.com>

* Adding suppressions previously approved in #38470 (#40764)

* Removing the list import export operation results from Servers API (#40836)

* Adding suppressions previously approved in #38470

* Removing the list import export operation results from Servers API

* Fix for lint-diff errors (#40792)

* Fix for lint-diff errors

* Rectifies suppression for ResourceNamePattern

* Remove ResourceNameRestriction validation code

Removed ResourceNameRestriction code from parameters.

* Fix formatting issue

Fix formatting issue

---------

Co-authored-by: mvishwakarma <mvishwakarma@microsoft.com>
Co-authored-by: Jeremy Frosti <111934615+jeremyfrosti@users.noreply.github.com>

* Add suppression for ElasticPools to match existing suppression in Databases (#40862)

* Adding suppressions previously approved in #38470

* Removing the list import export operation results from Servers API

* Adding suppression for new currentSku in ElasticPool update

---------

Co-authored-by: Mitesh Vishwakarma <mvishwakarma@microsoft.com>
Co-authored-by: skpadhy33 <35034191+skpadhy33@users.noreply.github.com>
Co-authored-by: Santosh Padhy <santoshpadhy@microsoft.com>
Co-authored-by: hareeshghk <hareeshghk@users.noreply.github.com>
Co-authored-by: Hareesh Kumar Gajulapalli <hgajulapalli@microsoft.com>
Co-authored-by: zedy <zedy@wicresoft.com>
Co-authored-by: Jeremy Frosti <111934615+jeremyfrosti@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

brownfield Brownfield services will soon be required to convert to TypeSpec. See https://aka.ms/azsdk/typespec. customer-reported Issues that are reported by GitHub users external to the Azure organization. resource-manager SQL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants