Quantum Add 'az quantum suite-offers target list' to list provider-account targets and status - #10194
Open
v-elegacheva wants to merge 1 commit into
Open
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
Ethan Yang (necusjz),
ZelinWang (wangzelin007) and
Yong Zhang (yonzhan)
August 7, 2026 20:13
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
…account targets and status
v-elegacheva
force-pushed
the
ekat/quantum-target-list-provider-account
branch
from
August 10, 2026 20:57
e69a881 to
c8de307
Compare
v-elegacheva
marked this pull request as ready for review
August 10, 2026 20:59
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the quantum Azure CLI extension with a new provider-account (suite offer) target listing flow that doesn’t require an Azure Quantum workspace, and bumps the extension version/release notes accordingly.
Changes:
- Adds a new command:
az quantum suite-offers target list, wired to a newsuiteoffersoperations module and reusing the existingtransform_targetstable output. - Introduces data-plane support for provider-account status via a custom request (
cf_provider_account_status) and V2 regional base URL handling. - Updates versioning artifacts (
setup.py,HISTORY.rst) and adds unit tests covering response normalization/transform behavior.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/quantum/setup.py | Bumps extension version to 1.0.0b21. |
| src/quantum/HISTORY.rst | Adds release notes for the new suite-offers target listing command. |
| src/quantum/azext_quantum/tests/latest/test_quantum_targets.py | Adds unit tests for provider-account target listing normalization and transformer shape. |
| src/quantum/azext_quantum/operations/suiteoffers.py | Implements list_targets and provider-account location resolution using suite offer listing. |
| src/quantum/azext_quantum/commands.py | Registers the new quantum suite-offers target list command. |
| src/quantum/azext_quantum/_params.py | Adds --provider-id and optional --location for quantum suite-offers target list. |
| src/quantum/azext_quantum/_help.py | Adds help text and examples for the new suite-offers command group. |
| src/quantum/azext_quantum/_client_factory.py | Adds base_url_v2, suite-offers mgmt client factory, and provider-account status request helper. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Collaborator
|
/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
Summary
Adds a new command for admin/research-lead users who operate in a provider-account (suite offer) context rather than a workspace.
az quantum suite-offers target listlists a provider account's targets and their status without requiring a workspace.What changed
az quantum suite-offers target list -p <providerId> [-l <location>]in a newsuite-offers targetcommand group.--location/-lis optional; when omitted it is resolved automatically from the provider account's suite offer..../suiteoffers/{providerId}/providerStatus) by reusing the generated client's authenticated pipeline viasend_request.1.0.0b21with a HISTORY.rst entry.