Adding 2025-01-01 Stable version - exact copy of 2024-11-01-preview#38470
Conversation
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.Comment generated by summarize-checks workflow run. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
|
required checks fails probably because readme was not modified to include the new version |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 38470 in repo Azure/azure-rest-api-specs |
|
I've added the new tag for the stable version to the readme, and I updated the default tag to be the new tag (as we were asked to use a uniform version for our tag by ARM). This is presenting an Avocado error though as that tag does not contain any of the 2014 APIs that are being deprecated. We don't want those APIs in the default tag either, as we want all future SDKs to not include them. |
|
please ensure all validation errors are appropriately handled and looks green before requesting ARM feedback. there are lots of lintdiff and avocado errors for the new api version. |
|
On the errors: What this PR is doing is adding our Microsoft.SQL 2025-01-01 stable version to the rest API specs. This version is identical to our already released 2024-11-01-preview (our system on the SQL side treats them exactly the same). We used to just drop the "-preview" for our stable versions but were asked to switch to using a new version number to follow ARM's versioning guidelines. The Avocado errors the PR is hitting are due to the fact that I changed the default tag to point to the new stable tag. This was done as we were told that we have to switch to using a uniform version tag, but this causes Avocado errors because we have APIs that only exist in our old legacy APIs that have been on the deprecation path for 3+ years now. Are we allowed to proceed with this change or is there some other process to follow? I could theoretically change the default tag back to the composite tags we usually use, but this would still have to be addressed down the line anyway. On the LintDiff errors, these are all already part of the 2024-11-01-preview version, its not something that we can change for releasing a stable versions, and there are more lintdiff errors than we could handle at any one time (we have been working every release on reducing these, but its a massive task). This exact version has already been approved by ARM before in the last preview version, including the lintdiff errors that were present: #35794 |
|
Regarding avocado errors, are those api paths deprecated? or is it because the you had package-composite-v4 and this are are missing from the new version? LE: i saw a direct message from author, it is as intended |
| "required": true, | ||
| "type": "string", | ||
| "maxLength": 90, | ||
| "minLength": 1 |
There was a problem hiding this comment.
preview version has a pattern added here, is the removal intentional?
| "body": { | ||
| "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionBackupOperationResults/01234567-890a-bcde-f012-34567890abcd", | ||
| "name": "01234567-890a-bcde-f012-34567890abcd", | ||
| "type": "Microsoft.Sql/locations/longTermRetentionBackupOperationResults" |
There was a problem hiding this comment.
in preview version there this had properties added
"properties": {
"requestId": "01234567-890a-bcde-f012-34567890abcd",
"operationType": "LockTimeBasedImmutability",
"fromBackupResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Sql/locations/japaneast/longTermRetentionServers/testserver/longTermRetentionDatabases/testDatabase/longTermRetentionBackups/55555555-6666-7777-8888-999999999999;131637960820000000;Hot",
"status": "Succeeded"
}
|
Can I get breaking change Javascript approval @kazrael2119 ? We are trying to complete this PR ASAP |
|
Approved for JS. |
9ada49b
into
Azure:release-sql-Microsoft.Sql-2025-01-01
|
@ericshape @jeremyfrosti will you have another PR to add this 2025-01-01 stable version into public main branch? This PR has been merged into release branch but I haven't seen it in public main yet. |
…zure#38470) * Adding 2025-01-01 version. An exact copy of 2024-11-01-preview * Adding new tag for 2025-01-01 stable * Fixing model validation errors in a few example files * Further model validation fixes * Removing incorrect pattern for RG in DatabaseOperations.json * Adding requested suppressions for existing lintdiff issues * Fixed type that caused suppressions to not be picked up, and removed duplicate suppressions. * Fixing suppression yaml indentation issue
* 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>
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting helpsection at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiViewcomment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PRandDue diligence checklist.write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.