catocli 1.0.19__py3-none-any.whl → 1.0.21__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 +6 -0
- catocli/__init__.py +1 -1
- catocli/parsers/custom/__init__.py +1 -1
- catocli/parsers/mutation_admin_addAdmin/README.md +1 -1
- catocli/parsers/mutation_admin_updateAdmin/README.md +1 -1
- catocli/parsers/mutation_policy/__init__.py +522 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation/README.md +7 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_dynamicIpAllocation_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_internetFirewall_addRule/README.md +1 -1
- catocli/parsers/mutation_policy_internetFirewall_updateRule/README.md +1 -1
- catocli/parsers/mutation_policy_socketLan/README.md +7 -0
- catocli/parsers/mutation_policy_socketLan_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_socketLan_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork/README.md +7 -0
- catocli/parsers/mutation_policy_wanNetwork_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_wanNetwork_updateSection/README.md +18 -0
- catocli/parsers/mutation_sandbox/README.md +7 -0
- catocli/parsers/mutation_sandbox/__init__.py +37 -0
- catocli/parsers/mutation_sandbox_deleteReport/README.md +17 -0
- catocli/parsers/mutation_sandbox_uploadFile/README.md +17 -0
- catocli/parsers/mutation_site/__init__.py +28 -0
- catocli/parsers/mutation_site_addIpsecIkeV2Site/README.md +1 -1
- catocli/parsers/mutation_site_addIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_site_addSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_site_addSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_site_addSocketSite/README.md +1 -1
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_site_updateSocketInterface/README.md +1 -1
- catocli/parsers/mutation_sites/__init__.py +28 -0
- catocli/parsers/mutation_sites_addIpsecIkeV2Site/README.md +1 -1
- catocli/parsers/mutation_sites_addIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_sites_addSecondaryAwsVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_addSecondaryAzureVSocket/README.md +17 -0
- catocli/parsers/mutation_sites_addSocketSite/README.md +1 -1
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_sites_updateSocketInterface/README.md +1 -1
- catocli/parsers/mutation_xdr/README.md +7 -0
- catocli/parsers/mutation_xdr/__init__.py +51 -0
- catocli/parsers/mutation_xdr_addStoryComment/README.md +17 -0
- catocli/parsers/mutation_xdr_analystFeedback/README.md +18 -0
- catocli/parsers/mutation_xdr_deleteStoryComment/README.md +17 -0
- catocli/parsers/query_accountMetrics/README.md +2 -1
- catocli/parsers/query_appStatsTimeSeries/README.md +2 -1
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_eventsTimeSeries/README.md +2 -1
- catocli/parsers/query_policy/README.md +4 -1
- catocli/parsers/query_sandbox/README.md +17 -0
- catocli/parsers/query_sandbox/__init__.py +17 -0
- catocli/parsers/query_siteLocation/README.md +1 -1
- catocli/parsers/query_xdr_story/README.md +1 -1
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/METADATA +1 -1
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/RECORD +166 -66
- models/mutation.admin.addAdmin.json +0 -60
- models/mutation.admin.updateAdmin.json +0 -57
- models/mutation.policy.dynamicIpAllocation.addRule.json +3696 -0
- models/mutation.policy.dynamicIpAllocation.addSection.json +1358 -0
- models/mutation.policy.dynamicIpAllocation.createPolicyRevision.json +2175 -0
- models/mutation.policy.dynamicIpAllocation.discardPolicyRevision.json +2109 -0
- models/mutation.policy.dynamicIpAllocation.moveRule.json +1907 -0
- models/mutation.policy.dynamicIpAllocation.moveSection.json +1259 -0
- models/mutation.policy.dynamicIpAllocation.publishPolicyRevision.json +2166 -0
- models/mutation.policy.dynamicIpAllocation.removeRule.json +1555 -0
- models/mutation.policy.dynamicIpAllocation.removeSection.json +958 -0
- models/mutation.policy.dynamicIpAllocation.updatePolicy.json +2185 -0
- models/mutation.policy.dynamicIpAllocation.updateRule.json +3374 -0
- models/mutation.policy.dynamicIpAllocation.updateSection.json +1111 -0
- models/mutation.policy.internetFirewall.addRule.json +18 -18
- models/mutation.policy.internetFirewall.createPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.discardPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.moveRule.json +4 -4
- models/mutation.policy.internetFirewall.publishPolicyRevision.json +4 -4
- models/mutation.policy.internetFirewall.removeRule.json +4 -4
- models/mutation.policy.internetFirewall.updatePolicy.json +4 -4
- models/mutation.policy.internetFirewall.updateRule.json +18 -18
- models/mutation.policy.socketLan.addRule.json +11266 -0
- models/mutation.policy.socketLan.addSection.json +1358 -0
- models/mutation.policy.socketLan.createPolicyRevision.json +3926 -0
- models/mutation.policy.socketLan.discardPolicyRevision.json +3860 -0
- models/mutation.policy.socketLan.moveRule.json +3658 -0
- models/mutation.policy.socketLan.moveSection.json +1259 -0
- models/mutation.policy.socketLan.publishPolicyRevision.json +3917 -0
- models/mutation.policy.socketLan.removeRule.json +3306 -0
- models/mutation.policy.socketLan.removeSection.json +958 -0
- models/mutation.policy.socketLan.updatePolicy.json +3936 -0
- models/mutation.policy.socketLan.updateRule.json +10860 -0
- models/mutation.policy.socketLan.updateSection.json +1111 -0
- models/mutation.policy.wanNetwork.addRule.json +30614 -0
- models/mutation.policy.wanNetwork.addSection.json +1358 -0
- models/mutation.policy.wanNetwork.createPolicyRevision.json +8251 -0
- models/mutation.policy.wanNetwork.discardPolicyRevision.json +8185 -0
- models/mutation.policy.wanNetwork.moveRule.json +7983 -0
- models/mutation.policy.wanNetwork.moveSection.json +1259 -0
- models/mutation.policy.wanNetwork.publishPolicyRevision.json +8242 -0
- models/mutation.policy.wanNetwork.removeRule.json +7631 -0
- models/mutation.policy.wanNetwork.removeSection.json +958 -0
- models/mutation.policy.wanNetwork.updatePolicy.json +8261 -0
- models/mutation.policy.wanNetwork.updateRule.json +30145 -0
- models/mutation.policy.wanNetwork.updateSection.json +1111 -0
- models/mutation.sandbox.deleteReport.json +302 -0
- models/mutation.sandbox.uploadFile.json +301 -0
- models/mutation.site.addIpsecIkeV2Site.json +57 -0
- models/mutation.site.addIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.site.addSecondaryAwsVSocket.json +707 -0
- models/mutation.site.addSecondaryAzureVSocket.json +647 -0
- models/mutation.site.addSocketSite.json +72 -15
- models/mutation.site.updateIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.site.updateNetworkRange.json +3 -3
- models/mutation.site.updateSocketInterface.json +126 -18
- models/mutation.sites.addIpsecIkeV2Site.json +57 -0
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.sites.addSecondaryAwsVSocket.json +707 -0
- models/mutation.sites.addSecondaryAzureVSocket.json +647 -0
- models/mutation.sites.addSocketSite.json +72 -15
- models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +222 -0
- models/mutation.sites.updateNetworkRange.json +3 -3
- models/mutation.sites.updateSocketInterface.json +126 -18
- models/mutation.xdr.addStoryComment.json +622 -0
- models/mutation.xdr.analystFeedback.json +28820 -0
- models/mutation.xdr.deleteStoryComment.json +622 -0
- models/query.accountMetrics.json +592 -0
- models/query.accountSnapshot.json +308 -0
- models/query.appStatsTimeSeries.json +37 -0
- models/query.auditFeed.json +352 -52
- models/query.events.json +1434 -234
- models/query.eventsFeed.json +352 -52
- models/query.eventsTimeSeries.json +1113 -176
- models/query.policy.json +22867 -9389
- models/query.sandbox.json +2111 -0
- models/query.xdr.stories.json +134 -4
- models/query.xdr.story.json +116 -4
- schema/catolib.py +4 -5
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/LICENSE +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/WHEEL +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.19.dist-info → catocli-1.0.21.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan updateRule '{"socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "socketLanUpdateRuleInput": {"id": {"id": "ID"}, "socketLanUpdateRuleDataInput": {"description": {"description": "String"}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "direction": {"direction": "enum(SocketLanDirection)"}, "enabled": {"enabled": "Boolean"}, "name": {"name": "String"}, "nat": {"enabled": {"enabled": "Boolean"}, "natType": {"natType": "enum(SocketLanNatType)"}}, "service": {"custom": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "simple": {"name": {"name": "enum(SimpleServiceType)"}}}, "site": {"group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "vlan": {"vlan": ["Vlan"]}}, "transport": {"transport": "enum(SocketLanTransportType)"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`socketLanUpdateRuleInput` [SocketLanUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.socketLan.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.socketLan.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy socketLan updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy socketLan updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy socketLan updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy socketLan updateSection '{"policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}, "socketLanPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.socketLan.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
18
|
+
`socketLanPolicyMutationInput` [SocketLanPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork addRule '{"wanNetworkAddRuleInput": {"policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "wanNetworkAddRuleDataInput": {"application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customService": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "customServiceIp": {"ip": {"ip": "IPAddress"}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "name": {"name": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "service": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "bandwidthPriority": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "configuration": {"activeTcpAcceleration": {"activeTcpAcceleration": "Boolean"}, "allocationIp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "backhaulingSite": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "packetLossMitigation": {"packetLossMitigation": "Boolean"}, "popLocation": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "preserveSourcePort": {"preserveSourcePort": "Boolean"}, "primaryTransport": {"primaryInterfaceRole": {"primaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "secondaryInterfaceRole": {"secondaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "transportType": {"transportType": "enum(WanNetworkRuleTransportType)"}}, "secondaryTransport": {"primaryInterfaceRole": {"primaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "secondaryInterfaceRole": {"secondaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "transportType": {"transportType": "enum(WanNetworkRuleTransportType)"}}}, "description": {"description": "String"}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "enabled": {"enabled": "Boolean"}, "exceptions": {"application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customService": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "customServiceIp": {"ip": {"ip": "IPAddress"}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "name": {"name": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "service": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "name": {"name": "String"}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "routeType": {"routeType": "enum(WanNetworkRuleRouteType)"}, "ruleType": {"ruleType": "enum(WanNetworkRuleType)"}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`wanNetworkAddRuleInput` [WanNetworkAddRuleInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork addSection '{"policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork createPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork createPolicyRevision '{"policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.createPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork discardPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork discardPolicyRevision '{"policyDiscardRevisionInput": {"id": {"id": "ID"}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.discardPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork moveRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork moveRule "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork moveRule '{"policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.moveRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork moveSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork moveSection "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork moveSection '{"policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.moveSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork publishPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork publishPolicyRevision '{"policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.publishPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork removeRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork removeRule "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork removeRule '{"wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "wanNetworkRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.removeRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`wanNetworkRemoveRuleInput` [WanNetworkRemoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork removeSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork removeSection "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork removeSection '{"policyRemoveSectionInput": {"id": {"id": "ID"}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.removeSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork updatePolicy <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork updatePolicy '{"wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "wanNetworkPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.updatePolicy ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`wanNetworkPolicyUpdateInput` [WanNetworkPolicyUpdateInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork updateRule '{"wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "wanNetworkUpdateRuleInput": {"id": {"id": "ID"}, "wanNetworkUpdateRuleDataInput": {"application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customService": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "customServiceIp": {"ip": {"ip": "IPAddress"}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "name": {"name": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "service": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "bandwidthPriority": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "configuration": {"activeTcpAcceleration": {"activeTcpAcceleration": "Boolean"}, "allocationIp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "backhaulingSite": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "packetLossMitigation": {"packetLossMitigation": "Boolean"}, "popLocation": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "preserveSourcePort": {"preserveSourcePort": "Boolean"}, "primaryTransport": {"primaryInterfaceRole": {"primaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "secondaryInterfaceRole": {"secondaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "transportType": {"transportType": "enum(WanNetworkRuleTransportType)"}}, "secondaryTransport": {"primaryInterfaceRole": {"primaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "secondaryInterfaceRole": {"secondaryInterfaceRole": "enum(WanNetworkRuleInterfaceRole)"}, "transportType": {"transportType": "enum(WanNetworkRuleTransportType)"}}}, "description": {"description": "String"}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "enabled": {"enabled": "Boolean"}, "exceptions": {"application": {"appCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customApp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customCategory": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "customService": {"port": {"port": ["Port"]}, "portRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "protocol": {"protocol": "enum(IpProtocol)"}}, "customServiceIp": {"ip": {"ip": "IPAddress"}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "name": {"name": "String"}}, "domain": {"domain": ["Domain"]}, "fqdn": {"fqdn": ["Fqdn"]}, "service": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "destination": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}, "name": {"name": "String"}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}, "name": {"name": "String"}, "routeType": {"routeType": "enum(WanNetworkRuleRouteType)"}, "ruleType": {"ruleType": "enum(WanNetworkRuleType)"}, "source": {"floatingSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "group": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "host": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "networkInterface": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "site": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "siteNetworkSubnet": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": ["NetworkSubnet"]}, "systemGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "user": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "usersGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`wanNetworkUpdateRuleInput` [WanNetworkUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.wanNetwork.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.wanNetwork.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy wanNetwork updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy wanNetwork updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy wanNetwork updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy wanNetwork updateSection '{"policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}, "wanNetworkPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.wanNetwork.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
18
|
+
`wanNetworkPolicyMutationInput` [WanNetworkPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
from ..parserApiClient import createRequest, get_help
|
|
3
|
+
|
|
4
|
+
def mutation_sandbox_parse(mutation_subparsers):
|
|
5
|
+
mutation_sandbox_parser = mutation_subparsers.add_parser('sandbox',
|
|
6
|
+
help='sandbox() mutation operation',
|
|
7
|
+
usage=get_help("mutation_sandbox"))
|
|
8
|
+
|
|
9
|
+
mutation_sandbox_subparsers = mutation_sandbox_parser.add_subparsers()
|
|
10
|
+
|
|
11
|
+
mutation_sandbox_deleteReport_parser = mutation_sandbox_subparsers.add_parser('deleteReport',
|
|
12
|
+
help='deleteReport() sandbox operation',
|
|
13
|
+
usage=get_help("mutation_sandbox_deleteReport"))
|
|
14
|
+
|
|
15
|
+
mutation_sandbox_deleteReport_parser.add_argument('json', help='Variables in JSON format.')
|
|
16
|
+
mutation_sandbox_deleteReport_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
17
|
+
mutation_sandbox_deleteReport_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
18
|
+
help='Print test request preview without sending api call')
|
|
19
|
+
mutation_sandbox_deleteReport_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
20
|
+
help='Verbose output')
|
|
21
|
+
mutation_sandbox_deleteReport_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
22
|
+
help='Pretty print')
|
|
23
|
+
mutation_sandbox_deleteReport_parser.set_defaults(func=createRequest,operation_name='mutation.sandbox.deleteReport')
|
|
24
|
+
|
|
25
|
+
mutation_sandbox_uploadFile_parser = mutation_sandbox_subparsers.add_parser('uploadFile',
|
|
26
|
+
help='uploadFile() sandbox operation',
|
|
27
|
+
usage=get_help("mutation_sandbox_uploadFile"))
|
|
28
|
+
|
|
29
|
+
mutation_sandbox_uploadFile_parser.add_argument('json', help='Variables in JSON format.')
|
|
30
|
+
mutation_sandbox_uploadFile_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
31
|
+
mutation_sandbox_uploadFile_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
32
|
+
help='Print test request preview without sending api call')
|
|
33
|
+
mutation_sandbox_uploadFile_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
34
|
+
help='Verbose output')
|
|
35
|
+
mutation_sandbox_uploadFile_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
36
|
+
help='Pretty print')
|
|
37
|
+
mutation_sandbox_uploadFile_parser.set_defaults(func=createRequest,operation_name='mutation.sandbox.uploadFile')
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sandbox.deleteReport:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-deleteReport) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sandbox.deleteReport:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sandbox deleteReport -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sandbox deleteReport <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sandbox deleteReport "$(cat < deleteReport.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sandbox deleteReport '{"deleteReportInput": {"fileHash": {"fileHash": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sandbox.deleteReport ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`deleteReportInput` [DeleteReportInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.sandbox.uploadFile:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-uploadFile) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.sandbox.uploadFile:
|
|
6
|
+
|
|
7
|
+
`catocli mutation sandbox uploadFile -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation sandbox uploadFile <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation sandbox uploadFile "$(cat < uploadFile.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation sandbox uploadFile '{"uploadFileInput": {"fileName": {"fileName": "String"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.sandbox.uploadFile ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`uploadFileInput` [UploadFileInput] - (required) N/A
|
|
@@ -92,6 +92,34 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
92
92
|
help='Pretty print')
|
|
93
93
|
mutation_site_addNetworkRange_parser.set_defaults(func=createRequest,operation_name='mutation.site.addNetworkRange')
|
|
94
94
|
|
|
95
|
+
mutation_site_addSecondaryAwsVSocket_parser = mutation_site_subparsers.add_parser('addSecondaryAwsVSocket',
|
|
96
|
+
help='addSecondaryAwsVSocket() site operation',
|
|
97
|
+
usage=get_help("mutation_site_addSecondaryAwsVSocket"))
|
|
98
|
+
|
|
99
|
+
mutation_site_addSecondaryAwsVSocket_parser.add_argument('json', help='Variables in JSON format.')
|
|
100
|
+
mutation_site_addSecondaryAwsVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
101
|
+
mutation_site_addSecondaryAwsVSocket_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
102
|
+
help='Print test request preview without sending api call')
|
|
103
|
+
mutation_site_addSecondaryAwsVSocket_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
104
|
+
help='Verbose output')
|
|
105
|
+
mutation_site_addSecondaryAwsVSocket_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
106
|
+
help='Pretty print')
|
|
107
|
+
mutation_site_addSecondaryAwsVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.site.addSecondaryAwsVSocket')
|
|
108
|
+
|
|
109
|
+
mutation_site_addSecondaryAzureVSocket_parser = mutation_site_subparsers.add_parser('addSecondaryAzureVSocket',
|
|
110
|
+
help='addSecondaryAzureVSocket() site operation',
|
|
111
|
+
usage=get_help("mutation_site_addSecondaryAzureVSocket"))
|
|
112
|
+
|
|
113
|
+
mutation_site_addSecondaryAzureVSocket_parser.add_argument('json', help='Variables in JSON format.')
|
|
114
|
+
mutation_site_addSecondaryAzureVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
115
|
+
mutation_site_addSecondaryAzureVSocket_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
116
|
+
help='Print test request preview without sending api call')
|
|
117
|
+
mutation_site_addSecondaryAzureVSocket_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
118
|
+
help='Verbose output')
|
|
119
|
+
mutation_site_addSecondaryAzureVSocket_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
120
|
+
help='Pretty print')
|
|
121
|
+
mutation_site_addSecondaryAzureVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.site.addSecondaryAzureVSocket')
|
|
122
|
+
|
|
95
123
|
mutation_site_addSocketSite_parser = mutation_site_subparsers.add_parser('addSocketSite',
|
|
96
124
|
help='addSocketSite() site operation',
|
|
97
125
|
usage=get_help("mutation_site_addSocketSite"))
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site addIpsecIkeV2Site "$(cat < addIpsecIkeV2Site.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addIpsecIkeV2Site '{"addIpsecIkeV2SiteInput": {"addSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}}}'`
|
|
13
|
+
`catocli mutation site addIpsecIkeV2Site '{"addIpsecIkeV2SiteInput": {"addSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}, "vlan": {"vlan": "Vlan"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addIpsecIkeV2Site ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site addIpsecIkeV2SiteTunnels "$(cat < addIpsecIkeV2SiteTunnels.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addIpsecIkeV2SiteTunnels '{"addIpsecIkeV2SiteTunnelsInput": {"addIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}}}}, "siteId": "ID"}'`
|
|
13
|
+
`catocli mutation site addIpsecIkeV2SiteTunnels '{"addIpsecIkeV2SiteTunnelsInput": {"addIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "downstreamMbpsPrecision": {"downstreamMbpsPrecision": "Float"}, "upstream": {"upstream": "Int"}, "upstreamMbpsPrecision": {"upstreamMbpsPrecision": "Float"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}}}}, "siteId": "ID"}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addIpsecIkeV2SiteTunnels ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.addSecondaryAwsVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSecondaryAwsVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.addSecondaryAwsVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site addSecondaryAwsVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site addSecondaryAwsVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site addSecondaryAwsVSocket "$(cat < addSecondaryAwsVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site addSecondaryAwsVSocket '{"addSecondaryAwsVSocketInput": {"eniIpAddress": {"eniIpAddress": "IPAddress"}, "eniIpSubnet": {"eniIpSubnet": "NetworkSubnet"}, "routeTableId": {"routeTableId": "String"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.addSecondaryAwsVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`addSecondaryAwsVSocketInput` [AddSecondaryAwsVSocketInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.addSecondaryAzureVSocket:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSecondaryAzureVSocket) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.addSecondaryAzureVSocket:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site addSecondaryAzureVSocket -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site addSecondaryAzureVSocket <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site addSecondaryAzureVSocket "$(cat < addSecondaryAzureVSocket.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site addSecondaryAzureVSocket '{"addSecondaryAzureVSocketInput": {"floatingIp": {"floatingIp": "IPAddress"}, "interfaceIp": {"interfaceIp": "IPAddress"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.addSecondaryAzureVSocket ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`addSecondaryAzureVSocketInput` [AddSecondaryAzureVSocketInput] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site addSocketSite "$(cat < addSocketSite.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site addSocketSite '{"addSocketSiteInput": {"addSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "connectionType": {"connectionType": "enum(SiteConnectionTypeEnum)"}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}}}'`
|
|
13
|
+
`catocli mutation site addSocketSite '{"addSocketSiteInput": {"addSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "connectionType": {"connectionType": "enum(SiteConnectionTypeEnum)"}, "description": {"description": "String"}, "name": {"name": "String"}, "nativeNetworkRange": {"nativeNetworkRange": "IPSubnet"}, "siteType": {"siteType": "enum(SiteType)"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}, "vlan": {"vlan": "Vlan"}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.addSocketSite ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site updateIpsecIkeV2SiteTunnels "$(cat < updateIpsecIkeV2SiteTunnels.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site updateIpsecIkeV2SiteTunnels '{"siteId": "ID", "updateIpsecIkeV2SiteTunnelsInput": {"updateIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "upstream": {"upstream": "Int"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}, "tunnelId": {"tunnelId": "enum(IPSecV2InterfaceId)"}}}}}'`
|
|
13
|
+
`catocli mutation site updateIpsecIkeV2SiteTunnels '{"siteId": "ID", "updateIpsecIkeV2SiteTunnelsInput": {"updateIpsecIkeV2TunnelsInput": {"destinationType": {"destinationType": "enum(DestinationType)"}, "popLocationId": {"popLocationId": "ID"}, "publicCatoIpId": {"publicCatoIpId": "ID"}, "tunnels": {"lastMileBw": {"downstream": {"downstream": "Int"}, "downstreamMbpsPrecision": {"downstreamMbpsPrecision": "Float"}, "upstream": {"upstream": "Int"}, "upstreamMbpsPrecision": {"upstreamMbpsPrecision": "Float"}}, "name": {"name": "String"}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "role": {"role": "enum(IPSecV2TunnelRole)"}, "tunnelId": {"tunnelId": "enum(IPSecV2InterfaceId)"}}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.updateIpsecIkeV2SiteTunnels ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
`catocli mutation site updateSocketInterface "$(cat < updateSocketInterface.json)"`
|
|
12
12
|
|
|
13
|
-
`catocli mutation site updateSocketInterface '{"siteId": "ID", "socketInterfaceId": "enum(SocketInterfaceIDEnum)", "updateSocketInterfaceInput": {"destType": {"destType": "enum(SocketInterfaceDestType)"}, "name": {"name": "String"}, "socketInterfaceAltWanInput": {"privateGatewayIp": {"privateGatewayIp": "IPAddress"}, "privateInterfaceIp": {"privateInterfaceIp": "IPAddress"}, "privateNetwork": {"privateNetwork": "IPSubnet"}, "privateVlanTag": {"privateVlanTag": "Int"}, "publicGatewayIp": {"publicGatewayIp": "IPAddress"}, "publicInterfaceIp": {"publicInterfaceIp": "IPAddress"}, "publicNetwork": {"publicNetwork": "IPSubnet"}, "publicVlanTag": {"publicVlanTag": "Int"}}, "socketInterfaceBandwidthInput": {"downstreamBandwidth": {"downstreamBandwidth": "Int"}, "upstreamBandwidth": {"upstreamBandwidth": "Int"}}, "socketInterfaceLagInput": {"minLinks": {"minLinks": "Int"}}, "socketInterfaceLanInput": {"localIp": {"localIp": "IPAddress"}, "subnet": {"subnet": "IPSubnet"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}}, "socketInterfaceOffCloudInput": {"enabled": {"enabled": "Boolean"}, "publicIp": {"publicIp": "IPAddress"}, "publicStaticPort": {"publicStaticPort": "Int"}}, "socketInterfaceVrrpInput": {"vrrpType": {"vrrpType": "enum(VrrpType)"}}, "socketInterfaceWanInput": {"precedence": {"precedence": "enum(SocketInterfacePrecedenceEnum)"}, "role": {"role": "enum(SocketInterfaceRole)"}}}}'`
|
|
13
|
+
`catocli mutation site updateSocketInterface '{"siteId": "ID", "socketInterfaceId": "enum(SocketInterfaceIDEnum)", "updateSocketInterfaceInput": {"destType": {"destType": "enum(SocketInterfaceDestType)"}, "name": {"name": "String"}, "socketInterfaceAltWanInput": {"privateGatewayIp": {"privateGatewayIp": "IPAddress"}, "privateInterfaceIp": {"privateInterfaceIp": "IPAddress"}, "privateNetwork": {"privateNetwork": "IPSubnet"}, "privateVlanTag": {"privateVlanTag": "Int"}, "publicGatewayIp": {"publicGatewayIp": "IPAddress"}, "publicInterfaceIp": {"publicInterfaceIp": "IPAddress"}, "publicNetwork": {"publicNetwork": "IPSubnet"}, "publicVlanTag": {"publicVlanTag": "Int"}}, "socketInterfaceBandwidthInput": {"downstreamBandwidth": {"downstreamBandwidth": "Int"}, "downstreamBandwidthMbpsPrecision": {"downstreamBandwidthMbpsPrecision": "Float"}, "upstreamBandwidth": {"upstreamBandwidth": "Int"}, "upstreamBandwidthMbpsPrecision": {"upstreamBandwidthMbpsPrecision": "Float"}}, "socketInterfaceLagInput": {"minLinks": {"minLinks": "Int"}}, "socketInterfaceLanInput": {"localIp": {"localIp": "IPAddress"}, "subnet": {"subnet": "IPSubnet"}, "translatedSubnet": {"translatedSubnet": "IPSubnet"}}, "socketInterfaceOffCloudInput": {"enabled": {"enabled": "Boolean"}, "publicIp": {"publicIp": "IPAddress"}, "publicStaticPort": {"publicStaticPort": "Int"}}, "socketInterfaceVrrpInput": {"vrrpType": {"vrrpType": "enum(VrrpType)"}}, "socketInterfaceWanInput": {"precedence": {"precedence": "enum(SocketInterfacePrecedenceEnum)"}, "role": {"role": "enum(SocketInterfaceRole)"}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.updateSocketInterface ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|
|
@@ -92,6 +92,34 @@ def mutation_sites_parse(mutation_subparsers):
|
|
|
92
92
|
help='Pretty print')
|
|
93
93
|
mutation_sites_addNetworkRange_parser.set_defaults(func=createRequest,operation_name='mutation.sites.addNetworkRange')
|
|
94
94
|
|
|
95
|
+
mutation_sites_addSecondaryAwsVSocket_parser = mutation_sites_subparsers.add_parser('addSecondaryAwsVSocket',
|
|
96
|
+
help='addSecondaryAwsVSocket() sites operation',
|
|
97
|
+
usage=get_help("mutation_sites_addSecondaryAwsVSocket"))
|
|
98
|
+
|
|
99
|
+
mutation_sites_addSecondaryAwsVSocket_parser.add_argument('json', help='Variables in JSON format.')
|
|
100
|
+
mutation_sites_addSecondaryAwsVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
101
|
+
mutation_sites_addSecondaryAwsVSocket_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
102
|
+
help='Print test request preview without sending api call')
|
|
103
|
+
mutation_sites_addSecondaryAwsVSocket_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
104
|
+
help='Verbose output')
|
|
105
|
+
mutation_sites_addSecondaryAwsVSocket_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
106
|
+
help='Pretty print')
|
|
107
|
+
mutation_sites_addSecondaryAwsVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.addSecondaryAwsVSocket')
|
|
108
|
+
|
|
109
|
+
mutation_sites_addSecondaryAzureVSocket_parser = mutation_sites_subparsers.add_parser('addSecondaryAzureVSocket',
|
|
110
|
+
help='addSecondaryAzureVSocket() sites operation',
|
|
111
|
+
usage=get_help("mutation_sites_addSecondaryAzureVSocket"))
|
|
112
|
+
|
|
113
|
+
mutation_sites_addSecondaryAzureVSocket_parser.add_argument('json', help='Variables in JSON format.')
|
|
114
|
+
mutation_sites_addSecondaryAzureVSocket_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
115
|
+
mutation_sites_addSecondaryAzureVSocket_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
116
|
+
help='Print test request preview without sending api call')
|
|
117
|
+
mutation_sites_addSecondaryAzureVSocket_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
118
|
+
help='Verbose output')
|
|
119
|
+
mutation_sites_addSecondaryAzureVSocket_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
120
|
+
help='Pretty print')
|
|
121
|
+
mutation_sites_addSecondaryAzureVSocket_parser.set_defaults(func=createRequest,operation_name='mutation.sites.addSecondaryAzureVSocket')
|
|
122
|
+
|
|
95
123
|
mutation_sites_addSocketSite_parser = mutation_sites_subparsers.add_parser('addSocketSite',
|
|
96
124
|
help='addSocketSite() sites operation',
|
|
97
125
|
usage=get_help("mutation_sites_addSocketSite"))
|