CreateCaptureFilterDetails¶
- class oci.core.models.CreateCaptureFilterDetails(**kwargs)¶
Bases:
objectA capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects.
Attributes:
A constant which can be used with the filter_type property of a CreateCaptureFilterDetails.
A constant which can be used with the filter_type property of a CreateCaptureFilterDetails.
[Required] Gets the compartment_id of this CreateCaptureFilterDetails.
Gets the defined_tags of this CreateCaptureFilterDetails.
Gets the display_name of this CreateCaptureFilterDetails.
[Required] Gets the filter_type of this CreateCaptureFilterDetails.
Gets the flow_log_capture_filter_rules of this CreateCaptureFilterDetails.
Gets the freeform_tags of this CreateCaptureFilterDetails.
Gets the vtap_capture_filter_rules of this CreateCaptureFilterDetails.
Methods:
__init__(**kwargs)Initializes a new CreateCaptureFilterDetails object with values from keyword arguments.
- FILTER_TYPE_FLOWLOG = 'FLOWLOG'¶
A constant which can be used with the filter_type property of a CreateCaptureFilterDetails. This constant has a value of “FLOWLOG”
- FILTER_TYPE_VTAP = 'VTAP'¶
A constant which can be used with the filter_type property of a CreateCaptureFilterDetails. This constant has a value of “VTAP”
- __init__(**kwargs)¶
Initializes a new CreateCaptureFilterDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateCaptureFilterDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateCaptureFilterDetails.
display_name (str) – The value to assign to the display_name property of this CreateCaptureFilterDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateCaptureFilterDetails.
filter_type (str) – The value to assign to the filter_type property of this CreateCaptureFilterDetails. Allowed values for this property are: “VTAP”, “FLOWLOG”
vtap_capture_filter_rules (list[oci.core.models.VtapCaptureFilterRuleDetails]) – The value to assign to the vtap_capture_filter_rules property of this CreateCaptureFilterDetails.
flow_log_capture_filter_rules (list[oci.core.models.FlowLogCaptureFilterRuleDetails]) – The value to assign to the flow_log_capture_filter_rules property of this CreateCaptureFilterDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateCaptureFilterDetails. The OCID of the compartment containing the capture filter.
- Returns
The compartment_id of this CreateCaptureFilterDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateCaptureFilterDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this CreateCaptureFilterDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this CreateCaptureFilterDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this CreateCaptureFilterDetails.
- Return type
str
- property filter_type¶
[Required] Gets the filter_type of this CreateCaptureFilterDetails. Indicates which service will use this capture filter
Allowed values for this property are: “VTAP”, “FLOWLOG”
- Returns
The filter_type of this CreateCaptureFilterDetails.
- Return type
str
- property flow_log_capture_filter_rules¶
Gets the flow_log_capture_filter_rules of this CreateCaptureFilterDetails. The set of rules governing what traffic the VCN flow log collects.
- Returns
The flow_log_capture_filter_rules of this CreateCaptureFilterDetails.
- Return type
- property freeform_tags¶
Gets the freeform_tags of this CreateCaptureFilterDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this CreateCaptureFilterDetails.
- Return type
dict(str, str)
- property vtap_capture_filter_rules¶
Gets the vtap_capture_filter_rules of this CreateCaptureFilterDetails. The set of rules governing what traffic a VTAP mirrors.
- Returns
The vtap_capture_filter_rules of this CreateCaptureFilterDetails.
- Return type