Skip to content
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

Review request for Microsoft.ContainerService to add version 2022-10-02-preview #21439

Conversation

FumingZhang
Copy link
Member

ARM API Information (Control Plane)

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

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:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
    Already deployed to all global regions by 11/06.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
    As soon as possible, 11/08.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

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.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] 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.

FumingZhang and others added 9 commits November 7, 2022 09:54
…w/2022-09-02-preview to version 2022-10-02-preview
* missed working comment

* matthew comments

* unpatched is a word
…21337)

* Add MaintenanceWindow into MaintenanceConfigurationProperties

* Fx PrettierCheck
… container service (Azure#21373)

* fix API version

* fix INVALID_FORMAT byte

* fix INVALID_FORMAT arm-id

* fix missing resource id

* fix LRO_RESPONSE_HEADER
* Updating response abort abort apis

* Updating abort AP and MC examples

* Changes per CI checks

* Adding x-ms-long-running-operation-options

* Adding location header

Co-authored-by: InduSridhar <indusridhar@microsoft.com>
@openapi-workflow-bot
Copy link

Hi, @FumingZhang Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-workflow-bot openapi-workflow-bot bot added ARMReview WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Nov 7, 2022
    @openapi-workflow-bot
    Copy link

    Hi, @FumingZhang your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).

    @ghost ghost added the Container Service label Nov 7, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 7, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 3 Errors, 20 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    managedClusters.json 2022-10-02-preview(e998cd7) 2022-09-01(main)
    managedClusters.json 2022-10-02-preview(e998cd7) 2022-09-02-preview(main)

    The following breaking changes are detected by comparison with the latest stable version:

    Rule Message
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1049:11
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L946:11
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1284:11
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L1154:11
    1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1968:11
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L1732:11
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3971:9
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L3101:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3979:9
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L3129:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3983:9
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L3151:9
    ⚠️ 1017 - ReferenceRedirection The '$ref' property points to different models in the old and new versions.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L4050:9
    Old: Microsoft.ContainerService/stable/2022-09-01/managedClusters.json#L3232:9


    The following breaking changes are detected by comparison with the latest preview version:

    Rule Message
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L953:11
    ⚠️ 1011 - AddingResponseCode The new version adds a response code '202'.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1508:11
    ⚠️ 1024 - ConstraintIsStronger The new version has a more constraining 'maxLength' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2907:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2765:9
    ⚠️ 1024 - ConstraintIsStronger The new version has a more constraining 'maxLength' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2950:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2808:9
    ⚠️ 1024 - ConstraintIsStronger The new version has a more constraining 'maxLength' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3002:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2860:9
    ⚠️ 1024 - ConstraintIsStronger The new version has a more constraining 'maxLength' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7803:5
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L7413:5
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L938:11
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L920:11
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1049:11
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L1011:11
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1284:11
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L1237:11
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1968:11
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L1847:11
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2907:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2765:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2950:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2808:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3002:9
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L2860:9
    ⚠️ 1036 - ConstraintChanged The new version has a different 'pattern' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7803:5
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L7413:5
    ⚠️ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L918:7
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L900:7
    ⚠️ 1044 - XmsLongRunningOperationChanged The new version has a different 'x-ms-longrunning-operation' value than the previous one.
    New: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1483:7
    Old: Microsoft.ContainerService/preview/2022-09-02-preview/managedClusters.json#L1415:7
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️❌LintDiff: 7 Errors, 15 Warnings failed [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-preview-2022-10 package-preview-2022-10(e998cd7) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3560
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3647
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3678
    ValidFormats 'arm-id' is not a known format.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3694
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L5470
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6842
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7431
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3560
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L4099
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L4951
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L5237
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6450
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6948
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6962
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6972
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L6987
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7199
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7578
    ⚠️ SchemaDescriptionOrTitle Schema should have a description or title.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7587
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7590
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7686
    ⚠️ EnumInsteadOfBoolean 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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L7795


    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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L52
    ResourceNameRestriction The resource name parameter 'roleName' should be defined with a 'pattern' restriction.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L238
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L468
    PatchIdentityProperty The patch operation body parameter schema should contains property 'identity'.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L624
    PatchSkuProperty The patch operation body parameter schema should contains property 'sku'.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L624
    LroPatch202 The async patch operation should return 202.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L634
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L655
    ResourceNameRestriction The resource name parameter 'configName' should be defined with a 'pattern' restriction.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L754
    CreateOperationAsyncResponseValidation An async PUT operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1080
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1203
    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: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1321
    ResourceNameRestriction The resource name parameter 'privateEndpointConnectionName' should be defined with a 'pattern' restriction.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1793
    DeleteOperationAsyncResponseValidation An async DELETE operation must set long running operation options 'x-ms-long-running-operation-options'
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1898
    DeleteOperationAsyncResponseValidation An async DELETE operation must return 202.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1925
    LroLocationHeader A 202 response should include an Location response header.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L1985
    PrivateEndpointResourceSchemaValidation The private endpoint model 'PrivateLinkResourcesListResult' schema does not conform to the common type definition.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2036
    GetOperation200 The get operation should only return 200.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L2201
    ValidFormats 'arm-id' is not a known format.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3160
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3397
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3401
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3405
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3439
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3456
    ValidFormats 'arm-id' is not a known format.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3458
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3469
    ValidFormats 'arm-id' is not a known format.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3471
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3490
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3555
    DefinitionsPropertiesNamesCamelCase Property name should be camel case.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3565
    ValidFormats 'arm-id' is not a known format.
    Location: Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json#L3567
    ️❌Avocado: 1 Errors, 1 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag does not contain all APIs in this RP. Please make sure the missing API swaggers are in the default tag.
    readme: specification/containerservice/resource-manager/readme.md
    json: Microsoft.ContainerService/preview/2019-10-27-preview/openShiftManagedClusters.json
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/containerservice/resource-manager/readme.md
    tag: specification/containerservice/resource-manager/readme.md#tag-package-preview-2022-10
    ️❌ApiReadinessCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    API Readiness check failed. Please make sure your service is deployed. "code: InvalidResourceType,
    message: The resource type 'operations' could not be found in the namespace 'Microsoft.ContainerService' for api version '2022-10-02-preview'. The supported api-versions are '2015-11-01-preview,
    2016-03-30,
    2016-09-30,
    2017-01-31,
    2017-07-01,
    2017-08-31,
    2018-03-31,
    2018-10-31'."
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️~[Staging] SwaggerAPIView 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.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 7, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️❌SDK Breaking Change Tracking failed [Detail]

    Breaking Changes Tracking


    azure-sdk-for-js - @azure/arm-containerservice - Approved - 17.2.0-beta.2
    +	Class ContainerServiceClient no longer has parameter apiVersion
    +	Interface ContainerServiceClientOptionalParams no longer has parameter apiVersion
    +	Removed operation AgentPools.abortLatestOperation
    +	Removed operation ManagedClusters.abortLatestOperation
    azure-sdk-for-python-track2 - track2_azure-mgmt-containerservice - Approved - 20.7.0
    +	Renamed operation AgentPoolsOperations.abort_latest_operation to AgentPoolsOperations.begin_abort_latest_operation
    +	Renamed operation ManagedClustersOperations.abort_latest_operation to ManagedClustersOperations.begin_abort_latest_operation
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c583b05. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New major version of npm available! 8.19.2 -> 9.1.2
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.1.2>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@9.1.2` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerservice [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model MaintenanceConfiguration has a new parameter maintenance_window
      info	[Changelog]   - Model ManagedClusterAutoUpgradeProfile has a new parameter node_os_upgrade_channel
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Renamed operation AgentPoolsOperations.abort_latest_operation to AgentPoolsOperations.begin_abort_latest_operation
      info	[Changelog]   - Renamed operation ManagedClustersOperations.abort_latest_operation to ManagedClustersOperations.begin_abort_latest_operation
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c583b05. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/containerservice/armcontainerservice [View full logs]  [Release SDK Changes]
      Only show 120 items here, please refer to log for details.
      info	[Changelog] - New struct `FleetMembersClient`
      info	[Changelog] - New struct `FleetMembersClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `FleetMembersClientBeginDeleteOptions`
      info	[Changelog] - New struct `FleetMembersClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `FleetMembersClientDeleteResponse`
      info	[Changelog] - New struct `FleetMembersClientGetOptions`
      info	[Changelog] - New struct `FleetMembersClientGetResponse`
      info	[Changelog] - New struct `FleetMembersClientListByFleetOptions`
      info	[Changelog] - New struct `FleetMembersClientListByFleetResponse`
      info	[Changelog] - New struct `FleetMembersListResult`
      info	[Changelog] - New struct `FleetPatch`
      info	[Changelog] - New struct `FleetProperties`
      info	[Changelog] - New struct `FleetsClient`
      info	[Changelog] - New struct `FleetsClientBeginCreateOrUpdateOptions`
      info	[Changelog] - New struct `FleetsClientBeginDeleteOptions`
      info	[Changelog] - New struct `FleetsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `FleetsClientDeleteResponse`
      info	[Changelog] - New struct `FleetsClientGetOptions`
      info	[Changelog] - New struct `FleetsClientGetResponse`
      info	[Changelog] - New struct `FleetsClientListByResourceGroupOptions`
      info	[Changelog] - New struct `FleetsClientListByResourceGroupResponse`
      info	[Changelog] - New struct `FleetsClientListCredentialsOptions`
      info	[Changelog] - New struct `FleetsClientListCredentialsResponse`
      info	[Changelog] - New struct `FleetsClientListOptions`
      info	[Changelog] - New struct `FleetsClientListResponse`
      info	[Changelog] - New struct `FleetsClientUpdateOptions`
      info	[Changelog] - New struct `FleetsClientUpdateResponse`
      info	[Changelog] - New struct `GuardrailsProfile`
      info	[Changelog] - New struct `IPTag`
      info	[Changelog] - New struct `MaintenanceWindow`
      info	[Changelog] - New struct `ManagedClusterAzureMonitorProfile`
      info	[Changelog] - New struct `ManagedClusterAzureMonitorProfileKubeStateMetrics`
      info	[Changelog] - New struct `ManagedClusterAzureMonitorProfileMetrics`
      info	[Changelog] - New struct `ManagedClusterIngressProfile`
      info	[Changelog] - New struct `ManagedClusterIngressProfileWebAppRouting`
      info	[Changelog] - New struct `ManagedClusterPropertiesForSnapshot`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileImageCleaner`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileNodeRestriction`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileWorkloadIdentity`
      info	[Changelog] - New struct `ManagedClusterSnapshot`
      info	[Changelog] - New struct `ManagedClusterSnapshotListResult`
      info	[Changelog] - New struct `ManagedClusterSnapshotProperties`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClient`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientDeleteOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientDeleteResponse`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientGetOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientGetResponse`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientListByResourceGroupOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientListByResourceGroupResponse`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientListOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientListResponse`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientUpdateTagsOptions`
      info	[Changelog] - New struct `ManagedClusterSnapshotsClientUpdateTagsResponse`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfile`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfileKeda`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler`
      info	[Changelog] - New struct `ManagedClustersClientAbortLatestOperationResponse`
      info	[Changelog] - New struct `ManagedClustersClientBeginAbortLatestOperationOptions`
      info	[Changelog] - New struct `NetworkProfileForSnapshot`
      info	[Changelog] - New struct `NetworkProfileKubeProxyConfig`
      info	[Changelog] - New struct `NetworkProfileKubeProxyConfigIpvsConfig`
      info	[Changelog] - New struct `PortRange`
      info	[Changelog] - New struct `RelativeMonthlySchedule`
      info	[Changelog] - New struct `Schedule`
      info	[Changelog] - New struct `TrustedAccessRole`
      info	[Changelog] - New struct `TrustedAccessRoleBinding`
      info	[Changelog] - New struct `TrustedAccessRoleBindingListResult`
      info	[Changelog] - New struct `TrustedAccessRoleBindingProperties`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClient`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientCreateOrUpdateOptions`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientCreateOrUpdateResponse`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientDeleteOptions`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientDeleteResponse`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientGetOptions`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientGetResponse`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientListOptions`
      info	[Changelog] - New struct `TrustedAccessRoleBindingsClientListResponse`
      info	[Changelog] - New struct `TrustedAccessRoleListResult`
      info	[Changelog] - New struct `TrustedAccessRoleRule`
      info	[Changelog] - New struct `TrustedAccessRolesClient`
      info	[Changelog] - New struct `TrustedAccessRolesClientListOptions`
      info	[Changelog] - New struct `TrustedAccessRolesClientListResponse`
      info	[Changelog] - New struct `WeeklySchedule`
      info	[Changelog] - New field `IgnorePodDisruptionBudget` in struct `AgentPoolsClientBeginDeleteOptions`
      info	[Changelog] - New field `MaintenanceWindow` in struct `MaintenanceConfigurationProperties`
      info	[Changelog] - New field `EnableVnetIntegration` in struct `ManagedClusterAPIServerAccessProfile`
      info	[Changelog] - New field `SubnetID` in struct `ManagedClusterAPIServerAccessProfile`
      info	[Changelog] - New field `CapacityReservationGroupID` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `EnableCustomCATrust` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `MessageOfTheDay` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `NetworkProfile` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `WindowsProfile` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `CapacityReservationGroupID` in struct `ManagedClusterAgentPoolProfileProperties`
      info	[Changelog] - New field `EnableCustomCATrust` in struct `ManagedClusterAgentPoolProfileProperties`
      info	[Changelog] - New field `MessageOfTheDay` in struct `ManagedClusterAgentPoolProfileProperties`
      info	[Changelog] - New field `NetworkProfile` in struct `ManagedClusterAgentPoolProfileProperties`
      info	[Changelog] - New field `WindowsProfile` in struct `ManagedClusterAgentPoolProfileProperties`
      info	[Changelog] - New field `NodeOSUpgradeChannel` in struct `ManagedClusterAutoUpgradeProfile`
      info	[Changelog] - New field `EffectiveNoProxy` in struct `ManagedClusterHTTPProxyConfig`
      info	[Changelog] - New field `BackendPoolType` in struct `ManagedClusterLoadBalancerProfile`
      info	[Changelog] - New field `AzureMonitorProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `CreationData` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `EnableNamespaceResources` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `GuardrailsProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `IngressProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `WorkloadAutoScalerProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `CustomCATrustCertificates` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `ImageCleaner` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `NodeRestriction` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `WorkloadIdentity` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `Version` in struct `ManagedClusterStorageProfileDiskCSIDriver`
      info	[Changelog] - New field `IgnorePodDisruptionBudget` in struct `ManagedClustersClientBeginDeleteOptions`
      info	[Changelog] - New field `Location` in struct `ManagedClustersClientGetCommandResultResponse`
      info	[Changelog] - New field `EbpfDataplane` in struct `NetworkProfile`
      info	[Changelog] - New field `KubeProxyConfig` in struct `NetworkProfile`
      info	[Changelog] - New field `NetworkPluginMode` in struct `NetworkProfile`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 320 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c583b05. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-containerservice [View full logs]  [Release SDK Changes] Breaking Change Detected
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface TrustedAccessRoleBinding
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingListResult
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingsDeleteOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingsGetOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingsListNextOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRoleBindingsListOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRoleListResult
      info	[Changelog]   - Added Interface TrustedAccessRoleRule
      info	[Changelog]   - Added Interface TrustedAccessRolesListNextOptionalParams
      info	[Changelog]   - Added Interface TrustedAccessRolesListOptionalParams
      info	[Changelog]   - Added Interface WeeklySchedule
      info	[Changelog]   - Added Type Alias AgentPoolsAbortLatestOperationResponse
      info	[Changelog]   - Added Type Alias AgentPoolsDeleteResponse
      info	[Changelog]   - Added Type Alias BackendPoolType
      info	[Changelog]   - Added Type Alias ControlledValues
      info	[Changelog]   - Added Type Alias EbpfDataplane
      info	[Changelog]   - Added Type Alias FleetMemberProvisioningState
      info	[Changelog]   - Added Type Alias FleetMembersCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias FleetMembersGetResponse
      info	[Changelog]   - Added Type Alias FleetMembersListByFleetNextResponse
      info	[Changelog]   - Added Type Alias FleetMembersListByFleetResponse
      info	[Changelog]   - Added Type Alias FleetProvisioningState
      info	[Changelog]   - Added Type Alias FleetsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias FleetsGetResponse
      info	[Changelog]   - Added Type Alias FleetsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias FleetsListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias FleetsListCredentialsResponse
      info	[Changelog]   - Added Type Alias FleetsListNextResponse
      info	[Changelog]   - Added Type Alias FleetsListResponse
      info	[Changelog]   - Added Type Alias FleetsUpdateResponse
      info	[Changelog]   - Added Type Alias IpvsScheduler
      info	[Changelog]   - Added Type Alias Level
      info	[Changelog]   - Added Type Alias ManagedClustersAbortLatestOperationResponse
      info	[Changelog]   - Added Type Alias ManagedClustersDeleteResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsGetResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsListByResourceGroupNextResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsListByResourceGroupResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsListNextResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsListResponse
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse
      info	[Changelog]   - Added Type Alias ManagedClustersRotateClusterCertificatesResponse
      info	[Changelog]   - Added Type Alias ManagedClustersStartResponse
      info	[Changelog]   - Added Type Alias ManagedClustersStopResponse
      info	[Changelog]   - Added Type Alias Mode
      info	[Changelog]   - Added Type Alias NetworkPluginMode
      info	[Changelog]   - Added Type Alias NodeOSUpgradeChannel
      info	[Changelog]   - Added Type Alias Protocol
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBindingProvisioningState
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBindingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBindingsGetResponse
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBindingsListNextResponse
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBindingsListResponse
      info	[Changelog]   - Added Type Alias TrustedAccessRolesListNextResponse
      info	[Changelog]   - Added Type Alias TrustedAccessRolesListResponse
      info	[Changelog]   - Added Type Alias Type
      info	[Changelog]   - Added Type Alias UpdateMode
      info	[Changelog]   - Interface AgentPool has a new optional parameter capacityReservationGroupID
      info	[Changelog]   - Interface AgentPool has a new optional parameter enableCustomCATrust
      info	[Changelog]   - Interface AgentPool has a new optional parameter messageOfTheDay
      info	[Changelog]   - Interface AgentPool has a new optional parameter networkProfile
      info	[Changelog]   - Interface AgentPool has a new optional parameter windowsProfile
      info	[Changelog]   - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
      info	[Changelog]   - Interface ContainerServiceNetworkProfile has a new optional parameter ebpfDataplane
      info	[Changelog]   - Interface ContainerServiceNetworkProfile has a new optional parameter kubeProxyConfig
      info	[Changelog]   - Interface ContainerServiceNetworkProfile has a new optional parameter networkPluginMode
      info	[Changelog]   - Interface MaintenanceConfiguration has a new optional parameter maintenanceWindow
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter azureMonitorProfile
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter creationData
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter enableNamespaceResources
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter guardrailsProfile
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter ingressProfile
      info	[Changelog]   - Interface ManagedCluster has a new optional parameter workloadAutoScalerProfile
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter capacityReservationGroupID
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter enableCustomCATrust
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter networkProfile
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter windowsProfile
      info	[Changelog]   - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
      info	[Changelog]   - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
      info	[Changelog]   - Interface ManagedClusterAutoUpgradeProfile has a new optional parameter nodeOSUpgradeChannel
      info	[Changelog]   - Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy
      info	[Changelog]   - Interface ManagedClusterLoadBalancerProfile has a new optional parameter backendPoolType
      info	[Changelog]   - Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter customCATrustCertificates
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter imageCleaner
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter nodeRestriction
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter workloadIdentity
      info	[Changelog]   - Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version
      info	[Changelog]   - Class ContainerServiceClient has a new parameter fleetMembers
      info	[Changelog]   - Class ContainerServiceClient has a new parameter fleets
      info	[Changelog]   - Class ContainerServiceClient has a new parameter managedClusterSnapshots
      info	[Changelog]   - Class ContainerServiceClient has a new parameter trustedAccessRoleBindings
      info	[Changelog]   - Class ContainerServiceClient has a new parameter trustedAccessRoles
      info	[Changelog]   - Added Enum KnownBackendPoolType
      info	[Changelog]   - Added Enum KnownControlledValues
      info	[Changelog]   - Added Enum KnownEbpfDataplane
      info	[Changelog]   - Added Enum KnownFleetMemberProvisioningState
      info	[Changelog]   - Added Enum KnownFleetProvisioningState
      info	[Changelog]   - Added Enum KnownIpvsScheduler
      info	[Changelog]   - Added Enum KnownLevel
      info	[Changelog]   - Added Enum KnownMode
      info	[Changelog]   - Added Enum KnownNetworkPluginMode
      info	[Changelog]   - Added Enum KnownNodeOSUpgradeChannel
      info	[Changelog]   - Added Enum KnownProtocol
      info	[Changelog]   - Added Enum KnownTrustedAccessRoleBindingProvisioningState
      info	[Changelog]   - Added Enum KnownType
      info	[Changelog]   - Added Enum KnownUpdateMode
      info	[Changelog]   - Enum KnownManagedClusterPodIdentityProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownManagedClusterPodIdentityProvisioningState has a new value Succeeded
      info	[Changelog]   - Enum KnownOssku has a new value Mariner
      info	[Changelog]   - Enum KnownPrivateEndpointConnectionProvisioningState has a new value Canceled
      info	[Changelog]   - Enum KnownPublicNetworkAccess has a new value SecuredByPerimeter
      info	[Changelog]   - Enum KnownSnapshotType has a new value ManagedCluster
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface ContainerServiceClientOptionalParams no longer has parameter apiVersion
      info	[Changelog]   - Class ContainerServiceClient no longer has parameter apiVersion
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c583b05. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]  WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    • ️✔️containerservice [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from c583b05. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.containerservice [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 7, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/containerservice/armcontainerservice https://apiview.dev/Assemblies/Review/c5b954f45243432e99291ac6a3cffe06
    Java azure-resourcemanager-containerservice-generated https://apiview.dev/Assemblies/Review/3a3ca92a3f054e32a734ae38da466f97
    .Net Azure.ResourceManager.ContainerService There is no API change compared with the previous version
    JavaScript @azure/arm-containerservice https://apiview.dev/Assemblies/Review/d32afe8d3dfa405fb6554a536d63724a
    Python track2_azure-mgmt-containerservice https://apiview.dev/Assemblies/Review/5649ee568542465d8d51ab5a26407c60

    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 23, 2022
    @FumingZhang
    Copy link
    Member Author

    Hey @rkmanda, in the latest commit #c4bb044d, the response body in 202 has been removed. And it has also been declared that the operation result of this LRO post should be obtained via the url provided in the location header ("final-state-via": "location"), which would be empty if the operation succeeds.

    So for such an LRO post (no response if succeeds), is it still necessary to declare the schema in 200?

    @matthchr
    Copy link
    Member

    So for such an LRO post (no response if succeeds), is it still necessary to declare the schema in 200?

    It should not be. We have other APIs following this pattern such as ManagedClusters_RotateClusterCertificates, which already existed and are correctly generated for the SDKs.

    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    * Fixing headers and body for abort response
    
    * Linter fix
    
    * Lint fix
    
    * Updating managedclusters.json responses
    
    * Minor edit to node os upgrade description based on ARM review
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    @TimLovellSmith
    Copy link
    Member

    TimLovellSmith commented Nov 23, 2022

    So for such an LRO post (no response if succeeds), is it still necessary to declare the schema in 200?

    It should not be. We have other APIs following this pattern such as ManagedClusters_RotateClusterCertificates, which already existed and are correctly generated for the SDKs.

    Does that operation have a response body to deserialize?


    In reply to: 1325475470


    In reply to: 1325475470

    @matthchr
    Copy link
    Member

    matthchr commented Nov 23, 2022

    Does that operation have a response body to deserialize?

    Neither ManagedClusters_RotateClusterCertificates nor either of the two new Abort operations (AgentPools_AbortLatestOperation and ManagedClusters_AbortLatestOperation) have a response body to deserialize, no.

    @TimLovellSmith
    Copy link
    Member

    TimLovellSmith commented Nov 23, 2022

    Does that operation have a response body to deserialize?

    Neither ManagedClusters_RotateClusterCertificates nor either of the two new Abort operations (AgentPools_AbortLatestOperation and ManagedClusters_AbortLatestOperation) have a response body to deserialize, no.

    In that case, I think they don't really need a schema definition. But it might be more idiomatic for them to return 204 NoContent to indicate success when they have no content.


    In reply to: 1325578279

    @matthchr
    Copy link
    Member

    @TimLovellSmith - the PR was already updated to include that. See AgentPools_AbortLatestOperation for example whose return is:

              "204": {
                "description": "NoContent"
              },
              "202": {
                "description": "Accepted",
                "headers": {
                  "location": {
                    "description": "URL to query for status of the operation.",
                    "type": "string"
                  },
                  "Azure-AsyncOperation": {
                    "description": "URL to query for status of the operation.",
                    "type": "string"
                  }
                }
              },
    

    The same is true for the other new abort operation: ManagedClusters_AbortLatestOperation

    @TimLovellSmith
    Copy link
    Member

        "description": "Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, an error is returned.",
    

    consider quoting


    Refers to: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json:924 in e998cd7. [](commit_id = e998cd7, deletion_comment = False)

    @TimLovellSmith
    Copy link
    Member

        "description": "Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, an error is returned.",
    

    consider not capitalizing 'agent pool', I think that would be more in keeping with corporate style guide


    Refers to: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json:924 in e998cd7. [](commit_id = e998cd7, deletion_comment = False)

    @TimLovellSmith
    Copy link
    Member

          "$ref": "#/definitions/WeekDay",
    

    Consider this unactionable for now


    In reply to: 1320351342


    Refers to: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json:4416 in c4bb044. [](commit_id = c4bb044, deletion_comment = False)

    @TimLovellSmith
    Copy link
    Member

                "description": "Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching"
    

    Consider quoting this


    Refers to: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json:5459 in e998cd7. [](commit_id = e998cd7, deletion_comment = False)

    @TimLovellSmith
    Copy link
    Member

                "description": "Automatically upgrade the node image to the latest version available. Consider using nodeOSUpgradeChannel instead as that allows you to configure node OS patching separate from Kubernetes version patching"
    

    separately?


    Refers to: specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2022-10-02-preview/managedClusters.json:5459 in e998cd7. [](commit_id = e998cd7, deletion_comment = False)

    Copy link
    Member

    @TimLovellSmith TimLovellSmith left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    :shipit:

    @live1206 live1206 merged commit c583b05 into Azure:main Nov 24, 2022
    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    …02-preview (Azure#21439)
    
    * Adds base for updating Microsoft.ContainerService from version preview/2022-09-02-preview to version 2022-10-02-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Pmiller/nodeosupgradechannel (Azure#21326)
    
    * missed working comment
    
    * matthew comments
    
    * unpatched is a word
    
    * Add MaintenanceWindow into MaintenanceConfigurationProperties (Azure#21337)
    
    * Add MaintenanceWindow into MaintenanceConfigurationProperties
    
    * Fx PrettierCheck
    
    * Fix ARM ID format for samples (Azure#21402)
    
    * Fix Swagger Model Validation for the 2022-10-02-preview dev branch of container service (Azure#21373)
    
    * fix API version
    
    * fix INVALID_FORMAT byte
    
    * fix INVALID_FORMAT arm-id
    
    * fix missing resource id
    
    * fix LRO_RESPONSE_HEADER
    
    * Update readmes for the 2022-10-02-preview dev branch of container service (Azure#21366)
    
    * update readmes
    
    * remove fleets
    
    * Updating abort apis response to make it long running  (Azure#21362)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * fix 202 location header
    
    * fix ProvisioningState validation
    
    * add x-ms-long-running-operation-options
    
    * fix ResourceNameRestriction
    
    * Fix abort location url in example (Azure#21446)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * Abort api response fix (Azure#21559)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    * Fixing headers and body for abort response
    
    * Linter fix
    
    * Lint fix
    
    * Updating managedclusters.json responses
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * Node os upgrade desc fix (Azure#21636)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    * Fixing headers and body for abort response
    
    * Linter fix
    
    * Lint fix
    
    * Updating managedclusters.json responses
    
    * Minor edit to node os upgrade description based on ARM review
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    Co-authored-by: Paul Miller <pmiller@microsoft.com>
    Co-authored-by: Thalia Wang <58485997+wenxuan0923@users.noreply.github.com>
    Co-authored-by: Matthew Christopher <matthchr@users.noreply.github.com>
    Co-authored-by: InduSridhar <InduSridhar@users.noreply.github.com>
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    kayousef-zz pushed a commit to kayousef-zz/azure-rest-api-specs that referenced this pull request Dec 21, 2022
    …02-preview (Azure#21439)
    
    * Adds base for updating Microsoft.ContainerService from version preview/2022-09-02-preview to version 2022-10-02-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Pmiller/nodeosupgradechannel (Azure#21326)
    
    * missed working comment
    
    * matthew comments
    
    * unpatched is a word
    
    * Add MaintenanceWindow into MaintenanceConfigurationProperties (Azure#21337)
    
    * Add MaintenanceWindow into MaintenanceConfigurationProperties
    
    * Fx PrettierCheck
    
    * Fix ARM ID format for samples (Azure#21402)
    
    * Fix Swagger Model Validation for the 2022-10-02-preview dev branch of container service (Azure#21373)
    
    * fix API version
    
    * fix INVALID_FORMAT byte
    
    * fix INVALID_FORMAT arm-id
    
    * fix missing resource id
    
    * fix LRO_RESPONSE_HEADER
    
    * Update readmes for the 2022-10-02-preview dev branch of container service (Azure#21366)
    
    * update readmes
    
    * remove fleets
    
    * Updating abort apis response to make it long running  (Azure#21362)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * fix 202 location header
    
    * fix ProvisioningState validation
    
    * add x-ms-long-running-operation-options
    
    * fix ResourceNameRestriction
    
    * Fix abort location url in example (Azure#21446)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * Abort api response fix (Azure#21559)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    * Fixing headers and body for abort response
    
    * Linter fix
    
    * Lint fix
    
    * Updating managedclusters.json responses
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    * Node os upgrade desc fix (Azure#21636)
    
    * Updating response abort abort apis
    
    * Updating abort AP and MC examples
    
    * Changes per CI checks
    
    * Adding x-ms-long-running-operation-options
    
    * Adding location header
    
    * Fixing location url in abort examples
    
    * Fixing headers and body for abort response
    
    * Linter fix
    
    * Lint fix
    
    * Updating managedclusters.json responses
    
    * Minor edit to node os upgrade description based on ARM review
    
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    
    Co-authored-by: Paul Miller <pmiller@microsoft.com>
    Co-authored-by: Thalia Wang <58485997+wenxuan0923@users.noreply.github.com>
    Co-authored-by: Matthew Christopher <matthchr@users.noreply.github.com>
    Co-authored-by: InduSridhar <InduSridhar@users.noreply.github.com>
    Co-authored-by: InduSridhar <indusridhar@microsoft.com>
    @FumingZhang FumingZhang deleted the fuming/dev-containerservice-Microsoft.ContainerService-2022-10-02-preview branch February 4, 2024 05:05
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-Avocado Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-LintDiff Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-JavaScript Approved-SdkBreakingChange-Python ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-BreakingChange-JavaScript CI-FixRequiredOnFailure CI-MissingBaseCommit Container Service new-api-version resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.