Skip to content

{AKS} Vendor new SDK and bump API version to 2026-06-02-preview - #10251

Merged
Julie Zhu (yanzhudd) merged 2 commits into
Azure:mainfrom
FumingZhang:fumingzhang/aks-preview-2026-06-sdk
Aug 27, 2026
Merged

Julie Zhu (yanzhudd) merged 2 commits into
Azure:mainfrom
FumingZhang:fumingzhang/aks-preview-2026-06-sdk

Conversation

@FumingZhang

@FumingZhang FumingZhang commented Aug 25, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes
️✔️ None

Summary

  • Vendor the locally generated Python management SDK for AKS API 2026-06-02-preview.
  • Bump aks-preview from 22.0.0b3 to 22.0.0b4 and update release history/API-version mapping.
  • Update the latest replay recordings from 2026-05-02-preview to 2026-06-02-preview.

Generation provenance

  • TypeSpec project: specification/containerservice/resource-manager/Microsoft.ContainerService/aks
  • Spec commit: d61b3ec5903df09ae74c9b48cee3c6f1abc0d044
  • Python SDK base: 52d921c904a95005c42ace58511ea194aa9d6c01
  • Generated with the Python SDK repository pinned tsp-client (0.33.1).
  • Cross-checked against official preview generation commit f6fc509fc63494e5cf206ff5a4656f0f388a8ea0; only the expected package-version field and SDK-pipeline docstring sanitization differed.

Validation

  • python -W error::SyntaxWarning -m compileall -q azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks
  • azdev style aks-preview — pylint and flake8 passed
  • python scripts/ci/test_index.py -q — 9 passed, 2 skipped
  • azdev test azext_aks_preview --discover --series — 1,238 passed, 120 skipped
  • git diff --check

Checklist

  • Related command area: az aks
  • Extension version follows the beta version sequence.
  • HISTORY.rst describes the customer-visible SDK/API bump.
  • src/index.json is intentionally unchanged; release automation updates it after merge.

Copilot AI lite review requested due to automatic review settings August 25, 2026 06:30
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi FumingZhang,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in pyproject.toml (or setup.py, if the extension has not migrated yet) as well.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 aks-preview extension to consume the newly generated/locally vendored AKS management SDK targeting API version 2026-06-02-preview, and refreshes the associated extension metadata and replay recordings to align with that API bump.

Changes:

  • Bump aks-preview extension version from 22.0.0b3 to 22.0.0b4.
  • Vendor/refresh the locally generated azure_mgmt_preview_aks SDK and update default API version to 2026-06-02-preview.
  • Update test replay recordings to use api-version=2026-06-02-preview.

Reviewed changes

Copilot reviewed 161 out of 308 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/aks-preview/setup.py Bumps the extension package version to 22.0.0b4.
src/aks-preview/README.rst Updates the release-history-to-API-version mapping to include 2026-06-02-preview for 22.0.0b4+.
src/aks-preview/HISTORY.rst Adds the 22.0.0b4 changelog entry describing the SDK/API bump.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/operations/_patch.py Regenerated SDK patch module cleanup.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models/_patch.py Regenerated SDK patch module cleanup.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/models/init.py Exposes newly generated model types/enums for the updated API surface.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/operations/_patch.py Regenerated async SDK patch module cleanup.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/_patch.py Regenerated async SDK patch module cleanup.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/_configuration.py Updates async client configuration defaults/docs to 2026-06-02-preview.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/_client.py Updates async client docs to 2026-06-02-preview.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py Updates the vendored SDK’s API version constant to 2026-06-02-preview.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_utils/serialization.py Expands serializer docstring to reflect classes parameter.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_utils/model_base.py Updates model-base utilities (docstring details; adds bool-as-string deserializer hook).
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_patch.py Regenerated SDK patch module cleanup.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_configuration.py Updates sync client configuration defaults/docs to 2026-06-02-preview.
src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_client.py Updates sync client docs to 2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_get_version.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_both_enable_and_disable_continuous_monitor.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_operations_cmds.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_list_vm_skus.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_extension_type_backup.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_extension_backup.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_with_pss.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_basic.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_argument_validation.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_workload_identity_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_web_application_routing.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type_mtls.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type_and_advanced_networkpolicies.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_standard_sku.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_service_account_image_pull.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_premium_sku.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_overlay_network_plugin_mode.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_optimized_addon_scaling.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_on_demand_monitor.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_oidc_issuer_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_nsg_control.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_network_plugin_none.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_network_dataplane_cilium.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_keda.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_integrity_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_interval_hours.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_default_interval_hours.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_upstream_kubescheduler_user_configuration.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_cost_analysis.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_cilium_dataplane.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_ai_toolchain_operator.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_defaultdomain.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_default_network.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_continuous_control_plane_and_addon_monitor.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitorappmonitoring.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_istio_fails_when_asm_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration_public.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_web_application_routing_with_private_dns_zone.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_or_update_with_health_probe_mode.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_node_provisioning_profile.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_dualstack_with_default_network.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_node_restriction.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_again_should_fail.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_add_nodepool_with_custom_ca_trust_certificates.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_cluster_kata.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_cluster_kata_mshv_vm_isolation.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_get_revisions.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_update_all_disabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_openservicemesh_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_confcom_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_all_disabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_openservicemesh_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_confcom_enabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_all_disabled.yaml Updates recording URIs to api-version=2026-06-02-preview.
src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_abort.yaml Updates recording URIs to api-version=2026-06-02-preview.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yonzhan

Copy link
Copy Markdown
Collaborator

AKS

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@FumingZhang
FumingZhang force-pushed the fumingzhang/aks-preview-2026-06-sdk branch from daf2ea2 to 69ca520 Compare August 26, 2026 06:27
Keep the 2026-06-02-preview SDK change out of the already released 22.0.0b4 history and API mapping.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@yanzhudd
Julie Zhu (yanzhudd) merged commit 0b18445 into Azure:main Aug 27, 2026
24 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ aks-preview-22.0.0b5 ] : https://dev.azure.com/msazure/One/_build/results?buildId=178432969&view=results

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.

5 participants