chore: Microsoft.CleanRoom Update API Version to 2026-03-31-preview#9727
chore: Microsoft.CleanRoom Update API Version to 2026-03-31-preview#9727necusjz merged 18 commits intoAzure:mainfrom
Conversation
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
…into chore-cleanroom-rp-update
❌Azure CLI Extensions Breaking Change Test
|
|
Hi @kkarmakarMS, |
|
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>
|
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
|
There was a problem hiding this comment.
Pull request overview
This PR updates the managedcleanroom Azure CLI extension to align with the Microsoft.CleanRoom 2026-03-31-preview API version, including regenerated AAZ command surfaces and an extension version bump.
Changes:
- Bump extension version to
1.0.0b3and add release notes. - Update AAZ command modules to use
api-version=2026-03-31-preview. - Refresh command schemas/examples to match the new API shape (e.g., collaboration collaborators model, consortium fields, renamed consortium-view certificate flag).
Reviewed changes
Copilot reviewed 32 out of 32 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| src/managedcleanroom/setup.py | Bumps extension version to 1.0.0b3. |
| src/managedcleanroom/HISTORY.rst | Adds 1.0.0b3 release notes for the API version update. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/__cmd_group.py | Updates command group description text. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/contract/_show.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/contract/_propose_template.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/contract/_list.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_create.py | Updates API version; renames consortium service certificate CLI flag. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_update.py | Updates API version; renames consortium service certificate CLI flag; updates example. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_show.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_list.py | Updates API version and adds RG-scoped example. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_delete.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_wait.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_create.py | Updates API version; adjusts request/response schema (removes consortiumType; adds member recoveryRole; adds new read fields). |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_update.py | Updates API version; adjusts update schema similarly (removes consortiumType; adds recoveryRole and new read fields). |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_show.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_list.py | Updates API version; refreshes read schema fields; adds RG-scoped example. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_delete.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_wait.py | Updates mgmt-plane API version to 2026-03-31-preview; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_pause.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_resume.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_recover.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_create.py | Updates API version; shifts create payload toward collaborators list model; updates example. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_update.py | Updates API version; simplifies update args/body (tags-focused); refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_show.py | Updates API version; refreshes read schema fields (adds collaborators + collaborationState). |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_list.py | Updates API version; refreshes read schema fields; adds RG-scoped example. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_delete.py | Updates mgmt-plane API version to 2026-03-31-preview. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_wait.py | Updates mgmt-plane API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_pause.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_resume.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_recover.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_enable_workload.py | Updates API version; refreshes read schema fields. |
| src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_add_collaborator.py | Updates API version; changes collaborator input model and examples. |
Comments suppressed due to low confidence (1)
src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_create.py:75
- The CLI option for the service certificate changed from
--certificate-pemto--consortium-service-certificate-pem. If existing users/scripts relied on the old flag, this is a breaking CLI change. Consider keeping--certificate-pemas an additional alias inoptions=[...](while retaining the new name) to preserve backwards compatibility.
_args_schema.consortium_service_certificate_pem = AAZStrArg(
options=["--consortium-service-certificate-pem"],
arg_group="Properties",
help="Gets or sets the CCF public service certificate in PEM format.",
required=True,
)
src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_list.py
Outdated
Show resolved
Hide resolved
...anroom/azext_managedcleanroom/aaz/latest/managedcleanroom/collaboration/_add_collaborator.py
Show resolved
Hide resolved
...nagedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_update.py
Outdated
Show resolved
Hide resolved
...managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium_view/_list.py
Outdated
Show resolved
Hide resolved
src/managedcleanroom/azext_managedcleanroom/aaz/latest/managedcleanroom/consortium/_list.py
Outdated
Show resolved
Hide resolved
|
@necusjz can you please check this soon ? Need it for an urgent release. |
|
[Release] Update index.json for extension [ managedcleanroom-1.0.0b3 ] : https://dev.azure.com/msazure/One/_build/results?buildId=158370425&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.PR Owner Inputs
AAZ repo PR: Azure/aaz#975
Manually tested the scenarios
Ran tests on existing test scripts using azdev
Requesting squash commit merge please.
Breaking changes are fine, this is a brand new service and it is not even released for preview. We do not have customers yet.