[{"label":"Latest (v1.1)","version":"latest"}]
vmc

GatewayTemplate

Describes common properties for MGW and CGW configuration templates


Properties

array of FirewallRule
firewall_rules Optional

string
primary_dns Optional

public_ip Optional

string
secondary_dns Optional

array of Vpn
vpns Optional

JSON Example

{
	"firewall_rules": [
		{
			"action": "ALLOW",
			"application_ids": [
				"string"
			],
			"destination": "string",
			"destination_scope": {
				"grouping_object_ids": [
					"string"
				],
				"vnic_group_ids": [
					"vse"
				]
			},
			"id": "string",
			"name": "string",
			"revision": 0,
			"rule_interface": "string",
			"rule_type": "USER",
			"services": [
				{
					"ports": [
						"string"
					],
					"protocol": "string"
				}
			],
			"source": "string",
			"source_scope": {
				"grouping_object_ids": [
					"string"
				],
				"vnic_group_ids": [
					"vse"
				]
			}
		}
	],
	"primary_dns": "string",
	"public_ip": {
		"allocation_id": "string",
		"associated_private_ip": "string",
		"dnat_rule_id": "string",
		"name": "string",
		"public_ip": "string",
		"snat_rule_id": "string"
	},
	"secondary_dns": "string",
	"vpns": [
		{
			"authentication": "PSK",
			"channel_status": {
				"channel_state": "string",
				"channel_status": "CONNECTED",
				"failure_message": "string",
				"last_info_message": "string"
			},
			"dh_group": "DH2",
			"digest_algorithm": "SHA1",
			"enabled": false,
			"encryption": "AES",
			"id": "string",
			"ike_option": "IKEV1",
			"internal_network_ids": [
				"string"
			],
			"name": "string",
			"on_prem_gateway_ip": "string",
			"on_prem_nat_ip": "string",
			"on_prem_network_cidr": "string",
			"pfs_enabled": false,
			"pre_shared_key": "string",
			"state": "CONNECTED",
			"tunnel_statuses": [
				{
					"failure_message": "string",
					"last_info_message": "string",
					"local_subnet": "string",
					"on_prem_subnet": "string",
					"traffic_stats": {
						"decryption_failures": "string",
						"encryption_failures": "string",
						"integrity_errors": "string",
						"packet_received_errors": "string",
						"packet_sent_errors": "string",
						"packets_in": "string",
						"packets_out": "string",
						"replay_errors": "string",
						"rx_bytes_on_local_subnet": "string",
						"sequence_number_over_flow_errors": "string",
						"tx_bytes_from_local_subnet": "string"
					},
					"tunnel_state": "string",
					"tunnel_status": "CONNECTED"
				}
			],
			"version": "string"
		}
	]
}
[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Used By

ManagementGatewayTemplate
ComputeGatewayTemplate

Feedback

Was this page helpful?