CreateVtapDetails¶
-
class
oci.vn_monitoring.models.
CreateVtapDetails
(**kwargs)¶ Bases:
object
These details are included in a request to create a virtual test access point (VTAP).
Attributes
ENCAPSULATION_PROTOCOL_VXLAN
A constant which can be used with the encapsulation_protocol property of a CreateVtapDetails. SOURCE_TYPE_AUTONOMOUS_DATA_WAREHOUSE
A constant which can be used with the source_type property of a CreateVtapDetails. SOURCE_TYPE_DB_SYSTEM
A constant which can be used with the source_type property of a CreateVtapDetails. SOURCE_TYPE_EXADATA_VM_CLUSTER
A constant which can be used with the source_type property of a CreateVtapDetails. SOURCE_TYPE_LOAD_BALANCER
A constant which can be used with the source_type property of a CreateVtapDetails. SOURCE_TYPE_SUBNET
A constant which can be used with the source_type property of a CreateVtapDetails. SOURCE_TYPE_VNIC
A constant which can be used with the source_type property of a CreateVtapDetails. TARGET_TYPE_IP_ADDRESS
A constant which can be used with the target_type property of a CreateVtapDetails. TARGET_TYPE_NETWORK_LOAD_BALANCER
A constant which can be used with the target_type property of a CreateVtapDetails. TARGET_TYPE_VNIC
A constant which can be used with the target_type property of a CreateVtapDetails. TRAFFIC_MODE_DEFAULT
A constant which can be used with the traffic_mode property of a CreateVtapDetails. TRAFFIC_MODE_PRIORITY
A constant which can be used with the traffic_mode property of a CreateVtapDetails. capture_filter_id
[Required] Gets the capture_filter_id of this CreateVtapDetails. compartment_id
[Required] Gets the compartment_id of this CreateVtapDetails. defined_tags
Gets the defined_tags of this CreateVtapDetails. display_name
Gets the display_name of this CreateVtapDetails. encapsulation_protocol
Gets the encapsulation_protocol of this CreateVtapDetails. freeform_tags
Gets the freeform_tags of this CreateVtapDetails. is_vtap_enabled
Gets the is_vtap_enabled of this CreateVtapDetails. max_packet_size
Gets the max_packet_size of this CreateVtapDetails. source_id
[Required] Gets the source_id of this CreateVtapDetails. source_private_endpoint_ip
Gets the source_private_endpoint_ip of this CreateVtapDetails. source_private_endpoint_subnet_id
Gets the source_private_endpoint_subnet_id of this CreateVtapDetails. source_type
Gets the source_type of this CreateVtapDetails. target_id
Gets the target_id of this CreateVtapDetails. target_ip
Gets the target_ip of this CreateVtapDetails. target_type
Gets the target_type of this CreateVtapDetails. traffic_mode
Gets the traffic_mode of this CreateVtapDetails. vcn_id
[Required] Gets the vcn_id of this CreateVtapDetails. vxlan_network_identifier
Gets the vxlan_network_identifier of this CreateVtapDetails. Methods
__init__
(**kwargs)Initializes a new CreateVtapDetails object with values from keyword arguments. -
ENCAPSULATION_PROTOCOL_VXLAN
= 'VXLAN'¶ A constant which can be used with the encapsulation_protocol property of a CreateVtapDetails. This constant has a value of “VXLAN”
-
SOURCE_TYPE_AUTONOMOUS_DATA_WAREHOUSE
= 'AUTONOMOUS_DATA_WAREHOUSE'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “AUTONOMOUS_DATA_WAREHOUSE”
-
SOURCE_TYPE_DB_SYSTEM
= 'DB_SYSTEM'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “DB_SYSTEM”
-
SOURCE_TYPE_EXADATA_VM_CLUSTER
= 'EXADATA_VM_CLUSTER'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “EXADATA_VM_CLUSTER”
-
SOURCE_TYPE_LOAD_BALANCER
= 'LOAD_BALANCER'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “LOAD_BALANCER”
-
SOURCE_TYPE_SUBNET
= 'SUBNET'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “SUBNET”
-
SOURCE_TYPE_VNIC
= 'VNIC'¶ A constant which can be used with the source_type property of a CreateVtapDetails. This constant has a value of “VNIC”
-
TARGET_TYPE_IP_ADDRESS
= 'IP_ADDRESS'¶ A constant which can be used with the target_type property of a CreateVtapDetails. This constant has a value of “IP_ADDRESS”
-
TARGET_TYPE_NETWORK_LOAD_BALANCER
= 'NETWORK_LOAD_BALANCER'¶ A constant which can be used with the target_type property of a CreateVtapDetails. This constant has a value of “NETWORK_LOAD_BALANCER”
-
TARGET_TYPE_VNIC
= 'VNIC'¶ A constant which can be used with the target_type property of a CreateVtapDetails. This constant has a value of “VNIC”
-
TRAFFIC_MODE_DEFAULT
= 'DEFAULT'¶ A constant which can be used with the traffic_mode property of a CreateVtapDetails. This constant has a value of “DEFAULT”
-
TRAFFIC_MODE_PRIORITY
= 'PRIORITY'¶ A constant which can be used with the traffic_mode property of a CreateVtapDetails. This constant has a value of “PRIORITY”
-
__init__
(**kwargs)¶ Initializes a new CreateVtapDetails 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 CreateVtapDetails.
- vcn_id (str) – The value to assign to the vcn_id property of this CreateVtapDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVtapDetails.
- display_name (str) – The value to assign to the display_name property of this CreateVtapDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVtapDetails.
- source_id (str) – The value to assign to the source_id property of this CreateVtapDetails.
- target_id (str) – The value to assign to the target_id property of this CreateVtapDetails.
- target_ip (str) – The value to assign to the target_ip property of this CreateVtapDetails.
- capture_filter_id (str) – The value to assign to the capture_filter_id property of this CreateVtapDetails.
- encapsulation_protocol (str) – The value to assign to the encapsulation_protocol property of this CreateVtapDetails. Allowed values for this property are: “VXLAN”
- vxlan_network_identifier (int) – The value to assign to the vxlan_network_identifier property of this CreateVtapDetails.
- is_vtap_enabled (bool) – The value to assign to the is_vtap_enabled property of this CreateVtapDetails.
- source_type (str) – The value to assign to the source_type property of this CreateVtapDetails. Allowed values for this property are: “VNIC”, “SUBNET”, “LOAD_BALANCER”, “DB_SYSTEM”, “EXADATA_VM_CLUSTER”, “AUTONOMOUS_DATA_WAREHOUSE”
- traffic_mode (str) – The value to assign to the traffic_mode property of this CreateVtapDetails. Allowed values for this property are: “DEFAULT”, “PRIORITY”
- max_packet_size (int) – The value to assign to the max_packet_size property of this CreateVtapDetails.
- target_type (str) – The value to assign to the target_type property of this CreateVtapDetails. Allowed values for this property are: “VNIC”, “NETWORK_LOAD_BALANCER”, “IP_ADDRESS”
- source_private_endpoint_ip (str) – The value to assign to the source_private_endpoint_ip property of this CreateVtapDetails.
- source_private_endpoint_subnet_id (str) – The value to assign to the source_private_endpoint_subnet_id property of this CreateVtapDetails.
-
capture_filter_id
¶ [Required] Gets the capture_filter_id of this CreateVtapDetails. The capture filter’s Oracle ID (OCID).
Returns: The capture_filter_id of this CreateVtapDetails. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateVtapDetails. The OCID of the compartment containing the Vtap resource.
Returns: The compartment_id of this CreateVtapDetails. Return type: str
Gets the defined_tags of this CreateVtapDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this CreateVtapDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateVtapDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateVtapDetails. Return type: str
-
encapsulation_protocol
¶ Gets the encapsulation_protocol of this CreateVtapDetails. Defines an encapsulation header type for the VTAP’s mirrored traffic.
Allowed values for this property are: “VXLAN”
Returns: The encapsulation_protocol of this CreateVtapDetails. Return type: str
Gets the freeform_tags of this CreateVtapDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this CreateVtapDetails. Return type: dict(str, str)
-
is_vtap_enabled
¶ Gets the is_vtap_enabled of this CreateVtapDetails. Used to start or stop a Vtap resource.
- TRUE directs the VTAP to start mirroring traffic.
- FALSE (Default) directs the VTAP to stop mirroring traffic.
Returns: The is_vtap_enabled of this CreateVtapDetails. Return type: bool
-
max_packet_size
¶ Gets the max_packet_size of this CreateVtapDetails. The maximum size of the packets to be included in the filter.
Returns: The max_packet_size of this CreateVtapDetails. Return type: int
-
source_id
¶ [Required] Gets the source_id of this CreateVtapDetails. The OCID of the source point where packets are captured.
Returns: The source_id of this CreateVtapDetails. Return type: str
-
source_private_endpoint_ip
¶ Gets the source_private_endpoint_ip of this CreateVtapDetails. The IP Address of the source private endpoint.
Returns: The source_private_endpoint_ip of this CreateVtapDetails. Return type: str
-
source_private_endpoint_subnet_id
¶ Gets the source_private_endpoint_subnet_id of this CreateVtapDetails. The OCID of the subnet that source private endpoint belongs to.
Returns: The source_private_endpoint_subnet_id of this CreateVtapDetails. Return type: str
-
source_type
¶ Gets the source_type of this CreateVtapDetails. The source type for the VTAP.
Allowed values for this property are: “VNIC”, “SUBNET”, “LOAD_BALANCER”, “DB_SYSTEM”, “EXADATA_VM_CLUSTER”, “AUTONOMOUS_DATA_WAREHOUSE”
Returns: The source_type of this CreateVtapDetails. Return type: str
-
target_id
¶ Gets the target_id of this CreateVtapDetails. The OCID of the destination resource where mirrored packets are sent.
Returns: The target_id of this CreateVtapDetails. Return type: str
-
target_ip
¶ Gets the target_ip of this CreateVtapDetails. The IP address of the destination resource where mirrored packets are sent.
Returns: The target_ip of this CreateVtapDetails. Return type: str
-
target_type
¶ Gets the target_type of this CreateVtapDetails. The target type for the VTAP.
Allowed values for this property are: “VNIC”, “NETWORK_LOAD_BALANCER”, “IP_ADDRESS”
Returns: The target_type of this CreateVtapDetails. Return type: str
-
traffic_mode
¶ Gets the traffic_mode of this CreateVtapDetails. Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT
Allowed values for this property are: “DEFAULT”, “PRIORITY”
Returns: The traffic_mode of this CreateVtapDetails. Return type: str
-
vcn_id
¶ [Required] Gets the vcn_id of this CreateVtapDetails. The OCID of the VCN containing the Vtap resource.
Returns: The vcn_id of this CreateVtapDetails. Return type: str
-
vxlan_network_identifier
¶ Gets the vxlan_network_identifier of this CreateVtapDetails. The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
Returns: The vxlan_network_identifier of this CreateVtapDetails. Return type: int
-