Repository navigation
[StorageDiscovery] Adding support for 2026-10-01-preview service version - #10512
Open
Amanda Nguyen (amnguye) wants to merge 7 commits into
Open
Amanda Nguyen (amnguye) wants to merge 7 commits into
Amanda Nguyen (amnguye) wants to merge 7 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Contributor
There was a problem hiding this comment.
🟡 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
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


🤖 PR Validation —⚠️ Review suggested
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 azdevrequired)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.