Class CreateBackendSetDetails
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.
Inheritance
CreateBackendSetDetails
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class CreateBackendSetDetails
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.
Example: 300
|
Backends
Declaration
[JsonProperty(PropertyName = "backends")]
public List<BackendDetails> Backends { get; set; }
Property Value
HealthChecker
Declaration
[Required(ErrorMessage = "HealthChecker is required.")]
[JsonProperty(PropertyName = "healthChecker")]
public HealthCheckerDetails HealthChecker { get; set; }
Property Value
LbCookieSessionPersistenceConfiguration
Declaration
[JsonProperty(PropertyName = "lbCookieSessionPersistenceConfiguration")]
public LBCookieSessionPersistenceConfigurationDetails LbCookieSessionPersistenceConfiguration { get; set; }
Property Value
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.
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
|
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.
Example: LEAST_CONNECTIONS
|
SessionPersistenceConfiguration
Declaration
[JsonProperty(PropertyName = "sessionPersistenceConfiguration")]
public SessionPersistenceConfigurationDetails SessionPersistenceConfiguration { get; set; }
Property Value
SslConfiguration
Declaration
[JsonProperty(PropertyName = "sslConfiguration")]
public SSLConfigurationDetails SslConfiguration { get; set; }
Property Value