Skip to content

Commit 6d74ca5

Browse files
Added examples for WAF create and update
1 parent c6f44c4 commit 6d74ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nginx/azext_nginx/_help.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
short-summary: Command to create an Nginx Deployment WAF Policy.
1616
examples:
1717
- name: Create a WAF policy for a Nginx deployment
18-
- text: az nginx deployment waf-policy create --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding
18+
text: az nginx deployment waf-policy create --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding
1919
"""
2020

2121
helps['nginx deployment waf-policy update'] = """
2222
type: command
2323
short-summary: Command to update an Nginx Deployment WAF Policy.
2424
examples:
2525
- name: Update a WAF policy for a Nginx deployment
26-
- text: az nginx deployment waf-policy update --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding
26+
text: az nginx deployment waf-policy update --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding
2727
"""

0 commit comments

Comments
 (0)