-
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
[Hub Generated] Publish private branch 'containerservice/official/aks-api-release' #23851
[Hub Generated] Publish private branch 'containerservice/official/aks-api-release' #23851
Conversation
…-pick swagger changes from master branch to release branch for 2023-04 API
The PR is created based on the updates in the private branch. The updates in the PR has already been reviewed and approved with this PR Azure/azure-rest-api-specs-pr/12430 |
Hi, @FumingZhang Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
managedClusters.json | 2023-04-02-preview(9b7c240) | 2023-03-01(main) |
managedClusters.json | 2023-04-02-preview(9b7c240) | 2023-03-02-preview(main) |
managedClusters.json | 2023-04-01(9b7c240) | 2023-03-01(main) |
managedClusters.json | 2023-04-01(9b7c240) | 2023-03-02-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
The following breaking changes are detected by comparison with the latest preview version:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2591:5 |
|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2630:5 |
|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2672:5 |
|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2858:5 |
|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2900:5 |
|
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}' removed or restructured? Old: aks/preview/2023-03-02-preview/managedClusters.json#L2945:5 |
|
The new version is missing a definition that was found in the old version. Was 'AgentPoolNetworkProfile' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NodePublicIPTags' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterNodeResourceGroupProfile' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'MaintenanceWindow' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'Schedule' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'DailySchedule' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'WeeklySchedule' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'AbsoluteMonthlySchedule' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'RelativeMonthlySchedule' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'UpgradeOverrideSettings' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ClusterUpgradeSettings' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'AgentPoolWindowsProfile' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterIngressProfile' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterIngressProfileWebAppRouting' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileNodeRestriction' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileCustomCATrustCertificates' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterSnapshot' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterSnapshotProperties' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'ManagedClusterPropertiesForSnapshot' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NetworkProfileForSnapshot' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NetworkPlugin' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NetworkPluginMode' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NetworkPolicy' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
|
The new version is missing a definition that was found in the old version. Was 'NetworkMode' removed or renamed? New: aks/stable/2023-04-01/managedClusters.json#L2543:3 Old: aks/preview/2023-03-02-preview/managedClusters.json#L3086:3 |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️
LintDiff: 12 Warnings warning [Detail]
compared tags (via openapi-validator v2.0.1) | new version | base version |
---|---|---|
package-2023-04 | package-2023-04(9b7c240) | default(main) |
package-preview-2023-04 | package-preview-2023-04(9b7c240) | default(main) |
[must fix]The following errors/warnings are introduced by current PR:
Rule | Message | Related RPC [For API reviewers] |
---|---|---|
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L3342 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L3903 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L4732 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L5025 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L6327 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L6833 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L6879 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L7091 |
||
Schema should have a description or title. Location: aks/preview/2023-04-02-preview/managedClusters.json#L7489 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L7492 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L7725 |
||
Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum. Location: aks/preview/2023-04-02-preview/managedClusters.json#L7878 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.ContainerService/operations' does not match the ARM specification. Please standardize the schema. Location: aks/preview/2023-04-02-preview/managedClusters.json#L52 |
ResourceNameRestriction |
The resource name parameter 'roleName' should be defined with a 'pattern' restriction. Location: aks/preview/2023-04-02-preview/managedClusters.json#L278 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/preview/2023-04-02-preview/managedClusters.json#L508 |
PatchIdentityProperty |
The patch operation body parameter schema should contains property 'identity'. Location: aks/preview/2023-04-02-preview/managedClusters.json#L667 |
PatchSkuProperty |
The patch operation body parameter schema should contains property 'sku'. Location: aks/preview/2023-04-02-preview/managedClusters.json#L667 |
LroPatch202 |
The async patch operation should return 202. Location: aks/preview/2023-04-02-preview/managedClusters.json#L677 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/preview/2023-04-02-preview/managedClusters.json#L698 |
ResourceNameRestriction |
The resource name parameter 'configName' should be defined with a 'pattern' restriction. Location: aks/preview/2023-04-02-preview/managedClusters.json#L797 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/preview/2023-04-02-preview/managedClusters.json#L1123 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/preview/2023-04-02-preview/managedClusters.json#L1246 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'AgentPools' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: aks/preview/2023-04-02-preview/managedClusters.json#L1364 |
ResourceNameRestriction |
The resource name parameter 'privateEndpointConnectionName' should be defined with a 'pattern' restriction. Location: aks/preview/2023-04-02-preview/managedClusters.json#L1838 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/preview/2023-04-02-preview/managedClusters.json#L1943 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must return 202. Location: aks/preview/2023-04-02-preview/managedClusters.json#L1970 |
LroLocationHeader |
A 202 response should include an Location response header. Location: aks/preview/2023-04-02-preview/managedClusters.json#L2030 |
PrivateEndpointResourceSchemaValidation |
The private endpoint model 'PrivateLinkResourcesListResult' schema does not conform to the common type definition. Location: aks/preview/2023-04-02-preview/managedClusters.json#L2081 |
GetOperation200 |
The get operation should only return 200. Location: aks/preview/2023-04-02-preview/managedClusters.json#L2246 |
OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.ContainerService/operations' does not match the ARM specification. Please standardize the schema. Location: aks/stable/2023-04-01/managedClusters.json#L52 |
ResourceNameRestriction |
The resource name parameter 'roleName' should be defined with a 'pattern' restriction. Location: aks/stable/2023-04-01/managedClusters.json#L278 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/stable/2023-04-01/managedClusters.json#L508 |
PatchIdentityProperty |
The patch operation body parameter schema should contains property 'identity'. Location: aks/stable/2023-04-01/managedClusters.json#L652 |
PatchSkuProperty |
The patch operation body parameter schema should contains property 'sku'. Location: aks/stable/2023-04-01/managedClusters.json#L652 |
LroPatch202 |
The async patch operation should return 202. Location: aks/stable/2023-04-01/managedClusters.json#L662 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/stable/2023-04-01/managedClusters.json#L683 |
ResourceNameRestriction |
The resource name parameter 'configName' should be defined with a 'pattern' restriction. Location: aks/stable/2023-04-01/managedClusters.json#L776 |
CreateOperationAsyncResponseValidation |
An async PUT operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/stable/2023-04-01/managedClusters.json#L1093 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/stable/2023-04-01/managedClusters.json#L1204 |
OperationIdNounVerb |
Per the Noun_Verb convention for Operation Ids, the noun 'AgentPools' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: aks/stable/2023-04-01/managedClusters.json#L1316 |
ResourceNameRestriction |
The resource name parameter 'privateEndpointConnectionName' should be defined with a 'pattern' restriction. Location: aks/stable/2023-04-01/managedClusters.json#L1789 |
DeleteOperationAsyncResponseValidation |
An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options' Location: aks/stable/2023-04-01/managedClusters.json#L1894 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️⚠️
~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]
API Test is not triggered due to precheck failure. Check pipeline log for details.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
CadlAPIView 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.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @FumingZhang, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
AKS has adopted ShiftLeft, the change has been reviewed in private repo. For the breaking change, it's reviewed and approved, see PR #12283 for more details. Please DO NOT merge the PR as the new API versions are not yet available in all public regions. |
Please ensure to respond feedbacks from the ARM API reviewer. When you are ready to continue the ARM API review, please remove |
Hey @TimLovellSmith, I saw you added the label |
Hey @TimLovellSmith, the service has been deployed to all public regions and we want to release the change ASAP. If you think there is a problem with the change, please leave a clear suggestion. |
@FumingZhang Please add the previous version as a base commit. This is explained in the description above : |
Is there any difference between this PR and the version checked into the private repo ? What exactly needs ARM review in this PR ? |
No, we are on shift-left pipeline. private repo and this should be identical.
Unsure... will let @FumingZhang comment |
OK signing on basis of this comment. Please add back "WaitForARMFeedback" if there are any changes required to be reviewed |
Hey @matthchr, @raosuhas, the bot (openapi-workflow-bot) added the ARM review label and the previous reviewer accidentally typed the change requested label, which made the PR assignee very confused and insist on the need to get the ARM sign off. |
This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist (MS Employees Only):
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.