[SB] az Servicebus namespace: Add 2026-01 api version - #31970
[SB] az Servicebus namespace: Add 2026-01 api version#31970schaudhari6254888 wants to merge 6 commits into
az Servicebus namespace: Add 2026-01 api version#31970Conversation
️✔️AzureCLI-FullTest
|
|
Hi @schaudhari6254888, |
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| servicebus namespace nsp-configuration | sub group servicebus namespace nsp-configuration added |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR adds Network Security Perimeter (NSP) configuration management commands to the Azure CLI Service Bus module. The new commands allow users to list and show NSP configurations for Service Bus namespaces, enhancing security configuration capabilities.
- Adds
nsp-configuration listandnsp-configuration showcommands for Service Bus namespaces - Updates command group descriptions for better clarity and consistency
- Reorganizes imports in the namespace module
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
__cmd_group.py (servicebus) |
Updates command group description to "Manage Service Bus" |
__cmd_group.py (namespace) |
Updates command group description to "Manage Namespace" |
__cmd_group.py (private_endpoint_connection) |
Updates description to include full command path |
__cmd_group.py (private_link_resource) |
Simplifies description to "private-link-resource" |
nsp_configuration/ |
New directory containing NSP configuration commands implementation |
namespace/__init__.py |
Reorganizes import order for consistency |
latest/__init__.py |
Adds standard pylint and flake8 skip directives |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| ) | ||
| class Show(AAZCommand): | ||
| """Get a NetworkSecurityPerimeterConfigurations resourceAssociationName | ||
| """ |
There was a problem hiding this comment.
The docstring should be more descriptive and follow standard conventions. It should describe what the command does rather than just the technical parameter name.
| """ | |
| """ | |
| Retrieves details about a specific Network Security Perimeter Configuration resource association | |
| within a Service Bus namespace. Use this command to view configuration and association information | |
| for enhanced network security management. | |
| """ |
| ) | ||
| class List(AAZCommand): | ||
| """list of current NetworkSecurityPerimeterConfiguration for Namespace | ||
| """ |
There was a problem hiding this comment.
The docstring should start with a capital letter and be more descriptive. Consider something like "List NetworkSecurityPerimeterConfigurations for a Service Bus namespace."
| """ | |
| """List NetworkSecurityPerimeterConfigurations for a Service Bus namespace.""" |
az Servicebus namespace: Add nsp-configuration show and nsp-configuration list
|
@schaudhari6254888 Do you still want this PR? It's in draft state for several months... |
Hey @evelyn-ys, yes, we want this PR. we are working on one bug on service side once it's released, I'll open the PR for review |
az Servicebus namespace: Add nsp-configuration show and nsp-configuration listaz Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 31970 in repo Azure/azure-cli |
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api versionaz Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version
az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api versionaz Servicebus namespace: Add 2026-01 api version
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
🤖 PR Validation — ❌ Action needed
❌AzureCLI-FullTest
Related command
Description
`Testing Guide
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.