-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added tenantChangeAllowedTenants parameter to GET & PUT tenantPolicy. #27789
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
|
Swagger Validation Report
|
Rule | Message |
---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/12712f27af5e7c70fdc54171cddd78137444d948/specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/subscriptions.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/subscription/resource-manager/Microsoft.Subscription/stable/2021-10-01/subscriptions.json", "details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest. ==================== 1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.86/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/subscriptions.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: ERROR: Syntax error: missed comma between flow collection entries -------------------- 3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/examples/acceptSubscriptionOwnership.json:5:4 -------------------- 4: FATAL: swagger-document/loader - FAILED -------------------- 5: FATAL: Error: Syntax errors encountered. -------------------- 6: Error: Syntax errors encountered. --------------------" |
The following breaking changes are detected by comparison with the latest preview version:
Rule | Message |
---|---|
Runtime Exception |
"new":"https://github.com/Azure/azure-rest-api-specs/blob/12712f27af5e7c70fdc54171cddd78137444d948/specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/subscriptions.json", "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-10-01-preview/subscriptions.json", "details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 6 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Second line should contain the main message reported by AutoRest. ==================== 1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.86/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/subscriptions.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp -------------------- 2: ERROR: Syntax error: missed comma between flow collection entries -------------------- 3: - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/subscription/resource-manager/Microsoft.Subscription/preview/2024-04-04-preview/examples/acceptSubscriptionOwnership.json:5:4 -------------------- 4: FATAL: swagger-document/loader - FAILED -------------------- 5: FATAL: Error: Syntax errors encountered. -------------------- 6: Error: Syntax errors encountered. --------------------" |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v2.2.0) | new version | base version |
---|---|---|
default | default(12712f2) | default(main) |
️❌
Avocado: 16 Errors, 1 Warnings failed [Detail]
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️❌
ModelValidation: 2 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
JSON_PARSING_ERROR |
Json parsing error: unexpected token Url: preview/2024-04-04-preview/examples/renameSubscription.json#L5:5 |
JSON_PARSING_ERROR |
Json parsing error: unexpected token Url: preview/2024-04-04-preview/examples/renameSubscription.json#L5:5 |
️❌
SemanticValidation: 1 Errors, 0 Warnings failed [Detail]
Rule | Message |
---|---|
JSON_PARSING_ERROR |
Json parsing error: unexpected token JsonUrl: preview/2024-04-04-preview/examples/renameSubscription.json#L5:5 |
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️
Automated merging requirements met succeeded [Detail] [Expand]
Swagger Generation Artifacts
|
Rule | Message |
---|
️️✔️
SDK Breaking Change Tracking succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️️✔️
azure-sdk-for-net-track2 succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️️✔️
azure-sdk-for-go succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
️⚠️
azure-sdk-for-python-track2 warning [Detail]
Only 0 items are rendered, please refer to log for more details.
️❌
azure-sdk-for-js failed [Detail]
Only 0 items are rendered, please refer to log for more details.
️⚠️
azure-resource-manager-schemas warning [Detail]
Only 0 items are rendered, please refer to log for more details.
️️✔️
azure-powershell succeeded [Detail] [Expand]
Only 0 items are rendered, please refer to log for more details.
Generated ApiView
|
Please address or respond to feedback from the ARM API reviewer. |
@@ -0,0 +1,1235 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This spec may be malformed. It causes ERROR: Syntax error: missed comma between flow collection entries
as seen in https://github.com/Azure/azure-rest-api-specs/pull/27789/checks?check_run_id=22266212679
Please try to fix it. See:
It might be an issue with AutoRest itself, not the spec. Details in the issue.
Hi, @sriramvu. Your PR has no update for 14 days and it is marked as stale PR. If no further update for over 14 days, the bot will close the PR. If you want to refresh the PR, please remove |
Hi, @sriramvu. The PR will be closed since the PR has no update for 28 days. If you still need the PR review to proceed, please reopen it and @ mention PR assignee. |
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting help
section at the bottom of this PR description.Note
As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.
PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Click here to see the details of Step 1
Breaking changes review (Diagram Step 1)
If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:
Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2
ARM API changes review (Diagram Step 2)
Click here to see the diagram footnotes
Diagram footnotes
[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
GET & PUT on providers/Microsoft.Subscription/policies/default
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 ApiView
comment 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 PR
andDue diligence checklist
.Next Steps to Merge
comment. 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.
queued
state, please add a comment with contents/azp run
.This should result in a new comment denoting a
PR validation pipeline
has started and the checks should be updated after few minutes.