Skip to content

[Servicebus] az servicebus namespace: 2026-01 api version - #31970

Open
schaudhari6254888 wants to merge 9 commits into
Azure:devfrom
schaudhari6254888:2025-05
Open

[Servicebus] az servicebus namespace: 2026-01 api version#31970
schaudhari6254888 wants to merge 9 commits into
Azure:devfrom
schaudhari6254888:2025-05

Conversation

@schaudhari6254888

@schaudhari6254888 schaudhari6254888 commented Aug 20, 2025

Copy link
Copy Markdown
Member

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes Tests
⚠️ None ️✔️ 130/130
⚠️AzureCLI-BreakingChangeTest
⚠️servicebus
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd servicebus georecovery-alias authorization-rule list cmd servicebus georecovery-alias authorization-rule list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus georecovery-alias authorization-rule list cmd servicebus georecovery-alias authorization-rule list added parameter pagination_token
⚠️ 1009 - ParaPropRemove servicebus georecovery-alias create cmd servicebus georecovery-alias create update parameter partner_namespace: removed property required=True
⚠️ 1006 - ParaAdd servicebus georecovery-alias list cmd servicebus georecovery-alias list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus georecovery-alias list cmd servicebus georecovery-alias list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus migration list cmd servicebus migration list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus migration list cmd servicebus migration list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace authorization-rule list cmd servicebus namespace authorization-rule list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus namespace authorization-rule list cmd servicebus namespace authorization-rule list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace create cmd servicebus namespace create added parameter ip_address_type
⚠️ 1006 - ParaAdd servicebus namespace list cmd servicebus namespace list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus namespace list cmd servicebus namespace list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace network-rule-set list cmd servicebus namespace network-rule-set list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus namespace network-rule-set list cmd servicebus namespace network-rule-set list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace private-endpoint-connection list cmd servicebus namespace private-endpoint-connection list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus namespace private-endpoint-connection list cmd servicebus namespace private-endpoint-connection list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace private-link-resource show cmd servicebus namespace private-link-resource show added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus namespace private-link-resource show cmd servicebus namespace private-link-resource show added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus namespace update cmd servicebus namespace update added parameter ip_address_type
⚠️ 1006 - ParaAdd servicebus namespace update cmd servicebus namespace update added parameter platform_capabilities
⚠️ 1010 - ParaPropUpdate servicebus namespace update cmd servicebus namespace update update parameter minimum_tls_version: updated property choices from ['1.0', '1.1', '1.2'] to ['1.0', '1.1', '1.2', '1.3']
⚠️ 1006 - ParaAdd servicebus queue authorization-rule list cmd servicebus queue authorization-rule list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus queue authorization-rule list cmd servicebus queue authorization-rule list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus queue create cmd servicebus queue create added parameter user_metadata
⚠️ 1006 - ParaAdd servicebus queue list cmd servicebus queue list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus queue list cmd servicebus queue list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus queue update cmd servicebus queue update added parameter enable_duplicate_detection
⚠️ 1006 - ParaAdd servicebus queue update cmd servicebus queue update added parameter enable_partitioning
⚠️ 1006 - ParaAdd servicebus queue update cmd servicebus queue update added parameter enable_session
⚠️ 1006 - ParaAdd servicebus queue update cmd servicebus queue update added parameter user_metadata
⚠️ 1006 - ParaAdd servicebus topic authorization-rule list cmd servicebus topic authorization-rule list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus topic authorization-rule list cmd servicebus topic authorization-rule list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus topic create cmd servicebus topic create added parameter user_metadata
⚠️ 1006 - ParaAdd servicebus topic list cmd servicebus topic list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus topic list cmd servicebus topic list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus topic subscription create cmd servicebus topic subscription create added parameter user_metadata
⚠️ 1006 - ParaAdd servicebus topic subscription list cmd servicebus topic subscription list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus topic subscription list cmd servicebus topic subscription list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus topic subscription rule list cmd servicebus topic subscription rule list added parameter pagination_limit
⚠️ 1006 - ParaAdd servicebus topic subscription rule list cmd servicebus topic subscription rule list added parameter pagination_token
⚠️ 1006 - ParaAdd servicebus topic subscription update cmd servicebus topic subscription update added parameter user_metadata
⚠️ 1006 - ParaAdd servicebus topic update cmd servicebus topic update added parameter user_metadata

Related command

Description
Introduced API version 2026-01-01 as the target version for the ServiceBus CLI commands.
Added a new optional parameter --ip-address-type to az servicebus namespace create.
Added the same parameter --ip-address-type to az servicebus namespace update, allowing the value to be modified on an existing namespace.
Regenerated/updated the command models and help text for the new API version.

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 feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Aug 20, 2025

Copy link
Copy Markdown
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi schaudhari6254888,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Aug 20, 2025

Copy link
Copy Markdown
⚠️AzureCLI-BreakingChangeTest
⚠️servicebus
rule cmd_name rule_message suggest_message
⚠️ 1011 - SubgroupAdd servicebus namespace nsp-configuration sub group servicebus namespace nsp-configuration added

@yonzhan

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions

Copy link
Copy Markdown

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

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.

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 list and nsp-configuration show commands 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
"""

Copilot AI Aug 20, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring should be more descriptive and follow standard conventions. It should describe what the command does rather than just the technical parameter name.

Suggested change
"""
"""
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.
"""

Copilot uses AI. Check for mistakes.
)
class List(AAZCommand):
"""list of current NetworkSecurityPerimeterConfiguration for Namespace
"""

Copilot AI Aug 20, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring should start with a capital letter and be more descriptive. Consider something like "List NetworkSecurityPerimeterConfigurations for a Service Bus namespace."

Suggested change
"""
"""List NetworkSecurityPerimeterConfigurations for a Service Bus namespace."""

Copilot uses AI. Check for mistakes.
@microsoft-github-policy-service microsoft-github-policy-service Bot added Auto-Assign Auto assign by bot Service Bus az servicebus labels Aug 20, 2025
@schaudhari6254888 schaudhari6254888 changed the title Servicebus NSP cmdlets added [Servicebus] az Servicebus namespace: Add nsp-configuration show and nsp-configuration list Aug 20, 2025
@schaudhari6254888
schaudhari6254888 marked this pull request as draft August 20, 2025 11:59
@evelyn-ys

Copy link
Copy Markdown
Contributor

schaudhari6254888 Do you still want this PR? It's in draft state for several months...

@schaudhari6254888

Copy link
Copy Markdown
Member Author

schaudhari6254888 Do you still want this PR? It's in draft state for several months...

Hey Yishi Wang (@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

@schaudhari6254888 schaudhari6254888 changed the title [Servicebus] az Servicebus namespace: Add nsp-configuration show and nsp-configuration list [SB/EH] az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version Jul 31, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

@schaudhari6254888 schaudhari6254888 changed the title [SB/EH] az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version [SB] az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version Aug 2, 2026
@schaudhari6254888 schaudhari6254888 changed the title [SB] az Servicebus namespaceaz eventhubs namespace: Add 2026-01 api version [SB] az Servicebus namespace: Add 2026-01 api version Aug 2, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

@schaudhari6254888 schaudhari6254888 changed the title [SB] az Servicebus namespace: Add 2026-01 api version {SB} az Servicebus namespace: Add 2026-01 api version Aug 4, 2026
@azure-client-tools-agent

Copy link
Copy Markdown

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: cloud identifier, payment card
  • Replaced with typed [REDACTED:category] placeholders in: no writable PR fields
  • Could not edit: file changes on a fork branch
  • Comment/review owners notified because Agent Assist cannot edit another user's text: none

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Keep the redaction · ❌ Dispute the redaction

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.


Posted by agent-assist (autonomous bug-fix pipeline).

@schaudhari6254888 schaudhari6254888 changed the title {SB} az Servicebus namespace: Add 2026-01 api version [ServiceBus] az Servicebus namespace: Add 2026-01 api version Aug 9, 2026
@schaudhari6254888
schaudhari6254888 requested review from a team as code owners August 9, 2026 11:15
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

@schaudhari6254888 schaudhari6254888 changed the title [ServiceBus] az Servicebus namespace: Add 2026-01 api version [Servicebus] az servicebus namespace: 2026-01 api version Aug 9, 2026
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants