text: #!/usr/bin/python
  from __future__ import absolute_import, division, print_function
  # Copyright 2019-2021 Fortinet, Inc.
  #
  # This program is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with this program.  If not, see <https://www.gnu.org/licenses/>.
  
  __metaclass__ = type
  
  ANSIBLE_METADATA = {'status': ['preview'],
                      'supported_by': 'community',
                      'metadata_version': '1.1'}
  
  DOCUMENTATION = '''
  ---
  module: fmgr_pkg_firewall_consolidated_policy_sectionvalue
  short_description: Configure consolidated IPv4/IPv6 policies.
  description:
      - This module is able to configure a FortiManager device.
      - Examples include all parameters and values which need to be adjusted to data sources before usage.
  
  version_added: "2.10"
  author:
      - Link Zheng (@chillancezen)
      - Jie Xue (@JieX19)
      - Frank Shen (@fshen01)
      - Hongbin Lu (@fgtdev-hblu)
  notes:
      - Running in workspace locking mode is supported in this FortiManager module, the top
        level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
      - To create or update an object, use state present directive.
      - To delete an object, use state absent directive.
      - Normally, running one module can fail when a non-zero rc is returned. you can also override
        the conditions to fail or succeed with parameters rc_failed and rc_succeeded
  
  options:
      enable_log:
          description: Enable/Disable logging for task
          required: false
          type: bool
          default: false
      proposed_method:
          description: The overridden method for the underlying Json RPC request
          required: false
          type: str
          choices:
            - update
            - set
            - add
      bypass_validation:
          description: only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters
          required: false
          type: bool
          default: false
      workspace_locking_adom:
          description: the adom to lock for FortiManager running in workspace mode, the value can be global and others including root
          required: false
          type: str
      workspace_locking_timeout:
          description: the maximum time in seconds to wait for other user to release the workspace lock
          required: false
          type: int
          default: 300
      state:
          description: the directive to create, update or delete an object
          type: str
          required: true
          choices:
            - present
            - absent
      rc_succeeded:
          description: the rc codes list with which the conditions to succeed will be overriden
          type: list
          required: false
      rc_failed:
          description: the rc codes list with which the conditions to fail will be overriden
          type: list
          required: false
      adom:
          description: the parameter (adom) in requested url
          type: str
          required: true
      pkg:
          description: the parameter (pkg) in requested url
          type: str
          required: true
      policy:
          description: the parameter (policy) in requested url
          type: str
          required: true
      pkg_firewall_consolidated_policy_sectionvalue:
          description: the top level parameters set
          required: false
          type: dict
          suboptions:
              action:
                  type: str
                  description: 'Policy action (allow/deny/ipsec).'
                  choices:
                      - 'deny'
                      - 'accept'
                      - 'ipsec'
              app-category:
                  type: str
                  description: 'Application category ID list.'
              app-group:
                  type: str
                  description: 'Application group names.'
              application:
                  description: no description
                  type: int
              application-list:
                  type: str
                  description: 'Name of an existing Application list.'
              auto-asic-offload:
                  type: str
                  description: 'Enable/disable offloading security profile processing to CP processors.'
                  choices:
                      - 'disable'
                      - 'enable'
              av-profile:
                  type: str
                  description: 'Name of an existing Antivirus profile.'
              cifs-profile:
                  type: str
                  description: 'Name of an existing CIFS profile.'
              comments:
                  type: str
                  description: 'Comment.'
              diffserv-forward:
                  type: str
                  description: 'Enable to change packets DiffServ values to the specified diffservcode-forward value.'
                  choices:
                      - 'disable'
                      - 'enable'
              diffserv-reverse:
                  type: str
                  description: 'Enable to change packets reverse (reply) DiffServ values to the specified diffservcode-rev value.'
                  choices:
                      - 'disable'
                      - 'enable'
              diffservcode-forward:
                  type: str
                  description: 'Change packets DiffServ to this value.'
              diffservcode-rev:
                  type: str
                  description: 'Change packets reverse (reply) DiffServ to this value.'
              dlp-sensor:
                  type: str
                  description: 'Name of an existing DLP sensor.'
              dnsfilter-profile:
                  type: str
                  description: 'Name of an existing DNS filter profile.'
              dstaddr4:
                  type: str
                  description: 'Destination IPv4 address name and address group names.'
              dstaddr6:
                  type: str
                  description: 'Destination IPv6 address name and address group names.'
              dstintf:
                  type: str
                  description: 'Outgoing (egress) interface.'
              emailfilter-profile:
                  type: str
                  description: 'Name of an existing email filter profile.'
              fixedport:
                  type: str
                  description: 'Enable to prevent source NAT from changing a sessions source port.'
                  choices:
                      - 'disable'
                      - 'enable'
              groups:
                  type: str
                  description: 'Names of user groups that can authenticate with this policy.'
              http-policy-redirect:
                  type: str
                  description: 'Redirect HTTP(S) traffic to matching transparent web proxy policy.'
                  choices:
                      - 'disable'
                      - 'enable'
              icap-profile:
                  type: str
                  description: 'Name of an existing ICAP profile.'
              inbound:
                  type: str
                  description: 'Policy-based IPsec VPN: only traffic from the remote network can initiate a VPN.'
                  choices:
                      - 'disable'
                      - 'enable'
              inspection-mode:
                  type: str
                  description: 'Policy inspection mode (Flow/proxy). Default is Flow mode.'
                  choices:
                      - 'proxy'
                      - 'flow'
              internet-service:
                  type: str
                  description: 'Enable/disable use of Internet Services for this policy. If enabled, destination address and service are not used.'
                  choices:
                      - 'disable'
                      - 'enable'
              internet-service-custom:
                  type: str
                  description: 'Custom Internet Service name.'
              internet-service-custom-group:
                  type: str
                  description: 'Custom Internet Service group name.'
              internet-service-group:
                  type: str
                  description: 'Internet Service group name.'
              internet-service-id:
                  type: str
                  description: 'Internet Service ID.'
              internet-service-src:
                  type: str
                  description: 'Enable/disable use of Internet Services in source for this policy. If enabled, source address is not used.'
                  choices:
                      - 'disable'
                      - 'enable'
              internet-service-src-custom:
                  type: str
                  description: 'Custom Internet Service source name.'
              internet-service-src-custom-group:
                  type: str
                  description: 'Custom Internet Service source group name.'
              internet-service-src-group:
                  type: str
                  description: 'Internet Service source group name.'
              internet-service-src-id:
                  type: str
                  description: 'Internet Service source ID.'
              ippool:
                  type: str
                  description: 'Enable to use IP Pools for source NAT.'
                  choices:
                      - 'disable'
                      - 'enable'
              ips-sensor:
                  type: str
                  description: 'Name of an existing IPS sensor.'
              logtraffic:
                  type: str
                  description: 'Enable or disable logging. Log all sessions or security profile sessions.'
                  choices:
                      - 'disable'
                      - 'all'
                      - 'utm'
              logtraffic-start:
                  type: str
                  description: 'Record logs when a session starts.'
                  choices:
                      - 'disable'
                      - 'enable'
              mms-profile:
                  type: str
                  description: 'Name of an existing MMS profile.'
              name:
                  type: str
                  description: 'Policy name.'
              nat:
                  type: str
                  description: 'Enable/disable source NAT.'
                  choices:
                      - 'disable'
                      - 'enable'
              outbound:
                  type: str
                  description: 'Policy-based IPsec VPN: only traffic from the internal network can initiate a VPN.'
                  choices:
                      - 'disable'
                      - 'enable'
              per-ip-shaper:
                  type: str
                  description: 'Per-IP traffic shaper.'
              policyid:
                  type: int
                  description: 'Policy ID (0 - 4294967294).'
              poolname4:
                  type: str
                  description: 'IPv4 pool names.'
              poolname6:
                  type: str
                  description: 'IPv6 pool names.'
              profile-group:
                  type: str
                  description: 'Name of profile group.'
              profile-protocol-options:
                  type: str
                  description: 'Name of an existing Protocol options profile.'
              profile-type:
                  type: str
                  description: 'Determine whether the firewall policy allows security profile groups or single profiles only.'
                  choices:
                      - 'single'
                      - 'group'
              schedule:
                  type: str
                  description: 'Schedule name.'
              service:
                  type: str
                  description: 'Service and service group names.'
              session-ttl:
                  type: int
                  description: 'TTL in seconds for sessions accepted by this policy (0 means use the system default session TTL).'
              srcaddr4:
                  type: str
                  description: 'Source IPv4 address name and address group names.'
              srcaddr6:
                  type: str
                  description: 'Source IPv6 address name and address group names.'
              srcintf:
                  type: str
                  description: 'Incoming (ingress) interface.'
              ssh-filter-profile:
                  type: str
                  description: 'Name of an existing SSH filter profile.'
              ssh-policy-redirect:
                  type: str
                  description: 'Redirect SSH traffic to matching transparent proxy policy.'
                  choices:
                      - 'disable'
                      - 'enable'
              ssl-ssh-profile:
                  type: str
                  description: 'Name of an existing SSL SSH profile.'
              status:
                  type: str
                  description: 'Enable or disable this policy.'
                  choices:
                      - 'disable'
                      - 'enable'
              tcp-mss-receiver:
                  type: int
                  description: 'Receiver TCP maximum segment size (MSS).'
              tcp-mss-sender:
                  type: int
                  description: 'Sender TCP maximum segment size (MSS).'
              traffic-shaper:
                  type: str
                  description: 'Traffic shaper.'
              traffic-shaper-reverse:
                  type: str
                  description: 'Reverse traffic shaper.'
              url-category:
                  type: str
                  description: 'URL category ID list.'
              users:
                  type: str
                  description: 'Names of individual users that can authenticate with this policy.'
              utm-status:
                  type: str
                  description: 'Enable to add one or more security profiles (AV, IPS, etc.) to the firewall policy.'
                  choices:
                      - 'disable'
                      - 'enable'
              uuid:
                  type: str
                  description: 'Universally Unique Identifier (UUID; automatically assigned but can be manually reset).'
              voip-profile:
                  type: str
                  description: 'Name of an existing VoIP profile.'
              vpntunnel:
                  type: str
                  description: 'Policy-based IPsec VPN: name of the IPsec VPN Phase 1.'
              waf-profile:
                  type: str
                  description: 'Name of an existing Web application firewall profile.'
              wanopt:
                  type: str
                  description: 'Enable/disable WAN optimization.'
                  choices:
                      - 'disable'
                      - 'enable'
              wanopt-detection:
                  type: str
                  description: 'WAN optimization auto-detection mode.'
                  choices:
                      - 'active'
                      - 'passive'
                      - 'off'
              wanopt-passive-opt:
                  type: str
                  description: 'WAN optimization passive mode options. This option decides what IP address will be used to connect to server.'
                  choices:
                      - 'default'
                      - 'transparent'
                      - 'non-transparent'
              wanopt-peer:
                  type: str
                  description: 'WAN optimization peer.'
              wanopt-profile:
                  type: str
                  description: 'WAN optimization profile.'
              webcache:
                  type: str
                  description: 'Enable/disable web cache.'
                  choices:
                      - 'disable'
                      - 'enable'
              webcache-https:
                  type: str
                  description: 'Enable/disable web cache for HTTPS.'
                  choices:
                      - 'disable'
                      - 'enable'
              webfilter-profile:
                  type: str
                  description: 'Name of an existing Web filter profile.'
              webproxy-forward-server:
                  type: str
                  description: 'Webproxy forward server name.'
              webproxy-profile:
                  type: str
                  description: 'Webproxy profile name.'
              captive-portal-exempt:
                  type: str
                  description: 'Enable exemption of some users from the captive portal.'
                  choices:
                      - 'disable'
                      - 'enable'
              dstaddr-negate:
                  type: str
                  description: 'When enabled dstaddr specifies what the destination address must NOT be.'
                  choices:
                      - 'disable'
                      - 'enable'
              fsso-groups:
                  type: str
                  description: 'Names of FSSO groups.'
              global-label:
                  type: str
                  description: 'Label for the policy that appears when the GUI is in Global View mode.'
              internet-service-negate:
                  type: str
                  description: 'When enabled internet-service specifies what the service must NOT be.'
                  choices:
                      - 'disable'
                      - 'enable'
              internet-service-src-negate:
                  type: str
                  description: 'When enabled internet-service-src specifies what the service must NOT be.'
                  choices:
                      - 'disable'
                      - 'enable'
              service-negate:
                  type: str
                  description: 'When enabled service specifies what the service must NOT be.'
                  choices:
                      - 'disable'
                      - 'enable'
              srcaddr-negate:
                  type: str
                  description: 'When enabled srcaddr specifies what the source address must NOT be.'
                  choices:
                      - 'disable'
                      - 'enable'
  
  '''
  
  EXAMPLES = '''
   - hosts: fortimanager-inventory
     collections:
       - fortinet.fortimanager
     connection: httpapi
     vars:
        ansible_httpapi_use_ssl: True
        ansible_httpapi_validate_certs: False
        ansible_httpapi_port: 443
     tasks:
      - name: Configure consolidated IPv4/IPv6 policies.
        fmgr_pkg_firewall_consolidated_policy_sectionvalue:
           bypass_validation: False
           workspace_locking_adom: <value in [global, custom adom including root]>
           workspace_locking_timeout: 300
           rc_succeeded: [0, -2, -3, ...]
           rc_failed: [-2, -3, ...]
           adom: <your own value>
           pkg: <your own value>
           policy: <your own value>
           state: <value in [present, absent]>
           pkg_firewall_consolidated_policy_sectionvalue:
              action: <value in [deny, accept, ipsec]>
              app-category: <value of string>
              app-group: <value of string>
              application: <value of integer>
              application-list: <value of string>
              auto-asic-offload: <value in [disable, enable]>
              av-profile: <value of string>
              cifs-profile: <value of string>
              comments: <value of string>
              diffserv-forward: <value in [disable, enable]>
              diffserv-reverse: <value in [disable, enable]>
              diffservcode-forward: <value of string>
              diffservcode-rev: <value of string>
              dlp-sensor: <value of string>
              dnsfilter-profile: <value of string>
              dstaddr4: <value of string>
              dstaddr6: <value of string>
              dstintf: <value of string>
              emailfilter-profile: <value of string>
              fixedport: <value in [disable, enable]>
              groups: <value of string>
              http-policy-redirect: <value in [disable, enable]>
              icap-profile: <value of string>
              inbound: <value in [disable, enable]>
              inspection-mode: <value in [proxy, flow]>
              internet-service: <value in [disable, enable]>
              internet-service-custom: <value of string>
              internet-service-custom-group: <value of string>
              internet-service-group: <value of string>
              internet-service-id: <value of string>
              internet-service-src: <value in [disable, enable]>
              internet-service-src-custom: <value of string>
              internet-service-src-custom-group: <value of string>
              internet-service-src-group: <value of string>
              internet-service-src-id: <value of string>
              ippool: <value in [disable, enable]>
              ips-sensor: <value of string>
              logtraffic: <value in [disable, all, utm]>
              logtraffic-start: <value in [disable, enable]>
              mms-profile: <value of string>
              name: <value of string>
              nat: <value in [disable, enable]>
              outbound: <value in [disable, enable]>
              per-ip-shaper: <value of string>
              policyid: <value of integer>
              poolname4: <value of string>
              poolname6: <value of string>
              profile-group: <value of string>
              profile-protocol-options: <value of string>
              profile-type: <value in [single, group]>
              schedule: <value of string>
              service: <value of string>
              session-ttl: <value of integer>
              srcaddr4: <value of string>
              srcaddr6: <value of string>
              srcintf: <value of string>
              ssh-filter-profile: <value of string>
              ssh-policy-redirect: <value in [disable, enable]>
              ssl-ssh-profile: <value of string>
              status: <value in [disable, enable]>
              tcp-mss-receiver: <value of integer>
              tcp-mss-sender: <value of integer>
              traffic-shaper: <value of string>
              traffic-shaper-reverse: <value of string>
              url-category: <value of string>
              users: <value of string>
              utm-status: <value in [disable, enable]>
              uuid: <value of string>
              voip-profile: <value of string>
              vpntunnel: <value of string>
              waf-profile: <value of string>
              wanopt: <value in [disable, enable]>
              wanopt-detection: <value in [active, passive, off]>
              wanopt-passive-opt: <value in [default, transparent, non-transparent]>
              wanopt-peer: <value of string>
              wanopt-profile: <value of string>
              webcache: <value in [disable, enable]>
              webcache-https: <value in [disable, enable]>
              webfilter-profile: <value of string>
              webproxy-forward-server: <value of string>
              webproxy-profile: <value of string>
              captive-portal-exempt: <value in [disable, enable]>
              dstaddr-negate: <value in [disable, enable]>
              fsso-groups: <value of string>
              global-label: <value of string>
              internet-service-negate: <value in [disable, enable]>
              internet-service-src-negate: <value in [disable, enable]>
              service-negate: <value in [disable, enable]>
              srcaddr-negate: <value in [disable, enable]>
  
  '''
  
  RETURN = '''
  request_url:
      description: The full url requested
      returned: always
      type: str
      sample: /sys/login/user
  response_code:
      description: The status of api request
      returned: always
      type: int
      sample: 0
  response_message:
      description: The descriptive message of the api response
      type: str
      returned: always
      sample: OK.
  
  '''
  from ansible.module_utils.basic import AnsibleModule
  from ansible.module_utils.connection import Connection
  from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager
  from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import check_galaxy_version
  from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import check_parameter_bypass
  
  
  def main():
      jrpc_urls = [
          '/pm/config/adom/{adom}/pkg/{pkg}/firewall/consolidated/policy/{policy}/section value'
      ]
  
      perobject_jrpc_urls = [
          '/pm/config/adom/{adom}/pkg/{pkg}/firewall/consolidated/policy/{policy}/section value'
      ]
  
      url_params = ['adom', 'pkg', 'policy']
      module_primary_key = 'name'
      module_arg_spec = {
          'enable_log': {
              'type': 'bool',
              'required': False,
              'default': False
          },
          'forticloud_access_token': {
              'type': 'str',
              'required': False,
              'no_log': True
          },
          'proposed_method': {
              'type': 'str',
              'required': False,
              'choices': [
                  'set',
                  'update',
                  'add'
              ]
          },
          'bypass_validation': {
              'type': 'bool',
              'required': False,
              'default': False
          },
          'workspace_locking_adom': {
              'type': 'str',
              'required': False
          },
          'workspace_locking_timeout': {
              'type': 'int',
              'required': False,
              'default': 300
          },
          'rc_succeeded': {
              'required': False,
              'type': 'list'
          },
          'rc_failed': {
              'required': False,
              'type': 'list'
          },
          'state': {
              'type': 'str',
              'required': True,
              'choices': [
                  'present',
                  'absent'
              ]
          },
          'adom': {
              'required': True,
              'type': 'str'
          },
          'pkg': {
              'required': True,
              'type': 'str'
          },
          'policy': {
              'required': True,
              'type': 'str'
          },
          'pkg_firewall_consolidated_policy_sectionvalue': {
              'required': False,
              'type': 'dict',
              'revision': {
                  '6.2.1': True,
                  '6.2.3': True,
                  '6.2.5': True
              },
              'options': {
                  'action': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'deny',
                          'accept',
                          'ipsec'
                      ],
                      'type': 'str'
                  },
                  'app-category': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'app-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'application': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'int'
                  },
                  'application-list': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'auto-asic-offload': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'av-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'cifs-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'comments': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'diffserv-forward': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'diffserv-reverse': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'diffservcode-forward': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'diffservcode-rev': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'dlp-sensor': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'dnsfilter-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'dstaddr4': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'dstaddr6': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'dstintf': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'emailfilter-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'fixedport': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'groups': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'http-policy-redirect': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'icap-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'inbound': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'inspection-mode': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'proxy',
                          'flow'
                      ],
                      'type': 'str'
                  },
                  'internet-service': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'internet-service-custom': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-custom-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-id': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-src': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'internet-service-src-custom': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-src-custom-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-src-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-src-id': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'ippool': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'ips-sensor': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'logtraffic': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'all',
                          'utm'
                      ],
                      'type': 'str'
                  },
                  'logtraffic-start': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'mms-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'name': {
                      'required': True,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'nat': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'outbound': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'per-ip-shaper': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'policyid': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'int'
                  },
                  'poolname4': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'poolname6': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'profile-group': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'profile-protocol-options': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'profile-type': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'single',
                          'group'
                      ],
                      'type': 'str'
                  },
                  'schedule': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'service': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'session-ttl': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'int'
                  },
                  'srcaddr4': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'srcaddr6': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'srcintf': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'ssh-filter-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'ssh-policy-redirect': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'ssl-ssh-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'status': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'tcp-mss-receiver': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'int'
                  },
                  'tcp-mss-sender': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'int'
                  },
                  'traffic-shaper': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'traffic-shaper-reverse': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'url-category': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'users': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'utm-status': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'uuid': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'voip-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'vpntunnel': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'waf-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'wanopt': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'wanopt-detection': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'active',
                          'passive',
                          'off'
                      ],
                      'type': 'str'
                  },
                  'wanopt-passive-opt': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'default',
                          'transparent',
                          'non-transparent'
                      ],
                      'type': 'str'
                  },
                  'wanopt-peer': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'wanopt-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'webcache': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'webcache-https': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'webfilter-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'webproxy-forward-server': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'webproxy-profile': {
                      'required': False,
                      'revision': {
                          '6.2.1': True,
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'captive-portal-exempt': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'dstaddr-negate': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'fsso-groups': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'global-label': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'type': 'str'
                  },
                  'internet-service-negate': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'internet-service-src-negate': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'service-negate': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  },
                  'srcaddr-negate': {
                      'required': False,
                      'revision': {
                          '6.2.3': True,
                          '6.2.5': True,
                          '6.4.0': False,
                          '6.4.2': False,
                          '6.4.5': False,
                          '7.0.0': False
                      },
                      'choices': [
                          'disable',
                          'enable'
                      ],
                      'type': 'str'
                  }
              }
  
          }
      }
  
      params_validation_blob = []
      check_galaxy_version(module_arg_spec)
      module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'pkg_firewall_consolidated_policy_sectionvalue'),
                             supports_check_mode=False)
  
      fmgr = None
      if module._socket_path:
          connection = Connection(module._socket_path)
          connection.set_option('enable_log', module.params['enable_log'] if 'enable_log' in module.params else False)
          connection.set_option('forticloud_access_token',
                                module.params['forticloud_access_token'] if 'forticloud_access_token' in module.params else None)
          fmgr = NAPIManager(jrpc_urls, perobject_jrpc_urls, module_primary_key, url_params, module, connection, top_level_schema_name='data')
          fmgr.validate_parameters(params_validation_blob)
          fmgr.process_curd(argument_specs=module_arg_spec)
      else:
          module.fail_json(msg='MUST RUN IN HTTPAPI MODE')
      module.exit_json(meta=module.params)
  
  
  if __name__ == '__main__':
      main()
  