Skip to content

Commit ef08b13

Browse files
Added examples for WAF create and update
1 parent 3b21c39 commit ef08b13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/nginx/azext_nginx/_help.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
type: command
1515
short-summary: Command to create an Nginx Deployment WAF Policy.
1616
examples:
17-
- 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
17+
- 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
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:
25-
- 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
25+
- 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
2727
"""

0 commit comments

Comments
 (0)