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-05-02-preview #19262

Conversation

FumingZhang
Copy link
Member

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:

  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 2022-05-29. Plan to complete the deployment to sov clouds by 2022-06-03.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
    2022-06-01.
  4. If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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 appy 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 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.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

FumingZhang and others added 9 commits May 16, 2022 15:23
…w/2022-04-02-preview to version 2022-05-02-preview
* currentOrchestratorVersion is read-only property

* Only apply change to 2022-05-02-preview
….azureKeyVaultKms to support key vault with private link (#19086)

* Add keyVaultNetworkAccess and keyVaultResourceId into securityProfile.azureKeyVaultKms to support key vault with private link

* fix
* 2022-05-02-preview defender updates

* update example

* Typo

* Update sample

* typo

* another typo
@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. [email protected]

    @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 May 30, 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([email protected]).

    @ruowan
    Copy link
    Member

    ruowan commented May 30, 2022

    /azp run

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 30, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️LintDiff: 12 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:
    Rule Message
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'trustedAccessRoleBindings' with immediate parent 'ManagedCluster', must have a list by immediate parent operation.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L6638
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enableCustomCATrust
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L3294
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enableNamespaceResources
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4246
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enableVnetIntegration
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4502
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L4947
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6041
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6073
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6115
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6129
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6173
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enableRbac
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L6329
    ⚠️ R3018 - EnumInsteadOfBoolean 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-05-02-preview/managedClusters.json#L6687


    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    R4010 - RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1235
    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-05-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-05-02-preview/managedClusters.json#L5439
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L2804
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L3751
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L3759
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4037
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4199
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4639
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4670
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4872
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4921
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L4928
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5022
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5082
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5225
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5280
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5886
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5936
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5976
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L5992
    ⚠️ R1001 - 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-05-02-preview/managedClusters.json#L1218
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'PrivateEndpointConnections_Update' should use method name 'Create'. 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-05-02-preview/managedClusters.json#L1626
    ⚠️ R2007 - LongRunningOperationsWithLongRunningExtension The operation 'ManagedClusters_GetCommandResult' returns 202 status code, which indicates a long running operation, please enable 'x-ms-long-running-operation.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1938
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1727
    ⚠️ R2010 - LongRunningOperationsOptionsValidator A LRO Post operation with return schema must have 'x-ms-long-running-operation-options' extension enabled.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1881
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'PrivateEndpointConnections_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1531
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'PrivateLinkResources_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1788
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'listcredential' in:'ManagedClusters_GetAccessProfile'. Consider updating the operationId
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L244
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'resolveprivatelinkserviceid' in:'ResolvePrivateLinkServiceId_POST'. Consider updating the operationId
    Location: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L1835
    ️❌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/applicationinsights/resource-manager/readme.md
    tag: specification/applicationinsights/resource-manager/readme.md#tag-package-2022-04-01
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross-Version Breaking Changes: 2 Errors, 4 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:
    Rule Message
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileAzureDefender' removed or renamed?
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L2800:3
    Old: Microsoft.ContainerService/stable/2022-04-01/managedClusters.json#L2221:3
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'azureDefender' renamed or removed?
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L6008:7
    Old: Microsoft.ContainerService/stable/2022-04-01/managedClusters.json#L5426:7


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

    Rule Message
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileAzureDefender' removed or renamed?
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L2800:3
    Old: Microsoft.ContainerService/preview/2022-04-02-preview/managedClusters.json#L2800:3
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L3257:9
    Old: Microsoft.ContainerService/preview/2022-04-02-preview/managedClusters.json#L3257:9
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L3257:9
    Old: Microsoft.ContainerService/preview/2022-04-02-preview/managedClusters.json#L3257:9
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'azureDefender' renamed or removed?
    New: Microsoft.ContainerService/preview/2022-05-02-preview/managedClusters.json#L6008:7
    Old: Microsoft.ContainerService/preview/2022-04-02-preview/managedClusters.json#L6004:7
    ️⌛CredScan pending [Detail]
    ️⌛PoliCheck pending [Detail]
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented May 30, 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-go-track2 - armcontainerservice - 2.0.0-beta.1
    +	Field `AzureDefender` of struct `ManagedClusterSecurityProfile` has been removed
    +	Struct `ManagedClusterSecurityProfileAzureDefender` has been removed
    azure-sdk-for-python-track2 - track2_azure-mgmt-containerservice - Approved - 19.1.0
    +	Model ManagedClusterSecurityProfile no longer has parameter azure_defender
    azure-sdk-for-js - @azure/arm-containerservice - Approved - 17.0.0-beta.1
    +	Interface ManagedClusterSecurityProfile no longer has parameter azureDefender
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c7df7d4. 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
    • ️✔️track2_azure-mgmt-containerservice [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model AzureKeyVaultKms has a new parameter key_vault_network_access
      info	[Changelog]   - Model AzureKeyVaultKms has a new parameter key_vault_resource_id
      info	[Changelog]   - Model ManagedCluster has a new parameter workload_auto_scaler_profile
      info	[Changelog]   - Model ManagedClusterSecurityProfile has a new parameter defender
      info	[Changelog]   - Model ManagedClusterStorageProfile has a new parameter blob_csi_driver
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model ManagedClusterSecurityProfile no longer has parameter azure_defender
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c7df7d4. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      cmderr	[generate.py] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      cmderr	[generate.py] SLF4J: Defaulting to no-operation (NOP) logger implementation
      cmderr	[generate.py] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    • ️✔️azure-resourcemanager-containerservice-generated [View full logs]  [Release SDK Changes]
    ️❌ azure-sdk-for-go failed [Detail]
    • Failed [Logs]Release - Generate from c7df7d4. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
      cmderr	[generator automation] [AUTOREST] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\ObjectBuilder.cs:line 147
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 204
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 46
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 131
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 271
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 66
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\Program.cs:line 60
      cmderr	[generator automation] [AUTOREST] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[generator automation] [AUTOREST]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[generator automation] [AUTOREST] FATAL: go/imodeler1 - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST]   Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\ObjectBuilder.cs:line 147
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 204
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 46
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 131
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 271
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 66
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\Program.cs:line 60
      cmderr	[generator automation] [AUTOREST] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[generator automation] [AUTOREST]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[generator automation] [AUTOREST] FATAL: go/imodeler1 - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST]   Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\ObjectBuilder.cs:line 147
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 204
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 46
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 131
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 271
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 66
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\Program.cs:line 60
      cmderr	[generator automation] [AUTOREST] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[generator automation] [AUTOREST]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[generator automation] [AUTOREST] FATAL: go/imodeler1 - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST]   Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\ObjectBuilder.cs:line 147
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 204
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 46
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 131
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 271
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 66
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\Program.cs:line 60
      cmderr	[generator automation] [AUTOREST] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[generator automation] [AUTOREST]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[generator automation] [AUTOREST] FATAL: go/imodeler1 - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST]   Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\ObjectBuilder.cs:line 147
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 204
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 46
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SchemaBuilder.cs:line 131
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 271
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\SwaggerModeler.cs:line 66
      cmderr	[generator automation] [AUTOREST]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in C:\Users\ci\AppData\Local\Temp\PUBLISH8kiit\38_20171116T010915\autorest.modeler\src\Program.cs:line 60
      cmderr	[generator automation] [AUTOREST] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[generator automation] [AUTOREST]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[generator automation] [AUTOREST]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[generator automation] [AUTOREST] FATAL: go/imodeler1 - FAILED
      cmderr	[generator automation] [AUTOREST] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [AUTOREST]   Error: Plugin imodeler1 reported failure.
      cmderr	[generator automation] [ERROR] total 5 error(s):
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '[email protected]/[email protected], --go, --verbose, --go-sdk-folder=., --use-onever, --version=2.0.4421, --go.license-header=MICROSOFT_MIT_NO_VERSION, --tag=package-preview-2022-05, --metadata-output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go_tmp/generation-metadata-1654151395/package-preview-2022-05, ../../../../../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '[email protected]/[email protected], --go, --verbose, --go-sdk-folder=., --use-onever, --version=2.0.4421, --go.license-header=MICROSOFT_MIT_NO_VERSION, --tag=package-2022-04, --metadata-output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go_tmp/generation-metadata-1654151409/package-2022-04, ../../../../../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '[email protected]/[email protected], --go, --verbose, --go-sdk-folder=., --use-onever, --version=2.0.4421, --go.license-header=MICROSOFT_MIT_NO_VERSION, --tag=package-preview-2022-04, --metadata-output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go_tmp/generation-metadata-1654151415/package-preview-2022-04, ../../../../../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '[email protected]/[email protected], --go, --verbose, --go-sdk-folder=., --use-onever, --version=2.0.4421, --go.license-header=MICROSOFT_MIT_NO_VERSION, --enum-prefix, --tag=package-2022-03, --metadata-output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go_tmp/generation-metadata-1654151421/package-2022-03, ../../../../../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      cmderr	[generator automation] [ERROR] failed to execute autorest: autorest error with arguments '[email protected]/[email protected], --go, --verbose, --go-sdk-folder=., --use-onever, --version=2.0.4421, --go.license-header=MICROSOFT_MIT_NO_VERSION, --enum-prefix, --tag=package-preview-2022-03, --metadata-output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go_tmp/generation-metadata-1654151427/package-preview-2022-03, ../../../../../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md':
      cmderr	[generator automation] [ERROR] exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation
      warn	Skip package processing as generation is failed
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c7df7d4. 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
    • ️✔️armcontainerservice [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] - Struct `ManagedClusterSecurityProfileAzureDefender` has been removed
      info	[Changelog] - Field `AzureDefender` of struct `ManagedClusterSecurityProfile` has been removed
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `TrustedAccessRoleBindingProvisioningStateUpdating`
      info	[Changelog] - New const `TrustedAccessRoleBindingProvisioningStateDeleting`
      info	[Changelog] - New const `TrustedAccessRoleBindingProvisioningStateFailed`
      info	[Changelog] - New const `TrustedAccessRoleBindingProvisioningStateSucceeded`
      info	[Changelog] - New const `KeyVaultNetworkAccessTypesPublic`
      info	[Changelog] - New const `OSSKUWindows2022`
      info	[Changelog] - New const `KeyVaultNetworkAccessTypesPrivate`
      info	[Changelog] - New const `NetworkPluginModeOverlay`
      info	[Changelog] - New const `NetworkPluginNone`
      info	[Changelog] - New const `OSSKUWindows2019`
      info	[Changelog] - New const `SnapshotTypeManagedCluster`
      info	[Changelog] - New function `PossibleNetworkPluginModeValues() []NetworkPluginMode`
      info	[Changelog] - New function `*ManagedClustersClient.BeginRotateServiceAccountSigningKeys(context.Context, string, string, *ManagedClustersClientBeginRotateServiceAccountSigningKeysOptions) (*runtime.Poller[ManagedClustersClientRotateServiceAccountSigningKeysResponse], error)`
      info	[Changelog] - New function `PossibleKeyVaultNetworkAccessTypesValues() []KeyVaultNetworkAccessTypes`
      info	[Changelog] - New function `PossibleTrustedAccessRoleBindingProvisioningStateValues() []TrustedAccessRoleBindingProvisioningState`
      info	[Changelog] - New struct `AzureKeyVaultKms`
      info	[Changelog] - New struct `ManagedClusterIngressProfile`
      info	[Changelog] - New struct `ManagedClusterIngressProfileWebAppRouting`
      info	[Changelog] - New struct `ManagedClusterOIDCIssuerProfile`
      info	[Changelog] - New struct `ManagedClusterPropertiesForSnapshot`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileDefender`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileDefenderSecurityMonitoring`
      info	[Changelog] - New struct `ManagedClusterSecurityProfileWorkloadIdentity`
      info	[Changelog] - New struct `ManagedClusterSnapshot`
      info	[Changelog] - New struct `ManagedClusterSnapshotListResult`
      info	[Changelog] - New struct `ManagedClusterSnapshotProperties`
      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 `ManagedClusterStorageProfileBlobCSIDriver`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfile`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfileKeda`
      info	[Changelog] - New struct `ManagedClustersClientBeginRotateServiceAccountSigningKeysOptions`
      info	[Changelog] - New struct `ManagedClustersClientRotateServiceAccountSigningKeysResponse`
      info	[Changelog] - New struct `NetworkProfileForSnapshot`
      info	[Changelog] - New struct `TrustedAccessRole`
      info	[Changelog] - New struct `TrustedAccessRoleBinding`
      info	[Changelog] - New struct `TrustedAccessRoleBindingListResult`
      info	[Changelog] - New struct `TrustedAccessRoleBindingProperties`
      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 `TrustedAccessRolesClientListOptions`
      info	[Changelog] - New struct `TrustedAccessRolesClientListResponse`
      info	[Changelog] - New field `IgnorePodDisruptionBudget` in struct `AgentPoolsClientBeginDeleteOptions`
      info	[Changelog] - New field `Version` in struct `ManagedClusterStorageProfileDiskCSIDriver`
      info	[Changelog] - New field `WorkloadIdentity` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `AzureKeyVaultKms` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `Defender` in struct `ManagedClusterSecurityProfile`
      info	[Changelog] - New field `WorkloadAutoScalerProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `IngressProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `OidcIssuerProfile` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `EnableNamespaceResources` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `CreationData` in struct `ManagedClusterProperties`
      info	[Changelog] - New field `IgnorePodDisruptionBudget` in struct `ManagedClustersClientBeginDeleteOptions`
      info	[Changelog] - New field `BlobCSIDriver` in struct `ManagedClusterStorageProfile`
      info	[Changelog] - New field `NetworkPluginMode` in struct `NetworkProfile`
      info	[Changelog] - New field `HostGroupID` in struct `ManagedClusterAgentPoolProfileProperties`
      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 `EnableVnetIntegration` in struct `ManagedClusterAPIServerAccessProfile`
      info	[Changelog] - New field `SubnetID` in struct `ManagedClusterAPIServerAccessProfile`
      info	[Changelog] - New field `EffectiveNoProxy` in struct `ManagedClusterHTTPProxyConfig`
      info	[Changelog] - New field `HostGroupID` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `CapacityReservationGroupID` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `MessageOfTheDay` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog] - New field `EnableCustomCATrust` in struct `ManagedClusterAgentPoolProfile`
      info	[Changelog]
      info	[Changelog] Total 3 breaking change(s), 116 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c7df7d4. 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
      cmderr	[automation_init.sh] deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh]  @opentelemetry/[email protected]: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh]  deprecated @azure/[email protected]: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      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
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group ManagedClusterSnapshots
      info	[Changelog]   - Added operation group TrustedAccessRoleBindings
      info	[Changelog]   - Added operation group TrustedAccessRoles
      info	[Changelog]   - Added operation ManagedClusters.beginRotateServiceAccountSigningKeys
      info	[Changelog]   - Added operation ManagedClusters.beginRotateServiceAccountSigningKeysAndWait
      info	[Changelog]   - Added Interface AzureKeyVaultKms
      info	[Changelog]   - Added Interface ManagedClusterIngressProfile
      info	[Changelog]   - Added Interface ManagedClusterIngressProfileWebAppRouting
      info	[Changelog]   - Added Interface ManagedClusterOidcIssuerProfile
      info	[Changelog]   - Added Interface ManagedClusterPropertiesForSnapshot
      info	[Changelog]   - Added Interface ManagedClusterSecurityProfileDefender
      info	[Changelog]   - Added Interface ManagedClusterSecurityProfileDefenderSecurityMonitoring
      info	[Changelog]   - Added Interface ManagedClusterSecurityProfileWorkloadIdentity
      info	[Changelog]   - Added Interface ManagedClusterSnapshotListResult
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsDeleteOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsGetOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsListByResourceGroupNextOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsListByResourceGroupOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsListNextOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsListOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterSnapshotsUpdateTagsOptionalParams
      info	[Changelog]   - Added Interface ManagedClustersRotateServiceAccountSigningKeysOptionalParams
      info	[Changelog]   - Added Interface ManagedClusterStorageProfileBlobCSIDriver
      info	[Changelog]   - Added Interface ManagedClusterWorkloadAutoScalerProfile
      info	[Changelog]   - Added Interface ManagedClusterWorkloadAutoScalerProfileKeda
      info	[Changelog]   - Added Interface NetworkProfileForSnapshot
      info	[Changelog]   - Added Interface TrustedAccessRole
      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 Type Alias KeyVaultNetworkAccessTypes
      info	[Changelog]   - Added Type Alias ManagedClusterSnapshot
      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 NetworkPluginMode
      info	[Changelog]   - Added Type Alias TrustedAccessRoleBinding
      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]   - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
      info	[Changelog]   - Interface ContainerServiceNetworkProfile has a new optional parameter networkPluginMode
      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 hostGroupID
      info	[Changelog]   - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
      info	[Changelog]   - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
      info	[Changelog]   - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
      info	[Changelog]   - Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy
      info	[Changelog]   - Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter azureKeyVaultKms
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter defender
      info	[Changelog]   - Interface ManagedClusterSecurityProfile has a new optional parameter workloadIdentity
      info	[Changelog]   - Interface ManagedClusterStorageProfile has a new optional parameter blobCSIDriver
      info	[Changelog]   - Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version
      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]   - Type Alias AgentPool has a new parameter messageOfTheDay
      info	[Changelog]   - Type Alias AgentPool has a new parameter enableCustomCATrust
      info	[Changelog]   - Type Alias AgentPool has a new parameter capacityReservationGroupID
      info	[Changelog]   - Type Alias AgentPool has a new parameter hostGroupID
      info	[Changelog]   - Type Alias ManagedCluster has a new parameter creationData
      info	[Changelog]   - Type Alias ManagedCluster has a new parameter oidcIssuerProfile
      info	[Changelog]   - Type Alias ManagedCluster has a new parameter enableNamespaceResources
      info	[Changelog]   - Type Alias ManagedCluster has a new parameter ingressProfile
      info	[Changelog]   - Type Alias ManagedCluster has a new parameter workloadAutoScalerProfile
      info	[Changelog]   - Added Enum KnownKeyVaultNetworkAccessTypes
      info	[Changelog]   - Added Enum KnownNetworkPluginMode
      info	[Changelog]   - Added Enum KnownTrustedAccessRoleBindingProvisioningState
      info	[Changelog]   - Enum KnownNetworkPlugin has a new value None
      info	[Changelog]   - Enum KnownOssku has a new value Windows2019
      info	[Changelog]   - Enum KnownOssku has a new value Windows2022
      info	[Changelog]   - Enum KnownSnapshotType has a new value ManagedCluster
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Interface ManagedClusterSecurityProfile no longer has parameter azureDefender
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from c7df7d4. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/containerservice/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] FATAL: System.InvalidOperationException: Swagger document contains two or more x-ms-enum extensions with the same name 'ResourceIdentityType' and different values: SystemAssigned,UserAssigned,None vs. SystemAssigned
      cmderr	[Autorest]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/ObjectBuilder.cs:line 150
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 217
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 48
      cmderr	[Autorest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /opt/vsts/work/1/s/src/SchemaBuilder.cs:line 133
      cmderr	[Autorest]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in /opt/vsts/work/1/s/src/SwaggerModeler.cs:line 348
      cmderr	[Autorest]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in /opt/vsts/work/1/s/src/SwaggerModeler.cs:line 66
      cmderr	[Autorest]    at AutoRest.Modeler.Program.<ProcessInternal>d__2.MoveNext() in /opt/vsts/work/1/s/src/Program.cs:line 60
      cmderr	[Autorest] --- End of stack trace from previous location where exception was thrown ---
      cmderr	[Autorest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      cmderr	[Autorest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      cmderr	[Autorest]    at NewPlugin.<Process>d__15.MoveNext()
      cmderr	[Autorest] FATAL: csharp/imodeler1 - FAILED
      cmderr	[Autorest] FATAL: Error: Plugin imodeler1 reported failure.
      cmderr	[Autorest]   Error: Plugin imodeler1 reported failure.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c7df7d4. 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 c7df7d4. 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?

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-workflow-bot
    Copy link

    Hi @FumingZhang, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @FumingZhang
    Copy link
    Member Author

    FumingZhang commented May 30, 2022

    Dear review board, I would like to clarify the failures in the CI checks.

    For SDK azure-powershell, it happened in our previous PR 04-02-preview/04-01. This used to be optional and is enabled recently. Confirmed with owner @dolauli, this would not work for some modules and could be ignored.

    For SDK azure-sdk-for-go, this also happened in our previous PR 04-02-preview/04-01 and is caused by another PR #18789. cc Golang SDK owner @ArcturusZhang.

    For SDK azure-sdk-for-net, it happened in our previous PR 04-02-preview/04-01. I suppose this should be a known issue. According to the error log, the reason for the error is the permission problem when the pipeline is executed, which has nothing to do with this PR.

    For Swagger Avocado, it happened in our previous PR 04-02-preview. The 2019-10-27-preview/openShiftManagedClusters.json mentioned in the error log is a deprecated swagger file, Currently, only managedCluster is supported by us, the rest such as containerService, openShiftManagedClusters, location, etc. are all deprecated. These errors started appearing after this update of Avocado. Would really appreciate if some mechanism could be provided to disable the alarms, cc owner @ruowan.

    For Cross-Version Breaking Changes and Swagger SDK Breaking Change Tracking, it's caused by rebranding of Microsoft Defender. Feature owner @orparnes has got the approval from Breaking Change Review Board.

    @FumingZhang FumingZhang marked this pull request as ready for review May 30, 2022 02:10
    @openapi-workflow-bot
    Copy link

    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.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @mentat9
    Copy link
    Member

    mentat9 commented May 31, 2022

    @FumingZhang - I added the breaking change review label due to breaking changes I discovered during review. ARM review will resume after the breaking change label is addressed. Please ping the current APR review oncall after that's been done.

    @FumingZhang
    Copy link
    Member Author

          "readOnly": true,
    

    It's a cross-version breaking change to change an existing read/write property to readOnly.

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

    Thanks for pointing this out. As early as 2022-03-02-preview API version, we added this field, but the readonly attribute was not set at that time. Then in the latest stable API version 2022-04-01, this field was added with an additional readonly attribute, but feature owner forgot to update and add the readonly attribute in its corresponding preview API version 2022-04-02-preview. So we plan to align it with the stable API through this new preview API.

    @cvvz
    Copy link
    Contributor

    cvvz commented Jun 1, 2022

        "blobCSIDriver": {
    

    ARM recommends against using acronyms or abbreviations in property names. I see you've already gone through that door with CSI, so I don't expect you to change that and make it inconsistent with the other properties, but you should at least spell it out in the description.

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

    Thanks for pointing this out. I understand the recommendation is helpful to avoid confusion for most circumstances, but actually the abbreviation CSI Driver is quite common and clear for those who are using AKS, since they must be familiar with the fundamental knowledge of Kubernetes, including the term CSI Driver. And also other CSIDrivers like fileCSIDriver and DiskCSIDriver already rolled out and none of our customers have question about what CSI Driver stands for.

    @cvvz
    Copy link
    Contributor

    cvvz commented Jun 1, 2022

        "enabled": {
    

    ARM recommends string enums over boolean. Generally enums make better properties than booleans. They are more descriptive, flexible and future-proof while being easier for customers to discover, understand and use. Ref: https://armwiki.azurewebsites.net/rp_onboarding/process/api_review_best_practices.html?q=boolean#common-issues-found-in-review.

    Best approach is to choose a better property (e.g. activationState: { "Active", "Disabled" }). This type of property is easier for customers to understand and use.

    This approach also allows adding new values in the future without adding a new API version. Even if you only ever want two values, you can have a string enum with True/False (or Enabled/Disabled, etc.) values which is still better than boolean, since enums allow adding values later without requiring a new API version (e.g. "Unknown", "Default", etc.), and also allow values other than just true/false.

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

    Thanks for pointing this out. I've read the docs and agree that in some circumstances enum is better than boolean since enum is the superset of boolean. However here we use this field to act like a switch to enable/disable theblobCSIDriver addon, but not a state indicator(which maybe in the state of Unknown). Also I think we should keep consistent with other CSIDrivers.

    @orparnes
    Copy link
    Contributor

    orparnes commented Jun 1, 2022

    Hi Chris. We're previously consulted about this change and noted that the breaking-change process is not required in this case.
    image

    @mentat9 mentat9 added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed BreakingChangeReviewRequired labels Jun 1, 2022
    @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 Jun 1, 2022
    @mentat9
    Copy link
    Member

    mentat9 commented Jun 2, 2022

    Thanks for the additional context re: breaking change review.

    @mentat9 mentat9 added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jun 2, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 2, 2022
    @honghr honghr merged commit c7df7d4 into main Jun 2, 2022
    @FumingZhang FumingZhang deleted the dev-containerservice-Microsoft.ContainerService-2022-05-02-preview branch September 14, 2022 03:05
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.