-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Add new api version 2024-06-01-preview for Microsoft.Cdn #29588
Conversation
Next Steps to Merge✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge. |
Swagger Validation Report
|
Compared specs (v0.10.12) | new version | base version |
---|---|---|
afdx.json | 2024-06-01-preview(c8d392b) | 2024-02-01(main) |
afdx.json | 2024-06-01-preview(c8d392b) | 2024-05-01-preview(main) |
cdn.json | 2024-06-01-preview(c8d392b) | 2024-02-01(main) |
cdn.json | 2024-06-01-preview(c8d392b) | 2024-05-01-preview(main) |
cdnwebapplicationfirewall.json | 2024-06-01-preview(c8d392b) | 2024-02-01(main) |
cdnwebapplicationfirewall.json | 2024-06-01-preview(c8d392b) | 2024-05-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
Only 30 items are listed, please refer to log for more details.
The following breaking changes are detected by comparison with the latest preview version:
Rule | Message |
---|---|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3750:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3795:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3892:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3946:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4000:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4720:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4769:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5041:5 |
|
The new version is adding a path that was not found in the old version. New: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5090:5 |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️❌
LintDiff: 18 Errors, 7 Warnings failed [Detail]
Compared specs (v2.2.2) | new version | base version |
---|---|---|
package-preview-2024-06 | package-preview-2024-06(c8d392b) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3893 |
RPC-Async-V1-11, RPC-Async-V1-14 |
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4001 |
RPC-Async-V1-11, RPC-Async-V1-14 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4720 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4769 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'targetGroupName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4769 |
RPC-Uri-V1-05 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4821 |
RPC-Async-V1-11, RPC-Put-V1-11 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4893 |
|
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4968 |
|
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4977 |
RPC-Delete-V1-01 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5031 |
|
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5041 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5090 |
RPC-Uri-V1-05 |
ResourceNameRestriction |
The resource name parameter 'tunnelPolicyName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5090 |
RPC-Uri-V1-05 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5142 |
RPC-Async-V1-11, RPC-Put-V1-11 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5214 |
|
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5289 |
|
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5298 |
RPC-Delete-V1-01 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5352 |
|
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3549 |
RPC-Get-V1-11 | |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L3750 |
RPC-Get-V1-11 | |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L4720 |
RPC-Get-V1-11 | |
A nested resource type's List operation must include all the parent segments in its api path. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L5041 |
RPC-Get-V1-11 | |
Schema should have a description or title. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7427 |
||
Schema should have a description or title. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L7442 |
||
Missing identifier id in array item property Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L8195 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L136 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L185 |
PostResponseCodes |
202 response for a LRO POST operation must not have a response schema specified. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L292 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L347 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L357 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L406 |
ResourceNameRestriction |
The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L406 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L458 |
RepeatedPathInfo |
The 'profileName' already appears in the path, please don't repeat it in the request body. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L473 |
LroLocationHeader |
A 202 response should include an Location response header. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L521 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L530 |
PatchBodyParametersSchema |
Properties of a PATCH request body must not be required, property:certificateType. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L573 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L605 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L614 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L668 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L678 |
ResourceNameRestriction |
The resource name parameter 'customDomainName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L678 |
PostResponseCodes |
200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L679 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L730 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L740 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L789 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L789 |
PutResponseCodes |
Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L841 |
RepeatedPathInfo |
The 'profileName' already appears in the path, please don't repeat it in the request body. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L856 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L913 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L988 |
DeleteResponseCodes |
Long-running delete operations must have responses with 202, 204 and default return codes. They also must have no other response codes. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L997 |
LroErrorContent |
Error response content of long running operations must follow the error schema provided in the common types v2 and above. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1051 |
ResourceNameRestriction |
The resource name parameter 'profileName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1061 |
ResourceNameRestriction |
The resource name parameter 'endpointName' should be defined with a 'pattern' restriction. Location: Microsoft.Cdn/preview/2024-06-01-preview/afdx.json#L1061 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
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
|
Generated ApiView
|
…2/azure-rest-api-specs into cdn-2024-06-01-preview
…2/azure-rest-api-specs into cdn-2024-06-01-preview
PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts. |
/pr RequestMerge |
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.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 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
.write access
per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext 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.