UpdateListenerDetails¶
-
class
oci.load_balancer.models.
UpdateListenerDetails
(**kwargs)¶ Bases:
object
The configuration details for updating a listener.
Methods
__init__
(**kwargs)Initializes a new UpdateListenerDetails object with values from keyword arguments. Attributes
connection_configuration
Gets the connection_configuration of this UpdateListenerDetails. default_backend_set_name
[Required] Gets the default_backend_set_name of this UpdateListenerDetails. hostname_names
Gets the hostname_names of this UpdateListenerDetails. path_route_set_name
Gets the path_route_set_name of this UpdateListenerDetails. port
[Required] Gets the port of this UpdateListenerDetails. protocol
[Required] Gets the protocol of this UpdateListenerDetails. routing_policy_name
Gets the routing_policy_name of this UpdateListenerDetails. rule_set_names
Gets the rule_set_names of this UpdateListenerDetails. ssl_configuration
Gets the ssl_configuration of this UpdateListenerDetails. -
__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.
- hostname_names (list[str]) – The value to assign to the hostname_names property of this UpdateListenerDetails.
- path_route_set_name (str) – The value to assign to the path_route_set_name property of this UpdateListenerDetails.
- routing_policy_name (str) – The value to assign to the routing_policy_name property of this UpdateListenerDetails.
- ssl_configuration (oci.load_balancer.models.SSLConfigurationDetails) – The value to assign to the ssl_configuration property of this UpdateListenerDetails.
- connection_configuration (oci.load_balancer.models.ConnectionConfiguration) – The value to assign to the connection_configuration property of this UpdateListenerDetails.
- rule_set_names (list[str]) – The value to assign to the rule_set_names property of this UpdateListenerDetails.
-
connection_configuration
¶ Gets the connection_configuration of this UpdateListenerDetails.
Returns: The connection_configuration of this UpdateListenerDetails. Return type: oci.load_balancer.models.ConnectionConfiguration
-
default_backend_set_name
¶ [Required] 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
-
hostname_names
¶ Gets the hostname_names of this UpdateListenerDetails. An array of hostname resource names.
Returns: The hostname_names of this UpdateListenerDetails. Return type: list[str]
-
path_route_set_name
¶ Gets the path_route_set_name of this UpdateListenerDetails. 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 UpdateListenerDetails. Return type: str
-
port
¶ [Required] Gets the port of this UpdateListenerDetails. The communication port for the listener.
Example: 80
Returns: The port of this UpdateListenerDetails. Return type: int
-
protocol
¶ [Required] Gets the protocol of this UpdateListenerDetails. The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. You can also use the
list_protocols()
operation to get a list of valid protocols.Example: HTTP
Returns: The protocol of this UpdateListenerDetails. Return type: str
-
routing_policy_name
¶ Gets the routing_policy_name of this UpdateListenerDetails. The name of the routing policy applied to this listener’s traffic.
Example: example_routing_policy
Returns: The routing_policy_name of this UpdateListenerDetails. Return type: str
-
rule_set_names
¶ Gets the rule_set_names of this UpdateListenerDetails. The names of the
RuleSet
to apply to the listener.Example: [“example_rule_set”]
Returns: The rule_set_names of this UpdateListenerDetails. Return type: list[str]
-
ssl_configuration
¶ Gets the ssl_configuration of this UpdateListenerDetails.
Returns: The ssl_configuration of this UpdateListenerDetails. Return type: oci.load_balancer.models.SSLConfigurationDetails
-