Azure Clean Room: CLI for 2026-04-30-preview#9848
Conversation
…ate.CleanRoom patches - Regenerate aaz/ subtree from openapi.json (2026-04-30-preview) - Add 'collaboration get-readonly-kube-config' command - PUT -> PATCH on collaboration/consortium/consortium-view update - Restore PrivateEndpointUtil + rewire URLs through env-var-driven namespace Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…review Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| managedcleanroom collaboration create | cmd managedcleanroom collaboration create added parameter resource_location |
||
| managedcleanroom collaboration enable-workload | cmd managedcleanroom collaboration enable-workload update parameter workload_type: updated property choices from ['analytics'] to ['Analytics'] |
||
| managedcleanroom collaboration get-readonly-kube-config | cmd managedcleanroom collaboration get-readonly-kube-config added |
||
| managedcleanroom collaboration update | cmd managedcleanroom collaboration update added parameter resource_location |
||
| managedcleanroom consortium create | cmd managedcleanroom consortium create added parameter resource_location |
||
| managedcleanroom consortium update | cmd managedcleanroom consortium update added parameter resource_location |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
There was a problem hiding this comment.
Pull request overview
Updates the managedcleanroom Azure CLI extension release (1.0.0b6) and introduces a new generated AAZ command to retrieve a collaboration’s read-only kubeconfig.
Changes:
- Bump extension version to
1.0.0b6and add release notes. - Add
az managedcleanroom collaboration get-readonly-kube-config(AAZ-generated command) and export it from the collaboration command package. - Wire the new command’s mgmt-plane URL through
PrivateEndpointUtil.get_configured_namespace().
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/managedcleanroom/setup.py |
Version bump to 1.0.0b6. |
src/managedcleanroom/HISTORY.rst |
Adds 1.0.0b6 release notes describing the update. |
src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_get_readonly_kube_config.py |
Adds the generated AAZ command implementation for fetching the read-only kubeconfig. |
src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/__init__.py |
Exposes the new command via wildcard import. |
| "managedcleanroom collaboration get-readonly-kube-config", | ||
| ) | ||
| class GetReadonlyKubeConfig(AAZCommand): | ||
| """Gets the readonly kubeconfig for the collaboration. |
…apply patches Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| +++++++ | ||
| * Update commands to reflect new API version 2026-04-30-preview | ||
| * Added: ``az managedcleanroom collaboration get-readonly-kube-config`` to fetch the read-only kubeconfig for a collaboration | ||
| * PUT -> PATCH on ``collaboration update``, ``consortium update``, ``consortium-view update`` |
There was a problem hiding this comment.
NIT:
PUT -> PATCH on ``collaboration update``, ``consortium update``, ``consortium-view update``
This is not required. Whenever we auto-generate, it suggests PUT but it should be PATCH, something to fix at the TSP maybe.
|
@necusjz can you please take a look at this? |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
Related to Azure/aaz#1000 |
|
@necusjz thanks, seems like all tests passed. Can you please help merging this ? |
|
[Release] Update index.json for extension [ managedcleanroom-1.0.0b6 ] : https://dev.azure.com/msazure/One/_build/results?buildId=163222385&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)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.jsonautomatically.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.