#
# -*- coding: utf-8 -*-
# Copyright 2022 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

#############################################
#                WARNING                    #
#############################################
#
# This file is auto generated by the resource
#   module builder playbook.
#
# Do not edit this file manually.
#
# Changes to this file will be over written
#   by the resource module builder.
#
# Changes should be made in the model used to
#   generate this file or in the resource module
#   builder template.
#
#############################################

"""
The arg spec for the junos_security_zones module
"""

from __future__ import absolute_import, division, print_function


__metaclass__ = type


class Security_zonesArgs(object):  # pylint: disable=R0903
    """The arg spec for the junos_security_zones module"""

    def __init__(self, **kwargs):
        pass

    argument_spec = {
        "config": {
            "options": {
                "functional_zone_management": {
                    "options": {
                        "description": {"type": "str"},
                        "host_inbound_traffic": {
                            "options": {
                                "protocols": {
                                    "elements": "dict",
                                    "options": {
                                        "except": {"type": "bool"},
                                        "name": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                                "system_services": {
                                    "elements": "dict",
                                    "options": {
                                        "except": {"type": "bool"},
                                        "name": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                            },
                            "type": "dict",
                        },
                        "interfaces": {"elements": "str", "type": "list"},
                        "screen": {"type": "str"},
                    },
                    "type": "dict",
                },
                "zones": {
                    "elements": "dict",
                    "options": {
                        "address_book": {
                            "options": {
                                "address_sets": {
                                    "elements": "dict",
                                    "options": {
                                        "address_sets": {
                                            "elements": "str",
                                            "type": "list",
                                        },
                                        "addresses": {
                                            "elements": "str",
                                            "type": "list",
                                        },
                                        "description": {"type": "str"},
                                        "name": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                                "addresses": {
                                    "elements": "dict",
                                    "options": {
                                        "description": {"type": "str"},
                                        "dns_name": {
                                            "options": {
                                                "ipv4_only": {"type": "bool"},
                                                "ipv6_only": {"type": "bool"},
                                                "name": {"type": "str"},
                                            },
                                            "type": "dict",
                                        },
                                        "ip_prefix": {"type": "str"},
                                        "name": {"type": "str"},
                                        "range_address": {
                                            "options": {
                                                "from": {"type": "str"},
                                                "to": {"type": "str"},
                                            },
                                            "type": "dict",
                                        },
                                        "wildcard_address": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                            },
                            "type": "dict",
                        },
                        "advance_policy_based_routing_profile": {
                            "type": "str",
                        },
                        "advanced_connection_tracking": {
                            "options": {
                                "mode": {
                                    "choices": [
                                        "allow-any-host",
                                        "allow-target-host",
                                        "allow-target-host-port",
                                    ],
                                    "type": "str",
                                },
                                "timeout": {"type": "int"},
                                "track_all_policies_to_this_zone": {
                                    "type": "bool",
                                },
                            },
                            "type": "dict",
                        },
                        "application_tracking": {"type": "bool"},
                        "description": {"type": "str"},
                        "enable_reverse_reroute": {"type": "bool"},
                        "host_inbound_traffic": {
                            "options": {
                                "protocols": {
                                    "elements": "dict",
                                    "options": {
                                        "except": {"type": "bool"},
                                        "name": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                                "system_services": {
                                    "elements": "dict",
                                    "options": {
                                        "except": {"type": "bool"},
                                        "name": {"type": "str"},
                                    },
                                    "type": "list",
                                },
                            },
                            "type": "dict",
                        },
                        "interfaces": {"elements": "str", "type": "list"},
                        "name": {"type": "str"},
                        "screen": {"type": "str"},
                        "source_identity_log": {"type": "bool"},
                        "tcp_rst": {"type": "bool"},
                        "unidirectional_session_refreshing": {"type": "bool"},
                    },
                    "type": "list",
                },
            },
            "type": "dict",
        },
        "running_config": {"type": "str"},
        "state": {
            "choices": [
                "merged",
                "replaced",
                "overridden",
                "deleted",
                "rendered",
                "gathered",
                "parsed",
            ],
            "default": "merged",
            "type": "str",
        },
    }  # pylint: disable=C0301
