Skip to content

Commit 57b94dd

Browse files
authored
[ACR] az acr network-rule add: Add example of adding a rule to allow access for a specific virtual network (#32829)
1 parent edd9e48 commit 57b94dd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/azure-cli/azure/cli/command_modules/acr

src/azure-cli/azure/cli/command_modules/acr/_help.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,9 @@
364364
- name: Add a rule to allow access for a specific IP address-range.
365365
text: >
366366
az acr network-rule add -n myregistry --ip-address 23.45.1.0/24
367+
- name: Add a rule to allow access for a specific virtual network.
368+
text: >
369+
az acr network-rule add -n myregistry --subnet $subnetId
367370
"""
368371

369372
helps['acr network-rule list'] = """

0 commit comments

Comments
 (0)