CreateVxlanInspectionRuleDetails

class oci.network_firewall.models.CreateVxlanInspectionRuleDetails(**kwargs)

Bases: CreateTunnelInspectionRuleDetails

Request for creating Vxlan Tunnel Inspection Rule used in the firewall policy rules.

Attributes:

ACTION_INSPECT

A constant which can be used with the action property of a CreateTunnelInspectionRuleDetails.

ACTION_INSPECT_AND_CAPTURE_LOG

A constant which can be used with the action property of a CreateTunnelInspectionRuleDetails.

PROTOCOL_VXLAN

A constant which can be used with the protocol property of a CreateTunnelInspectionRuleDetails.

action

Gets the action of this CreateTunnelInspectionRuleDetails.

condition

[Required] Gets the condition of this CreateVxlanInspectionRuleDetails.

description

Gets the description of this CreateTunnelInspectionRuleDetails.

name

[Required] Gets the name of this CreateTunnelInspectionRuleDetails.

position

Gets the position of this CreateTunnelInspectionRuleDetails.

profile

Gets the profile of this CreateVxlanInspectionRuleDetails.

protocol

[Required] Gets the protocol of this CreateTunnelInspectionRuleDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateVxlanInspectionRuleDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ACTION_INSPECT = 'INSPECT'

A constant which can be used with the action property of a CreateTunnelInspectionRuleDetails. This constant has a value of “INSPECT”

ACTION_INSPECT_AND_CAPTURE_LOG = 'INSPECT_AND_CAPTURE_LOG'

A constant which can be used with the action property of a CreateTunnelInspectionRuleDetails. This constant has a value of “INSPECT_AND_CAPTURE_LOG”

PROTOCOL_VXLAN = 'VXLAN'

A constant which can be used with the protocol property of a CreateTunnelInspectionRuleDetails. This constant has a value of “VXLAN”

__init__(**kwargs)

Initializes a new CreateVxlanInspectionRuleDetails object with values from keyword arguments. The default value of the protocol attribute of this class is VXLAN and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • name (str) – The value to assign to the name property of this CreateVxlanInspectionRuleDetails.

  • action (str) – The value to assign to the action property of this CreateVxlanInspectionRuleDetails. Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”

  • protocol (str) – The value to assign to the protocol property of this CreateVxlanInspectionRuleDetails. Allowed values for this property are: “VXLAN”

  • position (oci.network_firewall.models.RulePosition) – The value to assign to the position property of this CreateVxlanInspectionRuleDetails.

  • description (str) – The value to assign to the description property of this CreateVxlanInspectionRuleDetails.

  • condition (oci.network_firewall.models.VxlanInspectionRuleMatchCriteria) – The value to assign to the condition property of this CreateVxlanInspectionRuleDetails.

  • profile (oci.network_firewall.models.VxlanInspectionRuleProfile) – The value to assign to the profile property of this CreateVxlanInspectionRuleDetails.

property action

Gets the action of this CreateTunnelInspectionRuleDetails. Types of Inspect Action on the traffic flow.

  • INSPECT - Inspect the traffic.

  • INSPECT_AND_CAPTURE_LOG - Inspect and capture logs for the traffic.

Allowed values for this property are: “INSPECT”, “INSPECT_AND_CAPTURE_LOG”

Returns

The action of this CreateTunnelInspectionRuleDetails.

Return type

str

property condition

[Required] Gets the condition of this CreateVxlanInspectionRuleDetails.

Returns

The condition of this CreateVxlanInspectionRuleDetails.

Return type

oci.network_firewall.models.VxlanInspectionRuleMatchCriteria

property description

Gets the description of this CreateTunnelInspectionRuleDetails. The description of the tunnel inspect rule. This field can be used to add additional info.

Returns

The description of this CreateTunnelInspectionRuleDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property name

[Required] Gets the name of this CreateTunnelInspectionRuleDetails. Name for the Tunnel Inspection Rule, must be unique within the policy.

Returns

The name of this CreateTunnelInspectionRuleDetails.

Return type

str

property position

Gets the position of this CreateTunnelInspectionRuleDetails.

Returns

The position of this CreateTunnelInspectionRuleDetails.

Return type

oci.network_firewall.models.RulePosition

property profile

Gets the profile of this CreateVxlanInspectionRuleDetails.

Returns

The profile of this CreateVxlanInspectionRuleDetails.

Return type

oci.network_firewall.models.VxlanInspectionRuleProfile

property protocol

[Required] Gets the protocol of this CreateTunnelInspectionRuleDetails. Types of Tunnel Inspection Protocol to be applied on the traffic.

  • VXLAN - VXLAN Tunnel Inspection Protocol will be applied on the traffic.

Allowed values for this property are: “VXLAN”

Returns

The protocol of this CreateTunnelInspectionRuleDetails.

Return type

str