-
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
Add key management service profile of a managed cluster for version 2022-02-02-preview #17955
Add key management service profile of a managed cluster for version 2022-02-02-preview #17955
Conversation
…022-02-02-preview
Hi, @bingosummer 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 |
[Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks. |
Swagger Validation Report
|
Rule | Message |
---|---|
Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L5538 |
The following errors/warnings exist before current PR submission:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2849 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2942 |
R2026 - AvoidAnonymousTypes |
Inline/anonymous models must not be used, instead define a schema with a model name in the 'definitions' section and refer to it. This allows operations to share the models. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L4135 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'ManagedClusters_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L428 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'ManagedClusters_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L468 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'ManagedClusters_UpdateTags' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L593 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'AgentPools_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L930 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'AgentPools_CreateOrUpdate' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L977 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'PrivateEndpointConnections_Get' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L1507 |
R4009 - RequiredReadOnlySystemData |
The response of operation:'PrivateEndpointConnections_Update' is defined without 'systemData'. Consider adding the systemData to the response. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L1555 |
R4010 - RequiredDefaultResponse |
The response is defined but without a default error response implementation.Consider adding it.' Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L1211 |
R4011 - DeleteOperationResponses |
The delete operation is defined without a 200 or 204 error response implementation,please add it.' Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L663 |
R4011 - DeleteOperationResponses |
The delete operation is defined without a 200 or 204 error response implementation,please add it.' Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L1118 |
R4018 - OperationsApiResponseSchema |
The response schema of operations API '/providers/Microsoft.ContainerService/operations' does not match the ARM specification. Please standardize the schema. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L37 |
R4035 - PrivateEndpointResourceSchemaValidation |
The private endpoint model 'PrivateLinkResourcesListResult' schema does not conform to the common type definition. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L4952 |
R4037 - MissingTypeObject |
The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2240 |
R4037 - MissingTypeObject |
The schema 'OperationValue' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2253 |
R4037 - MissingTypeObject |
The schema 'OperationValueDisplay' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2273 |
R4037 - MissingTypeObject |
The schema 'Resource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2298 |
R4037 - MissingTypeObject |
The schema 'SubResource' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2337 |
R4037 - MissingTypeObject |
The schema 'TagsObject' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2358 |
R4037 - MissingTypeObject |
The schema 'ManagedClusterServicePrincipalProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2577 |
R4037 - MissingTypeObject |
The schema 'ContainerServiceMasterProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2593 |
R4037 - MissingTypeObject |
The schema 'ManagedClusterAgentPoolProfileProperties' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2647 |
R4037 - MissingTypeObject |
The schema '1' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2849 |
R4037 - MissingTypeObject |
The schema 'AgentPoolListResult' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2910 |
R4037 - MissingTypeObject |
The schema 'AgentPoolUpgradeSettings' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2927 |
R4037 - MissingTypeObject |
The schema '1' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2942 |
R4037 - MissingTypeObject |
The schema 'ManagedClusterWindowsProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L2954 |
R4037 - MissingTypeObject |
The schema 'ContainerServiceLinuxProfile' is considered an object but without a 'type:object', please add the missing 'type:object'. Location: Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json#L3020 |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️⚠️
Cross-Version Breaking Changes: 1 Warnings warning [Detail]
- Compared Swaggers (Based on Oad v0.9.3)
- current:preview/2022-02-02-preview/managedClusters.json compared with base:stable/2022-01-01/managedClusters.json
- current:preview/2022-02-02-preview/managedClusters.json compared with base:preview/2022-01-02-preview/managedClusters.json
Rule | Message |
---|---|
The optional parameter 'format' was removed in the new version. Old: Microsoft.ContainerService/stable/2022-01-01/managedClusters.json#L341:9 |
️️✔️
SDK Track2 Validation succeeded [Detail] [Expand]
Validation passes for SDKTrack2Validation
- The following tags are being changed in this PR
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
Swagger Generation Artifacts
|
Hi @bingosummer, Your PR has some issues. Please fix the CI sequentially by following the order of
|
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
.../resource-manager/Microsoft.ContainerService/preview/2022-02-02-preview/managedClusters.json
Outdated
Show resolved
Hide resolved
d0459cf
into
Azure:dev-containerservice-Microsoft.ContainerService-2022-02-02-preview
…02-preview (#18150) * Adds base for updating Microsoft.ContainerService from version preview/2022-01-02-preview to version 2022-02-02-preview * Updates readme * Updates API version in new specs and examples * Add key management service profile of a managed cluster for version 2022-02-02-preview (#17955) * Add key management service profile of a managed cluster for version 2022-02-02-preview * add kmsProfile * update after api review * add more details in description * update for comments * add mc snapshot api (#17974) * add mc snapshot api * fix format * add mc snapshot type * define type for enums * add properties for example * Update readmes for the 2022-02-02-preview dev branch of container service (#17889) * update readme * remove useless -only tags * remove nested property in allOf for 2022-02-02-preview managedClusters (#18063) * Fix credential format typo in 0102 preview (#18117) * add missing type object (#18116) * Update several common definitions according to arm feedback for container service 2022-02-02-preview (#18206) * update definition of serveral parameters and system data * update definition of Resource and move property location to sub resources * add missing tags property for prev Resource * fix for compatibility * fix definition name Co-authored-by: Bin Xia <binxi@microsoft.com> Co-authored-by: Qingqing <qizhe@microsoft.com> Co-authored-by: Tongyao Si <tosi@microsoft.com>
…02-preview (Azure#18150) * Adds base for updating Microsoft.ContainerService from version preview/2022-01-02-preview to version 2022-02-02-preview * Updates readme * Updates API version in new specs and examples * Add key management service profile of a managed cluster for version 2022-02-02-preview (Azure#17955) * Add key management service profile of a managed cluster for version 2022-02-02-preview * add kmsProfile * update after api review * add more details in description * update for comments * add mc snapshot api (Azure#17974) * add mc snapshot api * fix format * add mc snapshot type * define type for enums * add properties for example * Update readmes for the 2022-02-02-preview dev branch of container service (Azure#17889) * update readme * remove useless -only tags * remove nested property in allOf for 2022-02-02-preview managedClusters (Azure#18063) * Fix credential format typo in 0102 preview (Azure#18117) * add missing type object (Azure#18116) * Update several common definitions according to arm feedback for container service 2022-02-02-preview (Azure#18206) * update definition of serveral parameters and system data * update definition of Resource and move property location to sub resources * add missing tags property for prev Resource * fix for compatibility * fix definition name Co-authored-by: Bin Xia <binxi@microsoft.com> Co-authored-by: Qingqing <qizhe@microsoft.com> Co-authored-by: Tongyao Si <tosi@microsoft.com>
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist:
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 label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.