Skip to content

Update managed cleanroom cmdlets#9700

Merged
necusjz merged 12 commits intoAzure:mainfrom
sakshamgargMS:updateManagedCleanroomCmdlets
Mar 27, 2026
Merged

Update managed cleanroom cmdlets#9700
necusjz merged 12 commits intoAzure:mainfrom
sakshamgargMS:updateManagedCleanroomCmdlets

Conversation

@sakshamgargMS
Copy link
Copy Markdown
Contributor


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

Related command

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 wheel==0.30.0 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.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 18, 2026

❌Azure CLI Extensions Breaking Change Test
❌managedcleanroom
rule cmd_name rule_message suggest_message
1012 - SubgroupRemove managedcleanroom frontend analytics attestationreport sub group managedcleanroom frontend analytics attestationreport removed please confirm sub group managedcleanroom frontend analytics attestationreport removed
1002 - CmdRemove managedcleanroom frontend analytics deploymentinfo cmd managedcleanroom frontend analytics deploymentinfo removed please confirm cmd managedcleanroom frontend analytics deploymentinfo removed
1012 - SubgroupRemove managedcleanroom frontend analytics query vote sub group managedcleanroom frontend analytics query vote removed please confirm sub group managedcleanroom frontend analytics query vote removed
1012 - SubgroupRemove managedcleanroom frontend attestation sub group managedcleanroom frontend attestation removed please confirm sub group managedcleanroom frontend attestation removed
1012 - SubgroupRemove managedcleanroom frontend workloads sub group managedcleanroom frontend workloads removed please confirm sub group managedcleanroom frontend workloads removed
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list added parameter from_seqno
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list added parameter scope
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics auditevent list cmd managedcleanroom frontend analytics auditevent list added parameter to_seqno
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics cleanroompolicy cmd managedcleanroom frontend analytics cleanroompolicy added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset list cmd managedcleanroom frontend analytics dataset list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter access_mode
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter allowed_fields
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter container_name
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter dek_keyvault_url
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter dek_secret_id
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter encryption_mode
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter identity_client_id
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter identity_issuer_url
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter identity_name
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter identity_tenant_id
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter kek_keyvault_url
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter kek_maa_url
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter kek_secret_id
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter schema_file
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter schema_format
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter storage_account_type
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish added parameter storage_account_url
⚠️ 1009 - ParaPropRemove managedcleanroom frontend analytics dataset publish cmd managedcleanroom frontend analytics dataset publish update parameter body: removed property required=True
⚠️ 1001 - CmdAdd managedcleanroom frontend analytics dataset queries cmd managedcleanroom frontend analytics dataset queries added
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics dataset show cmd managedcleanroom frontend analytics dataset show added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query list cmd managedcleanroom frontend analytics query list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish added parameter execution_sequence
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish added parameter input_datasets
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish added parameter output_dataset
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish added parameter query_segment
⚠️ 1009 - ParaPropRemove managedcleanroom frontend analytics query publish cmd managedcleanroom frontend analytics query publish update parameter body: removed property required=True
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run added parameter dry_run
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run added parameter end_date
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run added parameter start_date
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query run cmd managedcleanroom frontend analytics query run added parameter use_optimizer
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query runhistory list cmd managedcleanroom frontend analytics query runhistory list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query runresult show cmd managedcleanroom frontend analytics query runresult show added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics query show cmd managedcleanroom frontend analytics query show added parameter api_version
⚠️ 1001 - CmdAdd managedcleanroom frontend analytics query vote cmd managedcleanroom frontend analytics query vote added
⚠️ 1011 - SubgroupAdd managedcleanroom frontend analytics secret sub group managedcleanroom frontend analytics secret added
⚠️ 1006 - ParaAdd managedcleanroom frontend analytics show cmd managedcleanroom frontend analytics show added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend collaboration list cmd managedcleanroom frontend collaboration list added parameter active_only
⚠️ 1006 - ParaAdd managedcleanroom frontend collaboration list cmd managedcleanroom frontend collaboration list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend consent check cmd managedcleanroom frontend consent check added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend consent set cmd managedcleanroom frontend consent set added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend invitation accept cmd managedcleanroom frontend invitation accept added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend invitation list cmd managedcleanroom frontend invitation list added parameter api_version
⚠️ 1006 - ParaAdd managedcleanroom frontend invitation list cmd managedcleanroom frontend invitation list added parameter pending_only
⚠️ 1006 - ParaAdd managedcleanroom frontend invitation show cmd managedcleanroom frontend invitation show added parameter api_version
⚠️ 1015 - SubgroupPropUpdate managedcleanroom frontend oidc sub group managedcleanroom frontend oidc updated property commands from {} to {'managedcleanroom frontend oidc set-issuer-url': {'name': 'managedcleanroom frontend oidc set-issuer-url', 'is_aaz': False, 'parameters': [{'name': '_change_reference', 'options': ['--change-reference']}, {'name': '_acquire_policy_token', 'options': ['--acquire-policy-token']}, {'name': 'collaboration_id', 'options': ['--collaboration-id', '-c'], 'required': True}, {'name': 'url', 'options': ['--url'], 'required': True}, {'name': 'api_version', 'options': ['--api-version'], 'choices': ['2026-03-01-preview'], 'default': '2026-03-01-preview'}]}, 'managedcleanroom frontend oidc keys': {'name': 'managedcleanroom frontend oidc keys', 'is_aaz': False, 'parameters': [{'name': '_change_reference', 'options': ['--change-reference']}, {'name': '_acquire_policy_token', 'options': ['--acquire-policy-token']}, {'name': 'collaboration_id', 'options': ['--collaboration-id', '-c'], 'required': True}, {'name': 'api_version', 'options': ['--api-version'], 'choices': ['2026-03-01-preview'], 'default': '2026-03-01-preview'}]}}
⚠️ 1006 - ParaAdd managedcleanroom frontend oidc issuerinfo show cmd managedcleanroom frontend oidc issuerinfo show added parameter api_version
⚠️ 1001 - CmdAdd managedcleanroom frontend report cmd managedcleanroom frontend report added
⚠️ 1006 - ParaAdd managedcleanroom frontend show cmd managedcleanroom frontend show added parameter active_only
⚠️ 1006 - ParaAdd managedcleanroom frontend show cmd managedcleanroom frontend show added parameter api_version

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 18, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown
Contributor

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Mar 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank 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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 18, 2026

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Mar 18, 2026
- Updated VERSION in setup.py to 1.0.0b3
- Merged 1.0.0b4 changelog into 1.0.0b3 in HISTORY.rst
- All features remain the same (API versioning support)
- Added helper files to .gitignore

Validation passed:
- 37/37 pytest tests passed
- azdev style: PASSED
- azdev linter: PASSED
- test_index.py: 9 tests passed (2 skipped)
- aaz folder: unchanged
@github-actions github-actions bot removed the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Mar 18, 2026
@yonzhan yonzhan requested a review from necusjz March 18, 2026 08:00
@sakshamgargMS sakshamgargMS force-pushed the updateManagedCleanroomCmdlets branch from 8252dbb to ef2850e Compare March 19, 2026 10:08
- Pulled latest spec from azure-cleanroom develop branch
- Fixed ApplicationState empty enum value (AutoRest blocker)
- Regenerated analytics_frontend_api SDK with updated method signatures
- Applied Microsoft MIT License headers to all SDK files
- Updated custom code for SDK method renames (5 functions)
- Updated test mocks for new SDK methods (14 changes across 3 files)
- Added comprehensive pylint suppressions for generated code

SDK Method Changes (internal, transparent to CLI):
- list → list_get
- analytics_dataset_* → analytics_datasets_* (plural)
- check_consent_document_id_get → consent_document_id_get
- set_consent_document_id_put → consent_document_id_put

Validation (all passed):
- pytest: 37/37 tests passed
- azdev style: PASSED
- azdev linter: PASSED
- test_index: PASSED
- aaz folder: unchanged
- wheel: built successfully (157K)

Version: 1.0.0b3 (kept same as requested)
@sakshamgargMS sakshamgargMS force-pushed the updateManagedCleanroomCmdlets branch from ef2850e to d48ae3c Compare March 19, 2026 10:12
@necusjz
Copy link
Copy Markdown
Member

necusjz commented Mar 20, 2026

are they expected?
image

@sakshamgargMS sakshamgargMS marked this pull request as draft March 20, 2026 11:51
@sakshamgargMS sakshamgargMS marked this pull request as ready for review March 23, 2026 08:18
@sakshamgargMS
Copy link
Copy Markdown
Contributor Author

are they expected? image

yes expected

Saksham Garg and others added 2 commits March 24, 2026 12:13
- Removed .opencode/ and personal helper scripts from global .gitignore
- These are extension-specific development files that should not be in the global ignore list
- Files will remain untracked locally without affecting the repository

Addresses PR review feedback
@sakshamgargMS
Copy link
Copy Markdown
Contributor Author

Check says I have modified index.json when I have not
image
@necusjz

@necusjz
Copy link
Copy Markdown
Member

necusjz commented Mar 25, 2026

@sakshamgargMS plz sync with the latest main branch, thanks.

@sakshamgargMS
Copy link
Copy Markdown
Contributor Author

@necusjz I have synced with main - please review/approve

@necusjz necusjz merged commit a4f54f8 into Azure:main Mar 27, 2026
24 checks passed
@azclibot
Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ managedcleanroom-1.0.0b4 ] : https://dev.azure.com/msazure/One/_build/results?buildId=158406138&view=results

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

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants