File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 99# pylint: disable=too-many-lines
1010
1111from knack .help_files import helps # pylint: disable=unused-import
12+
13+ helps ['nginx deployment waf-policy create' ] = """
14+ type: group
15+ short-summary: Commands to manage Azure VMware Solution.
16+ examples: az nginx deployment waf-policy create --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding
17+ """
Original file line number Diff line number Diff line change @@ -9,15 +9,3 @@ def load_command_table(self, _): # pylint: disable=unused-argument
99 with self .command_group ('nginx deployment configuration' ):
1010 from .custom import ConfigurationUpdate
1111 self .command_table ["nginx deployment configuration update" ] = ConfigurationUpdate (loader = self )
12-
13- with self .command_group ('nginx deployment waf-policy' ) as g :
14- g .command ('create' , 'create_waf_policy' , examples = [
15- {'name' : 'Create a WAF policy' ,
16- 'text' : 'az nginx deployment waf-policy create --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding' }
17- ])
18-
19- with self .command_group ('nginx deployment waf-policy' ) as g :
20- g .command ('update' , 'update_waf_policy' , examples = [
21- {'name' : 'Update a WAF policy' ,
22- 'text' : 'az nginx deployment waf-policy update --name mypolicyname --deployment-name mydeploymentname --resource-group myresourcegroupname --filepath /path/to/my/policy.json --content mycontentfileinbase64encoding' }
23- ])
You can’t perform that action at this time.
0 commit comments