ListenerDetails

class oci.load_balancer.models.ListenerDetails(**kwargs)

Bases: object

The listener’s configuration details.

Methods

__init__(**kwargs) Initializes a new ListenerDetails object with values from keyword arguments.

Attributes

connection_configuration Gets the connection_configuration of this ListenerDetails.
default_backend_set_name [Required] Gets the default_backend_set_name of this ListenerDetails.
hostname_names Gets the hostname_names of this ListenerDetails.
path_route_set_name Gets the path_route_set_name of this ListenerDetails.
port [Required] Gets the port of this ListenerDetails.
protocol [Required] Gets the protocol of this ListenerDetails.
routing_policy_name Gets the routing_policy_name of this ListenerDetails.
rule_set_names Gets the rule_set_names of this ListenerDetails.
ssl_configuration Gets the ssl_configuration of this ListenerDetails.
__init__(**kwargs)

Initializes a new ListenerDetails 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 ListenerDetails.
  • port (int) – The value to assign to the port property of this ListenerDetails.
  • protocol (str) – The value to assign to the protocol property of this ListenerDetails.
  • hostname_names (list[str]) – The value to assign to the hostname_names property of this ListenerDetails.
  • path_route_set_name (str) – The value to assign to the path_route_set_name property of this ListenerDetails.
  • ssl_configuration (oci.load_balancer.models.SSLConfigurationDetails) – The value to assign to the ssl_configuration property of this ListenerDetails.
  • connection_configuration (oci.load_balancer.models.ConnectionConfiguration) – The value to assign to the connection_configuration property of this ListenerDetails.
  • routing_policy_name (str) – The value to assign to the routing_policy_name property of this ListenerDetails.
  • rule_set_names (list[str]) – The value to assign to the rule_set_names property of this ListenerDetails.
connection_configuration

Gets the connection_configuration of this ListenerDetails.

Returns:The connection_configuration of this ListenerDetails.
Return type:oci.load_balancer.models.ConnectionConfiguration
default_backend_set_name

[Required] Gets the default_backend_set_name of this ListenerDetails. The name of the associated backend set.

Example: example_backend_set

Returns:The default_backend_set_name of this ListenerDetails.
Return type:str
hostname_names

Gets the hostname_names of this ListenerDetails. An array of hostname resource names.

Returns:The hostname_names of this ListenerDetails.
Return type:list[str]
path_route_set_name

Gets the path_route_set_name of this ListenerDetails. Deprecated. Please use routingPolicies instead.

The name of the set of path-based routing rules, PathRouteSet, applied to this listener’s traffic.

Example: example_path_route_set

Returns:The path_route_set_name of this ListenerDetails.
Return type:str
port

[Required] Gets the port of this ListenerDetails. The communication port for the listener.

Example: 80

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

[Required] Gets the protocol of this ListenerDetails. The protocol on which the listener accepts connection requests. To get a list of valid protocols, use the list_protocols() operation.

Example: HTTP

Returns:The protocol of this ListenerDetails.
Return type:str
routing_policy_name

Gets the routing_policy_name of this ListenerDetails. The name of the routing policy applied to this listener’s traffic.

Example: example_routing_policy

Returns:The routing_policy_name of this ListenerDetails.
Return type:str
rule_set_names

Gets the rule_set_names of this ListenerDetails. The names of the RuleSet to apply to the listener.

Example: [“example_rule_set”]
Returns:The rule_set_names of this ListenerDetails.
Return type:list[str]
ssl_configuration

Gets the ssl_configuration of this ListenerDetails.

Returns:The ssl_configuration of this ListenerDetails.
Return type:oci.load_balancer.models.SSLConfigurationDetails