CreateBackendSetDetails

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

Bases: object

The configuration details for creating a backend set in a load balancer. 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.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Methods

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

Attributes

backend_max_connections Gets the backend_max_connections of this CreateBackendSetDetails.
backends Gets the backends of this CreateBackendSetDetails.
health_checker [Required] Gets the health_checker of this CreateBackendSetDetails.
lb_cookie_session_persistence_configuration Gets the lb_cookie_session_persistence_configuration of this CreateBackendSetDetails.
name [Required] Gets the name of this CreateBackendSetDetails.
policy [Required] Gets the policy of this CreateBackendSetDetails.
session_persistence_configuration Gets the session_persistence_configuration of this CreateBackendSetDetails.
ssl_configuration Gets the ssl_configuration of this CreateBackendSetDetails.
__init__(**kwargs)

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

Parameters:
backend_max_connections

Gets the backend_max_connections of this CreateBackendSetDetails. 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 CreateBackendSetDetails.
Return type:int
backends

Gets the backends of this CreateBackendSetDetails.

Returns:The backends of this CreateBackendSetDetails.
Return type:list[oci.load_balancer.models.BackendDetails]
health_checker

[Required] Gets the health_checker of this CreateBackendSetDetails.

Returns:The health_checker of this CreateBackendSetDetails.
Return type:oci.load_balancer.models.HealthCheckerDetails

Gets the lb_cookie_session_persistence_configuration of this CreateBackendSetDetails.

Returns:The lb_cookie_session_persistence_configuration of this CreateBackendSetDetails.
Return type:oci.load_balancer.models.LBCookieSessionPersistenceConfigurationDetails
name

[Required] Gets the name of this CreateBackendSetDetails. A friendly name for the backend set. It must be unique and it cannot be changed.

Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information.

Example: example_backend_set

Returns:The name of this CreateBackendSetDetails.
Return type:str
policy

[Required] Gets the policy of this CreateBackendSetDetails. 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 CreateBackendSetDetails.
Return type:str
session_persistence_configuration

Gets the session_persistence_configuration of this CreateBackendSetDetails.

Returns:The session_persistence_configuration of this CreateBackendSetDetails.
Return type:oci.load_balancer.models.SessionPersistenceConfigurationDetails
ssl_configuration

Gets the ssl_configuration of this CreateBackendSetDetails.

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