NetworkTemplate

NetworkTemplate
NetworkTemplate
JSON Example
{
    "management_gateway_templates": [
        {
            "public_ip": {
                "public_ip": "string",
                "name": "string",
                "allocation_id": "string",
                "dnat_rule_id": "string",
                "associated_private_ip": "string",
                "snat_rule_id": "string"
            },
            "primary_dns": "string",
            "secondary_dns": "string",
            "firewall_rules": [
                {
                    "rule_type": "string",
                    "application_ids": [
                        "string"
                    ],
                    "name": "string",
                    "rule_interface": "string",
                    "destination": "string",
                    "id": "string",
                    "destination_scope": {
                        "grouping_object_ids": [
                            "string"
                        ],
                        "vnic_group_ids": [
                            "string"
                        ]
                    },
                    "source": "string",
                    "source_scope": {
                        "grouping_object_ids": [
                            "string"
                        ],
                        "vnic_group_ids": [
                            "string"
                        ]
                    },
                    "services": [
                        {
                            "protocol": "string",
                            "ports": [
                                "string"
                            ]
                        }
                    ],
                    "action": "string",
                    "revision": 0
                }
            ],
            "vpns": [
                {
                    "version": "string",
                    "on_prem_gateway_ip": "string",
                    "on_prem_network_cidr": "string",
                    "pfs_enabled": false,
                    "id": "string",
                    "channel_status": {
                        "channel_status": "string",
                        "channel_state": "string",
                        "last_info_message": "string",
                        "failure_message": "string"
                    },
                    "on_prem_nat_ip": "string",
                    "name": "string",
                    "internal_network_ids": [
                        "string"
                    ],
                    "tunnel_statuses": [
                        {
                            "on_prem_subnet": "string",
                            "traffic_stats": {
                                "packets_out": "string",
                                "packet_received_errors": "string",
                                "rx_bytes_on_local_subnet": "string",
                                "replay_errors": "string",
                                "sequence_number_over_flow_errors": "string",
                                "encryption_failures": "string",
                                "integrity_errors": "string",
                                "packet_sent_errors": "string",
                                "decryption_failures": "string",
                                "packets_in": "string",
                                "tx_bytes_from_local_subnet": "string"
                            },
                            "last_info_message": "string",
                            "local_subnet": "string",
                            "tunnel_state": "string",
                            "failure_message": "string",
                            "tunnel_status": "string"
                        }
                    ],
                    "encryption": "string",
                    "enabled": false,
                    "state": "string",
                    "dh_group": "string",
                    "authentication": "string",
                    "pre_shared_key": "string",
                    "ike_option": "string",
                    "digest_algorithm": "string"
                }
            ],
            "subnet_cidr": "string"
        }
    ],
    "compute_gateway_templates": [
        {
            "public_ip": {
                "public_ip": "string",
                "name": "string",
                "allocation_id": "string",
                "dnat_rule_id": "string",
                "associated_private_ip": "string",
                "snat_rule_id": "string"
            },
            "primary_dns": "string",
            "secondary_dns": "string",
            "firewall_rules": [
                {
                    "rule_type": "string",
                    "application_ids": [
                        "string"
                    ],
                    "name": "string",
                    "rule_interface": "string",
                    "destination": "string",
                    "id": "string",
                    "destination_scope": {
                        "grouping_object_ids": [
                            "string"
                        ],
                        "vnic_group_ids": [
                            "string"
                        ]
                    },
                    "source": "string",
                    "source_scope": {
                        "grouping_object_ids": [
                            "string"
                        ],
                        "vnic_group_ids": [
                            "string"
                        ]
                    },
                    "services": [
                        {
                            "protocol": "string",
                            "ports": [
                                "string"
                            ]
                        }
                    ],
                    "action": "string",
                    "revision": 0
                }
            ],
            "vpns": [
                {
                    "version": "string",
                    "on_prem_gateway_ip": "string",
                    "on_prem_network_cidr": "string",
                    "pfs_enabled": false,
                    "id": "string",
                    "channel_status": {
                        "channel_status": "string",
                        "channel_state": "string",
                        "last_info_message": "string",
                        "failure_message": "string"
                    },
                    "on_prem_nat_ip": "string",
                    "name": "string",
                    "internal_network_ids": [
                        "string"
                    ],
                    "tunnel_statuses": [
                        {
                            "on_prem_subnet": "string",
                            "traffic_stats": {
                                "packets_out": "string",
                                "packet_received_errors": "string",
                                "rx_bytes_on_local_subnet": "string",
                                "replay_errors": "string",
                                "sequence_number_over_flow_errors": "string",
                                "encryption_failures": "string",
                                "integrity_errors": "string",
                                "packet_sent_errors": "string",
                                "decryption_failures": "string",
                                "packets_in": "string",
                                "tx_bytes_from_local_subnet": "string"
                            },
                            "last_info_message": "string",
                            "local_subnet": "string",
                            "tunnel_state": "string",
                            "failure_message": "string",
                            "tunnel_status": "string"
                        }
                    ],
                    "encryption": "string",
                    "enabled": false,
                    "state": "string",
                    "dh_group": "string",
                    "authentication": "string",
                    "pre_shared_key": "string",
                    "ike_option": "string",
                    "digest_algorithm": "string"
                }
            ],
            "logical_networks": [
                {
                    "subnet_cidr": "string",
                    "name": "string",
                    "gatewayIp": "string",
                    "dhcp_enabled": "string",
                    "dhcp_ip_range": "string",
                    "tunnel_id": 0,
                    "id": "string",
                    "network_type": "string"
                }
            ],
            "nat_rules": [
                {
                    "rule_type": "string",
                    "protocol": "string",
                    "name": "string",
                    "internal_ports": "string",
                    "public_ports": "string",
                    "public_ip": "string",
                    "internal_ip": "string",
                    "action": "string",
                    "id": "string",
                    "revision": 0
                }
            ],
            "l2_vpn": {}
        }
    ]
}
management_gateway_templates
Optional

management_gateway_templates

compute_gateway_templates
Optional

compute_gateway_templates