You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ManagedCleanroom] Add --subdirectory parameter for dataset publish (Azure#9852)
Adds support for mounting a subdirectory/prefix inside the storage
container when publishing analytics datasets, providing parity with the
upstream cleanroom extension's blobfuse subdirectory feature.
Changes:
* Added --subdirectory parameter to
`az managedcleanroom frontend analytics dataset publish`.
* The new field is propagated into the request body's `store.subdirectory`
property only when set.
* Added validation: --subdirectory combined with --encryption-mode CPK
raises a CLIError, matching the service-side restriction in the
cleanroom-side schema and reference CLI.
* Updated the auto-generated `analytics_frontend_api` SDK JSON dict
templates (sync + async operations) to include `subdirectory` after
`awsCgsSecretId`. The change matches what a fresh autorest regen
produces from the updated frontend.yaml; only the substantive subdirectory
delta is included to avoid unrelated cosmetic churn from the team's SDK
post-processing.
* Added unit tests covering: subdirectory propagation in SSE mode,
default omission when not provided, and CPK rejection.
* Updated _help.py with the new parameter doc entry and an example
showing SSE publish with --subdirectory.
* Bumped extension version 1.0.0b5 -> 1.0.0b6 and added HISTORY.rst entry.
Validation:
* azdev style managedcleanroom: PASSED (pylint + flake8)
* python scripts/ci/test_index.py -q: OK
* All 57 unit tests pass (3 new subdirectory tests included).
Co-authored-by: Md Danish <mddanish@microsoft.com>
0 commit comments