UpdateVtapDetails¶
-
class
oci.core.models.
UpdateVtapDetails
(**kwargs)¶ Bases:
object
These details can be included in a request to update a virtual test access point (VTAP).
Attributes
ENCAPSULATION_PROTOCOL_VXLAN
A constant which can be used with the encapsulation_protocol property of a UpdateVtapDetails. SOURCE_TYPE_AUTONOMOUS_DATA_WAREHOUSE
A constant which can be used with the source_type property of a UpdateVtapDetails. SOURCE_TYPE_DB_SYSTEM
A constant which can be used with the source_type property of a UpdateVtapDetails. SOURCE_TYPE_EXADATA_VM_CLUSTER
A constant which can be used with the source_type property of a UpdateVtapDetails. SOURCE_TYPE_LOAD_BALANCER
A constant which can be used with the source_type property of a UpdateVtapDetails. SOURCE_TYPE_SUBNET
A constant which can be used with the source_type property of a UpdateVtapDetails. SOURCE_TYPE_VNIC
A constant which can be used with the source_type property of a UpdateVtapDetails. TARGET_TYPE_IP_ADDRESS
A constant which can be used with the target_type property of a UpdateVtapDetails. TARGET_TYPE_NETWORK_LOAD_BALANCER
A constant which can be used with the target_type property of a UpdateVtapDetails. TARGET_TYPE_VNIC
A constant which can be used with the target_type property of a UpdateVtapDetails. TRAFFIC_MODE_DEFAULT
A constant which can be used with the traffic_mode property of a UpdateVtapDetails. TRAFFIC_MODE_PRIORITY
A constant which can be used with the traffic_mode property of a UpdateVtapDetails. capture_filter_id
Gets the capture_filter_id of this UpdateVtapDetails. defined_tags
Gets the defined_tags of this UpdateVtapDetails. display_name
Gets the display_name of this UpdateVtapDetails. encapsulation_protocol
Gets the encapsulation_protocol of this UpdateVtapDetails. freeform_tags
Gets the freeform_tags of this UpdateVtapDetails. is_vtap_enabled
Gets the is_vtap_enabled of this UpdateVtapDetails. max_packet_size
Gets the max_packet_size of this UpdateVtapDetails. source_id
Gets the source_id of this UpdateVtapDetails. source_private_endpoint_ip
Gets the source_private_endpoint_ip of this UpdateVtapDetails. source_private_endpoint_subnet_id
Gets the source_private_endpoint_subnet_id of this UpdateVtapDetails. source_type
Gets the source_type of this UpdateVtapDetails. target_id
Gets the target_id of this UpdateVtapDetails. target_ip
Gets the target_ip of this UpdateVtapDetails. target_type
Gets the target_type of this UpdateVtapDetails. traffic_mode
Gets the traffic_mode of this UpdateVtapDetails. vxlan_network_identifier
Gets the vxlan_network_identifier of this UpdateVtapDetails. Methods
__init__
(**kwargs)Initializes a new UpdateVtapDetails object with values from keyword arguments. -
ENCAPSULATION_PROTOCOL_VXLAN
= 'VXLAN'¶ A constant which can be used with the encapsulation_protocol property of a UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. This constant has a value of “SUBNET”
-
SOURCE_TYPE_VNIC
= 'VNIC'¶ A constant which can be used with the source_type property of a UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. 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 UpdateVtapDetails. This constant has a value of “VNIC”
-
TRAFFIC_MODE_DEFAULT
= 'DEFAULT'¶ A constant which can be used with the traffic_mode property of a UpdateVtapDetails. This constant has a value of “DEFAULT”
-
TRAFFIC_MODE_PRIORITY
= 'PRIORITY'¶ A constant which can be used with the traffic_mode property of a UpdateVtapDetails. This constant has a value of “PRIORITY”
-
__init__
(**kwargs)¶ Initializes a new UpdateVtapDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVtapDetails.
- display_name (str) – The value to assign to the display_name property of this UpdateVtapDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVtapDetails.
- source_id (str) – The value to assign to the source_id property of this UpdateVtapDetails.
- target_id (str) – The value to assign to the target_id property of this UpdateVtapDetails.
- target_ip (str) – The value to assign to the target_ip property of this UpdateVtapDetails.
- capture_filter_id (str) – The value to assign to the capture_filter_id property of this UpdateVtapDetails.
- encapsulation_protocol (str) – The value to assign to the encapsulation_protocol property of this UpdateVtapDetails. Allowed values for this property are: “VXLAN”
- vxlan_network_identifier (int) – The value to assign to the vxlan_network_identifier property of this UpdateVtapDetails.
- is_vtap_enabled (bool) – The value to assign to the is_vtap_enabled property of this UpdateVtapDetails.
- traffic_mode (str) – The value to assign to the traffic_mode property of this UpdateVtapDetails. Allowed values for this property are: “DEFAULT”, “PRIORITY”
- max_packet_size (int) – The value to assign to the max_packet_size property of this UpdateVtapDetails.
- source_private_endpoint_ip (str) – The value to assign to the source_private_endpoint_ip property of this UpdateVtapDetails.
- source_private_endpoint_subnet_id (str) – The value to assign to the source_private_endpoint_subnet_id property of this UpdateVtapDetails.
- target_type (str) – The value to assign to the target_type property of this UpdateVtapDetails. Allowed values for this property are: “VNIC”, “NETWORK_LOAD_BALANCER”, “IP_ADDRESS”
- source_type (str) – The value to assign to the source_type property of this UpdateVtapDetails. Allowed values for this property are: “VNIC”, “SUBNET”, “LOAD_BALANCER”, “DB_SYSTEM”, “EXADATA_VM_CLUSTER”, “AUTONOMOUS_DATA_WAREHOUSE”
-
capture_filter_id
¶ Gets the capture_filter_id of this UpdateVtapDetails. The capture filter’s Oracle ID (OCID).
Returns: The capture_filter_id of this UpdateVtapDetails. Return type: str
Gets the defined_tags of this UpdateVtapDetails. 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 UpdateVtapDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this UpdateVtapDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this UpdateVtapDetails. Return type: str
-
encapsulation_protocol
¶ Gets the encapsulation_protocol of this UpdateVtapDetails. Defines an encapsulation header type for the VTAP’s mirrored traffic.
Allowed values for this property are: “VXLAN”
Returns: The encapsulation_protocol of this UpdateVtapDetails. Return type: str
Gets the freeform_tags of this UpdateVtapDetails. 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 UpdateVtapDetails. Return type: dict(str, str)
-
is_vtap_enabled
¶ Gets the is_vtap_enabled of this UpdateVtapDetails. 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 UpdateVtapDetails. Return type: bool
-
max_packet_size
¶ Gets the max_packet_size of this UpdateVtapDetails. The maximum size of the packets to be included in the filter.
Returns: The max_packet_size of this UpdateVtapDetails. Return type: int
-
source_id
¶ Gets the source_id of this UpdateVtapDetails. The OCID of the source point where packets are captured.
Returns: The source_id of this UpdateVtapDetails. Return type: str
-
source_private_endpoint_ip
¶ Gets the source_private_endpoint_ip of this UpdateVtapDetails. The IP Address of the source private endpoint.
Returns: The source_private_endpoint_ip of this UpdateVtapDetails. Return type: str
-
source_private_endpoint_subnet_id
¶ Gets the source_private_endpoint_subnet_id of this UpdateVtapDetails. The OCID of the subnet that source private endpoint belongs to.
Returns: The source_private_endpoint_subnet_id of this UpdateVtapDetails. Return type: str
-
source_type
¶ Gets the source_type of this UpdateVtapDetails. 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 UpdateVtapDetails. Return type: str
-
target_id
¶ Gets the target_id of this UpdateVtapDetails. The OCID of the destination resource where mirrored packets are sent.
Returns: The target_id of this UpdateVtapDetails. Return type: str
-
target_ip
¶ Gets the target_ip of this UpdateVtapDetails. The IP address of the destination resource where mirrored packets are sent.
Returns: The target_ip of this UpdateVtapDetails. Return type: str
-
target_type
¶ Gets the target_type of this UpdateVtapDetails. The target type for the VTAP.
Allowed values for this property are: “VNIC”, “NETWORK_LOAD_BALANCER”, “IP_ADDRESS”
Returns: The target_type of this UpdateVtapDetails. Return type: str
-
traffic_mode
¶ Gets the traffic_mode of this UpdateVtapDetails. 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 UpdateVtapDetails. Return type: str
-
vxlan_network_identifier
¶ Gets the vxlan_network_identifier of this UpdateVtapDetails. The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
Returns: The vxlan_network_identifier of this UpdateVtapDetails. Return type: int
-