Skip to content

[AI Manager] Add manager aliases to nested commands - #10230

Merged
Ethan Yang (necusjz) merged 1 commit into
Azure:mainfrom
techworldhello:wangjessi/add-manager-alias
Aug 19, 2026
Merged

[AI Manager] Add manager aliases to nested commands#10230
Ethan Yang (necusjz) merged 1 commit into
Azure:mainfrom
techworldhello:wangjessi/add-manager-alias

Conversation

@techworldhello

@techworldhello Jessie (techworldhello) commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes
⚠️ None
⚠️Azure CLI Extensions Breaking Change Test
⚠️aimanager
rule cmd_name rule_message suggest_message
⚠️ 1010 - ParaPropUpdate aimanager modelsource add cmd aimanager modelsource add update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager modelsource delete cmd aimanager modelsource delete update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager modelsource list cmd aimanager modelsource list update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager modelsource show cmd aimanager modelsource show update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager modelsource update cmd aimanager modelsource update update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager modelsource wait cmd aimanager modelsource wait update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment add cmd aimanager namespace modeldeployment add update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment delete cmd aimanager namespace modeldeployment delete update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment list cmd aimanager namespace modeldeployment list update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment show cmd aimanager namespace modeldeployment show update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment update cmd aimanager namespace modeldeployment update update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']
⚠️ 1010 - ParaPropUpdate aimanager namespace modeldeployment wait cmd aimanager namespace modeldeployment wait update parameter ai_manager_name: updated property options from ['--aimanager-name'] to ['--aimanager-name', '--manager', '-m']

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

Related command

Support --manager and -m for aimanager modelsource and namespace
modeldeployment commands. Bump the extension version to 1.4.1 as its a minor fix.

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install azdev required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI lite review requested due to automatic review settings August 19, 2026 01:12
@azure-client-tools-bot-prd

Copy link
Copy Markdown

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

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds user-friendly aliases for the AI Manager name parameter in nested aimanager commands, and bumps the aimanager extension to v1.5.0 to publish the change.

Changes:

  • Add --manager and -m as aliases for --aimanager-name on az aimanager modelsource and az aimanager namespace modeldeployment.
  • Bump extension version to 1.5.0 and update changelog/metadata accordingly.
  • Update scenario tests to use the new aliases.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/aimanager/setup.py Bumps extension package version to 1.5.0.
src/aimanager/HISTORY.rst Documents the new --manager/-m aliases in release notes.
src/aimanager/azext_aimanager/tests/latest/test_modelsource_scenario.py Updates modelsource scenario command prefix to use --manager.
src/aimanager/azext_aimanager/tests/latest/test_modeldeployment_scenario.py Updates modeldeployment scenario command prefix to use -m.
src/aimanager/azext_aimanager/azext_metadata.json Updates extension metadata version to 1.5.0.
src/aimanager/azext_aimanager/_params.py Adds --manager and -m to ai_manager_name options for the relevant command groups.

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

Comment thread src/aimanager/azext_aimanager/tests/latest/test_modelsource_scenario.py Outdated
@yonzhan

Copy link
Copy Markdown
Collaborator

AI Manager

@xmzhao0822

Ximeng Zhao (xmzhao0822) commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Looks good to me

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@necusjz
Ethan Yang (necusjz) merged commit fd6bfad into Azure:main Aug 19, 2026
24 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ aimanager-1.4.1 ] : https://dev.azure.com/msazure/One/_build/results?buildId=177244564&view=results

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants