VtapCaptureFilterRuleDetails¶
-
class
oci.core.models.
VtapCaptureFilterRuleDetails
(**kwargs)¶ Bases:
object
This resource contains the rules governing what traffic a VTAP mirrors.
Attributes
RULE_ACTION_EXCLUDE
A constant which can be used with the rule_action property of a VtapCaptureFilterRuleDetails. RULE_ACTION_INCLUDE
A constant which can be used with the rule_action property of a VtapCaptureFilterRuleDetails. TRAFFIC_DIRECTION_EGRESS
A constant which can be used with the traffic_direction property of a VtapCaptureFilterRuleDetails. TRAFFIC_DIRECTION_INGRESS
A constant which can be used with the traffic_direction property of a VtapCaptureFilterRuleDetails. destination_cidr
Gets the destination_cidr of this VtapCaptureFilterRuleDetails. icmp_options
Gets the icmp_options of this VtapCaptureFilterRuleDetails. protocol
Gets the protocol of this VtapCaptureFilterRuleDetails. rule_action
Gets the rule_action of this VtapCaptureFilterRuleDetails. source_cidr
Gets the source_cidr of this VtapCaptureFilterRuleDetails. tcp_options
Gets the tcp_options of this VtapCaptureFilterRuleDetails. traffic_direction
[Required] Gets the traffic_direction of this VtapCaptureFilterRuleDetails. udp_options
Gets the udp_options of this VtapCaptureFilterRuleDetails. Methods
__init__
(**kwargs)Initializes a new VtapCaptureFilterRuleDetails object with values from keyword arguments. -
RULE_ACTION_EXCLUDE
= 'EXCLUDE'¶ A constant which can be used with the rule_action property of a VtapCaptureFilterRuleDetails. This constant has a value of “EXCLUDE”
-
RULE_ACTION_INCLUDE
= 'INCLUDE'¶ A constant which can be used with the rule_action property of a VtapCaptureFilterRuleDetails. This constant has a value of “INCLUDE”
-
TRAFFIC_DIRECTION_EGRESS
= 'EGRESS'¶ A constant which can be used with the traffic_direction property of a VtapCaptureFilterRuleDetails. This constant has a value of “EGRESS”
-
TRAFFIC_DIRECTION_INGRESS
= 'INGRESS'¶ A constant which can be used with the traffic_direction property of a VtapCaptureFilterRuleDetails. This constant has a value of “INGRESS”
-
__init__
(**kwargs)¶ Initializes a new VtapCaptureFilterRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - traffic_direction (str) – The value to assign to the traffic_direction property of this VtapCaptureFilterRuleDetails. Allowed values for this property are: “INGRESS”, “EGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- rule_action (str) – The value to assign to the rule_action property of this VtapCaptureFilterRuleDetails. Allowed values for this property are: “INCLUDE”, “EXCLUDE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- source_cidr (str) – The value to assign to the source_cidr property of this VtapCaptureFilterRuleDetails.
- destination_cidr (str) – The value to assign to the destination_cidr property of this VtapCaptureFilterRuleDetails.
- protocol (str) – The value to assign to the protocol property of this VtapCaptureFilterRuleDetails.
- icmp_options (oci.core.models.IcmpOptions) – The value to assign to the icmp_options property of this VtapCaptureFilterRuleDetails.
- tcp_options (oci.core.models.TcpOptions) – The value to assign to the tcp_options property of this VtapCaptureFilterRuleDetails.
- udp_options (oci.core.models.UdpOptions) – The value to assign to the udp_options property of this VtapCaptureFilterRuleDetails.
-
destination_cidr
¶ Gets the destination_cidr of this VtapCaptureFilterRuleDetails. Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target.
Returns: The destination_cidr of this VtapCaptureFilterRuleDetails. Return type: str
-
icmp_options
¶ Gets the icmp_options of this VtapCaptureFilterRuleDetails.
Returns: The icmp_options of this VtapCaptureFilterRuleDetails. Return type: oci.core.models.IcmpOptions
-
protocol
¶ Gets the protocol of this VtapCaptureFilterRuleDetails. The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. Supported options are:
- 1 = ICMP
- 6 = TCP
- 17 = UDP
Returns: The protocol of this VtapCaptureFilterRuleDetails. Return type: str
-
rule_action
¶ Gets the rule_action of this VtapCaptureFilterRuleDetails. Include or exclude packets meeting this definition from mirrored traffic.
Allowed values for this property are: “INCLUDE”, “EXCLUDE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The rule_action of this VtapCaptureFilterRuleDetails. Return type: str
-
source_cidr
¶ Gets the source_cidr of this VtapCaptureFilterRuleDetails. Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target.
Returns: The source_cidr of this VtapCaptureFilterRuleDetails. Return type: str
-
tcp_options
¶ Gets the tcp_options of this VtapCaptureFilterRuleDetails.
Returns: The tcp_options of this VtapCaptureFilterRuleDetails. Return type: oci.core.models.TcpOptions
-
traffic_direction
¶ [Required] Gets the traffic_direction of this VtapCaptureFilterRuleDetails. The traffic direction the VTAP is configured to mirror.
Allowed values for this property are: “INGRESS”, “EGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The traffic_direction of this VtapCaptureFilterRuleDetails. Return type: str
-
udp_options
¶ Gets the udp_options of this VtapCaptureFilterRuleDetails.
Returns: The udp_options of this VtapCaptureFilterRuleDetails. Return type: oci.core.models.UdpOptions
-