Skip to content

[StorageDiscovery] Adding support for 2026-10-01-preview service version - #10512

Open
Amanda Nguyen (amnguye) wants to merge 7 commits into
Azure:mainfrom
amnguye:feature/storagediscovery/2026-10-01-preview
Open

Amanda Nguyen (amnguye) wants to merge 7 commits into
Azure:mainfrom
amnguye:feature/storagediscovery/2026-10-01-preview

Conversation

@amnguye

@amnguye Amanda Nguyen (amnguye) commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes
⚠️ None
⚠️Azure CLI Extensions Breaking Change Test
⚠️storage-discovery
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd storage-discovery workspace create cmd storage-discovery workspace create added parameter capabilities
⚠️ 1001 - CmdAdd storage-discovery workspace query cmd storage-discovery workspace query added
⚠️ 1011 - SubgroupAdd storage-discovery workspace report sub group storage-discovery workspace report added
⚠️ 1006 - ParaAdd storage-discovery workspace update cmd storage-discovery workspace update added parameter capabilities

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 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 balanced review requested due to automatic review settings October 23, 2026 05:13
@azure-pipelines

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

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

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.

🟡 Changes recommended

The beta release lacks the preview metadata flag used for release labeling, and report-command examples need correction.

3 open issues
What changed in this PR

Adds 2026-10-01-preview support to the Storage Discovery CLI extension, including workspace capabilities and preview query/report commands.

Changes:

  • Adds capability configuration with preservation of omitted settings during partial updates.
  • Introduces workspace queries and named-report listing, retrieval, and generation.
  • Updates release documentation, unit tests, and scenario recordings for 1.1.0b1.
File Description
src/​storage-discovery/​setup.py Bumps version to 1.1.0b1.
src/​storage-discovery/​README.md Documents capabilities and query/report commands.
src/​storage-discovery/​HISTORY.rst Records preview-release features.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​test_workspace_update.py Tests partial-update preservation and command registration.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​test_storage_discovery_features.py Tests requests, responses, pagination, polling, and errors.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​test_storage_discovery_capabilities.py Adds a capabilities lifecycle scenario.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_update.yaml Refreshes update recordings for the preview API.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_show.yaml Refreshes show recordings for the preview API.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_list.yaml Refreshes subscription-list recording.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_delete.yaml Refreshes deletion scenario recordings.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_create.yaml Refreshes creation scenario recordings.
src/​storage-discovery/​azext_storage_discovery/​tests/​latest/​recordings/​test_storage_discovery_workspace_capabilities.yaml Records capability creation, retrieval, and updates.
src/​storage-discovery/​azext_storage_discovery/​custom.py Preserves capability settings and disables query no-wait options.
src/​storage-discovery/​azext_storage_discovery/​commands.py Registers custom command implementations.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​report/​_show.py Adds named-report retrieval.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​report/​_list.py Adds paginated report listing at both scopes.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​report/​_generate_report.py Adds report generation and result handling.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​report/​__init__.py Exports report commands.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​report/​__cmd_group.py Registers the preview report command group.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_update.py Adds capability update schemas and preview API routing.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_show.py Exposes capabilities using the preview API.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_query.py Adds workspace query execution and result handling.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_list.py Exposes capabilities in workspace listings.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_delete.py Switches deletion to the preview API.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​_create.py Adds capability creation schemas and corrects a help example.
src/​storage-discovery/​azext_storage_discovery/​aaz/​latest/​storage_discovery/​workspace/​__init__.py Exports the workspace query command.

Review effort: Balanced

Comment thread src/storage-discovery/setup.py
Comment thread src/storage-discovery/README.md Outdated
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

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.

5 participants