UpdateListenerDetails

class oci.network_load_balancer.models.UpdateListenerDetails(**kwargs)

Bases: object

The configuration of the listener. For more information about backend set configuration, see Managing Network Load Balancer Listeners.

Attributes

IP_VERSION_IPV4 A constant which can be used with the ip_version property of a UpdateListenerDetails.
IP_VERSION_IPV6 A constant which can be used with the ip_version property of a UpdateListenerDetails.
PROTOCOL_ANY A constant which can be used with the protocol property of a UpdateListenerDetails.
PROTOCOL_L3_IP A constant which can be used with the protocol property of a UpdateListenerDetails.
PROTOCOL_TCP A constant which can be used with the protocol property of a UpdateListenerDetails.
PROTOCOL_TCP_AND_UDP A constant which can be used with the protocol property of a UpdateListenerDetails.
PROTOCOL_UDP A constant which can be used with the protocol property of a UpdateListenerDetails.
default_backend_set_name Gets the default_backend_set_name of this UpdateListenerDetails.
ip_version Gets the ip_version of this UpdateListenerDetails.
is_ppv2_enabled Gets the is_ppv2_enabled of this UpdateListenerDetails.
l3_ip_idle_timeout Gets the l3_ip_idle_timeout of this UpdateListenerDetails.
port Gets the port of this UpdateListenerDetails.
protocol Gets the protocol of this UpdateListenerDetails.
tcp_idle_timeout Gets the tcp_idle_timeout of this UpdateListenerDetails.
udp_idle_timeout Gets the udp_idle_timeout of this UpdateListenerDetails.

Methods

__init__(**kwargs) Initializes a new UpdateListenerDetails object with values from keyword arguments.
IP_VERSION_IPV4 = 'IPV4'

A constant which can be used with the ip_version property of a UpdateListenerDetails. This constant has a value of “IPV4”

IP_VERSION_IPV6 = 'IPV6'

A constant which can be used with the ip_version property of a UpdateListenerDetails. This constant has a value of “IPV6”

PROTOCOL_ANY = 'ANY'

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

PROTOCOL_L3_IP = 'L3IP'

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

PROTOCOL_TCP = 'TCP'

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

PROTOCOL_TCP_AND_UDP = 'TCP_AND_UDP'

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

PROTOCOL_UDP = 'UDP'

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

__init__(**kwargs)

Initializes a new UpdateListenerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • default_backend_set_name (str) – The value to assign to the default_backend_set_name property of this UpdateListenerDetails.
  • port (int) – The value to assign to the port property of this UpdateListenerDetails.
  • protocol (str) – The value to assign to the protocol property of this UpdateListenerDetails. Allowed values for this property are: “ANY”, “TCP”, “UDP”, “TCP_AND_UDP”, “L3IP”
  • ip_version (str) – The value to assign to the ip_version property of this UpdateListenerDetails. Allowed values for this property are: “IPV4”, “IPV6”
  • is_ppv2_enabled (bool) – The value to assign to the is_ppv2_enabled property of this UpdateListenerDetails.
  • tcp_idle_timeout (int) – The value to assign to the tcp_idle_timeout property of this UpdateListenerDetails.
  • udp_idle_timeout (int) – The value to assign to the udp_idle_timeout property of this UpdateListenerDetails.
  • l3_ip_idle_timeout (int) – The value to assign to the l3_ip_idle_timeout property of this UpdateListenerDetails.
default_backend_set_name

Gets the default_backend_set_name of this UpdateListenerDetails. The name of the associated backend set.

Example: example_backend_set

Returns:The default_backend_set_name of this UpdateListenerDetails.
Return type:str
ip_version

Gets the ip_version of this UpdateListenerDetails. IP version associated with the listener.

Allowed values for this property are: “IPV4”, “IPV6”

Returns:The ip_version of this UpdateListenerDetails.
Return type:str
is_ppv2_enabled

Gets the is_ppv2_enabled of this UpdateListenerDetails. Property to enable/disable PPv2 feature for this listener.

Returns:The is_ppv2_enabled of this UpdateListenerDetails.
Return type:bool
l3_ip_idle_timeout

Gets the l3_ip_idle_timeout of this UpdateListenerDetails. The duration for L3IP idle timeout in seconds. Example: 200

Returns:The l3_ip_idle_timeout of this UpdateListenerDetails.
Return type:int
port

Gets the port of this UpdateListenerDetails. The communication port for the listener.

Example: 80

Returns:The port of this UpdateListenerDetails.
Return type:int
protocol

Gets the protocol of this UpdateListenerDetails. The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). “ListNetworkLoadBalancersProtocols” API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.

Example: TCP

Allowed values for this property are: “ANY”, “TCP”, “UDP”, “TCP_AND_UDP”, “L3IP”

Returns:The protocol of this UpdateListenerDetails.
Return type:str
tcp_idle_timeout

Gets the tcp_idle_timeout of this UpdateListenerDetails. The duration for TCP idle timeout in seconds. Example: 300

Returns:The tcp_idle_timeout of this UpdateListenerDetails.
Return type:int
udp_idle_timeout

Gets the udp_idle_timeout of this UpdateListenerDetails. The duration for UDP idle timeout in seconds. Example: 120

Returns:The udp_idle_timeout of this UpdateListenerDetails.
Return type:int