Repository navigation
[Relay] 2026-07-01-preview - #34180
Open
schaudhari6254888 wants to merge 13 commits into
Open
schaudhari6254888 wants to merge 13 commits into
schaudhari6254888 wants to merge 13 commits into
Conversation
|
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.
Copilot review overview
🟡 Changes recommended
User-facing help, command hierarchy, and test coverage issues remain unresolved.
Review effort: Balanced
Findings: 4
Open (7)
Add scenario coverage for Relay cluster lifecycle commands · New Flatten redundant network rule set default command group · New Add network rule set scenario coverage · New Add scenario coverage for Relay private endpoint commands · New Correct help text to describe private endpoint connection deletion · New Correct private link resource help to identify Microsoft Relay · New Correct generated help to identify Microsoft Relay · New
What changed in this PR
Adds AAZ-generated Azure Relay commands for the 2026-07-01-preview management API.
Changes:
- Adds Relay cluster lifecycle, region, SKU, and namespace commands.
- Adds private endpoint connection and private link resource commands.
- Adds namespace network rule set management.
| File | Description |
|---|---|
relay/aaz/latest/__init__.py |
Updates generated package metadata. |
relay/cluster/__cmd_group.py |
Registers the cluster group. |
relay/cluster/__init__.py |
Exports cluster commands. |
relay/cluster/_available_region.py |
Lists available cluster regions. |
relay/cluster/_create.py |
Creates clusters. |
relay/cluster/_delete.py |
Deletes clusters. |
relay/cluster/_list.py |
Lists clusters. |
relay/cluster/_show.py |
Retrieves clusters. |
relay/cluster/_update.py |
Updates clusters. |
relay/cluster/_wait.py |
Waits for cluster state. |
relay/cluster/namespace/__cmd_group.py |
Registers cluster namespaces. |
relay/cluster/namespace/__init__.py |
Exports namespace commands. |
relay/cluster/namespace/_list.py |
Lists assigned namespaces. |
relay/cluster/skus/__cmd_group.py |
Registers cluster SKUs. |
relay/cluster/skus/__init__.py |
Exports SKU commands. |
relay/cluster/skus/_list.py |
Lists supported SKUs. |
relay/namespace/network_rule_set/__cmd_group.py |
Registers network rules. |
relay/namespace/network_rule_set/__init__.py |
Exports the rule group. |
relay/namespace/network_rule_set/default/__cmd_group.py |
Registers the default singleton. |
relay/namespace/network_rule_set/default/__init__.py |
Exports rule commands. |
relay/namespace/network_rule_set/default/_create.py |
Creates network rules. |
relay/namespace/network_rule_set/default/_show.py |
Retrieves network rules. |
relay/namespace/network_rule_set/default/_update.py |
Updates network rules. |
relay/namespace/private_endpoint_connection/__cmd_group.py |
Registers endpoint connections. |
relay/namespace/private_endpoint_connection/__init__.py |
Exports connection commands. |
relay/namespace/private_endpoint_connection/_create.py |
Creates endpoint connections. |
relay/namespace/private_endpoint_connection/_delete.py |
Deletes endpoint connections. |
relay/namespace/private_endpoint_connection/_list.py |
Lists endpoint connections. |
relay/namespace/private_endpoint_connection/_show.py |
Retrieves endpoint connections. |
relay/namespace/private_endpoint_connection/_update.py |
Updates endpoint connections. |
relay/namespace/private_endpoint_connection/_wait.py |
Waits for connection state. |
relay/namespace/private_link_resource/__cmd_group.py |
Registers private link resources. |
relay/namespace/private_link_resource/__init__.py |
Exports private link commands. |
relay/namespace/private_link_resource/_list.py |
Lists private link resources. |
relay/namespace/private_link_resource/_show.py |
Retrieves private link resources. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+14
to
+16
| @register_command( | ||
| "relay cluster create", | ||
| ) |
Comment on lines
+14
to
+16
| @register_command_group( | ||
| "relay namespace network-rule-set default", | ||
| ) |
Comment on lines
+14
to
+16
| @register_command( | ||
| "relay namespace network-rule-set default create", | ||
| ) |
Comment on lines
+14
to
+16
| @register_command( | ||
| "relay namespace private-endpoint-connection create", | ||
| ) |
| confirmation="Are you sure you want to perform this operation?", | ||
| ) | ||
| class Delete(AAZCommand): | ||
| """Delete an existing namespace. This operation also removes all associated resources under the namespace. |
| "relay namespace private-link-resource list", | ||
| ) | ||
| class List(AAZCommand): | ||
| """List the private link resources for a container registry. |
| "relay namespace private-link-resource show", | ||
| ) | ||
| class Show(AAZCommand): | ||
| """Get a private link resource by a specified group name for a container registry. |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Collaborator
|
Please fix CI issues |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Member
Author
Hey Yong Zhang (@yonzhan) All ci's are passing now |
Member
Author
|
Azure/aaz#1123 aaz for this |
NoriZC
approved these changes
Oct 20, 2026
This branch has not been deployed
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.


Related command
Description
Testing Guide
History Notes
This PR adds network rule set, private endpoint connection, and private link resource support to az relay namespace (including custom ip-rule add/remove commands), migrating the module to API version 2026-07-01-preview. It also adds scenario tests and help examples for the new network, private-endpoint, and cluster commands.
•
az relay namespace network-rule-set create— create the namespace network rule set•
az relay namespace network-rule-set show— show network rule properties•
az relay namespace network-rule-set update— update public-network-access / default-action / trusted-service access•
az relay namespace network-rule-set ip-rule add— custom command to add an IP rule•
az relay namespace network-rule-set ip-rule remove— custom command to remove an IP rule•
az relay namespace private-endpoint-connection create•
az relay namespace private-endpoint-connection show•
az relay namespace private-endpoint-connection list•
az relay namespace private-endpoint-connection update— approve/reject via --private-link-service-connection-state•
az relay namespace private-endpoint-connection delete•
az relay namespace private-endpoint-connection wait•
az relay namespace private-link-resource list•
az relay namespace private-link-resource show•
az relay cluster create•
az relay cluster update•
az relay cluster available-regionThis 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.