Skip to content

{AKS} Vendor new SDK and bump API version to 2026-01-01#32955

Open
FumingZhang wants to merge 10 commits intoAzure:devfrom
FumingZhang:fuming/aks-sdk-0311
Open

{AKS} Vendor new SDK and bump API version to 2026-01-01#32955
FumingZhang wants to merge 10 commits intoAzure:devfrom
FumingZhang:fuming/aks-sdk-0311

Conversation

@FumingZhang
Copy link
Member

@FumingZhang FumingZhang commented Mar 11, 2026

Related command

Description

{AKS} Vendor new SDK and bump API version to 2026-01-01, based on Azure/azure-sdk-for-python#45636

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 11, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Mar 11, 2026

⚠️AzureCLI-BreakingChangeTest
⚠️acs
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd aks delete cmd aks delete added parameter if_none_match
⚠️ 1010 - ParaPropUpdate aks delete cmd aks delete update parameter resource_name: updated property name from resource_name to name

@yonzhan
Copy link
Collaborator

yonzhan commented Mar 11, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@FumingZhang
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@FumingZhang FumingZhang force-pushed the fuming/aks-sdk-0311 branch from 2cce8a3 to 53edac2 Compare March 18, 2026 00:37
@FumingZhang FumingZhang marked this pull request as ready for review March 18, 2026 00:40
Copilot AI review requested due to automatic review settings March 18, 2026 00:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Azure CLI AKS module to use a newer azure-mgmt-containerservice SDK (v41) and bumps the recorded ARM api-version to 2026-01-01, aligning CLI behavior/tests with the updated SDK surface (notably ETag/match-condition handling and model shape changes).

Changes:

  • Bump azure-mgmt-containerservice dependency to 41.0.0 (range + platform pins).
  • Update AKS module code/tests to use the new SDK request kwargs (etag / match_condition) and updated model fields.
  • Refresh test recordings to api-version=2026-01-01 and adjust related tests/commands.

Reviewed changes

Copilot reviewed 145 out of 227 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/azure-cli/setup.py Updates SDK dependency range for containerservice to ~=41.0.0.
src/azure-cli/requirements.py3.windows.txt Pins containerservice SDK to 41.0.0 on Windows.
src/azure-cli/requirements.py3.Linux.txt Pins containerservice SDK to 41.0.0 on Linux.
src/azure-cli/requirements.py3.Darwin.txt Pins containerservice SDK to 41.0.0 on macOS.
src/azure-cli/azure/cli/command_modules/acs/custom.py Adapts AKS operations to new SDK args/model shapes (notably ETag kwarg handling).
src/azure-cli/azure/cli/command_modules/acs/commands.py Updates operations template paths to the new SDK operations module structure.
src/azure-cli/azure/cli/command_modules/acs/agentpool_decorator.py Adjusts agentpool model field access and ETag kwarg usage for create/update flows.
src/azure-cli/azure/cli/command_modules/acs/_helpers.py Adds build_etag_kwargs helper and updates vnet-integration detection to typed field.
src/azure-cli/azure/cli/command_modules/acs/_help.py Documents new --etag / --match-condition parameters for aks delete.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_helpers.py Updates tests to use typed enable_vnet_integration instead of additional_properties.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py Updates tests to use --etag instead of --if-match.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_agentpool_decorator.py Updates agentpool decorator tests for new model shapes/fields.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_list_trustedaccess_roles.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool_msi.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster_msi.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_update_with_oidc_issuer_enabled.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_update_outbound_from_slb_to_natgateway.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_stop_and_start_private_cluster.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_stop_and_start.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_aad_msi.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_managed_aad.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_get_version_table.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_enable_openservicemesh_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_enable_addons_confcom_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_disable_openservicemesh_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_disable_addons_confcom_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_deployment_safeguards.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_workload_identity_enabled.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_vpa.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_pod_ip_allocation_mode_static_block.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_paid_sku.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_overlay_network_plugin_mode.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_ossku.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_oidc_issuer_enabled.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_nsg_control.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_node_os_upgrade_channel_security_patch.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_network_plugin_none.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_network_dataplane_cilium.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_managed_disk.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_interval_hours.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_default_interval_hours.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_enable_cost_analysis.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_enable_ai_toolchain_operator.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_enable_acns.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_custom_monitoring_workspace.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_app_routing_enabled.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration_public.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_nonaad_and_update_with_managed_aad.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_node_resource_group.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_node_public_ip.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_node_provisioning_profile.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_no_ssh_key.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_network_cidr.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_enable_encryption.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_enable_azure_rbac.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_edge_zone.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_dualstack_with_default_network.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_disable_rbac.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_default_service_without_skip_role_assignment.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_default_service_with_skip_role_assignment_msi.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_default_service_with_skip_role_assignment.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_and_update_with_managed_nat_gateway_outbound.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_again_should_fail.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_add_nodepool_with_custom_ca_trust_certificates.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_cluster_kata.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_browse.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_azure_service_mesh_get_revisions.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_approuting_enable_with_internal_nginx_then_disable.yaml Updates recordings to api-version=2026-01-01.
src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_abort.yaml Updates recordings to api-version=2026-01-01 (and fixes abort URI casing).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AKS az aks/acs/openshift Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants