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

ComputeGatewayTemplate

AllOf


This class requires all of the following:

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"
				]
			}
		}
	],
	"l2_vpn": [
		{
			"enabled": false,
			"listener_ip": "string",
			"sites": [
				{
					"dropped_rx_packets": "string",
					"dropped_tx_packets": "string",
					"established_date": "string",
					"failure_message": "string",
					"name": "string",
					"password": "string",
					"rx_bytes_on_local_subnet": 0,
					"secure_traffic": false,
					"tunnel_status": "CONNECTED",
					"tx_bytes_from_local_subnet": 0,
					"user_id": "string"
				}
			]
		}
	],
	"logical_networks": [
		{
			"dhcp_enabled": "string",
			"dhcp_ip_range": "string",
			"gatewayIp": "string",
			"id": "string",
			"name": "string",
			"network_type": "HOSTED",
			"subnet_cidr": "string",
			"tunnel_id": 0
		}
	],
	"nat_rules": [
		{
			"action": "dnat",
			"id": "string",
			"internal_ip": "string",
			"internal_ports": "string",
			"name": "string",
			"protocol": "string",
			"public_ip": "string",
			"public_ports": "string",
			"revision": 0,
			"rule_type": "string"
		}
	],
	"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
Property Of

NetworkTemplate

Feedback

Was this page helpful?