Repository navigation
{AKS} aks-preview: vendor new SDK and bump API version to 2026-08-02-preview - #10491
Merged
JaysonTaiMicrosoft merged 1 commit intoOct 20, 2026
Merged
Conversation
Vendor the locally generated Python SDK from the merged August TypeSpec using pinned generator versions. Migrate Bastion consumers and replay fixtures to the new cluster API connectivity profile, preserving existing command behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The changes require final human review because they are too complex or risky for automated approval.
No open issues 🎉
What changed in this PR
Updates aks-preview to 22.0.0b14 and adopts AKS API 2026-08-02-preview, including compatibility changes for managed Bastion.
Changes:
- Updates SDK defaults and registers new operation groups.
- Moves Bastion consumers and assertions to the cluster API connectivity profile.
- Updates release documentation and replay API versions.
| File | Description |
|---|---|
| src/aks-preview/setup.py | Updated as part of this pull request. |
| src/aks-preview/README.rst | Updated as part of this pull request. |
| src/aks-preview/HISTORY.rst | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/operations/__init__.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/operations/__init__.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/_configuration.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/aio/_client.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_version.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_configuration.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/_client.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/test_aks_bastion.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_get_version.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_nodepool.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_upgrade_node_image_only_cluster.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_update_with_both_enable_and_disable_continuous_monitor.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_nodepool_get_upgrades.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_list_vm_skus.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_extension_type_backup.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_extension_backup.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_enable_utlra_ssd.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_with_pss.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_basic.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_deployment_safeguards_argument_validation.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_workload_identity_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_web_application_routing.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type_mtls.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_transit_encryption_type_and_advanced_networkpolicies.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_standard_sku.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_service_account_image_pull.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_premium_sku.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_overlay_network_plugin_mode.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ossku.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_optimized_addon_scaling.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_openservicemesh_addon.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_on_demand_monitor.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_oidc_issuer_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_nsg_control.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_network_plugin_none.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_network_dataplane_cilium.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_managed_disk.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_kube_proxy_config.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_keda.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ingress_appgw_addon.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_integrity_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_interval_hours.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_image_cleaner_enabled_with_default_interval_hours.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_ephemeral_disk.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_upstream_kubescheduler_user_configuration.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_cost_analysis.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_cilium_dataplane.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_enable_ai_toolchain_operator.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_defaultdomain.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_default_network.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_continuous_control_plane_and_addon_monitor.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_confcom_addon_helper_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azuremonitorappmonitoring.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_azurekeyvaultsecretsprovider_addon.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_istio_fails_when_asm_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_app_routing_enabled_and_nginx_specified_abbrv.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_with_apiserver_vnet_integration_public.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_web_application_routing_with_private_dns_zone.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_or_update_with_health_probe_mode.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_none_private_dns_zone.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_node_provisioning_profile.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_dualstack_with_default_network.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_and_update_with_node_restriction.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_again_should_fail.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_addon_with_azurekeyvaultsecretsprovider_with_secret_rotation.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_create_add_nodepool_with_custom_ca_trust_certificates.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_cluster_kata.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_cluster_kata_mshv_vm_isolation.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_azure_service_mesh_get_revisions.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_update_all_disabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_openservicemesh_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_confcom_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_show_all_disabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_openservicemesh_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_confcom_enabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_addon_list_all_disabled.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/tests/latest/recordings/test_aks_abort.yaml | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/managedbastion.py | Updated as part of this pull request. |
| src/aks-preview/azext_aks_preview/custom.py | Updated as part of this pull request. |
Review effort: Balanced
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
JaysonTaiMicrosoft
approved these changes
Oct 20, 2026
Collaborator
|
[Release] Update index.json for extension [ aks-preview-22.0.0b14 ] : https://dev.azure.com/msazure/One/_build/results?buildId=186691268&view=results |
2 of 4 tasks
Jenniferyingni
pushed a commit
to Jenniferyingni/azure-cli-extensions
that referenced
this pull request
Oct 21, 2026
API version 2026-08-02-preview adds storageProfile.diskCSIDriver.quickAttachDetach.enabled, which turns on Quick Attach Detach for the AzureDisk CSI driver. The SDK bump in Azure#10491 picked up the model; this exposes it on create. --enable-quick-attach-detach (preview) sets the nested property and also sets diskCSIDriver.enabled=true, since QAD requires the disk driver. It is rejected client-side together with --disable-disk-driver. Kubernetes version, OIDC issuer and Windows pool requirements are left to the RP, which returns specific errors for each.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation — ️✔️ All clear
Related command
az aks,az aks nodepool,az aks bastionDescription
Vendor a locally generated Python SDK for AKS API version
2026-08-02-previewand advanceaks-previewfrom22.0.0b13to22.0.0b14.ebc13f67950a95e50c6828c27dd979e8608c0329.tsp-client0.33.1 and@azure-tools/typespec-python0.63.10, explicitly selectingapi-version=2026-08-02-preview.azure_mgmt_preview_aksnamespace. Its 26 files match the generator output byte-for-byte except for the intentional API-version marker.Required compatibility update
The August API moves managed Bastion settings to
properties.networkProfile.clusterAPIConnectivityProfile.bastion. Update enable/update/disable and tunnel consumers to this schema while preserving explicit Bastion precedence, missing-profile initialization, unspecified Bastion values, and sibling Cloud Shell/network settings.Update the two affected replay fixtures and assertions. Regression tests use actual generated SDK models to verify serialization and preservation of existing settings. CLI JSON uses
networkProfile.clusterApiConnectivityProfile.bastion.All other recording changes are exact API-version replacements. The vendored client's actual default API and the August-preview-only
begin_rebalance_load_balancersoperation were verified.Validation
Validated against Azure CLI
devat3d9e7668428e7698bec7ff48781eb10b78f9fe7ewith the stable ContainerService Python SDK41.8.0integration.azdev test azext_aks_preview --series --no-exitfirst --pytest-args -n 4 -q: 1,595 passed, 126 skipped.azdev style aks-preview: pylint and flake8 passed using existing repository configuration.azdev linter aks-preview: passed.python scripts/ci/test_index.py -q: passed, 2 skipped.git diff --check: passed.azdev extension listand imported module paths were checked to ensure tests used this extension checkout and the current CLI checkout. Tests ran in playback mode; no live Azure resources were created.This is local CLI vendoring, not an official preview SDK generation/release.
src/index.jsonis intentionally unchanged.General Guidelines
azdev style aks-previewlocally.python scripts/ci/test_index.py -qlocally.About Extension Publish
Update only the extension source, version, history, and API mapping. The existing post-merge release process owns building/publishing and the subsequent
src/index.jsonupdate; this PR does not publish anything.