Class BackendSet
The configuration of 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.
Inherited Members
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class BackendSet
Properties
BackendMaxConnections
Declaration
[JsonProperty(PropertyName = "backendMaxConnections")]
public int? BackendMaxConnections { get; set; }
Property Value
Type | Description |
---|---|
int? | 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.
|
Backends
Declaration
[Required(ErrorMessage = "Backends is required.")]
[JsonProperty(PropertyName = "backends")]
public List<Backend> Backends { get; set; }
Property Value
Type | Description |
---|---|
List<Backend> |
Remarks
Required
HealthChecker
Declaration
[Required(ErrorMessage = "HealthChecker is required.")]
[JsonProperty(PropertyName = "healthChecker")]
public HealthChecker HealthChecker { get; set; }
Property Value
Type | Description |
---|---|
HealthChecker |
Remarks
Required
LbCookieSessionPersistenceConfiguration
Declaration
[JsonProperty(PropertyName = "lbCookieSessionPersistenceConfiguration")]
public LBCookieSessionPersistenceConfigurationDetails LbCookieSessionPersistenceConfiguration { get; set; }
Property Value
Type | Description |
---|---|
LBCookieSessionPersistenceConfigurationDetails |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | A friendly name for the backend set. It must be unique and it cannot be changed.
|
Remarks
Required
Policy
Declaration
[Required(ErrorMessage = "Policy is required.")]
[JsonProperty(PropertyName = "policy")]
public string Policy { get; set; }
Property Value
Type | Description |
---|---|
string | The load balancer policy for the backend set. To get a list of available policies, use the
{@link #listPolicies(ListPoliciesRequest) listPolicies} operation.
|
Remarks
Required
SessionPersistenceConfiguration
Declaration
[JsonProperty(PropertyName = "sessionPersistenceConfiguration")]
public SessionPersistenceConfigurationDetails SessionPersistenceConfiguration { get; set; }
Property Value
Type | Description |
---|---|
SessionPersistenceConfigurationDetails |
SslConfiguration
Declaration
[JsonProperty(PropertyName = "sslConfiguration")]
public SSLConfiguration SslConfiguration { get; set; }
Property Value
Type | Description |
---|---|
SSLConfiguration |