BackendSetDetails¶
-
class
oci.load_balancer.models.
BackendSetDetails
(**kwargs)¶ Bases:
object
The configuration details for a load balancer backend set. For more information on backend set configuration, see Managing Backend Sets.
Note: The sessionPersistenceConfiguration (application cookie stickiness) and lbCookieSessionPersistenceConfiguration (LB cookie stickiness) attributes are mutually exclusive. To avoid returning an error, configure only one of these two attributes per backend set.
Methods
__init__
(**kwargs)Initializes a new BackendSetDetails object with values from keyword arguments. Attributes
backend_max_connections
Gets the backend_max_connections of this BackendSetDetails. backends
Gets the backends of this BackendSetDetails. health_checker
[Required] Gets the health_checker of this BackendSetDetails. lb_cookie_session_persistence_configuration
Gets the lb_cookie_session_persistence_configuration of this BackendSetDetails. policy
[Required] Gets the policy of this BackendSetDetails. session_persistence_configuration
Gets the session_persistence_configuration of this BackendSetDetails. ssl_configuration
Gets the ssl_configuration of this BackendSetDetails. -
__init__
(**kwargs)¶ Initializes a new BackendSetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - policy (str) – The value to assign to the policy property of this BackendSetDetails.
- backends (list[oci.load_balancer.models.BackendDetails]) – The value to assign to the backends property of this BackendSetDetails.
- backend_max_connections (int) – The value to assign to the backend_max_connections property of this BackendSetDetails.
- health_checker (oci.load_balancer.models.HealthCheckerDetails) – The value to assign to the health_checker property of this BackendSetDetails.
- ssl_configuration (oci.load_balancer.models.SSLConfigurationDetails) – The value to assign to the ssl_configuration property of this BackendSetDetails.
- session_persistence_configuration (oci.load_balancer.models.SessionPersistenceConfigurationDetails) – The value to assign to the session_persistence_configuration property of this BackendSetDetails.
- lb_cookie_session_persistence_configuration (oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails) – The value to assign to the lb_cookie_session_persistence_configuration property of this BackendSetDetails.
-
backend_max_connections
¶ Gets the backend_max_connections of this BackendSetDetails. The maximum number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting. If this is not set then the number of simultaneous connections the load balancer can make to any backend in the backend set unless the backend has its own maxConnections setting is unlimited.
Example: 300
Returns: The backend_max_connections of this BackendSetDetails. Return type: int
-
backends
¶ Gets the backends of this BackendSetDetails.
Returns: The backends of this BackendSetDetails. Return type: list[oci.load_balancer.models.BackendDetails]
-
health_checker
¶ [Required] Gets the health_checker of this BackendSetDetails.
Returns: The health_checker of this BackendSetDetails. Return type: oci.load_balancer.models.HealthCheckerDetails
Gets the lb_cookie_session_persistence_configuration of this BackendSetDetails.
Returns: The lb_cookie_session_persistence_configuration of this BackendSetDetails. Return type: oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails
-
policy
¶ [Required] Gets the policy of this BackendSetDetails. The load balancer policy for the backend set. To get a list of available policies, use the
list_policies()
operation.Example: LEAST_CONNECTIONS
Returns: The policy of this BackendSetDetails. Return type: str
-
session_persistence_configuration
¶ Gets the session_persistence_configuration of this BackendSetDetails.
Returns: The session_persistence_configuration of this BackendSetDetails. Return type: oci.load_balancer.models.SessionPersistenceConfigurationDetails
-
ssl_configuration
¶ Gets the ssl_configuration of this BackendSetDetails.
Returns: The ssl_configuration of this BackendSetDetails. Return type: oci.load_balancer.models.SSLConfigurationDetails
-