UpdateBackendSetDetails

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

Bases: object

The configuration details for updating 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.

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

__init__(**kwargs)

Initializes a new UpdateBackendSetDetails 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 UpdateBackendSetDetails.
  • backends (list[BackendDetails]) -- The value to assign to the backends property of this UpdateBackendSetDetails.
  • health_checker (HealthCheckerDetails) -- The value to assign to the health_checker property of this UpdateBackendSetDetails.
  • ssl_configuration (SSLConfigurationDetails) -- The value to assign to the ssl_configuration property of this UpdateBackendSetDetails.
  • session_persistence_configuration (SessionPersistenceConfigurationDetails) -- The value to assign to the session_persistence_configuration property of this UpdateBackendSetDetails.
  • lb_cookie_session_persistence_configuration (LBCookieSessionPersistenceConfigurationDetails) -- The value to assign to the lb_cookie_session_persistence_configuration property of this UpdateBackendSetDetails.
backends

[Required] Gets the backends of this UpdateBackendSetDetails.

Returns:The backends of this UpdateBackendSetDetails.
Return type:list[BackendDetails]
health_checker

[Required] Gets the health_checker of this UpdateBackendSetDetails.

Returns:The health_checker of this UpdateBackendSetDetails.
Return type:HealthCheckerDetails

Gets the lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.

Returns:The lb_cookie_session_persistence_configuration of this UpdateBackendSetDetails.
Return type:LBCookieSessionPersistenceConfigurationDetails
policy

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

Gets the session_persistence_configuration of this UpdateBackendSetDetails.

Returns:The session_persistence_configuration of this UpdateBackendSetDetails.
Return type:SessionPersistenceConfigurationDetails
ssl_configuration

Gets the ssl_configuration of this UpdateBackendSetDetails.

Returns:The ssl_configuration of this UpdateBackendSetDetails.
Return type:SSLConfigurationDetails