catocli 1.0.5__py3-none-any.whl → 1.0.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of catocli might be problematic. Click here for more details.
- catocli/Utils/clidriver.py +2 -2
- catocli/__init__.py +1 -1
- catocli/parsers/custom/README.md +288 -8
- catocli/parsers/custom/__init__.py +24 -19
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/METADATA +1 -1
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/RECORD +11 -95
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/top_level.txt +0 -1
- schema/catolib.py +2 -2
- build/lib/catocli/Utils/clidriver.py +0 -103
- build/lib/catocli/__init__.py +0 -2
- build/lib/catocli/__main__.py +0 -12
- build/lib/catocli/parsers/custom/__init__.py +0 -42
- build/lib/catocli/parsers/custom/customLib.py +0 -71
- build/lib/catocli/parsers/mutation_admin/__init__.py +0 -51
- build/lib/catocli/parsers/mutation_container/__init__.py +0 -23
- build/lib/catocli/parsers/mutation_policy/__init__.py +0 -357
- build/lib/catocli/parsers/mutation_site/__init__.py +0 -219
- build/lib/catocli/parsers/mutation_sites/__init__.py +0 -219
- build/lib/catocli/parsers/parserApiClient.py +0 -312
- build/lib/catocli/parsers/query_accountBySubdomain/__init__.py +0 -17
- build/lib/catocli/parsers/query_accountMetrics/__init__.py +0 -17
- build/lib/catocli/parsers/query_accountRoles/__init__.py +0 -17
- build/lib/catocli/parsers/query_accountSnapshot/__init__.py +0 -17
- build/lib/catocli/parsers/query_admin/__init__.py +0 -17
- build/lib/catocli/parsers/query_admins/__init__.py +0 -17
- build/lib/catocli/parsers/query_appStats/__init__.py +0 -17
- build/lib/catocli/parsers/query_appStatsTimeSeries/__init__.py +0 -17
- build/lib/catocli/parsers/query_auditFeed/__init__.py +0 -17
- build/lib/catocli/parsers/query_container/__init__.py +0 -17
- build/lib/catocli/parsers/query_entityLookup/__init__.py +0 -17
- build/lib/catocli/parsers/query_events/__init__.py +0 -17
- build/lib/catocli/parsers/query_eventsFeed/__init__.py +0 -17
- build/lib/catocli/parsers/query_eventsTimeSeries/__init__.py +0 -17
- build/lib/catocli/parsers/query_hardwareManagement/__init__.py +0 -17
- build/lib/catocli/parsers/query_licensing/__init__.py +0 -17
- build/lib/catocli/parsers/query_policy/__init__.py +0 -17
- build/lib/catocli/parsers/query_siteLocation/__init__.py +0 -17
- build/lib/catocli/parsers/query_subDomains/__init__.py +0 -17
- build/lib/catocli/parsers/query_xdr/__init__.py +0 -37
- build/lib/catocli/parsers/raw/__init__.py +0 -9
- build/lib/graphql_client/__init__.py +0 -11
- build/lib/graphql_client/api/__init__.py +0 -3
- build/lib/graphql_client/api/call_api.py +0 -73
- build/lib/graphql_client/api_client.py +0 -192
- build/lib/graphql_client/api_client_types.py +0 -404
- build/lib/graphql_client/configuration.py +0 -230
- build/lib/graphql_client/models/__init__.py +0 -13
- build/lib/graphql_client/models/no_schema.py +0 -71
- build/lib/schema/catolib.py +0 -1002
- build/lib/schema/importSchema.py +0 -60
- build/lib/vendor/certifi/__init__.py +0 -4
- build/lib/vendor/certifi/__main__.py +0 -12
- build/lib/vendor/certifi/core.py +0 -114
- build/lib/vendor/certifi/py.typed +0 -0
- build/lib/vendor/six.py +0 -998
- build/lib/vendor/urllib3/__init__.py +0 -211
- build/lib/vendor/urllib3/_base_connection.py +0 -172
- build/lib/vendor/urllib3/_collections.py +0 -483
- build/lib/vendor/urllib3/_request_methods.py +0 -278
- build/lib/vendor/urllib3/_version.py +0 -16
- build/lib/vendor/urllib3/connection.py +0 -1033
- build/lib/vendor/urllib3/connectionpool.py +0 -1182
- build/lib/vendor/urllib3/contrib/__init__.py +0 -0
- build/lib/vendor/urllib3/contrib/emscripten/__init__.py +0 -18
- build/lib/vendor/urllib3/contrib/emscripten/connection.py +0 -254
- build/lib/vendor/urllib3/contrib/emscripten/fetch.py +0 -418
- build/lib/vendor/urllib3/contrib/emscripten/request.py +0 -22
- build/lib/vendor/urllib3/contrib/emscripten/response.py +0 -285
- build/lib/vendor/urllib3/contrib/pyopenssl.py +0 -552
- build/lib/vendor/urllib3/contrib/socks.py +0 -228
- build/lib/vendor/urllib3/exceptions.py +0 -321
- build/lib/vendor/urllib3/fields.py +0 -341
- build/lib/vendor/urllib3/filepost.py +0 -89
- build/lib/vendor/urllib3/http2/__init__.py +0 -53
- build/lib/vendor/urllib3/http2/connection.py +0 -356
- build/lib/vendor/urllib3/http2/probe.py +0 -87
- build/lib/vendor/urllib3/poolmanager.py +0 -637
- build/lib/vendor/urllib3/py.typed +0 -2
- build/lib/vendor/urllib3/response.py +0 -1265
- build/lib/vendor/urllib3/util/__init__.py +0 -42
- build/lib/vendor/urllib3/util/connection.py +0 -137
- build/lib/vendor/urllib3/util/proxy.py +0 -43
- build/lib/vendor/urllib3/util/request.py +0 -256
- build/lib/vendor/urllib3/util/response.py +0 -101
- build/lib/vendor/urllib3/util/retry.py +0 -533
- build/lib/vendor/urllib3/util/ssl_.py +0 -513
- build/lib/vendor/urllib3/util/ssl_match_hostname.py +0 -159
- build/lib/vendor/urllib3/util/ssltransport.py +0 -276
- build/lib/vendor/urllib3/util/timeout.py +0 -275
- build/lib/vendor/urllib3/util/url.py +0 -471
- build/lib/vendor/urllib3/util/util.py +0 -42
- build/lib/vendor/urllib3/util/wait.py +0 -124
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/LICENSE +0 -0
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/WHEEL +0 -0
- {catocli-1.0.5.dist-info → catocli-1.0.6.dist-info}/entry_points.txt +0 -0
build/lib/catocli/__main__.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import cato.parsers.custom.customLib as customLib
|
|
3
|
-
|
|
4
|
-
def custom_parse(subparsers):
|
|
5
|
-
site_parser = subparsers.add_parser('site', help='Site', usage='cato site <operationName> [options]')
|
|
6
|
-
site_subparsers = site_parser.add_subparsers(description='valid subcommands', help='additional help')
|
|
7
|
-
|
|
8
|
-
site_list_parser = site_subparsers.add_parser('list',
|
|
9
|
-
help='site list',
|
|
10
|
-
usage=get_help_custom("site_list"))
|
|
11
|
-
|
|
12
|
-
site_list_parser.add_argument('accountID', help='The Account ID.')
|
|
13
|
-
site_list_parser.add_argument('-s', help='Search string', default='', nargs='?')
|
|
14
|
-
site_list_parser.add_argument('-f', default="csv", choices=["json","csv"], nargs='?',
|
|
15
|
-
help='Specify format for output')
|
|
16
|
-
site_list_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
17
|
-
help='Print test request preview without sending api call')
|
|
18
|
-
site_list_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
19
|
-
help='Verbose output')
|
|
20
|
-
site_list_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
21
|
-
help='Pretty print')
|
|
22
|
-
|
|
23
|
-
site_list_parser.set_defaults(func=customLib.entityTypeList,operation_name='site')
|
|
24
|
-
|
|
25
|
-
def get_help_custom(path):
|
|
26
|
-
matchCmd = "cato "+path.replace("_"," ")
|
|
27
|
-
import os
|
|
28
|
-
pwd = os.path.dirname(__file__)
|
|
29
|
-
# doc = path+"/README.md"
|
|
30
|
-
abs_path = os.path.join(pwd, "README.md")
|
|
31
|
-
new_line = "\nEXAMPLES:\n"
|
|
32
|
-
lines = open(abs_path, "r").readlines()
|
|
33
|
-
for line in lines:
|
|
34
|
-
if f"{matchCmd}" in line:
|
|
35
|
-
clean_line = line.replace("<br /><br />", "").replace("`","")
|
|
36
|
-
new_line += f"{clean_line}\n"
|
|
37
|
-
# matchArg = path.replace("_",".")
|
|
38
|
-
# for line in lines:
|
|
39
|
-
# if f"`{matchArg}" in line:
|
|
40
|
-
# clean_line = line.replace("<br /><br />", "").replace("`","")
|
|
41
|
-
# new_line += f"{clean_line}\n"
|
|
42
|
-
return new_line
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
from graphql_client.api.call_api import ApiClient, CallApi
|
|
3
|
-
from graphql_client.api_client import ApiException
|
|
4
|
-
import logging
|
|
5
|
-
from ..parserApiClient import validateArgs
|
|
6
|
-
|
|
7
|
-
def entityTypeList(args, configuration):
|
|
8
|
-
params = vars(args)
|
|
9
|
-
operation = {
|
|
10
|
-
"operationArgs": {
|
|
11
|
-
"accountID": {
|
|
12
|
-
"name": "accountID",
|
|
13
|
-
"required": True,
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
variablesObj = { "accountID": (params.get("accountID") if params.get("accountID") else params.get("accountId"))}
|
|
18
|
-
|
|
19
|
-
instance = CallApi(ApiClient(configuration))
|
|
20
|
-
operationName = params["operation_name"]
|
|
21
|
-
accountID = params.get("accountID") if params.get("accountID") else params.get("accountId")
|
|
22
|
-
query = '''query entityLookup ( $type:EntityType! $accountID:ID! $search:String ) {
|
|
23
|
-
entityLookup ( accountID:$accountID type:$type search:$search ) {
|
|
24
|
-
'''+params["operation_name"]+'''s: items {
|
|
25
|
-
description
|
|
26
|
-
'''+params["operation_name"]+''': entity {
|
|
27
|
-
id
|
|
28
|
-
name
|
|
29
|
-
type
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}'''
|
|
34
|
-
body = {
|
|
35
|
-
"query": query,
|
|
36
|
-
"operationName": "entityLookup",
|
|
37
|
-
"variables": {
|
|
38
|
-
"accountID": accountID,
|
|
39
|
-
"type": params["operation_name"],
|
|
40
|
-
"search": (params.get("s") if params.get("s")!=None else "")
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
isOk, invalidVars, message = validateArgs(variablesObj,operation)
|
|
45
|
-
if isOk==True:
|
|
46
|
-
if params["t"]==True:
|
|
47
|
-
if params["p"]==True:
|
|
48
|
-
print(json.dumps(body,indent=2,sort_keys=True).replace("\\n", "\n").replace("\\t", " "))
|
|
49
|
-
else:
|
|
50
|
-
print(json.dumps(body).replace("\\n", " ").replace("\\t", " ").replace(" "," ").replace(" "," "))
|
|
51
|
-
return None
|
|
52
|
-
else:
|
|
53
|
-
try:
|
|
54
|
-
response = instance.call_api(body,params)
|
|
55
|
-
if params["f"]=="json":
|
|
56
|
-
if params["p"]==True:
|
|
57
|
-
print(json.dumps(response[0].get("data").get("entityLookup").get(params["operation_name"]+"s"),indent=2,sort_keys=True).replace("\\n", "\n").replace("\\t", " "))
|
|
58
|
-
else:
|
|
59
|
-
print(json.dumps(response[0].get("data").get("entityLookup").get(params["operation_name"]+"s")))
|
|
60
|
-
else:
|
|
61
|
-
if len(response[0].get("data").get("entityLookup").get(params["operation_name"]+"s"))==0:
|
|
62
|
-
print("No results found")
|
|
63
|
-
else:
|
|
64
|
-
print("id,name,type,description")
|
|
65
|
-
for site in response[0].get("data").get("entityLookup").get(params["operation_name"]+"s"):
|
|
66
|
-
print(f"{site.get('site').get('id')},{site.get('site').get('name')},{site.get('site').get('type')},{site.get('description')}")
|
|
67
|
-
except ApiException as e:
|
|
68
|
-
return e
|
|
69
|
-
else:
|
|
70
|
-
print("ERROR: "+message,", ".join(invalidVars))
|
|
71
|
-
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
from ..parserApiClient import createRequest, get_help
|
|
3
|
-
|
|
4
|
-
def mutation_admin_parse(mutation_subparsers):
|
|
5
|
-
mutation_admin_parser = mutation_subparsers.add_parser('admin',
|
|
6
|
-
help='admin() mutation operation',
|
|
7
|
-
usage=get_help("mutation_admin"))
|
|
8
|
-
|
|
9
|
-
mutation_admin_subparsers = mutation_admin_parser.add_subparsers()
|
|
10
|
-
|
|
11
|
-
mutation_admin_addAdmin_parser = mutation_admin_subparsers.add_parser('addAdmin',
|
|
12
|
-
help='addAdmin() admin operation',
|
|
13
|
-
usage=get_help("mutation_admin_addAdmin"))
|
|
14
|
-
|
|
15
|
-
mutation_admin_addAdmin_parser.add_argument('accountID', help='The Account ID.')
|
|
16
|
-
mutation_admin_addAdmin_parser.add_argument('json', help='Variables in JSON format.')
|
|
17
|
-
mutation_admin_addAdmin_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
18
|
-
help='Print test request preview without sending api call')
|
|
19
|
-
mutation_admin_addAdmin_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
20
|
-
help='Verbose output')
|
|
21
|
-
mutation_admin_addAdmin_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
22
|
-
help='Pretty print')
|
|
23
|
-
mutation_admin_addAdmin_parser.set_defaults(func=createRequest,operation_name='mutation.admin.addAdmin')
|
|
24
|
-
|
|
25
|
-
mutation_admin_removeAdmin_parser = mutation_admin_subparsers.add_parser('removeAdmin',
|
|
26
|
-
help='removeAdmin() admin operation',
|
|
27
|
-
usage=get_help("mutation_admin_removeAdmin"))
|
|
28
|
-
|
|
29
|
-
mutation_admin_removeAdmin_parser.add_argument('accountID', help='The Account ID.')
|
|
30
|
-
mutation_admin_removeAdmin_parser.add_argument('json', help='Variables in JSON format.')
|
|
31
|
-
mutation_admin_removeAdmin_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
32
|
-
help='Print test request preview without sending api call')
|
|
33
|
-
mutation_admin_removeAdmin_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
34
|
-
help='Verbose output')
|
|
35
|
-
mutation_admin_removeAdmin_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
36
|
-
help='Pretty print')
|
|
37
|
-
mutation_admin_removeAdmin_parser.set_defaults(func=createRequest,operation_name='mutation.admin.removeAdmin')
|
|
38
|
-
|
|
39
|
-
mutation_admin_updateAdmin_parser = mutation_admin_subparsers.add_parser('updateAdmin',
|
|
40
|
-
help='updateAdmin() admin operation',
|
|
41
|
-
usage=get_help("mutation_admin_updateAdmin"))
|
|
42
|
-
|
|
43
|
-
mutation_admin_updateAdmin_parser.add_argument('accountID', help='The Account ID.')
|
|
44
|
-
mutation_admin_updateAdmin_parser.add_argument('json', help='Variables in JSON format.')
|
|
45
|
-
mutation_admin_updateAdmin_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
46
|
-
help='Print test request preview without sending api call')
|
|
47
|
-
mutation_admin_updateAdmin_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
48
|
-
help='Verbose output')
|
|
49
|
-
mutation_admin_updateAdmin_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
50
|
-
help='Pretty print')
|
|
51
|
-
mutation_admin_updateAdmin_parser.set_defaults(func=createRequest,operation_name='mutation.admin.updateAdmin')
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
from ..parserApiClient import createRequest, get_help
|
|
3
|
-
|
|
4
|
-
def mutation_container_parse(mutation_subparsers):
|
|
5
|
-
mutation_container_parser = mutation_subparsers.add_parser('container',
|
|
6
|
-
help='container() mutation operation',
|
|
7
|
-
usage=get_help("mutation_container"))
|
|
8
|
-
|
|
9
|
-
mutation_container_subparsers = mutation_container_parser.add_subparsers()
|
|
10
|
-
|
|
11
|
-
mutation_container_delete_parser = mutation_container_subparsers.add_parser('delete',
|
|
12
|
-
help='delete() container operation',
|
|
13
|
-
usage=get_help("mutation_container_delete"))
|
|
14
|
-
|
|
15
|
-
mutation_container_delete_parser.add_argument('accountID', help='The Account ID.')
|
|
16
|
-
mutation_container_delete_parser.add_argument('json', help='Variables in JSON format.')
|
|
17
|
-
mutation_container_delete_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
18
|
-
help='Print test request preview without sending api call')
|
|
19
|
-
mutation_container_delete_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
20
|
-
help='Verbose output')
|
|
21
|
-
mutation_container_delete_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
22
|
-
help='Pretty print')
|
|
23
|
-
mutation_container_delete_parser.set_defaults(func=createRequest,operation_name='mutation.container.delete')
|
|
@@ -1,357 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
from ..parserApiClient import createRequest, get_help
|
|
3
|
-
|
|
4
|
-
def mutation_policy_parse(mutation_subparsers):
|
|
5
|
-
mutation_policy_parser = mutation_subparsers.add_parser('policy',
|
|
6
|
-
help='policy() mutation operation',
|
|
7
|
-
usage=get_help("mutation_policy"))
|
|
8
|
-
|
|
9
|
-
mutation_policy_subparsers = mutation_policy_parser.add_subparsers()
|
|
10
|
-
|
|
11
|
-
mutation_policy_internetFirewall_parser = mutation_policy_subparsers.add_parser('internetFirewall',
|
|
12
|
-
help='internetFirewall() policy operation',
|
|
13
|
-
usage=get_help("mutation_policy_internetFirewall"))
|
|
14
|
-
|
|
15
|
-
mutation_policy_internetFirewall_subparsers = mutation_policy_internetFirewall_parser.add_subparsers()
|
|
16
|
-
|
|
17
|
-
mutation_policy_internetFirewall_addRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('addRule',
|
|
18
|
-
help='addRule() internetFirewall operation',
|
|
19
|
-
usage=get_help("mutation_policy_internetFirewall_addRule"))
|
|
20
|
-
|
|
21
|
-
mutation_policy_internetFirewall_addRule_parser.add_argument('accountID', help='The Account ID.')
|
|
22
|
-
mutation_policy_internetFirewall_addRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
23
|
-
mutation_policy_internetFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
24
|
-
help='Print test request preview without sending api call')
|
|
25
|
-
mutation_policy_internetFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
26
|
-
help='Verbose output')
|
|
27
|
-
mutation_policy_internetFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
28
|
-
help='Pretty print')
|
|
29
|
-
mutation_policy_internetFirewall_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.addRule')
|
|
30
|
-
|
|
31
|
-
mutation_policy_internetFirewall_addSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('addSection',
|
|
32
|
-
help='addSection() internetFirewall operation',
|
|
33
|
-
usage=get_help("mutation_policy_internetFirewall_addSection"))
|
|
34
|
-
|
|
35
|
-
mutation_policy_internetFirewall_addSection_parser.add_argument('accountID', help='The Account ID.')
|
|
36
|
-
mutation_policy_internetFirewall_addSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
37
|
-
mutation_policy_internetFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
38
|
-
help='Print test request preview without sending api call')
|
|
39
|
-
mutation_policy_internetFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
40
|
-
help='Verbose output')
|
|
41
|
-
mutation_policy_internetFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
42
|
-
help='Pretty print')
|
|
43
|
-
mutation_policy_internetFirewall_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.addSection')
|
|
44
|
-
|
|
45
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('createPolicyRevision',
|
|
46
|
-
help='createPolicyRevision() internetFirewall operation',
|
|
47
|
-
usage=get_help("mutation_policy_internetFirewall_createPolicyRevision"))
|
|
48
|
-
|
|
49
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
50
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
51
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
52
|
-
help='Print test request preview without sending api call')
|
|
53
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
54
|
-
help='Verbose output')
|
|
55
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
56
|
-
help='Pretty print')
|
|
57
|
-
mutation_policy_internetFirewall_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.createPolicyRevision')
|
|
58
|
-
|
|
59
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('discardPolicyRevision',
|
|
60
|
-
help='discardPolicyRevision() internetFirewall operation',
|
|
61
|
-
usage=get_help("mutation_policy_internetFirewall_discardPolicyRevision"))
|
|
62
|
-
|
|
63
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
64
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
65
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
66
|
-
help='Print test request preview without sending api call')
|
|
67
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
68
|
-
help='Verbose output')
|
|
69
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
70
|
-
help='Pretty print')
|
|
71
|
-
mutation_policy_internetFirewall_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.discardPolicyRevision')
|
|
72
|
-
|
|
73
|
-
mutation_policy_internetFirewall_moveRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('moveRule',
|
|
74
|
-
help='moveRule() internetFirewall operation',
|
|
75
|
-
usage=get_help("mutation_policy_internetFirewall_moveRule"))
|
|
76
|
-
|
|
77
|
-
mutation_policy_internetFirewall_moveRule_parser.add_argument('accountID', help='The Account ID.')
|
|
78
|
-
mutation_policy_internetFirewall_moveRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
79
|
-
mutation_policy_internetFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
80
|
-
help='Print test request preview without sending api call')
|
|
81
|
-
mutation_policy_internetFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
82
|
-
help='Verbose output')
|
|
83
|
-
mutation_policy_internetFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
84
|
-
help='Pretty print')
|
|
85
|
-
mutation_policy_internetFirewall_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.moveRule')
|
|
86
|
-
|
|
87
|
-
mutation_policy_internetFirewall_moveSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('moveSection',
|
|
88
|
-
help='moveSection() internetFirewall operation',
|
|
89
|
-
usage=get_help("mutation_policy_internetFirewall_moveSection"))
|
|
90
|
-
|
|
91
|
-
mutation_policy_internetFirewall_moveSection_parser.add_argument('accountID', help='The Account ID.')
|
|
92
|
-
mutation_policy_internetFirewall_moveSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
93
|
-
mutation_policy_internetFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
94
|
-
help='Print test request preview without sending api call')
|
|
95
|
-
mutation_policy_internetFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
96
|
-
help='Verbose output')
|
|
97
|
-
mutation_policy_internetFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
98
|
-
help='Pretty print')
|
|
99
|
-
mutation_policy_internetFirewall_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.moveSection')
|
|
100
|
-
|
|
101
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser = mutation_policy_internetFirewall_subparsers.add_parser('publishPolicyRevision',
|
|
102
|
-
help='publishPolicyRevision() internetFirewall operation',
|
|
103
|
-
usage=get_help("mutation_policy_internetFirewall_publishPolicyRevision"))
|
|
104
|
-
|
|
105
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
106
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
107
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
108
|
-
help='Print test request preview without sending api call')
|
|
109
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
110
|
-
help='Verbose output')
|
|
111
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
112
|
-
help='Pretty print')
|
|
113
|
-
mutation_policy_internetFirewall_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.publishPolicyRevision')
|
|
114
|
-
|
|
115
|
-
mutation_policy_internetFirewall_removeRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('removeRule',
|
|
116
|
-
help='removeRule() internetFirewall operation',
|
|
117
|
-
usage=get_help("mutation_policy_internetFirewall_removeRule"))
|
|
118
|
-
|
|
119
|
-
mutation_policy_internetFirewall_removeRule_parser.add_argument('accountID', help='The Account ID.')
|
|
120
|
-
mutation_policy_internetFirewall_removeRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
121
|
-
mutation_policy_internetFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
122
|
-
help='Print test request preview without sending api call')
|
|
123
|
-
mutation_policy_internetFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
124
|
-
help='Verbose output')
|
|
125
|
-
mutation_policy_internetFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
126
|
-
help='Pretty print')
|
|
127
|
-
mutation_policy_internetFirewall_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.removeRule')
|
|
128
|
-
|
|
129
|
-
mutation_policy_internetFirewall_removeSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('removeSection',
|
|
130
|
-
help='removeSection() internetFirewall operation',
|
|
131
|
-
usage=get_help("mutation_policy_internetFirewall_removeSection"))
|
|
132
|
-
|
|
133
|
-
mutation_policy_internetFirewall_removeSection_parser.add_argument('accountID', help='The Account ID.')
|
|
134
|
-
mutation_policy_internetFirewall_removeSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
135
|
-
mutation_policy_internetFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
136
|
-
help='Print test request preview without sending api call')
|
|
137
|
-
mutation_policy_internetFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
138
|
-
help='Verbose output')
|
|
139
|
-
mutation_policy_internetFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
140
|
-
help='Pretty print')
|
|
141
|
-
mutation_policy_internetFirewall_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.removeSection')
|
|
142
|
-
|
|
143
|
-
mutation_policy_internetFirewall_updatePolicy_parser = mutation_policy_internetFirewall_subparsers.add_parser('updatePolicy',
|
|
144
|
-
help='updatePolicy() internetFirewall operation',
|
|
145
|
-
usage=get_help("mutation_policy_internetFirewall_updatePolicy"))
|
|
146
|
-
|
|
147
|
-
mutation_policy_internetFirewall_updatePolicy_parser.add_argument('accountID', help='The Account ID.')
|
|
148
|
-
mutation_policy_internetFirewall_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
|
|
149
|
-
mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
150
|
-
help='Print test request preview without sending api call')
|
|
151
|
-
mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
152
|
-
help='Verbose output')
|
|
153
|
-
mutation_policy_internetFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
154
|
-
help='Pretty print')
|
|
155
|
-
mutation_policy_internetFirewall_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updatePolicy')
|
|
156
|
-
|
|
157
|
-
mutation_policy_internetFirewall_updateRule_parser = mutation_policy_internetFirewall_subparsers.add_parser('updateRule',
|
|
158
|
-
help='updateRule() internetFirewall operation',
|
|
159
|
-
usage=get_help("mutation_policy_internetFirewall_updateRule"))
|
|
160
|
-
|
|
161
|
-
mutation_policy_internetFirewall_updateRule_parser.add_argument('accountID', help='The Account ID.')
|
|
162
|
-
mutation_policy_internetFirewall_updateRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
163
|
-
mutation_policy_internetFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
164
|
-
help='Print test request preview without sending api call')
|
|
165
|
-
mutation_policy_internetFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
166
|
-
help='Verbose output')
|
|
167
|
-
mutation_policy_internetFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
168
|
-
help='Pretty print')
|
|
169
|
-
mutation_policy_internetFirewall_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updateRule')
|
|
170
|
-
|
|
171
|
-
mutation_policy_internetFirewall_updateSection_parser = mutation_policy_internetFirewall_subparsers.add_parser('updateSection',
|
|
172
|
-
help='updateSection() internetFirewall operation',
|
|
173
|
-
usage=get_help("mutation_policy_internetFirewall_updateSection"))
|
|
174
|
-
|
|
175
|
-
mutation_policy_internetFirewall_updateSection_parser.add_argument('accountID', help='The Account ID.')
|
|
176
|
-
mutation_policy_internetFirewall_updateSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
177
|
-
mutation_policy_internetFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
178
|
-
help='Print test request preview without sending api call')
|
|
179
|
-
mutation_policy_internetFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
180
|
-
help='Verbose output')
|
|
181
|
-
mutation_policy_internetFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
182
|
-
help='Pretty print')
|
|
183
|
-
mutation_policy_internetFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.internetFirewall.updateSection')
|
|
184
|
-
|
|
185
|
-
mutation_policy_wanFirewall_parser = mutation_policy_subparsers.add_parser('wanFirewall',
|
|
186
|
-
help='wanFirewall() policy operation',
|
|
187
|
-
usage=get_help("mutation_policy_wanFirewall"))
|
|
188
|
-
|
|
189
|
-
mutation_policy_wanFirewall_subparsers = mutation_policy_wanFirewall_parser.add_subparsers()
|
|
190
|
-
|
|
191
|
-
mutation_policy_wanFirewall_addRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('addRule',
|
|
192
|
-
help='addRule() wanFirewall operation',
|
|
193
|
-
usage=get_help("mutation_policy_wanFirewall_addRule"))
|
|
194
|
-
|
|
195
|
-
mutation_policy_wanFirewall_addRule_parser.add_argument('accountID', help='The Account ID.')
|
|
196
|
-
mutation_policy_wanFirewall_addRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
197
|
-
mutation_policy_wanFirewall_addRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
198
|
-
help='Print test request preview without sending api call')
|
|
199
|
-
mutation_policy_wanFirewall_addRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
200
|
-
help='Verbose output')
|
|
201
|
-
mutation_policy_wanFirewall_addRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
202
|
-
help='Pretty print')
|
|
203
|
-
mutation_policy_wanFirewall_addRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.addRule')
|
|
204
|
-
|
|
205
|
-
mutation_policy_wanFirewall_addSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('addSection',
|
|
206
|
-
help='addSection() wanFirewall operation',
|
|
207
|
-
usage=get_help("mutation_policy_wanFirewall_addSection"))
|
|
208
|
-
|
|
209
|
-
mutation_policy_wanFirewall_addSection_parser.add_argument('accountID', help='The Account ID.')
|
|
210
|
-
mutation_policy_wanFirewall_addSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
211
|
-
mutation_policy_wanFirewall_addSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
212
|
-
help='Print test request preview without sending api call')
|
|
213
|
-
mutation_policy_wanFirewall_addSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
214
|
-
help='Verbose output')
|
|
215
|
-
mutation_policy_wanFirewall_addSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
216
|
-
help='Pretty print')
|
|
217
|
-
mutation_policy_wanFirewall_addSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.addSection')
|
|
218
|
-
|
|
219
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('createPolicyRevision',
|
|
220
|
-
help='createPolicyRevision() wanFirewall operation',
|
|
221
|
-
usage=get_help("mutation_policy_wanFirewall_createPolicyRevision"))
|
|
222
|
-
|
|
223
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
224
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
225
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
226
|
-
help='Print test request preview without sending api call')
|
|
227
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
228
|
-
help='Verbose output')
|
|
229
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
230
|
-
help='Pretty print')
|
|
231
|
-
mutation_policy_wanFirewall_createPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.createPolicyRevision')
|
|
232
|
-
|
|
233
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('discardPolicyRevision',
|
|
234
|
-
help='discardPolicyRevision() wanFirewall operation',
|
|
235
|
-
usage=get_help("mutation_policy_wanFirewall_discardPolicyRevision"))
|
|
236
|
-
|
|
237
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
238
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
239
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
240
|
-
help='Print test request preview without sending api call')
|
|
241
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
242
|
-
help='Verbose output')
|
|
243
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
244
|
-
help='Pretty print')
|
|
245
|
-
mutation_policy_wanFirewall_discardPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.discardPolicyRevision')
|
|
246
|
-
|
|
247
|
-
mutation_policy_wanFirewall_moveRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('moveRule',
|
|
248
|
-
help='moveRule() wanFirewall operation',
|
|
249
|
-
usage=get_help("mutation_policy_wanFirewall_moveRule"))
|
|
250
|
-
|
|
251
|
-
mutation_policy_wanFirewall_moveRule_parser.add_argument('accountID', help='The Account ID.')
|
|
252
|
-
mutation_policy_wanFirewall_moveRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
253
|
-
mutation_policy_wanFirewall_moveRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
254
|
-
help='Print test request preview without sending api call')
|
|
255
|
-
mutation_policy_wanFirewall_moveRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
256
|
-
help='Verbose output')
|
|
257
|
-
mutation_policy_wanFirewall_moveRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
258
|
-
help='Pretty print')
|
|
259
|
-
mutation_policy_wanFirewall_moveRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.moveRule')
|
|
260
|
-
|
|
261
|
-
mutation_policy_wanFirewall_moveSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('moveSection',
|
|
262
|
-
help='moveSection() wanFirewall operation',
|
|
263
|
-
usage=get_help("mutation_policy_wanFirewall_moveSection"))
|
|
264
|
-
|
|
265
|
-
mutation_policy_wanFirewall_moveSection_parser.add_argument('accountID', help='The Account ID.')
|
|
266
|
-
mutation_policy_wanFirewall_moveSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
267
|
-
mutation_policy_wanFirewall_moveSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
268
|
-
help='Print test request preview without sending api call')
|
|
269
|
-
mutation_policy_wanFirewall_moveSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
270
|
-
help='Verbose output')
|
|
271
|
-
mutation_policy_wanFirewall_moveSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
272
|
-
help='Pretty print')
|
|
273
|
-
mutation_policy_wanFirewall_moveSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.moveSection')
|
|
274
|
-
|
|
275
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser = mutation_policy_wanFirewall_subparsers.add_parser('publishPolicyRevision',
|
|
276
|
-
help='publishPolicyRevision() wanFirewall operation',
|
|
277
|
-
usage=get_help("mutation_policy_wanFirewall_publishPolicyRevision"))
|
|
278
|
-
|
|
279
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('accountID', help='The Account ID.')
|
|
280
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('json', help='Variables in JSON format.')
|
|
281
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
282
|
-
help='Print test request preview without sending api call')
|
|
283
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
284
|
-
help='Verbose output')
|
|
285
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
286
|
-
help='Pretty print')
|
|
287
|
-
mutation_policy_wanFirewall_publishPolicyRevision_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.publishPolicyRevision')
|
|
288
|
-
|
|
289
|
-
mutation_policy_wanFirewall_removeRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('removeRule',
|
|
290
|
-
help='removeRule() wanFirewall operation',
|
|
291
|
-
usage=get_help("mutation_policy_wanFirewall_removeRule"))
|
|
292
|
-
|
|
293
|
-
mutation_policy_wanFirewall_removeRule_parser.add_argument('accountID', help='The Account ID.')
|
|
294
|
-
mutation_policy_wanFirewall_removeRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
295
|
-
mutation_policy_wanFirewall_removeRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
296
|
-
help='Print test request preview without sending api call')
|
|
297
|
-
mutation_policy_wanFirewall_removeRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
298
|
-
help='Verbose output')
|
|
299
|
-
mutation_policy_wanFirewall_removeRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
300
|
-
help='Pretty print')
|
|
301
|
-
mutation_policy_wanFirewall_removeRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.removeRule')
|
|
302
|
-
|
|
303
|
-
mutation_policy_wanFirewall_removeSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('removeSection',
|
|
304
|
-
help='removeSection() wanFirewall operation',
|
|
305
|
-
usage=get_help("mutation_policy_wanFirewall_removeSection"))
|
|
306
|
-
|
|
307
|
-
mutation_policy_wanFirewall_removeSection_parser.add_argument('accountID', help='The Account ID.')
|
|
308
|
-
mutation_policy_wanFirewall_removeSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
309
|
-
mutation_policy_wanFirewall_removeSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
310
|
-
help='Print test request preview without sending api call')
|
|
311
|
-
mutation_policy_wanFirewall_removeSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
312
|
-
help='Verbose output')
|
|
313
|
-
mutation_policy_wanFirewall_removeSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
314
|
-
help='Pretty print')
|
|
315
|
-
mutation_policy_wanFirewall_removeSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.removeSection')
|
|
316
|
-
|
|
317
|
-
mutation_policy_wanFirewall_updatePolicy_parser = mutation_policy_wanFirewall_subparsers.add_parser('updatePolicy',
|
|
318
|
-
help='updatePolicy() wanFirewall operation',
|
|
319
|
-
usage=get_help("mutation_policy_wanFirewall_updatePolicy"))
|
|
320
|
-
|
|
321
|
-
mutation_policy_wanFirewall_updatePolicy_parser.add_argument('accountID', help='The Account ID.')
|
|
322
|
-
mutation_policy_wanFirewall_updatePolicy_parser.add_argument('json', help='Variables in JSON format.')
|
|
323
|
-
mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
324
|
-
help='Print test request preview without sending api call')
|
|
325
|
-
mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
326
|
-
help='Verbose output')
|
|
327
|
-
mutation_policy_wanFirewall_updatePolicy_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
328
|
-
help='Pretty print')
|
|
329
|
-
mutation_policy_wanFirewall_updatePolicy_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updatePolicy')
|
|
330
|
-
|
|
331
|
-
mutation_policy_wanFirewall_updateRule_parser = mutation_policy_wanFirewall_subparsers.add_parser('updateRule',
|
|
332
|
-
help='updateRule() wanFirewall operation',
|
|
333
|
-
usage=get_help("mutation_policy_wanFirewall_updateRule"))
|
|
334
|
-
|
|
335
|
-
mutation_policy_wanFirewall_updateRule_parser.add_argument('accountID', help='The Account ID.')
|
|
336
|
-
mutation_policy_wanFirewall_updateRule_parser.add_argument('json', help='Variables in JSON format.')
|
|
337
|
-
mutation_policy_wanFirewall_updateRule_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
338
|
-
help='Print test request preview without sending api call')
|
|
339
|
-
mutation_policy_wanFirewall_updateRule_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
340
|
-
help='Verbose output')
|
|
341
|
-
mutation_policy_wanFirewall_updateRule_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
342
|
-
help='Pretty print')
|
|
343
|
-
mutation_policy_wanFirewall_updateRule_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updateRule')
|
|
344
|
-
|
|
345
|
-
mutation_policy_wanFirewall_updateSection_parser = mutation_policy_wanFirewall_subparsers.add_parser('updateSection',
|
|
346
|
-
help='updateSection() wanFirewall operation',
|
|
347
|
-
usage=get_help("mutation_policy_wanFirewall_updateSection"))
|
|
348
|
-
|
|
349
|
-
mutation_policy_wanFirewall_updateSection_parser.add_argument('accountID', help='The Account ID.')
|
|
350
|
-
mutation_policy_wanFirewall_updateSection_parser.add_argument('json', help='Variables in JSON format.')
|
|
351
|
-
mutation_policy_wanFirewall_updateSection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
352
|
-
help='Print test request preview without sending api call')
|
|
353
|
-
mutation_policy_wanFirewall_updateSection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
354
|
-
help='Verbose output')
|
|
355
|
-
mutation_policy_wanFirewall_updateSection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
356
|
-
help='Pretty print')
|
|
357
|
-
mutation_policy_wanFirewall_updateSection_parser.set_defaults(func=createRequest,operation_name='mutation.policy.wanFirewall.updateSection')
|