Skip to content

Commit 143ebab

Browse files
achauhan-sccPratibhaShrivastav18azclibotwangzelin007Bhargavsaichinni
authored
ML ext 2.40.0 release (#9375)
* Compute connect port 22 path fix (#9082) * port 22 compute connect fix * add changelog * CLI v2 2.39.0 (Version/changelog changes) (#9089) * Pylint fix + History update (#9143) * pylint fix * revert unwanted change * Sync ml-dev with Main (#9365) * [Release] Update index.json for extension [ spring-1.28.3 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135708908&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/b86c1c6cc8a7ed8ab98d8ef232a271ab198af094 * Temporarily removed the extension: aks-agent (#9115) * Revert "Temporarily removed the extension: aks-agent (#9115)" (#9116) This reverts commit ddc223c9434896ec971e79835d94ff46ca116987. * Revert "Fix Neon extension: Unify command structure and remove preview status" (#9117) * Revert "Fix Neon extension: Unify command structure and remove preview status…" This reverts commit a973f801f0a55b2cef585982852c364c708d5ee1. * Bump version from 1.0.0b4 to 1.0.0b6 * [Release] Update index.json for extension [ neon-1.0.0b6 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135751142&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/64ab52906fe23694a8f957a80268da563663ddca * {AKS} Remove the sku preview flag from help command for AKS automatic (#9120) * [Release] Update index.json for extension [ aks-preview-18.0.0b32 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135839673&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/7d5b6575a74ab795aa41a7fe6c42dc6932b6d193 * [ Workload-Orchestration ] Add Context & Solution Management Commands (#9037) * added * commit * Made Changes * Added change * Made changes * List solution revisions and instances * Made changes rr * Made change --------- Co-authored-by: Atharva <[email protected]> Co-authored-by: Manaswita Chichili <[email protected]> * [AKS] `az aks create`: Add new parameter `--kms-infrastructure-encryption` to enable KMS infrastructure encryption. (#9071) * Revert "[Release] Update index.json for extension [ neon-1.0.0b5 ]" (#9118) This reverts commit 616990f9572fb222bf6053f617b014ec34eda4e9. * [Release] Update index.json for extension [ aks-preview-18.0.0b33 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135846382&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/042aa4e33a6085925b71e3b275500601f13e8979 * [ServiceConnector-passwordless] bump version for psycopg2-binary (#9075) * bump version for psycopg2-binary * update * Update CLI command descriptions for newrelic (#9119) * [Release] Update index.json for extension [ new-relic-1.0.2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135848078&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/e1df567b8f3ba18f6382b1aa87c591308de8b707 * [Release] Update index.json for extension [ serviceconnector-passwordless-3.3.5 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135848077&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/42db1eb7e72d87b899efa382e0aa737982d53604 * Feature/ga release (#9123) * Update version from 1.0.0b6 to 1.0.0 * Update HISTORY.rst with release information * [Release] Update index.json for extension [ neon-1.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135957068&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/18785cf742c9611cae46cbce3fed1e55d0f990e0 * aks add nodepool add to support machines pool (#9121) Co-authored-by: Jianping Zeng <[email protected]> * [Release] Update index.json for extension [ aks-preview-18.0.0b34 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135967911&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/1d48b879bc1179ca29059c677bab35e70e71972f * {AKS} Vendor new SDK and bump API version to 2025-07-02-preview (#9131) * [Release] Update index.json for extension [ aks-preview-18.0.0b35 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135984989&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/b79f617d7ff5fb6c578dc7d00e8a1bfd7831f164 * Added changes (#9130) Co-authored-by: Atharva <[email protected]> * [Release] Update index.json for extension [ workload-orchestration-3.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=135985917&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/715f0c64382b3a6db5dfc9310b186a959f87a459 * [SCVMM] Fixed create_from_machines command for VM Instance creation (#9107) * [Release] Update index.json for extension [ scvmm-1.2.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136097084&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/06d116ebcf1386c562b75e3cc7fd3acf37bc64ce * [k8s-extension] Update extension CLI to v1.7.0 (#9126) * add pester tests for k8s-extension * fix testcases for nodepool image issues (#5) * update readme and version release notes (#6) * fix: simplify logic and enable correct recording rule groups for managed prom extension (#7) * update readme and version release notes (#6) * fix: simplify logic and enable correct recording rule groups for managed prom extension (#7) * Extend ContainerInsights Extension for high log scale mode support (#9) * update python version to 3.13 (#10) * update readme and version release notes (#6) * fix: simplify logic and enable correct recording rule groups for managed prom extension (#7) * update readme and version release notes (#6) * fix: simplify logic and enable correct recording rule groups for managed prom extension (#7) * Add k8s-extension troubleshoot phase 1: Infrastructure setup. (#11) * [k8s-extension] Update extension CLI to v1.7.0 (#13) * remove redundant test files --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: bragi92 <[email protected]> Co-authored-by: Long Wan <[email protected]> Co-authored-by: Andres Borja <[email protected]> * [Release] Update index.json for extension [ k8s-extension-1.7.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136097815&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/40c0147fe008dcf56c451193d06cc8f54136b525 * Fix help text for `fleet list` command (#9114) * [confcom] Adding standalone fragment support (#9097) * ensure that oras discover doesn't error when the remote image doesn't exist * updating version * adding print for binary version * commenting out some tests due to docker incompatibility * pull image before saving to tar --------- Co-authored-by: Heather Garvison <[email protected]> * [Release] Update index.json for extension [ confcom ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136107318&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/bca2ea1679e62d67a08edd9c4396d4d53b83c462 * feat: Add Neon PostgreSQL preview API commands with parameter mapping… (#9133) * feat: Add Neon PostgreSQL preview API commands with parameter mapping fixes - Added 13 new commands for Neon PostgreSQL 2025-06-23-preview API - Fixed critical parameter mapping issues in endpoint/database/role create commands - Added comprehensive test suite with 6 test methods covering all functionality - Updated azext_metadata.json with new command registrations New Commands Added: - az neon postgres endpoint create/list/delete - az neon postgres neon-database create/list/delete - az neon postgres neon-role create/list/delete - az neon postgres get-postgres-version Parameter Mapping Fixes: - Fixed URL parameter mapping to use project_id/branch_id when available - Resolved 'branch not found' errors in create commands - Ensured proper API endpoint construction for nested resources Testing: - All 6 tests passing (100% success rate) - Comprehensive validation of parameter mapping fixes - Help command testing for all new commands - Parameter validation testing for required fields * Add command examples to fix linter violations - Added examples for endpoint create command - Added examples for get-postgres-version command - Added examples for neon-role create command - Added examples for neon-database create command - Examples include common usage patterns and parameter variations * fix: Add parameter mapping fixes for create commands - Add project_id parameter to endpoint, role, and database create commands - Implement URL parameter mapping with getattr/hasattr fallback pattern - Fix endpoint list command parameter mapping - Enable proper API URL construction for all create operations - All tests passing (6/6) with real Azure resource validation - Successfully tested with live Azure resources (endpoints, roles, databases created) * fix: Correct help examples to fix linter errors - Fix --attributes parameter examples to use proper JSON format instead of space-separated key=value pairs - Replace invalid --suspend-timeout-minutes parameter with valid --size parameter in endpoint create example - Resolve HIGH severity linter error: faulty_help_example_parameters_rule - All help examples now use correct Azure CLI parameter syntax * fix: Add linter exclusions for missing_command_example - Add exclusions for neon postgres commands to resolve git-based linter check failure - Commands have proper help examples but git-based linter doesn't detect them for AAZ commands - Excludes: endpoint create, neon-role create, neon-database create, get-postgres-version - Resolves HIGH severity missing_command_example linter error in CI pipeline * feat: Remove wait commands and update to version 1.0.1b1 - Remove wait command files: branch/_wait.py, project/_wait.py, organization/_wait.py - Update __init__.py files to remove wait command imports - Add linter exclusions for require_wait_command_if_no_wait rule for all command groups - Update version to 1.0.1b1 in setup.py - Add comprehensive changelog entry to HISTORY.rst documenting all improvements: * 25 commands across 8 command groups * Parameter mapping fixes with real Azure resource validation * Help examples and linter compliance * Successful testing with live Azure subscription - Wait commands removed as operations complete quickly and were unnecessary - All tests passing (6/6) and functionality verified * docs: Update HISTORY.rst with concise 1.0.1b1 changelog - Streamline changelog entry for version 1.0.1b1 - Focus on key features: preview commands for new entities - Highlight important changes: wait commands removal, linter exclusions - Emphasize successful real Azure resources validation testing - Maintain clear and readable documentation format * [Release] Update index.json for extension [ neon-1.0.1b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136319375&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/fb81781e93568fcc494b8f93ef71789d555270c3 * Release ArcAppliance CLI 1.6.0 (#9137) Co-authored-by: Sai Sankar Gochhayat <[email protected]> * [AKS] Add option `AzureLinux3` to `--os-sku` for `az aks nodepool add` and `az aks nodepool update` (#9095) * chore: add AzureLinux3 OSSKU enum value Signed-off-by: Calvin Shum <[email protected]> * Complete AzureLinux3 OSSKU implementation - Add changelog entry for version 18.0.0b29 - Bump version to 18.0.0b29 - Follow exact pattern from Ubuntu2204/Ubuntu2404 implementation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> Signed-off-by: Calvin Shum <[email protected]> * add recording test * Revert "Complete AzureLinux3 OSSKU implementation" This reverts commit 588cb2a6dd1cbdbce9d68ec14f12c711a838d737. * Bump version to 18.0.0b34 - Add changelog entry for version 18.0.0b34 - Bump version to 18.0.0b34 * Update test_aks_nodepool_add_with_ossku_azurelinux3.yaml * Revert "Update test_aks_nodepool_add_with_ossku_azurelinux3.yaml" This reverts commit 5a20e1beced030fa0109f6b1d06ab187653617f2. * Reapply "Update test_aks_nodepool_add_with_ossku_azurelinux3.yaml" This reverts commit e702361678f026883f01b139fe25c3ebd02fd953. --------- Signed-off-by: Calvin Shum <[email protected]> Co-authored-by: anujmaheshwari1 <[email protected]> Co-authored-by: Claude <[email protected]> * [Release] Update index.json for extension [ aks-preview-18.0.0b36 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136341093&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/a7b3facf078b03c10982a54a7d870af4945c4575 * Fix resource creation in datadog (#9144) * fix resource creation * update attribute * update example * update version * update version --------- Co-authored-by: Shivansh Agarwal <[email protected]> * [Release] Update index.json for extension [ datadog-2.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136437677&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/c5193f8f9b7b9d82c9c7d9befc1a99e128a5271a * Update AVNM connectivity configuration CLI to use 2024-07-01 API version (#9125) * Generated Azure CLI extension changes * Resolve errors in test files * Add passing tests * Fix connect-config parameter applies-to-groups * Update src/network-manager/azext_network_manager/aaz/latest/network/manager/connect_config/_create.py Co-authored-by: Copilot <[email protected]> * Update src/network-manager/azext_network_manager/aaz/latest/network/manager/connect_config/_update.py Co-authored-by: Copilot <[email protected]> * Passing local tests * Add parameter options to connect-config * Increment versio in HISTORT.rst * Add singular option for applies to groups * Fix update.py * fix conflicting options for connect-config * fix conflicting options for connect-config * Fix tests to set connect-config singular options * update version to 3.0.0 in setup.py * update version to 3.0.0 in HISTORY.rst * Fix breaking changes related to network manager paramter * Release version fix --------- Co-authored-by: Sonal Singh (from Dev Box) <[email protected]> Co-authored-by: Copilot <[email protected]> * [Release] Update index.json for extension [ network-manager-2.1.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136442938&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/ce3559ea2a57f228cc8939b19d4c7365178ef73d * [AKS] Add machine cli preview (#9045) * [amg] Remove essential SKU resource creation (#9128) * Remove essential SKU resource creation * Refine arg error msg * Remove essential SKU resource creation * Refine arg error msg * New test recordings * Redo test recordings --------- Co-authored-by: Alan Zhang <[email protected]> * [Release] Update index.json for extension [ amg-2.8.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136575856&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/1681210b2e6e1cce1624d1c41e7b32c19d51650b * Update index.json (#9146) Drop Public preview version 0.1.4 * [AKS] Autoscaling support for VMs agentpool (#9012) * add in azure-iot 0.27.0 (#9151) * [Release] Update index.json for extension [ aks-preview-18.0.0b37 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136721005&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/3d006775c9fe3b7167a88cb25d5ea15e1cc7b380 * [Containerapp] `az containerapp up`: Support --kind {functionapp} (#9052) * add logic to deal with xml format in return error (#9142) * add logic to deal with xml format in return error * change as per comments * change version * code style * change version * [Release] Update index.json for extension [ spring-1.28.4 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=136758693&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/7a71074d4aebcc402e153876b1a08976081c4f73 * add aks-agent codeowner (#9152) * feat: Improve user experience of az aks agent with aks-mcp (#9132) * feat: Improve user experience of az aks agent with aks-mcp Enhance the user experience of az aks agent, including: 1. Use aks-mcp by default, offering an opt-out flag --no-aks-mcp. 2. Disable duplicated built-in toolsets when using aks-mcp. 3. Manage the lifecycle of aks-mcp binary, including downloading, updating, health checking and gracefully stopping. 4. Offer status subcommand to display the system status. Refine system prompt. 5. Smart toolset refreshment when switching between mcp and traditional mode. * use --status instead of status * address ai comments * style * add pytest-asyncio dependency * fix unit tests * fix(aks-agent/mcp): eliminate “Event loop is closed” shutdown error - Launch aks-mcp via subprocess.Popen instead of asyncio.create_subprocess_exec to avoid asyncio transport GC on a closed loop. - Add robust teardown: terminate → wait(timeout) → kill fallback, and explicitly close stdin/stdout/stderr pipes. - Make is_server_running use Popen.poll() safely. - Minor: update MCP prompt to prefer kubectl node listing when Azure Compute ops are blocked by read-only policy. * {AKS} Clarify model parameter (cherry-pick PR #9145) Squashed cherry-pick of PR #9145 commits:\n- clarify model parameter\n- adjust command example to pretty print recommendation\n- fix disallowed html tag in deployment name\n- update examples to use model name as deployment name\n- remove redundant starting space in parameter help\n\nExcluded changes to HISTORY.rst and setup.py as requested. * chore: Add nilo19 and mainerd to aks agent owners * chore(aks-agent): fix flake8 issues (E306, E261, W291) * chore(aks-agent): flake8 E261 fix in mcp_manager.py (two spaces before inline comment) * [Release] Update index.json for extension [ aks-agent-1.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137081945&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/158f3c3e464c781fe6f9e949ffa135fdf03d7a8a * ML release - 2.39.0 (#9141) * Compute connect port 22 path fix (#9082) * port 22 compute connect fix * add changelog * CLI v2 2.39.0 (Version/changelog changes) (#9089) * Pylint fix + History update (#9143) * pylint fix * revert unwanted change * [Release] Update index.json for extension [ machinelearningservices-2.39.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137089933&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/e87f842bc6451c3a0a76b87e8fdc02180076cf51 * [Storage-Mover] `az storage-mover endpoint`: Add new endpoints, Support assigning identity (#9109) * [Storage-Mover] update to api version 2025-07-01; `az storage-mover endpoint`: Support `identity` * Custom Commands for Endpoint Create/Update for NFS File Share and Multi Cloud Connector * Added param for nfs-file-share * Added test for nfs file share * NFS Tests Working * multi cloud connector tests passing * reverted test_storage_mover_endpoint_scenarios.yaml * NFS endpoint scenarios recording * azdev style storage-mover PASSED * Bumped version and added updates in HISTORY.rst * fix azdev Linter * azdev linter and style fix * azdev lint fix * edit HISTORY.rst as per the guidlines * updated API version in the test recordings * Fixed failing tests * fixed CI issues * fixed linter issues * Added tests for endpoint identity commands * AzDev Linter Fix --------- Co-authored-by: KARTIK KHULLAR <[email protected]> * [Release] Update index.json for extension [ storage-mover-1.2.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137092341&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/7fc211418be94abd02a9ecf3bb3189a7a8c305d7 * [Containerapp] `az containerapp sessionpool create/update`: Add health probe support (#9139) * don't print version check at bottom toolbar (#9166) * {CI} Add a test workflow to trigger test extension release pipeline on main branch push (#9158) * Add workflow to trigger Test Extension Release Pipeline on main branch push * Add a test pipeline to perform a dry run release of new external extension wheel packages to the unified AME storage account. * Update .github/workflows/TestTriggerExtensionRelease.yml Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]> * Add new version for firmwareanalysis for 2025-08-02 swagger (#9161) * Updating firmwareanalysis extension for GA release - updated models for latest swagger version 2025-08-02 - updated tests - removed sas url generation test * fixed broken cli commands and tests added back upload url test, but with redacted sasurl * updating version to 2.0.0 * updated changelog - removed deprecated command - fixed test to reference all test values * update examples to make linter happy --------- Co-authored-by: Mike Kennedy (from Dev Box) <[email protected]> * [Release] Update index.json for extension [ firmwareanalysis-2.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137217401&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/e15cd8099aa6fb791bf571e9282cce009a81a927 * Updating nexusidentity - Resolves installation issue caused by Graphs Python SDK package. (#9102) * updating nexusidentity - Resolves installation issue caused by Graphs Python SDK package where a long path error occured. To fix this - SDK support was removed and replaced with httpclient * fixing a small security concern with shell * retrigger checks * retrigger checks * [Release] Update index.json for extension [ nexusidentity-1.0.0b6 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137316991&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/55aa877ffd929dd8bf572e57e2277cb4b72e0a11 * [Containerapp] `az containerapp session stop`: Add stop session feature (#9140) * [SFTP] Initial Preview Release (#8982) * init managed sftp prototype * port fix * more unit tests * test fixes * clean tests * big clean * fix flake8 * pylint fixes * fix versioning and summary * simplify * sftp cert ests * sftp connect tests * organize tests * support tilde * clean logged out logs * az sftp cert expiration * az sftp cert argument combination tests * parameterize some tests * az sftp connect arg combos * remove batch mode * unit tests * simplify * update args and summary * minor changes and add basic scenario tests * style * remove validators * remove connectivity utils and client factory * remove test-only functions * remove unnecessary wrappers * remove chmod * remove batch commands example * add sftp to service_name.json * Add copyright header test_sftp_scenario.py * Update azext_metadata.json --------- Co-authored-by: Zhiyi Huang <[email protected]> * [Release] Update index.json for extension [ sftp-1.0.0b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137326695&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/3ff2094b2eb10d3d6cda59c138befe9e26e7bf46 * (playwrighttesting): Deprecation of playwright cli command (#9156) Co-authored-by: guptakashish <[email protected]> * Update firmwareanalysis to GA status (#9172) - remove azext.isPreview configuration so docs reflect GA status instead of Preview - bump version to 2.0.1 so we can release the fix Co-authored-by: Mike Kennedy (from Dev Box) <[email protected]> * [Release] Update index.json for extension [ firmwareanalysis-2.0.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137347377&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/2788cf10fb77bde67930b43f62c5454be80c4fe4 * chore: Disable aks-mcp by default, offer --aks-mcp flag to enable it (#9171) * [Release] Update index.json for extension [ aks-agent-1.0.0b3 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137471450&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/acc900e7a53c3083ed343b75346268cb35a54f6b * Add blue green upgrade support for aks-preview (#8999) * Feature/aks acns performance (#9136) * feat: add acns perf options * feat: fix issues, add tests * chore: update history * Update src/aks-preview/azext_aks_preview/managed_cluster_decorator.py Co-authored-by: Copilot <[email protected]> * Update src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py Co-authored-by: Copilot <[email protected]> * Update src/aks-preview/linter_exclusions.yml Co-authored-by: Copilot <[email protected]> * Update src/aks-preview/linter_exclusions.yml Co-authored-by: Copilot <[email protected]> * fix: address comments * fix: address comments * fix: switch to westcentralus * chore: update version * fix: undo accidental delete * chore: update acns perf test, add recording * fix bad merge --------- Co-authored-by: Copilot <[email protected]> * [Release] Update index.json for extension [ aks-preview-18.0.0b38 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137487000&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/b06cbbb5beddcc2db1da8d464f20ea09be2fd0f0 * [connectedk8s] Update extension CLI to v1.10.9 (#9177) * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * fix CI testcases for nodepool image issues (#8) * update errors for the config and connectivity issues (#11) * update errors * format * style * update python version to 3.13 (#12) * changes to support gateway association/disassociation for api version '2025-08-01-preview' (#17) * update release notes and version for connectedk8s cli extension (#18) * remove redundant test files specific to forked repo CI checks --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: Atchut Kumar Barli <[email protected]> * [Release] Update index.json for extension [ connectedk8s-1.10.9 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137602188&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/d4d58b120103cf002b568ed8dcc03085d6dd9bec * [Communication] Add deliveryReport and Tag parameters to sms send command (#9180) * Add deliveryReport and Tag parameters to sms send command * correct version * update version * Fix tests * Fix test and recordings * Fix recordings * [Release] Update index.json for extension [ communication-1.14.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137812299&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/3e96534a196cd4832ea84859874a34b255397da9 * [amlfs] Add az amlfs auto-import commands (#9134) * [amlfs] Add az amlfs auto-import commands * Updating History and setup files * Update src/amlfs/azext_amlfs/aaz/latest/amlfs/auto_import/_update.py Co-authored-by: Copilot <[email protected]> (cherry picked from commit 3d1f1fc728de13efd194a5b2fa529d4f9633a07a) * Updating create option conflict resolution for shorter length * Adding re-recorded Import Job test * Adding re-recorded AutoExportJob tests * Adding re-recorded test results --------- Co-authored-by: Aman Jain <[email protected]> Co-authored-by: Copilot <[email protected]> * Create role assignment for MSI when enable_vnet_integration is true (#9153) * update error message * grant vnet perm * address comments * setup.py * update * update style * release version block * update * [Release] Update index.json for extension [ amlfs-1.2.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137812854&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/8357d6f854d23360cfe0dc5d94c2c616fea5bebb * Managed Network Fabric - Removing the `externalnetwork update-bfd-administrative-state` command as it is not supported by the API. (#9182) * updating nexusidentity - Resolves installation issue caused by Graphs Python SDK package where a long path error occured. To fix this - SDK support was removed and replaced with httpclient * fixing a small security concern with shell * retrigger checks * retrigger checks * removing unsupported operation * removing unsupported operation * Retrigger GitHub Actions * [Release] Update index.json for extension [ managednetworkfabric-8.1.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137813062&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/1c1130586dde43a58feb173f23366c03cb5bc56a * Update the layer hashes for image which has changed and pull specific sha (#9174) * {CI} Sync resourceManagement.yml according To ADO Wiki Page - Service Contact List (#9197) * Network Cloud Preview Version 4.0.0b1 for 2025-07-01-preview (#9057) * new version of networkcloud cli * updating min version * pushing some updates * fix run command for storage appliance on windows * update history --------- Co-authored-by: Nafiz Haider <[email protected]> * [Release] Update index.json for extension [ networkcloud-4.0.0b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137934227&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/2105ee9ce3a5d929eadc6168b773e9edaf4626e2 * [AKS] Add option AzureLinuxOSGuard and AzureLinux3OSGuard to --os-sku for az aks nodepool add and az aks nodepool update (#9147) * [Release] Update index.json for extension [ aks-preview-18.0.0b39 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137942863&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/ce952e4f70216f250df394de9923dfb27da0a181 * {Zones} Pin minCliCoreVersion 2.72.0 as the latest CLI version before this extension was released. Remove incompatibility with previous CLI core version. (#9200) * [Release] Update index.json for extension [ zones-1.0.0b5 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=137945712&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/fe864e4ac75ea7a928a9bde0b4d925e97d7bfd04 * exclude tests folder (#9213) * new release (#9218) * [AKS] Add option Windows2025 to --os-sku for az aks nodepool add (#9178) * arcdata version bump to 1.5.26 (#9148) Co-authored-by: Melody Zhu <[email protected]> * {AKS} Fix test case `test_aks_approuting_enable_with_keyvault_secrets_provider_addon_and_keyvault_id` (#9221) * [AKS] Fix --aks-mcp flag to accept true/false values (#9231) Simplified the aks-mcp parameter by removing custom positive/negative labels and using the default three_state_flag behavior to properly handle true/false values. * [AKS Agent] Bump aks-mcp version to v0.0.9 (#9236) * [AKS Agent] Bump aks-mcp version to v0.0.9 * [AKS Agent] Bump aks-agent version to 1.0.0b4 * [Release] Update index.json for extension [ aks-agent-1.0.0b4 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138354998&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/fa62bf336ebe4577b3fc7b0a61247f5ec0e931d3 * Managed Network Fabric - Adding nullable to all ARM-ID fields to allow clearing the values (#9216) * updating nexusidentity - Resolves installation issue caused by Graphs Python SDK package where a long path error occured. To fix this - SDK support was removed and replaced with httpclient * fixing a small security concern with shell * retrigger checks * retrigger checks * removing unsupported operation * removing unsupported operation * Retrigger GitHub Actions * Adding nullable to all ARM-ID fields * Adding nullable to all ARM-ID fields * fixing versioning * {stream-analytics} Support with Azure Function (#9179) * migrate to aaz, support with Azure Function * remove cf, run live test * update version * [Release] Update index.json for extension [ managednetworkfabric-8.2.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138359475&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/2453de18c687e700812af0fbebbef314df28411f * [Release] Update index.json for extension [ stream-analytics-1.0.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138359965&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/ef3c612878cb4f2be583449fe12578941952109e * [confcom] Add tests for acipolicygen (#9199) * Add tests for acipolicygen on arm template * Add missing sha based references * Remove helper script * Add a test for fragments * Skip test with known issue * Skip exclude default fragment tests for known issue * Update missed rego policies * Fix the curdir of acipolicygen test runner * [confcom] Bump the infra fragment minimum svn to 4 (#9238) * Bump the infra fragment minimum svn to 4 * Bump version * [Release] Update index.json for extension [ confcom ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138363679&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/f4f6815128332be637ef1eaf6d9f27753ac785c8 * AKS: Change --enable-azure-container-storage --disable-azure-container -storage behavior and add --container-storage-version (#9138) * [Release] Update index.json for extension [ aks-preview-18.0.0b40 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138547011&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/737b240c25351488f0c9ba79c9dfc886d083d52f * AOSM CLI - Fixing a zip-slip security bug for code that was using tar.extractall() on `nfd build` command (#9234) * AOSM CLI - Fixing a zip-slip security bug for code that was using tar.extractall() on `nfd build` command * fixing tests * fixing tests * review updates --------- Co-authored-by: Daniel Steven <[email protected]> * [Release] Update index.json for extension [ aosm-2.0.0b3 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138548638&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/966e8d89e58db94e98c6907a896cc58c7cbfd6fd * Skip none overrides on localdns profile (#9188) * Add JWT Authenticator commands to aks-preview (#9189) * [ Workload-Orchestration ] Added Bulk Management Commands (#9246) * Workload orchestration 3.1.0 * Update version * Update version * Adding example * Adding example * Removing pem files * Updating api version * Fixing tests * Fixing tests * Backward Compatible --------- Co-authored-by: Atharva <[email protected]> * [Release] Update index.json for extension [ workload-orchestration-4.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138573512&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/d378651f9ff52200278ac797b9e245d179efad55 * Fix merge conflict between new tests and default min svn bump (#9241) * Add NG of type subnet support (#9244) * [Release] Update index.json for extension [ network-manager-3.0.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138664427&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/8e30da7574fee6e8695f7cbe1b2b10a7bab76940 * [connectedk8s] Update extension CLI to v1.10.10 (#9254) * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * fix CI testcases for nodepool image issues (#8) * update python version to 3.13 (#12) * changes to support gateway association/disassociation for api version '2025-08-01-preview' (#17) * [Azure RBAC] Deprecate 3P mode flags, fix Azure RBAC enablement bug, add E2E coverage and improve logging (#20) * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * Parameterize for airgapped clouds (#5) * Add parameterization for the airgapped clouds * Fix azdev style * MCR path function * azdev, ruff, and mypy --------- Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> * Oras client fix to work with different MCRs (#6) Co-authored-by: mmcneal <[email protected]> * fix CI testcases for nodepool image issues (#8) * update errors for the config and connectivity issues (#11) * update errors * format * style * update python version to 3.13 (#12) * Update cluster diagnostics image to 1.29.3 (#7) * Update cluster diagnostics helm chart to 1.29.3 * Fix lint issues --------- Co-authored-by: bgriddaluru <[email protected]> * RBAC deprecation & fix the issue * typo * fix comments * update tests * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * fix CI testcases for nodepool image issues (#8) * update errors for the config and connectivity issues (#11) * update errors * format * style * update python version to 3.13 (#12) * rebase * fix tests * fix version * fix mypy, lint * fix test * fix test * fix test * fix test * fix test * rename test * deprecate flags * rebase * rebase * bump version for release --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: Atchut Kumar Barli <[email protected]> Co-authored-by: mcnealm13 <[email protected]> Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: vithumma <[email protected]> * remove redundant test files --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: Atchut Kumar Barli <[email protected]> Co-authored-by: Vineeth Thumma <[email protected]> Co-authored-by: mcnealm13 <[email protected]> Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: vithumma <[email protected]> * [Release] Update index.json for extension [ connectedk8s-1.10.10 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138674669&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/e03fa94b705e6ec9957f77b909845350d186b47a * Evals system for aks-agent (#9219) * fix: acns-datapath-acceleration-mode None should set the API field correctly (#9255) * [Release] Update index.json for extension [ aks-preview-18.0.0b41 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138690044&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/961d5126fccf51bc8801600a00e85776e9b7cd2b * Azure CLI to manage Site resources (#9181) * Site cli extension changes * removing beta * Allowing labels deletion * removing beta from version history * Correcting argument * Correcting format * Updated readme * Adding beta to version * Updating service_name file with site entry * [Release] Update index.json for extension [ site-1.0.0b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138696727&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/4a4e750e807ee47001be3bfa132d117931e66052 * Azure Firewall Autoscale Configuration (#9235) * Azure Firewall Autoscale Configuration * bump version * update recordings for tests * reset of recordings * Try to fix recording for test_azure_firewall_policy_explicit_proxy * non-dynamic test value * Use sas token key * Remove explicit proxy test * [Release] Update index.json for extension [ azure-firewall-1.4.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=138818987&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/b030b92555c22dbbaade2b867793b72e7aa14095 * Managed Network Fabric - Removing commands that are not supported by the API. (#9266) * Removing unsupported commands from the managednetworkfabric CLI. * updating history * [Release] Update index.json for extension [ managednetworkfabric-8.2.1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139155356&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/59ba8a14aba85101d8e41c6c1a8789d4b65aed12 * [AKS] Add support for OSSKU Flatcar to cluster create/nodepool create (#9240) * [storage-discovery] 09-01 stable cli extension (#9230) mark operations stable update setup.py and HISTORY.rst remove azext.isPreview from azext_metadata.json * {AKS} Fix role assignment failure when using azure-cli version >= `2.77.0`. (#9267) * [Release] Update index.json for extension [ storage-discovery-1.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139171604&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/2ebf49eb7017ef71056316875e240c0c76a71cc6 * [Release] Update index.json for extension [ aks-preview-18.0.0b42 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139172224&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/af54e9d799ca3d4da6796ba46da47474bde7bf4e * Add new parameter to enable Dnstap logging in Azure Firewall (#9271) * Adding new parameter enable-dnstap-logging * Small nit * Small nit2 * Remove comma * Update history * update test recording * Update setup --------- Co-authored-by: Bhumika Kaur Matharu <[email protected]> * [Release] Update index.json for extension [ azure-firewall-1.5.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139595971&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/05c62a2a4793c75960b2fda7aa920574522be3b4 * Add LocalDNS Live Tests for valid and invalid scenarios (#9252) * skip none overrides on localdns profile * update history rst * refactor to process dns overrides func * move overrides function to helper file * apply linter suggestions * add localdnsconfig folder * add more tests * add new json files * add default dns overrides * add more test cases * move tests around, move invalid cases to another file * add back import semver * reorder the existing tests * delete preferred mode only * delete null.json * remove redundant json file * remove redundant json file * fix the mistake at line 3349 * forgot that i put all the configs in data/localconfig folder * remove unused file * spelling error * fix default dnsOverrides check when we create agentpool with required mode only * restore localdnsconfig file * delete extra property case from invalid test file * add extra property cases in src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py * add extra property files * check for defaulted *dnsOverrides when making agent pool with mode: required only * comment out cleanup in test_aks_nodepool_add_with_localdns_required_mode * add more logging for debugging * add print statements in src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/operations/_agent_pools_operations.py for debugging * only initialize the dictionaries if dnsoverrides are provided * process dns overrides only when dns overrides are provided * consolidate duplicated build_localdns_profile function * move invalid cases to line 4133 * update test_aks_commands.py * look for vnetDnsOverrides and kubeDNSOverrides keys, case-insensitive * fix test_aks_nodepool_add_with_localdns_required_mode_single_vnetdns * check for dictionary for build_override * update failing test cases * rename from required_mode_extra_property.json -> required_mode_kubedns_extra_property.json * fix azdev style * temporarily add self.fail statements s.t. i can see the error_message * change from assertTrue to assertIn with more specific error msg, delete un-needed test case * change from print to debug * remove logger.debug line to print localdnsprofile * add null config file * fix the tests * fix the tests * update src/aks-preview/HISTORY.rst with a new note under 18.0.0b42 * update src/aks-preview/HISTORY.rst * Revert "add print statements in src/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/operations/_agent_pools_operations.py for debugging" This reverts commit b7474385a8bcb5088ea8539923a4eca5ab366ba3. * update src/aks-preview/HISTORY.rst * Revert "add more logging for debugging" This reverts commit 1786254f78627af5926efa438163843de19657dd. * mix the casing for *dnsoverrides * throw an exception from cli if the values of kubednsoverrides or vnetdnsoverrides are not type dict * add tests for null and non-dict overrides * make the keys of localdnsprofile mixed-case * add required_mode_null_dnsOverrides.json and required_mode_number_dnsOverrides.json * correct the error message I'm looking for, for non-dict dns overrides * remove print stmt from src/aks-preview/azext_aks_preview/_helpers.py * add check for DNS override settings * update the test with dns override settings check * update assertIn msg for test_aks_nodepool_add_with_localdns_required_mode_partial_invalid * break down InvalidArgumentValueError msg into two lines * update existing cassette files * new cassette files for new tests * add three additional cassette files I did not commit before * expect InvalidArgumentValueError when None is provided for DNS overrides * update AKSPreviewAgentPoolUpdateDecoratorCommonTestCase.common_update_localdns_profile * revert the import statement for from azure.cli.command_modules.acs.tests.latest.mocks import * Add a new line * Revert "Add a new line" This reverts commit 2c347c3c6d5afed2bd36aa32818f1dfdbae9a44e. * update version in src/aks-preview/setup.py to align with azure-cli-extensions/src/aks-preview/HISTORY.rst --------- Co-authored-by: juanbe <[email protected]> Co-authored-by: Juan Diego Bencardino <[email protected]> * [Release] Update index.json for extension [ aks-preview-18.0.0b43 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139618131&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/ba0a97c85caacd81d7863a190f1d1f68215d142c * [Network] Feature network NSP 2024 10 01 (#9101) * Add changes related 2024-10-01 * Update changelog * Update tests * Updated tests * updated tests recordings * Update test recordings * [Release] Update index.json for extension [ nsp-1.1.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139724051&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/4790cd2e5819a8d739982c378af223756c0fa0ec * Bump fleet az cli extension version to 1.7.0 (#9277) * bump to 1.6.5 * update the version to 1.7.0 * [Release] Update index.json for extension [ fleet-1.7.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139749279&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/75972f4473c184b540e9514bfd8cddaa2104f1ae * {AKS} Vendor new SDK and bump API version to 2025-08-02-preview (#9276) * {redisenterprise} breaking change warning (#9272) * breaking change warning * Update src/redisenterprise/_breaking_change.py Co-authored-by: Copilot <[email protected]> * style fix * update version --------- Co-authored-by: Nikita Garg <[email protected]> Co-authored-by: Copilot <[email protected]> * [Release] Update index.json for extension [ redisenterprise-1.2.2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139758024&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/cfa24a9086847c85fb737b625c9e50546b8c29b3 * Added SQL DB Retry, SQLVM Delete and SQLMI Delete commands (#9256) * Added SQL DB Retry, SQLVM Delete and SQLMI Delete commands * Updates. * Updates --------- Co-authored-by: Amarjeet Kumar <[email protected]> * [Release] Update index.json for extension [ datamigration-1.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=139765686&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/19559b67b7f99bec3a057327a4483f90059e9729 * {Containerapp} Update recording files (#9281) * hide the --enable-managed-system-pool option for now (#9278) * hide the --enable-managed-system-pool optoin for now * add history * keep _help.py * fix style * update setup.py --------- Co-authored-by: Hao Yuan <[email protected]> * [Release] Update index.json for extension [ aks-preview-18.0.0b44 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140008104&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/bfb734ec564d1cfaa7b94216ea34a20fd78a9050 * Network Cloud CLi - Fixing zip-slip vulnerability in custom operations (#9282) * Removing unsupported commands from the managednetworkfabric CLI. * updating history * Network Cloud CLi - Fixing zip-slip vulnerability * updating history and setup.py versions * linting fixes * [Release] Update index.json for extension [ networkcloud-4.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140083779&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/aff3034796db390283b7556306fc1c5847d0700d * [confcom] Add a warning and path for default change for stdio (#9203) * Add a warning and path for default change for stdio * Satisfy azdev style * Fix help string for --enable-stdio * Refactor resolving stdio into it's own function * Bump version * Bump minor version * [Release] Update index.json for extension [ confcom ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140089922&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/de110edc4faa6464bfa82fe8dc64f46c34ad1d77 * Stumpaudra/fleet/managed namespace (#9035) * base recalibration update update update update update update removing 0401 got tests to work update pylint update pylint update adding get credential commansd update pylint addressing comments simplifying namespace updates updates lint style pylint updates updates to member updates updates updates style updates update update updated test recordings removing unwanted files updates updating metadata linter updating version/history setup updates style style update style flake8 remove preview making hubful recording use global endpoint squash-managednamespace implementation * changing defaults, updating help message * updates * adding validation none check * updates * version --------- Co-authored-by: audrastump <[email protected]> Co-authored-by: Jim Minter <[email protected]> * [Release] Update index.json for extension [ fleet-1.8.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140092040&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/b980420e190b0e3d2ea39605c9c886372b33c4c1 * [AKS] `az aks update`: Add new parameter `--kms-infrastructure-encryption` to enable KMS infrastructure encryption on an existing cluster. (#9287) * Used vendored application insight sdk (#9184) * vendor SDK * Update SDK reference * Fix test * [Release] Update index.json for extension [ spring-1.28.5 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140102657&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/60bc46cafbca3c684431a741acafe1161cd4416c * [redisenterprise] update breaking change file loc (#9294) * update file loc * update version * style fix * style fix --------- Co-authored-by: Nikita Garg <[email protected]> * [Release] Update index.json for extension [ redisenterprise-1.2.3 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140114066&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/351dba70de70d6d32c6ddb414ad6bdfa1549ad70 * Network Cloud CLI version 2025-09-01 GA (#9295) * Removing unsupported commands from the managednetworkfabric CLI. * updating history * Network Cloud CLi - Fixing zip-slip vulnerability * updating history and setup.py versions * linting fixes * Netowrk Cloud CLI version 2025-09-01 GA * [Release] Update index.json for extension [ networkcloud-4.0.0 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140209385&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/c239b89d4477e91c26d4a41c9d716dcbe762432b * {Containerapp} Update test and recording files (#9291) * update (#9297) * [Release] Update index.json for extension [ containerapp ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140238524&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/26143775307ca13b9b86a530ed0cc3f27f789ea9 * [connectedmachine] update get extension image command (#9187) * release 24-11 * update tests * update version * fix version number * fix style * fix style issue * update tests * update tests * update tests * update tests * update tests * upate test * update test * update test * update test * update commands * update * Update src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/image/_show.py Co-authored-by: Copilot <[email protected]> * Update src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/image/_list.py Co-authored-by: Copilot <[email protected]> * update tests * update * update test * update * update --------- Co-authored-by: Copilot <[email protected]> * [Release] Update index.json for extension [ connectedmachine-2.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140341424&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/a9b5e3cd0f474731252d2e171f5fa027b7d7f600 * feat: remove --enable-custom-ca-trust and --disable-custom-ca-trust options (#9283) * [Release] Update index.json for extension [ aks-preview-19.0.0b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140361299&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/89bbdac512889150b71f005451f22a53d1ab330a * add index (#9299) * [servicelinkerpasswordless] fix logging issue (#9300) * [Release] Update index.json for extension [ serviceconnector-passwordless-3.3.6 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140371627&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/695ae6076fd9aaa53012d5d62b3dbff044d75ba6 * Update link in azcli_aks_live_test README (#9247) * updated the api version to 2025-06-01 (#9296) Co-authored-by: Ravindra Dongade <[email protected]> * initial checking for 2025-07-15 stable CLI (#9269) * [Release] Update index.json for extension [ managednetworkfabric-9.0.0b1 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140490277&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/fe7ebde6039cb517af4224dc18916a3c389d916c * [connectedk8s] Update extension CLI to v1.10.11 (#9304) * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * fix CI testcases for nodepool image issues (#8) * update python version to 3.13 (#12) * changes to support gateway association/disassociation for api version '2025-08-01-preview' (#17) * [Azure RBAC] Deprecate 3P mode flags, fix Azure RBAC enablement bug, add E2E coverage and improve logging (#20) * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * Parameterize for airgapped clouds (#5) * Add parameterization for the airgapped clouds * Fix azdev style * MCR path function * azdev, ruff, and mypy --------- Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> * Oras client fix to work with different MCRs (#6) Co-authored-by: mmcneal <[email protected]> * fix CI testcases for nodepool image issues (#8) * update errors for the config and connectivity issues (#11) * update errors * format * style * update python version to 3.13 (#12) * Update cluster diagnostics image to 1.29.3 (#7) * Update cluster diagnostics helm chart to 1.29.3 * Fix lint issues --------- Co-authored-by: bgriddaluru <[email protected]> * RBAC deprecation & fix the issue * typo * fix comments * update tests * add pester tests for connectedk8s cli extension * Pass the force delete param to the API call (#4) * forcedelete * format * add code owner * mypy * fix CI testcases for nodepool image issues (#8) * update errors for the config and connectivity issues (#11) * update errors * format * style * update python version to 3.13 (#12) * rebase * fix tests * fix version * fix mypy, lint * fix test * fix test * fix test * fix test * fix test * rename test * deprecate flags * rebase * rebase * bump version for release --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: Atchut Kumar Barli <[email protected]> Co-authored-by: mcnealm13 <[email protected]> Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: vithumma <[email protected]> * remove hardcoded public ARM endpoint url for fairfax and mooncake (#24) * Bug Fix for FFX mcr url (#22) * [connectedk8s] update release notes and version (#26) * remove redundant test files * remove change not relevant to connectedk8s release --------- Co-authored-by: Bavneet Singh <[email protected]> Co-authored-by: Atchut Kumar Barli <[email protected]> Co-authored-by: Vineeth Thumma <[email protected]> Co-authored-by: mcnealm13 <[email protected]> Co-authored-by: Matthew McNeal (from Dev Box) <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: bgriddaluru <[email protected]> Co-authored-by: vithumma <[email protected]> Co-authored-by: hapate <[email protected]> * [Release] Update index.json for extension [ connectedk8s-1.10.11 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140504087&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/425351566b46b9adca5cbf821b6f526fc572004b * [AKS] Add --enable-opentelemetry-metrics and --enable-opentelemetry-logs to monitoring addons in aks-preview (#9149) * [Release] Update index.json for extension [ aks-preview-19.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140506301&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/d2beb32eaae782455245a986bc6ce59aaffcd213 * {AKS} Bump holmesgpt and add feedback slash command (#9261) * [Release] Update index.json for extension [ aks-agent-1.0.0b5 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=140510943&view=results Last commit: https://github.com/Azure/azure-cli-extensions/commit/07cf2351f42a9c1e86e91c4f4b2b5f6278cca311 * Fix doc link to dmverity-vhd tool (#9068) Moved to - https://github.com/microsoft/integrity-vhd Removal in original location in - https://github.com/microsoft/hcsshim/pull/2318 * [confcom] Fix multiple issues with `acipolicygen --diff` (#9258) * Only attempt to parse ccePolicy if --diff is specified * Fix parsing ccePolicies with no container defintions * Satisfy azdev style * Fix --infrastructure-svn and --fragments-json combo (#9264) * [AKS] Implement platform-managed-keys (PMK) awared validation for KMS customer-managed-key (CMK) (#9301) * [Release] Update index.json for extension [ aks-preview-19.0.0b3 ] Triggered by Az…
1 parent c2788be commit 143ebab

File tree

10 files changed

+496
-2
lines changed

10 files changed

+496
-2
lines changed

src/machinelearningservices/CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 2025-11-04
2+
3+
### Azure Machine Learning CLI (v2) v 2.40.0
4+
- `az ml deployment-template create`
5+
- Create a new deployment template from a YAML file.
6+
- `az ml deployment-template list`
7+
- List deployment templates in a registry
8+
- `az ml deployment-template get`
9+
- Get a specific deployment template by name and version.
10+
- `az ml deployment-template update`
11+
- Update specific fields of an existing deployment template.
12+
- `az ml deployment-template archive`
13+
- Archive a deployment template.
14+
- `az ml deployment-template restore`
15+
- Restore an archived deployment template.
16+
117
## 2025-08-27
218

319
### Azure Machine Learning CLI (v2) v 2.39.0

src/machinelearningservices/azext_mlv2/manual/_help/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from ._connection_help import get_connection_help
2020
from ._data_help import get_data_help
2121
from ._datastore_help import get_datastore_help
22+
from ._deployment_template_help import get_deployment_template_help
2223
from ._environment_help import get_environment_help
2324
from ._feature_set_help import get_feature_set_help
2425
from ._feature_store_entity_help import get_feature_store_entity_help
@@ -50,6 +51,7 @@
5051
get_workspace_help()
5152
get_workspace_outbound_rule_help()
5253
get_datastore_help()
54+
get_deployment_template_help()
5355
get_component_help()
5456
get_connection_help()
5557
get_schedule_help()
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
11+
from knack.help_files import helps
12+
13+
14+
def get_deployment_template_help():
15+
"""Load deployment template help content."""
16+
17+
18+
helps['ml deployment-template'] = """
19+
type: group
20+
short-summary: Manage Azure ML deployment templates.
21+
long-summary: |
22+
Deployment templates are reusable templates that define deployment configurations for Azure ML.
23+
They support registry-based operations only (not workspace-based) and provide a way to
24+
standardize and share deployment configurations across teams and projects.
25+
"""
26+
27+
helps['ml deployment-template list'] = """
28+
type: command
29+
short-summary: List deployment templates in a registry.
30+
long-summary: |
31+
List all deployment templates available in the specified registry. This command
32+
returns all templates along with their metadata including name, version, description, and tags.
33+
examples:
34+
- name: List all deployment templates in a registry
35+
text: az ml deployment-template list --registry-name myregistry
36+
- name: List deployment templates with specific output format
37+
text: az ml deployment-template list --registry-name myregistry --output table
38+
"""
39+
40+
helps['ml deployment-template get'] = """
41+
type: command
42+
short-summary: Get a specific deployment template by name and version.
43+
long-summary: |
44+
Retrieve detailed information about a specific deployment template. If version is not
45+
specified, the latest version will be returned.
46+
examples:
47+
- name: Get a specific version of a deployment template
48+
text: az ml deployment-template get --name my-template --version 1 --registry-name myregistry
49+
"""
50+
51+
helps['ml deployment-template create'] = """
52+
type: command
53+
short-summary: Create a new deployment template from a YAML file.
54+
long-summary: |
55+
Create a new deployment template using a YAML configuration file. The YAML file should
56+
contain the complete deployment template definition including endpoints, parameters, and metadata.
57+
You can override specific values using command-line parameters.
58+
examples:
59+
- name: Create a deployment template from a YAML file
60+
text: az ml deployment-template create --file template.yml --registry-name myregistry
61+
- name: Create with name and version overrides
62+
text: az ml deployment-template create --file template.yml --name custom-template --version 2 --registry-name myregistry
63+
- name: Create without waiting for completion
64+
text: az ml deployment-template create --file template.yml --registry-name myregistry --no-wait
65+
"""
66+
67+
helps['ml deployment-template update'] = """
68+
type: command
69+
short-summary: Update specific fields of an existing deployment template.
70+
long-summary: |
71+
Update metadata fields (description and tags) of an existing deployment template without
72+
requiring a YAML file. This command follows Azure CLI conventions and only accepts specific
73+
field updates. Tags are merged with existing tags rather than replaced.
74+
75+
For structural changes to the deployment template (endpoints, deployment configuration, etc.),
76+
use the 'create' command with a YAML file.
77+
examples:
78+
- name: Update deployment template description
79+
text: az ml deployment-template update --name my-template --version 1 --registry-name myregistry --set "description=Updated description"
80+
- name: Update deployment template tags
81+
text: az ml deployment-template update --name my-template --version 1 --registry-name myregistry --set "tags=environment=production owner=ml-team"
82+
- name: Update both description and tags
83+
text: az ml deployment-template update --name my-template --version 1 --registry-name myregistry --set "description=Production template" --set "tags=status=active"
84+
"""
85+
86+
helps['ml deployment-template archive'] = """
87+
type: command
88+
short-summary: Archive a deployment template.
89+
long-summary: |
90+
Archive a deployment template to mark it as inactive. Archived templates are not
91+
returned in list operations by default. You can archive a specific version or all
92+
versions of a template.
93+
examples:
94+
- name: Archive a specific version
95+
text: az ml deployment-template archive --name my-template --version 1 --registry-name myregistry
96+
- name: Archive without waiting for completion
97+
text: az ml deployment-template archive --name my-template --version 1 --registry-name myregistry --no-wait
98+
"""
99+
100+
helps['ml deployment-template restore'] = """
101+
type: command
102+
short-summary: Restore an archived deployment template.
103+
long-summary: |
104+
Restore a previously archived deployment template to make it active again. Restored
105+
templates will appear in list operations. You can restore a specific version or all
106+
versions of a template.
107+
examples:
108+
- name: Restore a specific version
109+
text: az ml deployment-template restore --name my-template --version 1 --registry-name myregistry
110+
- name: Restore without waiting for completion
111+
text: az ml deployment-template restore --name my-template --version 1 --registry-name myregistry --no-wait
112+
"""

src/machinelearningservices/azext_mlv2/manual/_params/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from ._connection_params import load_connection_params
1717
from ._data_params import load_data_params
1818
from ._datastore_params import load_datastore_params
19+
from ._deployment_template_params import load_deployment_template_params
1920
from ._environment_params import load_environment_params
2021
from ._feature_set_params import load_feature_set_params
2122
from ._feature_store_entity_params import load_feature_store_entity_params
@@ -44,6 +45,7 @@ def load_arguments(self, _):
4445
load_batch_endpoint_params(self)
4546
load_online_deployment_params(self)
4647
load_batch_deployment_params(self)
48+
load_deployment_template_params(self)
4749
load_environment_params(self)
4850
load_compute_params(self)
4951
load_workspace_params(self)
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
11+
from ._common_params import (
12+
add_common_params,
13+
add_description_param,
14+
add_file_param,
15+
add_lro_param,
16+
add_override_param,
17+
add_tags_param,
18+
)
19+
20+
21+
def add_deployment_template_common_param(
22+
c,
23+
name_help_message="Name of the deployment template.",
24+
version_help_message="Version of the deployment template.",
25+
name_required=True,
26+
version_required=True,
27+
):
28+
c.argument("name", options_list=["--name", "-n"], help=name_help_message, required=name_required)
29+
c.argument("version", options_list=["--version", "-v"], help=version_help_message, required=version_required)
30+
31+
32+
def load_deployment_template_params(self):
33+
with self.argument_context("ml deployment-template list") as c:
34+
add_common_params(c)
35+
c.argument(
36+
"registry_name",
37+
options_list=["--registry-name", "-r"],
38+
required=True,
39+
help=(
40+
"Name of the registry. This is required since deployment templates "
41+
"only support registry-name and not workspace."
42+
),
43+
)
44+
45+
with self.argument_context("ml deployment-template get") as c:
46+
add_common_params(c)
47+
add_deployment_template_common_param(c, name_required=True, version_required=True)
48+
c.argument(
49+
"registry_name",
50+
options_list=["--registry-name", "-r"],
51+
required=True,
52+
help=(
53+
"Name of the registry. This is required since deployment templates "
54+
"only support registry-name and not workspace."
55+
),
56+
)
57+
58+
with self.argument_context("ml deployment-template create") as c:
59+
add_common_params(c)
60+
# Optional for create since they can come from file
61+
add_deployment_template_common_param(c, name_required=False, version_required=False)
62+
add_lro_param(c)
63+
add_file_param(c, "deployment-template", "https://aka.ms/ml-cli-v2-deployment-template-yaml")
64+
add_override_param(c)
65+
c.argument(
66+
"registry_name",
67+
options_list=["--registry-name", "-r"],
68+
required=True,
69+
help=(
70+
"Name of the registry. This is required since deployment templates "
71+
"only support registry-name and not workspace."
72+
),
73+
)
74+
75+
with self.argument_context("ml deployment-template update") as c:
76+
add_common_params(c)
77+
add_deployment_template_common_param(c, name_required=True, version_required=True)
78+
add_override_param(c)
79+
add_description_param(c, help_message="Description of the deployment template.")
80+
add_tags_param(c)
81+
c.argument(
82+
"registry_name",
83+
options_list=["--registry-name", "-r"],
84+
required=True,
85+
help=(
86+
"Name of the registry. This is required since deployment templates "
87+
"only support registry-name and not workspace."
88+
),
89+
)
90+
91+
with self.argument_context("ml deployment-template archive") as c:
92+
add_common_params(c)
93+
add_deployment_template_common_param(c, name_required=True, version_required=True)
94+
add_lro_param(c)
95+
c.argument(
96+
"registry_name",
97+
options_list=["--registry-name", "-r"],
98+
required=True,
99+
help=(
100+
"Name of the registry. This is required since deployment templates "
101+
"only support registry-name and not workspace."
102+
),
103+
)
104+
105+
with self.argument_context("ml deployment-template restore") as c:
106+
add_common_params(c)
107+
add_deployment_template_common_param(c, name_required=True, version_required=True)
108+
add_lro_param(c)
109+
c.argument(
110+
"registry_name",
111+
options_list=["--registry-name", "-r"],
112+
required=True,
113+
help=(
114+
"Name of the registry. This is required since deployment templates "
115+
"only support registry-name and not workspace."
116+
),
117+
)

src/machinelearningservices/azext_mlv2/manual/commands.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,25 @@ def load_command_table(self, _):
226226
supports_no_wait=True,
227227
)
228228

229+
with self.command_group("ml deployment-template", client_factory=cf_ml_cl) as g:
230+
custom_tmpl = "azext_mlv2.manual.custom.deployment_template#{}"
231+
custom_deployment_template = CliCommandType(operations_tmpl=custom_tmpl)
232+
g.custom_command("list", "ml_deployment_template_list", command_type=custom_deployment_template)
233+
g.custom_command("get", "ml_deployment_template_get", command_type=custom_deployment_template)
234+
g.custom_command("create", "ml_deployment_template_create", supports_no_wait=True,
235+
command_type=custom_deployment_template)
236+
g.generic_update_command(
237+
"update",
238+
getter_name="_ml_deployment_template_show",
239+
getter_type=custom_deployment_template,
240+
setter_name="_ml_deployment_template_update",
241+
setter_type=custom_deployment_template,
242+
)
243+
g.custom_command("archive", "ml_deployment_template_archive", supports_no_wait=True,
244+
command_type=custom_deployment_template)
245+
g.custom_command("restore", "ml_deployment_template_restore", supports_no_wait=True,
246+
command_type=custom_deployment_template)
247+
229248
with self.command_group("ml compute", client_factory=cf_ml_cl) as g:
230249
custom_tmpl = "azext_mlv2.manual.custom.compute#{}"
231250
custom_compute = CliCommandType(operations_tmpl=custom_tmpl)

src/machinelearningservices/azext_mlv2/manual/custom/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
from .connection import * # pylint: disable=wrong-import-position
3737
from .data import * # pylint: disable=wrong-import-position
3838
from .datastore import * # pylint: disable=wrong-import-position
39+
from .deployment_template import * # pylint: disable=wrong-import-position
3940
from .environment import * # pylint: disable=wrong-import-position
4041
from .feature_set import * # pylint: disable=wrong-import-position
4142
from .feature_store import * # pylint: disable=wrong-import-position,unused-wildcard-import

0 commit comments

Comments
 (0)