catocli 1.0.15__py3-none-any.whl → 1.0.18__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 +14 -1
- catocli/__init__.py +1 -1
- catocli/parsers/mutation_policy/__init__.py +348 -0
- catocli/parsers/mutation_policy_appTenantRestriction/README.md +7 -0
- catocli/parsers/mutation_policy_appTenantRestriction_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_appTenantRestriction_updateSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd/README.md +7 -0
- catocli/parsers/mutation_policy_remotePortFwd_addRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_addSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_createPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_discardPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_moveRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_moveSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_publishPolicyRevision/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_removeRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_removeSection/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updatePolicy/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updateRule/README.md +18 -0
- catocli/parsers/mutation_policy_remotePortFwd_updateSection/README.md +18 -0
- catocli/parsers/mutation_site/__init__.py +98 -0
- catocli/parsers/mutation_site_addBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_addCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_site_addCloudInterconnectSite/README.md +17 -0
- catocli/parsers/mutation_site_removeBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_removeCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_site_updateBgpPeer/README.md +17 -0
- catocli/parsers/mutation_site_updateCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_site_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/mutation_sites/__init__.py +98 -0
- catocli/parsers/mutation_sites_addBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_addCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_sites_addCloudInterconnectSite/README.md +17 -0
- catocli/parsers/mutation_sites_removeBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_removeCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_sites_updateBgpPeer/README.md +17 -0
- catocli/parsers/mutation_sites_updateCloudInterconnectPhysicalConnection/README.md +17 -0
- catocli/parsers/mutation_sites_updateIpsecIkeV2SiteTunnels/README.md +1 -1
- catocli/parsers/query_eventsFeed/README.md +1 -1
- catocli/parsers/query_hardwareManagement/README.md +1 -1
- catocli/parsers/query_policy/README.md +3 -1
- catocli/parsers/query_site/README.md +22 -0
- catocli/parsers/query_site/__init__.py +17 -0
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/METADATA +11 -2
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/RECORD +140 -59
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/WHEEL +1 -1
- graphql_client/api_client_types.py +1 -1
- models/mutation.policy.appTenantRestriction.addRule.json +8674 -0
- models/mutation.policy.appTenantRestriction.addSection.json +1358 -0
- models/mutation.policy.appTenantRestriction.createPolicyRevision.json +3327 -0
- models/mutation.policy.appTenantRestriction.discardPolicyRevision.json +3261 -0
- models/mutation.policy.appTenantRestriction.moveRule.json +3059 -0
- models/mutation.policy.appTenantRestriction.moveSection.json +1259 -0
- models/mutation.policy.appTenantRestriction.publishPolicyRevision.json +3318 -0
- models/mutation.policy.appTenantRestriction.removeRule.json +2707 -0
- models/mutation.policy.appTenantRestriction.removeSection.json +958 -0
- models/mutation.policy.appTenantRestriction.updatePolicy.json +3337 -0
- models/mutation.policy.appTenantRestriction.updateRule.json +8295 -0
- models/mutation.policy.appTenantRestriction.updateSection.json +1111 -0
- models/mutation.policy.remotePortFwd.addRule.json +5502 -0
- models/mutation.policy.remotePortFwd.addSection.json +1358 -0
- models/mutation.policy.remotePortFwd.createPolicyRevision.json +2628 -0
- models/mutation.policy.remotePortFwd.discardPolicyRevision.json +2562 -0
- models/mutation.policy.remotePortFwd.moveRule.json +2360 -0
- models/mutation.policy.remotePortFwd.moveSection.json +1259 -0
- models/mutation.policy.remotePortFwd.publishPolicyRevision.json +2619 -0
- models/mutation.policy.remotePortFwd.removeRule.json +2008 -0
- models/mutation.policy.remotePortFwd.removeSection.json +958 -0
- models/mutation.policy.remotePortFwd.updatePolicy.json +2638 -0
- models/mutation.policy.remotePortFwd.updateRule.json +5138 -0
- models/mutation.policy.remotePortFwd.updateSection.json +1111 -0
- models/mutation.site.addBgpPeer.json +3334 -0
- models/mutation.site.addCloudInterconnectPhysicalConnection.json +1441 -0
- models/mutation.site.addCloudInterconnectSite.json +911 -0
- models/mutation.site.addIpsecIkeV2Site.json +2 -2
- models/mutation.site.addIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.site.addNetworkRange.json +2 -2
- models/mutation.site.addSocketSite.json +2 -2
- models/mutation.site.addStaticHost.json +2 -2
- models/mutation.site.removeBgpPeer.json +1158 -0
- models/mutation.site.removeCloudInterconnectPhysicalConnection.json +298 -0
- models/mutation.site.removeIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.site.removeNetworkRange.json +2 -2
- models/mutation.site.removeSite.json +2 -2
- models/mutation.site.removeStaticHost.json +2 -2
- models/mutation.site.updateBgpPeer.json +3063 -0
- models/mutation.site.updateCloudInterconnectPhysicalConnection.json +1056 -0
- models/mutation.site.updateHa.json +2 -2
- models/mutation.site.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
- models/mutation.site.updateIpsecIkeV2SiteTunnels.json +405 -2
- models/mutation.site.updateNetworkRange.json +2 -2
- models/mutation.site.updateSiteGeneralDetails.json +2 -2
- models/mutation.site.updateSocketInterface.json +2 -2
- models/mutation.site.updateStaticHost.json +2 -2
- models/mutation.sites.addBgpPeer.json +3334 -0
- models/mutation.sites.addCloudInterconnectPhysicalConnection.json +1441 -0
- models/mutation.sites.addCloudInterconnectSite.json +911 -0
- models/mutation.sites.addIpsecIkeV2Site.json +2 -2
- models/mutation.sites.addIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.sites.addNetworkRange.json +2 -2
- models/mutation.sites.addSocketSite.json +2 -2
- models/mutation.sites.addStaticHost.json +2 -2
- models/mutation.sites.removeBgpPeer.json +1158 -0
- models/mutation.sites.removeCloudInterconnectPhysicalConnection.json +298 -0
- models/mutation.sites.removeIpsecIkeV2SiteTunnels.json +2 -2
- models/mutation.sites.removeNetworkRange.json +2 -2
- models/mutation.sites.removeSite.json +2 -2
- models/mutation.sites.removeStaticHost.json +2 -2
- models/mutation.sites.updateBgpPeer.json +3063 -0
- models/mutation.sites.updateCloudInterconnectPhysicalConnection.json +1056 -0
- models/mutation.sites.updateHa.json +2 -2
- models/mutation.sites.updateIpsecIkeV2SiteGeneralDetails.json +2 -2
- models/mutation.sites.updateIpsecIkeV2SiteTunnels.json +405 -2
- models/mutation.sites.updateNetworkRange.json +2 -2
- models/mutation.sites.updateSiteGeneralDetails.json +2 -2
- models/mutation.sites.updateSocketInterface.json +2 -2
- models/mutation.sites.updateStaticHost.json +2 -2
- models/query.auditFeed.json +36 -12
- models/query.events.json +144 -48
- models/query.eventsFeed.json +36 -12
- models/query.eventsTimeSeries.json +108 -36
- models/query.hardwareManagement.json +192 -0
- models/query.licensing.json +304 -325
- models/query.policy.json +9605 -4234
- models/query.site.json +4138 -0
- models/query.xdr.stories.json +27 -27
- models/query.xdr.story.json +27 -27
- schema/catolib.py +11 -1
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/LICENSE +0 -0
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/entry_points.txt +0 -0
- {catocli-1.0.15.dist-info → catocli-1.0.18.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction updateRule '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "appTenantRestrictionUpdateRuleInput": {"appTenantRestrictionUpdateRuleDataInput": {"action": {"action": "enum(AppTenantRestrictionActionEnum)"}, "application": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "headers": {"name": {"name": "HttpHeaderName"}, "value": {"value": "HttpHeaderValue"}}, "name": {"name": "String"}, "schedule": {"activeOn": {"activeOn": "enum(PolicyActiveOnEnum)"}, "customRecurring": {"days": {"days": "enum(DayOfWeek)"}, "from": {"from": "Time"}, "to": {"to": "Time"}}, "customTimeframe": {"from": {"from": "DateTime"}, "to": {"to": "DateTime"}}}, "severity": {"severity": "enum(AppTenantRestrictionSeverityEnum)"}, "source": {"country": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "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"}}}}, "id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`appTenantRestrictionUpdateRuleInput` [AppTenantRestrictionUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.appTenantRestriction.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.appTenantRestriction.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy appTenantRestriction updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy appTenantRestriction updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy appTenantRestriction updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy appTenantRestriction updateSection '{"appTenantRestrictionPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.appTenantRestriction.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`appTenantRestrictionPolicyMutationInput` [AppTenantRestrictionPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.addRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.addRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd addRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd addRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd addRule "$(cat < addRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd addRule '{"remotePortFwdAddRuleInput": {"policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}, "remotePortFwdAddRuleDataInput": {"description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "externalIp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "externalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "forwardIcmp": {"forwardIcmp": "Boolean"}, "internalIp": {"internalIp": "IPAddress"}, "internalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "name": {"name": "String"}, "remoteIPs": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "restrictionType": {"restrictionType": "enum(RemotePortFwdRestrictionType)"}, "tracking": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.addRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`remotePortFwdAddRuleInput` [RemotePortFwdAddRuleInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.addSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.addSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd addSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd addSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd addSection "$(cat < addSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd addSection '{"policyAddSectionInput": {"policyAddSectionInfoInput": {"name": {"name": "String"}}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.addSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyAddSectionInput` [PolicyAddSectionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.createPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-createPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.createPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd createPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd createPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd createPolicyRevision "$(cat < createPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd createPolicyRevision '{"policyCreateRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.createPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyCreateRevisionInput` [PolicyCreateRevisionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.discardPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-discardPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.discardPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd discardPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd discardPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd discardPolicyRevision "$(cat < discardPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd discardPolicyRevision '{"policyDiscardRevisionInput": {"id": {"id": "ID"}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.discardPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyDiscardRevisionInput` [PolicyDiscardRevisionInput] - (optional) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.moveRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.moveRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd moveRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd moveRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd moveRule "$(cat < moveRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd moveRule '{"policyMoveRuleInput": {"id": {"id": "ID"}, "policyRulePositionInput": {"position": {"position": "enum(PolicyRulePositionEnum)"}, "ref": {"ref": "ID"}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.moveRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveRuleInput` [PolicyMoveRuleInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.moveSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-moveSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.moveSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd moveSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd moveSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd moveSection "$(cat < moveSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd moveSection '{"policyMoveSectionInput": {"id": {"id": "ID"}, "policySectionPositionInput": {"position": {"position": "enum(PolicySectionPositionEnum)"}, "ref": {"ref": "ID"}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.moveSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyMoveSectionInput` [PolicyMoveSectionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.publishPolicyRevision:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-publishPolicyRevision) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.publishPolicyRevision:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd publishPolicyRevision -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd publishPolicyRevision <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd publishPolicyRevision "$(cat < publishPolicyRevision.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd publishPolicyRevision '{"policyPublishRevisionInput": {"description": {"description": "String"}, "name": {"name": "String"}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.publishPolicyRevision ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyPublishRevisionInput` [PolicyPublishRevisionInput] - (optional) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.removeRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.removeRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd removeRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd removeRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd removeRule "$(cat < removeRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd removeRule '{"remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "remotePortFwdRemoveRuleInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.removeRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`remotePortFwdRemoveRuleInput` [RemotePortFwdRemoveRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.removeSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.removeSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd removeSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd removeSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd removeSection "$(cat < removeSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd removeSection '{"policyRemoveSectionInput": {"id": {"id": "ID"}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.removeSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyRemoveSectionInput` [PolicyRemoveSectionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.updatePolicy:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updatePolicy) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.updatePolicy:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd updatePolicy -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd updatePolicy <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd updatePolicy "$(cat < updatePolicy.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd updatePolicy '{"remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "remotePortFwdPolicyUpdateInput": {"state": {"state": "enum(PolicyToggleState)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.updatePolicy ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`remotePortFwdPolicyUpdateInput` [RemotePortFwdPolicyUpdateInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.updateRule:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateRule) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.updateRule:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd updateRule -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd updateRule <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd updateRule "$(cat < updateRule.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd updateRule '{"remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}, "remotePortFwdUpdateRuleInput": {"id": {"id": "ID"}, "remotePortFwdUpdateRuleDataInput": {"description": {"description": "String"}, "enabled": {"enabled": "Boolean"}, "externalIp": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "externalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "forwardIcmp": {"forwardIcmp": "Boolean"}, "internalIp": {"internalIp": "IPAddress"}, "internalPortRange": {"from": {"from": "Port"}, "to": {"to": "Port"}}, "name": {"name": "String"}, "remoteIPs": {"globalIpRange": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "ip": {"ip": ["IPAddress"]}, "ipRange": {"from": {"from": "IPAddress"}, "to": {"to": "IPAddress"}}, "subnet": {"subnet": ["NetworkSubnet"]}}, "restrictionType": {"restrictionType": "enum(RemotePortFwdRestrictionType)"}, "tracking": {"enabled": {"enabled": "Boolean"}, "frequency": {"frequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "mailingList": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subscriptionGroup": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "webhook": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.updateRule ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
18
|
+
`remotePortFwdUpdateRuleInput` [RemotePortFwdUpdateRuleInput] - (required) N/A
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.policy.remotePortFwd.updateSection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateSection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.policy.remotePortFwd.updateSection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation policy remotePortFwd updateSection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation policy remotePortFwd updateSection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation policy remotePortFwd updateSection "$(cat < updateSection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation policy remotePortFwd updateSection '{"policyUpdateSectionInput": {"id": {"id": "ID"}, "policyUpdateSectionInfoInput": {"name": {"name": "String"}}}, "remotePortFwdPolicyMutationInput": {"policyMutationRevisionInput": {"id": {"id": "ID"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.policy.remotePortFwd.updateSection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`policyUpdateSectionInput` [PolicyUpdateSectionInput] - (required) N/A
|
|
18
|
+
`remotePortFwdPolicyMutationInput` [RemotePortFwdPolicyMutationInput] - (optional) N/A
|
|
@@ -8,6 +8,48 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
8
8
|
|
|
9
9
|
mutation_site_subparsers = mutation_site_parser.add_subparsers()
|
|
10
10
|
|
|
11
|
+
mutation_site_addBgpPeer_parser = mutation_site_subparsers.add_parser('addBgpPeer',
|
|
12
|
+
help='addBgpPeer() site operation',
|
|
13
|
+
usage=get_help("mutation_site_addBgpPeer"))
|
|
14
|
+
|
|
15
|
+
mutation_site_addBgpPeer_parser.add_argument('json', help='Variables in JSON format.')
|
|
16
|
+
mutation_site_addBgpPeer_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
17
|
+
mutation_site_addBgpPeer_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
18
|
+
help='Print test request preview without sending api call')
|
|
19
|
+
mutation_site_addBgpPeer_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
20
|
+
help='Verbose output')
|
|
21
|
+
mutation_site_addBgpPeer_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
22
|
+
help='Pretty print')
|
|
23
|
+
mutation_site_addBgpPeer_parser.set_defaults(func=createRequest,operation_name='mutation.site.addBgpPeer')
|
|
24
|
+
|
|
25
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser = mutation_site_subparsers.add_parser('addCloudInterconnectPhysicalConnection',
|
|
26
|
+
help='addCloudInterconnectPhysicalConnection() site operation',
|
|
27
|
+
usage=get_help("mutation_site_addCloudInterconnectPhysicalConnection"))
|
|
28
|
+
|
|
29
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.add_argument('json', help='Variables in JSON format.')
|
|
30
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
31
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
32
|
+
help='Print test request preview without sending api call')
|
|
33
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
34
|
+
help='Verbose output')
|
|
35
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
36
|
+
help='Pretty print')
|
|
37
|
+
mutation_site_addCloudInterconnectPhysicalConnection_parser.set_defaults(func=createRequest,operation_name='mutation.site.addCloudInterconnectPhysicalConnection')
|
|
38
|
+
|
|
39
|
+
mutation_site_addCloudInterconnectSite_parser = mutation_site_subparsers.add_parser('addCloudInterconnectSite',
|
|
40
|
+
help='addCloudInterconnectSite() site operation',
|
|
41
|
+
usage=get_help("mutation_site_addCloudInterconnectSite"))
|
|
42
|
+
|
|
43
|
+
mutation_site_addCloudInterconnectSite_parser.add_argument('json', help='Variables in JSON format.')
|
|
44
|
+
mutation_site_addCloudInterconnectSite_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
45
|
+
mutation_site_addCloudInterconnectSite_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
46
|
+
help='Print test request preview without sending api call')
|
|
47
|
+
mutation_site_addCloudInterconnectSite_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
48
|
+
help='Verbose output')
|
|
49
|
+
mutation_site_addCloudInterconnectSite_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
50
|
+
help='Pretty print')
|
|
51
|
+
mutation_site_addCloudInterconnectSite_parser.set_defaults(func=createRequest,operation_name='mutation.site.addCloudInterconnectSite')
|
|
52
|
+
|
|
11
53
|
mutation_site_addIpsecIkeV2Site_parser = mutation_site_subparsers.add_parser('addIpsecIkeV2Site',
|
|
12
54
|
help='addIpsecIkeV2Site() site operation',
|
|
13
55
|
usage=get_help("mutation_site_addIpsecIkeV2Site"))
|
|
@@ -78,6 +120,34 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
78
120
|
help='Pretty print')
|
|
79
121
|
mutation_site_addStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.site.addStaticHost')
|
|
80
122
|
|
|
123
|
+
mutation_site_removeBgpPeer_parser = mutation_site_subparsers.add_parser('removeBgpPeer',
|
|
124
|
+
help='removeBgpPeer() site operation',
|
|
125
|
+
usage=get_help("mutation_site_removeBgpPeer"))
|
|
126
|
+
|
|
127
|
+
mutation_site_removeBgpPeer_parser.add_argument('json', help='Variables in JSON format.')
|
|
128
|
+
mutation_site_removeBgpPeer_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
129
|
+
mutation_site_removeBgpPeer_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
130
|
+
help='Print test request preview without sending api call')
|
|
131
|
+
mutation_site_removeBgpPeer_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
132
|
+
help='Verbose output')
|
|
133
|
+
mutation_site_removeBgpPeer_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
134
|
+
help='Pretty print')
|
|
135
|
+
mutation_site_removeBgpPeer_parser.set_defaults(func=createRequest,operation_name='mutation.site.removeBgpPeer')
|
|
136
|
+
|
|
137
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser = mutation_site_subparsers.add_parser('removeCloudInterconnectPhysicalConnection',
|
|
138
|
+
help='removeCloudInterconnectPhysicalConnection() site operation',
|
|
139
|
+
usage=get_help("mutation_site_removeCloudInterconnectPhysicalConnection"))
|
|
140
|
+
|
|
141
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.add_argument('json', help='Variables in JSON format.')
|
|
142
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
143
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
144
|
+
help='Print test request preview without sending api call')
|
|
145
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
146
|
+
help='Verbose output')
|
|
147
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
148
|
+
help='Pretty print')
|
|
149
|
+
mutation_site_removeCloudInterconnectPhysicalConnection_parser.set_defaults(func=createRequest,operation_name='mutation.site.removeCloudInterconnectPhysicalConnection')
|
|
150
|
+
|
|
81
151
|
mutation_site_removeIpsecIkeV2SiteTunnels_parser = mutation_site_subparsers.add_parser('removeIpsecIkeV2SiteTunnels',
|
|
82
152
|
help='removeIpsecIkeV2SiteTunnels() site operation',
|
|
83
153
|
usage=get_help("mutation_site_removeIpsecIkeV2SiteTunnels"))
|
|
@@ -134,6 +204,34 @@ def mutation_site_parse(mutation_subparsers):
|
|
|
134
204
|
help='Pretty print')
|
|
135
205
|
mutation_site_removeStaticHost_parser.set_defaults(func=createRequest,operation_name='mutation.site.removeStaticHost')
|
|
136
206
|
|
|
207
|
+
mutation_site_updateBgpPeer_parser = mutation_site_subparsers.add_parser('updateBgpPeer',
|
|
208
|
+
help='updateBgpPeer() site operation',
|
|
209
|
+
usage=get_help("mutation_site_updateBgpPeer"))
|
|
210
|
+
|
|
211
|
+
mutation_site_updateBgpPeer_parser.add_argument('json', help='Variables in JSON format.')
|
|
212
|
+
mutation_site_updateBgpPeer_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
213
|
+
mutation_site_updateBgpPeer_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
214
|
+
help='Print test request preview without sending api call')
|
|
215
|
+
mutation_site_updateBgpPeer_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
216
|
+
help='Verbose output')
|
|
217
|
+
mutation_site_updateBgpPeer_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
218
|
+
help='Pretty print')
|
|
219
|
+
mutation_site_updateBgpPeer_parser.set_defaults(func=createRequest,operation_name='mutation.site.updateBgpPeer')
|
|
220
|
+
|
|
221
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser = mutation_site_subparsers.add_parser('updateCloudInterconnectPhysicalConnection',
|
|
222
|
+
help='updateCloudInterconnectPhysicalConnection() site operation',
|
|
223
|
+
usage=get_help("mutation_site_updateCloudInterconnectPhysicalConnection"))
|
|
224
|
+
|
|
225
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.add_argument('json', help='Variables in JSON format.')
|
|
226
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.add_argument('-accountID', help='Override the CATO_ACCOUNT_ID environment variable with this value.')
|
|
227
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.add_argument('-t', const=True, default=False, nargs='?',
|
|
228
|
+
help='Print test request preview without sending api call')
|
|
229
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.add_argument('-v', const=True, default=False, nargs='?',
|
|
230
|
+
help='Verbose output')
|
|
231
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.add_argument('-p', const=True, default=False, nargs='?',
|
|
232
|
+
help='Pretty print')
|
|
233
|
+
mutation_site_updateCloudInterconnectPhysicalConnection_parser.set_defaults(func=createRequest,operation_name='mutation.site.updateCloudInterconnectPhysicalConnection')
|
|
234
|
+
|
|
137
235
|
mutation_site_updateHa_parser = mutation_site_subparsers.add_parser('updateHa',
|
|
138
236
|
help='updateHa() site operation',
|
|
139
237
|
usage=get_help("mutation_site_updateHa"))
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.addBgpPeer:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addBgpPeer) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.addBgpPeer:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site addBgpPeer -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site addBgpPeer <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site addBgpPeer "$(cat < addBgpPeer.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site addBgpPeer '{"addBgpPeerInput": {"advertiseAllRoutes": {"advertiseAllRoutes": "Boolean"}, "advertiseDefaultRoute": {"advertiseDefaultRoute": "Boolean"}, "advertiseSummaryRoutes": {"advertiseSummaryRoutes": "Boolean"}, "bfdEnabled": {"bfdEnabled": "Boolean"}, "bfdSettingsInput": {"multiplier": {"multiplier": "Int"}, "receiveInterval": {"receiveInterval": "Int"}, "transmitInterval": {"transmitInterval": "Int"}}, "bgpSummaryRouteInput": {"community": {"from": {"from": "Asn16"}, "to": {"to": "Asn16"}}, "route": {"route": "NetworkSubnet"}}, "bgpTrackingInput": {"alertFrequency": {"alertFrequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "enabled": {"enabled": "Boolean"}, "subscriptionId": {"subscriptionId": "ID"}}, "catoAsn": {"catoAsn": "Asn16"}, "defaultAction": {"defaultAction": "enum(BgpDefaultAction)"}, "holdTime": {"holdTime": "Int"}, "keepaliveInterval": {"keepaliveInterval": "Int"}, "md5AuthKey": {"md5AuthKey": "String"}, "metric": {"metric": "Int"}, "name": {"name": "String"}, "peerAsn": {"peerAsn": "Asn32"}, "peerIp": {"peerIp": "IPAddress"}, "performNat": {"performNat": "Boolean"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.addBgpPeer ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`addBgpPeerInput` [AddBgpPeerInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.addCloudInterconnectPhysicalConnection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addCloudInterconnectPhysicalConnection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.addCloudInterconnectPhysicalConnection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site addCloudInterconnectPhysicalConnection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site addCloudInterconnectPhysicalConnection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site addCloudInterconnectPhysicalConnection "$(cat < addCloudInterconnectPhysicalConnection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site addCloudInterconnectPhysicalConnection '{"addCloudInterconnectPhysicalConnectionInput": {"downstreamBwLimit": {"downstreamBwLimit": "NetworkBandwidth"}, "encapsulationMethod": {"encapsulationMethod": "enum(TaggingMethod)"}, "haRole": {"haRole": "enum(HaRole)"}, "popLocationRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "serviceProviderName": {"serviceProviderName": "String"}, "siteRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "subnet": {"subnet": "NetworkSubnet"}, "upstreamBwLimit": {"upstreamBwLimit": "NetworkBandwidth"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.addCloudInterconnectPhysicalConnection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`addCloudInterconnectPhysicalConnectionInput` [AddCloudInterconnectPhysicalConnectionInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.addCloudInterconnectSite:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-addCloudInterconnectSite) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.addCloudInterconnectSite:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site addCloudInterconnectSite -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site addCloudInterconnectSite <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site addCloudInterconnectSite "$(cat < addCloudInterconnectSite.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site addCloudInterconnectSite '{"addCloudInterconnectSiteInput": {"addSiteLocationInput": {"address": {"address": "String"}, "city": {"city": "String"}, "countryCode": {"countryCode": "String"}, "stateCode": {"stateCode": "String"}, "timezone": {"timezone": "String"}}, "description": {"description": "String"}, "name": {"name": "String"}, "siteType": {"siteType": "enum(SiteType)"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.addCloudInterconnectSite ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`addCloudInterconnectSiteInput` [AddCloudInterconnectSiteInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.removeBgpPeer:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeBgpPeer) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.removeBgpPeer:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site removeBgpPeer -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site removeBgpPeer <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site removeBgpPeer "$(cat < removeBgpPeer.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site removeBgpPeer '{"removeBgpPeerInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.removeBgpPeer ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`removeBgpPeerInput` [RemoveBgpPeerInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.removeCloudInterconnectPhysicalConnection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-removeCloudInterconnectPhysicalConnection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.removeCloudInterconnectPhysicalConnection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site removeCloudInterconnectPhysicalConnection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site removeCloudInterconnectPhysicalConnection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site removeCloudInterconnectPhysicalConnection "$(cat < removeCloudInterconnectPhysicalConnection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site removeCloudInterconnectPhysicalConnection '{"removeCloudInterconnectPhysicalConnectionInput": {"id": {"id": "ID"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.removeCloudInterconnectPhysicalConnection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`removeCloudInterconnectPhysicalConnectionInput` [RemoveCloudInterconnectPhysicalConnectionInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.updateBgpPeer:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateBgpPeer) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.updateBgpPeer:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site updateBgpPeer -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site updateBgpPeer <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site updateBgpPeer "$(cat < updateBgpPeer.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site updateBgpPeer '{"updateBgpPeerInput": {"advertiseAllRoutes": {"advertiseAllRoutes": "Boolean"}, "advertiseDefaultRoute": {"advertiseDefaultRoute": "Boolean"}, "advertiseSummaryRoutes": {"advertiseSummaryRoutes": "Boolean"}, "bfdEnabled": {"bfdEnabled": "Boolean"}, "bfdSettingsInput": {"multiplier": {"multiplier": "Int"}, "receiveInterval": {"receiveInterval": "Int"}, "transmitInterval": {"transmitInterval": "Int"}}, "bgpSummaryRouteInput": {"community": {"from": {"from": "Asn16"}, "to": {"to": "Asn16"}}, "route": {"route": "NetworkSubnet"}}, "bgpTrackingInput": {"alertFrequency": {"alertFrequency": "enum(PolicyRuleTrackingFrequencyEnum)"}, "enabled": {"enabled": "Boolean"}, "subscriptionId": {"subscriptionId": "ID"}}, "catoAsn": {"catoAsn": "Asn16"}, "defaultAction": {"defaultAction": "enum(BgpDefaultAction)"}, "holdTime": {"holdTime": "Int"}, "id": {"id": "ID"}, "keepaliveInterval": {"keepaliveInterval": "Int"}, "md5AuthKey": {"md5AuthKey": "String"}, "metric": {"metric": "Int"}, "name": {"name": "String"}, "peerAsn": {"peerAsn": "Asn32"}, "peerIp": {"peerIp": "IPAddress"}, "performNat": {"performNat": "Boolean"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.updateBgpPeer ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateBgpPeerInput` [UpdateBgpPeerInput] - (required) N/A
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
## CATO-CLI - mutation.site.updateCloudInterconnectPhysicalConnection:
|
|
3
|
+
[Click here](https://api.catonetworks.com/documentation/#mutation-updateCloudInterconnectPhysicalConnection) for documentation on this operation.
|
|
4
|
+
|
|
5
|
+
### Usage for mutation.site.updateCloudInterconnectPhysicalConnection:
|
|
6
|
+
|
|
7
|
+
`catocli mutation site updateCloudInterconnectPhysicalConnection -h`
|
|
8
|
+
|
|
9
|
+
`catocli mutation site updateCloudInterconnectPhysicalConnection <json>`
|
|
10
|
+
|
|
11
|
+
`catocli mutation site updateCloudInterconnectPhysicalConnection "$(cat < updateCloudInterconnectPhysicalConnection.json)"`
|
|
12
|
+
|
|
13
|
+
`catocli mutation site updateCloudInterconnectPhysicalConnection '{"updateCloudInterconnectPhysicalConnectionInput": {"downstreamBwLimit": {"downstreamBwLimit": "NetworkBandwidth"}, "encapsulationMethod": {"encapsulationMethod": "enum(TaggingMethod)"}, "id": {"id": "ID"}, "popLocationRefInput": {"by": {"by": "enum(ObjectRefBy)"}, "input": {"input": "String"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "serviceProviderName": {"serviceProviderName": "String"}, "subnet": {"subnet": "NetworkSubnet"}, "upstreamBwLimit": {"upstreamBwLimit": "NetworkBandwidth"}}}'`
|
|
14
|
+
|
|
15
|
+
#### Operation Arguments for mutation.site.updateCloudInterconnectPhysicalConnection ####
|
|
16
|
+
`accountId` [ID] - (required) N/A
|
|
17
|
+
`updateCloudInterconnectPhysicalConnectionInput` [UpdateCloudInterconnectPhysicalConnectionInput] - (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"}}, "privateCatoIp": {"privateCatoIp": "IPAddress"}, "privateSiteIp": {"privateSiteIp": "IPAddress"}, "psk": {"psk": "String"}, "publicSiteIp": {"publicSiteIp": "IPAddress"}, "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"}, "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)"}}}}}'`
|
|
14
14
|
|
|
15
15
|
#### Operation Arguments for mutation.site.updateIpsecIkeV2SiteTunnels ####
|
|
16
16
|
`accountId` [ID] - (required) N/A
|