getAllFTDManualNatRule

The getAllFTDManualNatRule operation handles configuration related to /api/fmc_config/v1/domain/{domainUUID}/policy/ftdnatpolicies/{containerUUID}/manualnatrules path. 

Description

Retrieves, deletes, creates, or modifies the Manual NAT rule associated with the specified ID. Also, retrieves list of all Manual NAT rules.

Path Parameters

Parameter Required Type Description
containerUUID True string The container id under which this specific resource is contained.
domainUUID True string Domain UUID

Query Parameters

Parameter Required Type Description
filter False string Value is of format : "ids:id1,id2,...;sourceInterface:name1,name2,...;destinationInterface:name1,name2,...;
originalSource:name1/value1,name2/value2,...;originalDestination:name1/value1,name2/value2,...;
translatedSource:name1/value1,name2/value2,...;translatedDestination:name1/value1,name2/value2,...;
originalSourcePort:name1/value1,name2/value2,...;originalDestinationPort:name1/value1,name2/value2,...;
translatedSourcePort:name1/value1,name2/value2,...;translatedDestinationPort:name1/value1,name2/value2,...;"


ids:id1,id2,...etc. This ids is a comma-separated list of rule ids to fetch/deletesourceInterface:SecurityZone/Interface group name (sec_zone_name1) can be given as value to fetch/delete nat rule
destinationInterface:SecurityZone/Interface group name (sec_zone_name1) can be given as value to fetch/delete nat rule
originalSource: Network object configured as Original source object name (object_name) or the value (10.1.2.3) of the object can be given
originalDestination:Network object configured as Destination source object name (object_name) or the value (10.1.2.3) of the object can be given
translatedSource:Network object configured as translated source object name (object_name) or the value (10.1.2.3) of the object can be given
translatedDestination:Network object configured as translated Destination object name (object_name) or the value (10.1.2.3) of the object can be given
originalSourcePort:Port object configured as Original Source Port object name (http) or value of the object as port no or protocol (tcp/80) can be given
originalDestinationPort:Port object configured as Original Destination Port object name (http) or value of the object as port no or protocol (tcp/80) can be given
translatedSourcePort:Port object configured as Translated Source Port object name (http) or value of the object as port no or protocol (tcp/80) can be given
translatedDestinationPort:Port object configured as Translated Destination Port object name (http) or value of the object as port no or protocol (tcp/80) can be given"
offset False integer Index of first item to return.
limit False integer Number of items to return.
expanded False boolean If set to true, the GET response displays a list of objects with additional attributes.

Example

- name: Execute 'getAllFTDManualNatRule' operation
  cisco.fmcansible.fmc_configuration:
    operation: "getAllFTDManualNatRule"
    path_params:
        containerUUID: "{{ container_uuid }}"
        domainUUID: "{{ domain_uuid }}"
    query_params:
        filter: "{{ filter }}"
        offset: "{{ offset }}"
        limit: "{{ limit }}"
        expanded: "{{ expanded }}"