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

FirewallRule

Properties

string
action Optional

Possible values are: ALLOWDENY


array of string
application_ids Optional

string
destination Optional

Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to ‘any’.


destination_scope Optional

Optional for FirewallRule. If not specified, defaults to ‘any’.


string
id Optional

string
name Optional

integer as int32
revision Optional

current revision of the list of firewall rules, used to protect against concurrent modification (first writer wins)


string
rule_interface Optional

Deprecated, left for backwards compatibility. Remove once UI stops using it.


string
rule_type Optional

Possible values are: USERDEFAULT


array of FirewallService
services Optional

list of protocols and ports for this firewall rule


string
source Optional

Optional. Possible formats are IP, IP1-IPn, CIDR or comma separated list of those entries. If not specified, defaults to ‘any’.


source_scope Optional

Optional for FirewallRule. If not specified, defaults to ‘any’.

JSON Example

{
	"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"
		]
	}
}
[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Property Of

GatewayTemplate

Feedback

Was this page helpful?