oci.LoadBalancer.BackendSet
Explore with Pulumi AI
This resource provides the Backend Set resource in Oracle Cloud Infrastructure Load Balancer service.
Adds a backend set to a load balancer.
Supported Aliases
oci_load_balancer_backendset
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBackendSet = new oci.loadbalancer.BackendSet("test_backend_set", {
healthChecker: {
protocol: backendSetHealthCheckerProtocol,
intervalMs: backendSetHealthCheckerIntervalMs,
isForcePlainText: backendSetHealthCheckerIsForcePlainText,
port: backendSetHealthCheckerPort,
responseBodyRegex: backendSetHealthCheckerResponseBodyRegex,
retries: backendSetHealthCheckerRetries,
returnCode: backendSetHealthCheckerReturnCode,
timeoutInMillis: backendSetHealthCheckerTimeoutInMillis,
urlPath: backendSetHealthCheckerUrlPath,
},
loadBalancerId: testLoadBalancer.id,
name: backendSetName,
policy: backendSetPolicy,
backendMaxConnections: backendSetBackendMaxConnections,
lbCookieSessionPersistenceConfiguration: {
cookieName: backendSetLbCookieSessionPersistenceConfigurationCookieName,
disableFallback: backendSetLbCookieSessionPersistenceConfigurationDisableFallback,
domain: backendSetLbCookieSessionPersistenceConfigurationDomain,
isHttpOnly: backendSetLbCookieSessionPersistenceConfigurationIsHttpOnly,
isSecure: backendSetLbCookieSessionPersistenceConfigurationIsSecure,
maxAgeInSeconds: backendSetLbCookieSessionPersistenceConfigurationMaxAgeInSeconds,
path: backendSetLbCookieSessionPersistenceConfigurationPath,
},
sessionPersistenceConfiguration: {
cookieName: backendSetSessionPersistenceConfigurationCookieName,
disableFallback: backendSetSessionPersistenceConfigurationDisableFallback,
},
sslConfiguration: {
certificateIds: backendSetSslConfigurationCertificateIds,
certificateName: testCertificate.name,
cipherSuiteName: backendSetSslConfigurationCipherSuiteName,
protocols: backendSetSslConfigurationProtocols,
serverOrderPreference: backendSetSslConfigurationServerOrderPreference,
trustedCertificateAuthorityIds: backendSetSslConfigurationTrustedCertificateAuthorityIds,
verifyDepth: backendSetSslConfigurationVerifyDepth,
verifyPeerCertificate: backendSetSslConfigurationVerifyPeerCertificate,
},
});
import pulumi
import pulumi_oci as oci
test_backend_set = oci.load_balancer.BackendSet("test_backend_set",
health_checker={
"protocol": backend_set_health_checker_protocol,
"interval_ms": backend_set_health_checker_interval_ms,
"is_force_plain_text": backend_set_health_checker_is_force_plain_text,
"port": backend_set_health_checker_port,
"response_body_regex": backend_set_health_checker_response_body_regex,
"retries": backend_set_health_checker_retries,
"return_code": backend_set_health_checker_return_code,
"timeout_in_millis": backend_set_health_checker_timeout_in_millis,
"url_path": backend_set_health_checker_url_path,
},
load_balancer_id=test_load_balancer["id"],
name=backend_set_name,
policy=backend_set_policy,
backend_max_connections=backend_set_backend_max_connections,
lb_cookie_session_persistence_configuration={
"cookie_name": backend_set_lb_cookie_session_persistence_configuration_cookie_name,
"disable_fallback": backend_set_lb_cookie_session_persistence_configuration_disable_fallback,
"domain": backend_set_lb_cookie_session_persistence_configuration_domain,
"is_http_only": backend_set_lb_cookie_session_persistence_configuration_is_http_only,
"is_secure": backend_set_lb_cookie_session_persistence_configuration_is_secure,
"max_age_in_seconds": backend_set_lb_cookie_session_persistence_configuration_max_age_in_seconds,
"path": backend_set_lb_cookie_session_persistence_configuration_path,
},
session_persistence_configuration={
"cookie_name": backend_set_session_persistence_configuration_cookie_name,
"disable_fallback": backend_set_session_persistence_configuration_disable_fallback,
},
ssl_configuration={
"certificate_ids": backend_set_ssl_configuration_certificate_ids,
"certificate_name": test_certificate["name"],
"cipher_suite_name": backend_set_ssl_configuration_cipher_suite_name,
"protocols": backend_set_ssl_configuration_protocols,
"server_order_preference": backend_set_ssl_configuration_server_order_preference,
"trusted_certificate_authority_ids": backend_set_ssl_configuration_trusted_certificate_authority_ids,
"verify_depth": backend_set_ssl_configuration_verify_depth,
"verify_peer_certificate": backend_set_ssl_configuration_verify_peer_certificate,
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/LoadBalancer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := LoadBalancer.NewBackendSet(ctx, "test_backend_set", &LoadBalancer.BackendSetArgs{
HealthChecker: &loadbalancer.BackendSetHealthCheckerArgs{
Protocol: pulumi.Any(backendSetHealthCheckerProtocol),
IntervalMs: pulumi.Any(backendSetHealthCheckerIntervalMs),
IsForcePlainText: pulumi.Any(backendSetHealthCheckerIsForcePlainText),
Port: pulumi.Any(backendSetHealthCheckerPort),
ResponseBodyRegex: pulumi.Any(backendSetHealthCheckerResponseBodyRegex),
Retries: pulumi.Any(backendSetHealthCheckerRetries),
ReturnCode: pulumi.Any(backendSetHealthCheckerReturnCode),
TimeoutInMillis: pulumi.Any(backendSetHealthCheckerTimeoutInMillis),
UrlPath: pulumi.Any(backendSetHealthCheckerUrlPath),
},
LoadBalancerId: pulumi.Any(testLoadBalancer.Id),
Name: pulumi.Any(backendSetName),
Policy: pulumi.Any(backendSetPolicy),
BackendMaxConnections: pulumi.Any(backendSetBackendMaxConnections),
LbCookieSessionPersistenceConfiguration: &loadbalancer.BackendSetLbCookieSessionPersistenceConfigurationArgs{
CookieName: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationCookieName),
DisableFallback: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationDisableFallback),
Domain: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationDomain),
IsHttpOnly: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationIsHttpOnly),
IsSecure: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationIsSecure),
MaxAgeInSeconds: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationMaxAgeInSeconds),
Path: pulumi.Any(backendSetLbCookieSessionPersistenceConfigurationPath),
},
SessionPersistenceConfiguration: &loadbalancer.BackendSetSessionPersistenceConfigurationArgs{
CookieName: pulumi.Any(backendSetSessionPersistenceConfigurationCookieName),
DisableFallback: pulumi.Any(backendSetSessionPersistenceConfigurationDisableFallback),
},
SslConfiguration: &loadbalancer.BackendSetSslConfigurationArgs{
CertificateIds: pulumi.Any(backendSetSslConfigurationCertificateIds),
CertificateName: pulumi.Any(testCertificate.Name),
CipherSuiteName: pulumi.Any(backendSetSslConfigurationCipherSuiteName),
Protocols: pulumi.Any(backendSetSslConfigurationProtocols),
ServerOrderPreference: pulumi.Any(backendSetSslConfigurationServerOrderPreference),
TrustedCertificateAuthorityIds: pulumi.Any(backendSetSslConfigurationTrustedCertificateAuthorityIds),
VerifyDepth: pulumi.Any(backendSetSslConfigurationVerifyDepth),
VerifyPeerCertificate: pulumi.Any(backendSetSslConfigurationVerifyPeerCertificate),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testBackendSet = new Oci.LoadBalancer.BackendSet("test_backend_set", new()
{
HealthChecker = new Oci.LoadBalancer.Inputs.BackendSetHealthCheckerArgs
{
Protocol = backendSetHealthCheckerProtocol,
IntervalMs = backendSetHealthCheckerIntervalMs,
IsForcePlainText = backendSetHealthCheckerIsForcePlainText,
Port = backendSetHealthCheckerPort,
ResponseBodyRegex = backendSetHealthCheckerResponseBodyRegex,
Retries = backendSetHealthCheckerRetries,
ReturnCode = backendSetHealthCheckerReturnCode,
TimeoutInMillis = backendSetHealthCheckerTimeoutInMillis,
UrlPath = backendSetHealthCheckerUrlPath,
},
LoadBalancerId = testLoadBalancer.Id,
Name = backendSetName,
Policy = backendSetPolicy,
BackendMaxConnections = backendSetBackendMaxConnections,
LbCookieSessionPersistenceConfiguration = new Oci.LoadBalancer.Inputs.BackendSetLbCookieSessionPersistenceConfigurationArgs
{
CookieName = backendSetLbCookieSessionPersistenceConfigurationCookieName,
DisableFallback = backendSetLbCookieSessionPersistenceConfigurationDisableFallback,
Domain = backendSetLbCookieSessionPersistenceConfigurationDomain,
IsHttpOnly = backendSetLbCookieSessionPersistenceConfigurationIsHttpOnly,
IsSecure = backendSetLbCookieSessionPersistenceConfigurationIsSecure,
MaxAgeInSeconds = backendSetLbCookieSessionPersistenceConfigurationMaxAgeInSeconds,
Path = backendSetLbCookieSessionPersistenceConfigurationPath,
},
SessionPersistenceConfiguration = new Oci.LoadBalancer.Inputs.BackendSetSessionPersistenceConfigurationArgs
{
CookieName = backendSetSessionPersistenceConfigurationCookieName,
DisableFallback = backendSetSessionPersistenceConfigurationDisableFallback,
},
SslConfiguration = new Oci.LoadBalancer.Inputs.BackendSetSslConfigurationArgs
{
CertificateIds = backendSetSslConfigurationCertificateIds,
CertificateName = testCertificate.Name,
CipherSuiteName = backendSetSslConfigurationCipherSuiteName,
Protocols = backendSetSslConfigurationProtocols,
ServerOrderPreference = backendSetSslConfigurationServerOrderPreference,
TrustedCertificateAuthorityIds = backendSetSslConfigurationTrustedCertificateAuthorityIds,
VerifyDepth = backendSetSslConfigurationVerifyDepth,
VerifyPeerCertificate = backendSetSslConfigurationVerifyPeerCertificate,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LoadBalancer.BackendSet;
import com.pulumi.oci.LoadBalancer.BackendSetArgs;
import com.pulumi.oci.LoadBalancer.inputs.BackendSetHealthCheckerArgs;
import com.pulumi.oci.LoadBalancer.inputs.BackendSetLbCookieSessionPersistenceConfigurationArgs;
import com.pulumi.oci.LoadBalancer.inputs.BackendSetSessionPersistenceConfigurationArgs;
import com.pulumi.oci.LoadBalancer.inputs.BackendSetSslConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testBackendSet = new BackendSet("testBackendSet", BackendSetArgs.builder()
.healthChecker(BackendSetHealthCheckerArgs.builder()
.protocol(backendSetHealthCheckerProtocol)
.intervalMs(backendSetHealthCheckerIntervalMs)
.isForcePlainText(backendSetHealthCheckerIsForcePlainText)
.port(backendSetHealthCheckerPort)
.responseBodyRegex(backendSetHealthCheckerResponseBodyRegex)
.retries(backendSetHealthCheckerRetries)
.returnCode(backendSetHealthCheckerReturnCode)
.timeoutInMillis(backendSetHealthCheckerTimeoutInMillis)
.urlPath(backendSetHealthCheckerUrlPath)
.build())
.loadBalancerId(testLoadBalancer.id())
.name(backendSetName)
.policy(backendSetPolicy)
.backendMaxConnections(backendSetBackendMaxConnections)
.lbCookieSessionPersistenceConfiguration(BackendSetLbCookieSessionPersistenceConfigurationArgs.builder()
.cookieName(backendSetLbCookieSessionPersistenceConfigurationCookieName)
.disableFallback(backendSetLbCookieSessionPersistenceConfigurationDisableFallback)
.domain(backendSetLbCookieSessionPersistenceConfigurationDomain)
.isHttpOnly(backendSetLbCookieSessionPersistenceConfigurationIsHttpOnly)
.isSecure(backendSetLbCookieSessionPersistenceConfigurationIsSecure)
.maxAgeInSeconds(backendSetLbCookieSessionPersistenceConfigurationMaxAgeInSeconds)
.path(backendSetLbCookieSessionPersistenceConfigurationPath)
.build())
.sessionPersistenceConfiguration(BackendSetSessionPersistenceConfigurationArgs.builder()
.cookieName(backendSetSessionPersistenceConfigurationCookieName)
.disableFallback(backendSetSessionPersistenceConfigurationDisableFallback)
.build())
.sslConfiguration(BackendSetSslConfigurationArgs.builder()
.certificateIds(backendSetSslConfigurationCertificateIds)
.certificateName(testCertificate.name())
.cipherSuiteName(backendSetSslConfigurationCipherSuiteName)
.protocols(backendSetSslConfigurationProtocols)
.serverOrderPreference(backendSetSslConfigurationServerOrderPreference)
.trustedCertificateAuthorityIds(backendSetSslConfigurationTrustedCertificateAuthorityIds)
.verifyDepth(backendSetSslConfigurationVerifyDepth)
.verifyPeerCertificate(backendSetSslConfigurationVerifyPeerCertificate)
.build())
.build());
}
}
resources:
testBackendSet:
type: oci:LoadBalancer:BackendSet
name: test_backend_set
properties:
healthChecker:
protocol: ${backendSetHealthCheckerProtocol}
intervalMs: ${backendSetHealthCheckerIntervalMs}
isForcePlainText: ${backendSetHealthCheckerIsForcePlainText}
port: ${backendSetHealthCheckerPort}
responseBodyRegex: ${backendSetHealthCheckerResponseBodyRegex}
retries: ${backendSetHealthCheckerRetries}
returnCode: ${backendSetHealthCheckerReturnCode}
timeoutInMillis: ${backendSetHealthCheckerTimeoutInMillis}
urlPath: ${backendSetHealthCheckerUrlPath}
loadBalancerId: ${testLoadBalancer.id}
name: ${backendSetName}
policy: ${backendSetPolicy}
backendMaxConnections: ${backendSetBackendMaxConnections}
lbCookieSessionPersistenceConfiguration:
cookieName: ${backendSetLbCookieSessionPersistenceConfigurationCookieName}
disableFallback: ${backendSetLbCookieSessionPersistenceConfigurationDisableFallback}
domain: ${backendSetLbCookieSessionPersistenceConfigurationDomain}
isHttpOnly: ${backendSetLbCookieSessionPersistenceConfigurationIsHttpOnly}
isSecure: ${backendSetLbCookieSessionPersistenceConfigurationIsSecure}
maxAgeInSeconds: ${backendSetLbCookieSessionPersistenceConfigurationMaxAgeInSeconds}
path: ${backendSetLbCookieSessionPersistenceConfigurationPath}
sessionPersistenceConfiguration:
cookieName: ${backendSetSessionPersistenceConfigurationCookieName}
disableFallback: ${backendSetSessionPersistenceConfigurationDisableFallback}
sslConfiguration:
certificateIds: ${backendSetSslConfigurationCertificateIds}
certificateName: ${testCertificate.name}
cipherSuiteName: ${backendSetSslConfigurationCipherSuiteName}
protocols: ${backendSetSslConfigurationProtocols}
serverOrderPreference: ${backendSetSslConfigurationServerOrderPreference}
trustedCertificateAuthorityIds: ${backendSetSslConfigurationTrustedCertificateAuthorityIds}
verifyDepth: ${backendSetSslConfigurationVerifyDepth}
verifyPeerCertificate: ${backendSetSslConfigurationVerifyPeerCertificate}
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.
Create BackendSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackendSet(name: string, args: BackendSetArgs, opts?: CustomResourceOptions);
@overload
def BackendSet(resource_name: str,
args: BackendSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackendSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
health_checker: Optional[_loadbalancer.BackendSetHealthCheckerArgs] = None,
load_balancer_id: Optional[str] = None,
policy: Optional[str] = None,
backend_max_connections: Optional[int] = None,
lb_cookie_session_persistence_configuration: Optional[_loadbalancer.BackendSetLbCookieSessionPersistenceConfigurationArgs] = None,
name: Optional[str] = None,
session_persistence_configuration: Optional[_loadbalancer.BackendSetSessionPersistenceConfigurationArgs] = None,
ssl_configuration: Optional[_loadbalancer.BackendSetSslConfigurationArgs] = None)
func NewBackendSet(ctx *Context, name string, args BackendSetArgs, opts ...ResourceOption) (*BackendSet, error)
public BackendSet(string name, BackendSetArgs args, CustomResourceOptions? opts = null)
public BackendSet(String name, BackendSetArgs args)
public BackendSet(String name, BackendSetArgs args, CustomResourceOptions options)
type: oci:LoadBalancer:BackendSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BackendSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackendSetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackendSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackendSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackendSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var backendSetResource = new Oci.LoadBalancer.BackendSet("backendSetResource", new()
{
HealthChecker = new Oci.LoadBalancer.Inputs.BackendSetHealthCheckerArgs
{
Protocol = "string",
IntervalMs = 0,
IsForcePlainText = false,
Port = 0,
ResponseBodyRegex = "string",
Retries = 0,
ReturnCode = 0,
TimeoutInMillis = 0,
UrlPath = "string",
},
LoadBalancerId = "string",
Policy = "string",
BackendMaxConnections = 0,
LbCookieSessionPersistenceConfiguration = new Oci.LoadBalancer.Inputs.BackendSetLbCookieSessionPersistenceConfigurationArgs
{
CookieName = "string",
DisableFallback = false,
Domain = "string",
IsHttpOnly = false,
IsSecure = false,
MaxAgeInSeconds = 0,
Path = "string",
},
Name = "string",
SessionPersistenceConfiguration = new Oci.LoadBalancer.Inputs.BackendSetSessionPersistenceConfigurationArgs
{
CookieName = "string",
DisableFallback = false,
},
SslConfiguration = new Oci.LoadBalancer.Inputs.BackendSetSslConfigurationArgs
{
CertificateIds = new[]
{
"string",
},
CertificateName = "string",
CipherSuiteName = "string",
Protocols = new[]
{
"string",
},
ServerOrderPreference = "string",
TrustedCertificateAuthorityIds = new[]
{
"string",
},
VerifyDepth = 0,
VerifyPeerCertificate = false,
},
});
example, err := LoadBalancer.NewBackendSet(ctx, "backendSetResource", &LoadBalancer.BackendSetArgs{
HealthChecker: &loadbalancer.BackendSetHealthCheckerArgs{
Protocol: pulumi.String("string"),
IntervalMs: pulumi.Int(0),
IsForcePlainText: pulumi.Bool(false),
Port: pulumi.Int(0),
ResponseBodyRegex: pulumi.String("string"),
Retries: pulumi.Int(0),
ReturnCode: pulumi.Int(0),
TimeoutInMillis: pulumi.Int(0),
UrlPath: pulumi.String("string"),
},
LoadBalancerId: pulumi.String("string"),
Policy: pulumi.String("string"),
BackendMaxConnections: pulumi.Int(0),
LbCookieSessionPersistenceConfiguration: &loadbalancer.BackendSetLbCookieSessionPersistenceConfigurationArgs{
CookieName: pulumi.String("string"),
DisableFallback: pulumi.Bool(false),
Domain: pulumi.String("string"),
IsHttpOnly: pulumi.Bool(false),
IsSecure: pulumi.Bool(false),
MaxAgeInSeconds: pulumi.Int(0),
Path: pulumi.String("string"),
},
Name: pulumi.String("string"),
SessionPersistenceConfiguration: &loadbalancer.BackendSetSessionPersistenceConfigurationArgs{
CookieName: pulumi.String("string"),
DisableFallback: pulumi.Bool(false),
},
SslConfiguration: &loadbalancer.BackendSetSslConfigurationArgs{
CertificateIds: pulumi.StringArray{
pulumi.String("string"),
},
CertificateName: pulumi.String("string"),
CipherSuiteName: pulumi.String("string"),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
ServerOrderPreference: pulumi.String("string"),
TrustedCertificateAuthorityIds: pulumi.StringArray{
pulumi.String("string"),
},
VerifyDepth: pulumi.Int(0),
VerifyPeerCertificate: pulumi.Bool(false),
},
})
var backendSetResource = new BackendSet("backendSetResource", BackendSetArgs.builder()
.healthChecker(BackendSetHealthCheckerArgs.builder()
.protocol("string")
.intervalMs(0)
.isForcePlainText(false)
.port(0)
.responseBodyRegex("string")
.retries(0)
.returnCode(0)
.timeoutInMillis(0)
.urlPath("string")
.build())
.loadBalancerId("string")
.policy("string")
.backendMaxConnections(0)
.lbCookieSessionPersistenceConfiguration(BackendSetLbCookieSessionPersistenceConfigurationArgs.builder()
.cookieName("string")
.disableFallback(false)
.domain("string")
.isHttpOnly(false)
.isSecure(false)
.maxAgeInSeconds(0)
.path("string")
.build())
.name("string")
.sessionPersistenceConfiguration(BackendSetSessionPersistenceConfigurationArgs.builder()
.cookieName("string")
.disableFallback(false)
.build())
.sslConfiguration(BackendSetSslConfigurationArgs.builder()
.certificateIds("string")
.certificateName("string")
.cipherSuiteName("string")
.protocols("string")
.serverOrderPreference("string")
.trustedCertificateAuthorityIds("string")
.verifyDepth(0)
.verifyPeerCertificate(false)
.build())
.build());
backend_set_resource = oci.load_balancer.BackendSet("backendSetResource",
health_checker={
"protocol": "string",
"interval_ms": 0,
"is_force_plain_text": False,
"port": 0,
"response_body_regex": "string",
"retries": 0,
"return_code": 0,
"timeout_in_millis": 0,
"url_path": "string",
},
load_balancer_id="string",
policy="string",
backend_max_connections=0,
lb_cookie_session_persistence_configuration={
"cookie_name": "string",
"disable_fallback": False,
"domain": "string",
"is_http_only": False,
"is_secure": False,
"max_age_in_seconds": 0,
"path": "string",
},
name="string",
session_persistence_configuration={
"cookie_name": "string",
"disable_fallback": False,
},
ssl_configuration={
"certificate_ids": ["string"],
"certificate_name": "string",
"cipher_suite_name": "string",
"protocols": ["string"],
"server_order_preference": "string",
"trusted_certificate_authority_ids": ["string"],
"verify_depth": 0,
"verify_peer_certificate": False,
})
const backendSetResource = new oci.loadbalancer.BackendSet("backendSetResource", {
healthChecker: {
protocol: "string",
intervalMs: 0,
isForcePlainText: false,
port: 0,
responseBodyRegex: "string",
retries: 0,
returnCode: 0,
timeoutInMillis: 0,
urlPath: "string",
},
loadBalancerId: "string",
policy: "string",
backendMaxConnections: 0,
lbCookieSessionPersistenceConfiguration: {
cookieName: "string",
disableFallback: false,
domain: "string",
isHttpOnly: false,
isSecure: false,
maxAgeInSeconds: 0,
path: "string",
},
name: "string",
sessionPersistenceConfiguration: {
cookieName: "string",
disableFallback: false,
},
sslConfiguration: {
certificateIds: ["string"],
certificateName: "string",
cipherSuiteName: "string",
protocols: ["string"],
serverOrderPreference: "string",
trustedCertificateAuthorityIds: ["string"],
verifyDepth: 0,
verifyPeerCertificate: false,
},
});
type: oci:LoadBalancer:BackendSet
properties:
backendMaxConnections: 0
healthChecker:
intervalMs: 0
isForcePlainText: false
port: 0
protocol: string
responseBodyRegex: string
retries: 0
returnCode: 0
timeoutInMillis: 0
urlPath: string
lbCookieSessionPersistenceConfiguration:
cookieName: string
disableFallback: false
domain: string
isHttpOnly: false
isSecure: false
maxAgeInSeconds: 0
path: string
loadBalancerId: string
name: string
policy: string
sessionPersistenceConfiguration:
cookieName: string
disableFallback: false
sslConfiguration:
certificateIds:
- string
certificateName: string
cipherSuiteName: string
protocols:
- string
serverOrderPreference: string
trustedCertificateAuthorityIds:
- string
verifyDepth: 0
verifyPeerCertificate: false
BackendSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BackendSet resource accepts the following input properties:
- Health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- Load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- Policy string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- Backend
Max intConnections - (Updatable) 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
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Name 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
- Session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Health
Checker BackendSet Health Checker Args - (Updatable) The health check policy's configuration details.
- Load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- Policy string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- Backend
Max intConnections - (Updatable) 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
- Backend
Set Lb Cookie Session Persistence Configuration Args (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Name 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
- Session
Persistence BackendConfiguration Set Session Persistence Configuration Args (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Ssl
Configuration BackendSet Ssl Configuration Args (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- load
Balancer StringId - The OCID of the load balancer on which to add a backend set.
- policy String
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- backend
Max IntegerConnections - (Updatable) 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
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- name 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
- session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- policy string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- backend
Max numberConnections - (Updatable) 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
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- name 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
- session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- health_
checker loadbalancer.Backend Set Health Checker Args - (Updatable) The health check policy's configuration details.
- load_
balancer_ strid - The OCID of the load balancer on which to add a backend set.
- policy str
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- backend_
max_ intconnections - (Updatable) 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
- loadbalancer.
Backend Set Lb Cookie Session Persistence Configuration Args (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- name str
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
- session_
persistence_ loadbalancer.configuration Backend Set Session Persistence Configuration Args (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl_
configuration loadbalancer.Backend Set Ssl Configuration Args (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- health
Checker Property Map - (Updatable) The health check policy's configuration details.
- load
Balancer StringId - The OCID of the load balancer on which to add a backend set.
- policy String
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- backend
Max NumberConnections - (Updatable) 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
- Property Map
(Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- name 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
- session
Persistence Property MapConfiguration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration Property Map (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Outputs
All input properties are implicitly available as output properties. Additionally, the BackendSet resource produces the following output properties:
- Backends
List<Backend
Set Backend> - (Updatable)
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Backends
[]Backend
Set Backend - (Updatable)
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- backends
List<Backend
Set Backend> - (Updatable)
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- backends
Backend
Set Backend[] - (Updatable)
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- backends
Sequence[loadbalancer.
Backend Set Backend] - (Updatable)
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- backends List<Property Map>
- (Updatable)
- id String
- The provider-assigned unique ID for this managed resource.
- state String
Look up Existing BackendSet Resource
Get an existing BackendSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BackendSetState, opts?: CustomResourceOptions): BackendSet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backend_max_connections: Optional[int] = None,
backends: Optional[Sequence[_loadbalancer.BackendSetBackendArgs]] = None,
health_checker: Optional[_loadbalancer.BackendSetHealthCheckerArgs] = None,
lb_cookie_session_persistence_configuration: Optional[_loadbalancer.BackendSetLbCookieSessionPersistenceConfigurationArgs] = None,
load_balancer_id: Optional[str] = None,
name: Optional[str] = None,
policy: Optional[str] = None,
session_persistence_configuration: Optional[_loadbalancer.BackendSetSessionPersistenceConfigurationArgs] = None,
ssl_configuration: Optional[_loadbalancer.BackendSetSslConfigurationArgs] = None,
state: Optional[str] = None) -> BackendSet
func GetBackendSet(ctx *Context, name string, id IDInput, state *BackendSetState, opts ...ResourceOption) (*BackendSet, error)
public static BackendSet Get(string name, Input<string> id, BackendSetState? state, CustomResourceOptions? opts = null)
public static BackendSet get(String name, Output<String> id, BackendSetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backend
Max intConnections - (Updatable) 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
List<Backend
Set Backend> - (Updatable)
- Health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- Name 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 string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- Session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- State string
- Backend
Max intConnections - (Updatable) 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
[]Backend
Set Backend Args - (Updatable)
- Health
Checker BackendSet Health Checker Args - (Updatable) The health check policy's configuration details.
- Backend
Set Lb Cookie Session Persistence Configuration Args (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- Name 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 string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- Session
Persistence BackendConfiguration Set Session Persistence Configuration Args (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- Ssl
Configuration BackendSet Ssl Configuration Args (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- State string
- backend
Max IntegerConnections - (Updatable) 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
List<Backend
Set Backend> - (Updatable)
- health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- load
Balancer StringId - The OCID of the load balancer on which to add a backend set.
- name 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 String
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- state String
- backend
Max numberConnections - (Updatable) 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
Backend
Set Backend[] - (Updatable)
- health
Checker BackendSet Health Checker - (Updatable) The health check policy's configuration details.
- Backend
Set Lb Cookie Session Persistence Configuration (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- load
Balancer stringId - The OCID of the load balancer on which to add a backend set.
- name 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 string
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- session
Persistence BackendConfiguration Set Session Persistence Configuration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration BackendSet Ssl Configuration (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- state string
- backend_
max_ intconnections - (Updatable) 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
Sequence[loadbalancer.
Backend Set Backend Args] - (Updatable)
- health_
checker loadbalancer.Backend Set Health Checker Args - (Updatable) The health check policy's configuration details.
- loadbalancer.
Backend Set Lb Cookie Session Persistence Configuration Args (Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- load_
balancer_ strid - The OCID of the load balancer on which to add a backend set.
- name str
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 str
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- session_
persistence_ loadbalancer.configuration Backend Set Session Persistence Configuration Args (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl_
configuration loadbalancer.Backend Set Ssl Configuration Args (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- state str
- backend
Max NumberConnections - (Updatable) 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 List<Property Map>
- (Updatable)
- health
Checker Property Map - (Updatable) The health check policy's configuration details.
- Property Map
(Updatable) The configuration details for implementing load balancer cookie session persistence (LB cookie stickiness).
Session persistence enables the Load Balancing service to direct all requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
When you configure LB cookie stickiness, the load balancer inserts a cookie into the response. The parameters configured in the cookie enable session stickiness. This method is useful when you have applications and Web backend services that cannot generate their own cookies.
Path route rules take precedence to determine the target backend server. The load balancer verifies that session stickiness is enabled for the backend server and that the cookie configuration (domain, path, and cookie hash) is valid for the target. The system ignores invalid cookies.
To disable LB cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theLBCookieSessionPersistenceConfigurationDetails
object.Example:
LBCookieSessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- load
Balancer StringId - The OCID of the load balancer on which to add a backend set.
- name 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 String
- (Updatable) The load balancer policy for the backend set. To get a list of available policies, use the ListPolicies operation. Example:
LEAST_CONNECTIONS
- session
Persistence Property MapConfiguration (Updatable) The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness).
Session persistence enables the Load Balancing service to direct any number of requests that originate from a single logical client to a single backend web server. For more information, see Session Persistence.
With application cookie stickiness, the load balancer enables session persistence only when the response from a backend application server includes a
Set-cookie
header with the user-specified cookie name.To disable application cookie stickiness on a running load balancer, use the UpdateBackendSet operation and specify
null
for theSessionPersistenceConfigurationDetails
object.Example:
SessionPersistenceConfigurationDetails: null
Note:
SessionPersistenceConfigurationDetails
(application cookie stickiness) andLBCookieSessionPersistenceConfigurationDetails
(LB cookie stickiness) are mutually exclusive. An error results if you try to enable both types of session persistence.Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- ssl
Configuration Property Map (Updatable) The load balancer's SSL handling configuration details.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
- state String
Supporting Types
BackendSetBackend, BackendSetBackendArgs
- Ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- Port int
- (Updatable) The communication port for the backend server. Example:
8080
- Backup bool
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- Drain bool
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- Max
Connections int - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- Name 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
- Offline bool
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- Weight int
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
- Ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- Port int
- (Updatable) The communication port for the backend server. Example:
8080
- Backup bool
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- Drain bool
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- Max
Connections int - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- Name 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
- Offline bool
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- Weight int
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
- ip
Address String - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- port Integer
- (Updatable) The communication port for the backend server. Example:
8080
- backup Boolean
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- drain Boolean
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- max
Connections Integer - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- name 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
- offline Boolean
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- weight Integer
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
- ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- port number
- (Updatable) The communication port for the backend server. Example:
8080
- backup boolean
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- drain boolean
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- max
Connections number - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- name 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
- offline boolean
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- weight number
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
- ip_
address str - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- port int
- (Updatable) The communication port for the backend server. Example:
8080
- backup bool
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- drain bool
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- max_
connections int - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- name str
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
- offline bool
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- weight int
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
- ip
Address String - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- port Number
- (Updatable) The communication port for the backend server. Example:
8080
- backup Boolean
(Updatable) Whether the load balancer should treat this server as a backup unit. If
true
, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy.Note: You cannot add a backend server marked as
backup
to a backend set that uses the IP Hash policy.Example:
false
- drain Boolean
- (Updatable) Whether the load balancer should drain this server. Servers marked "drain" receive no new incoming traffic. Example:
false
- max
Connections Number - (Updatable) The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example:
300
- name 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
- offline Boolean
- (Updatable) Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- weight Number
- (Updatable) The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see How Load Balancing Policies Work. Example:
3
BackendSetHealthChecker, BackendSetHealthCheckerArgs
- Protocol string
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- Interval
Ms int - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- Is
Force boolPlain Text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- Port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- Response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- Retries int
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- Return
Code int - (Updatable) The status code a healthy backend server should return. Example:
200
- Timeout
In intMillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- Url
Path string - (Updatable) The path against which to run the health check. Example:
/healthcheck
- Protocol string
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- Interval
Ms int - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- Is
Force boolPlain Text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- Port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- Response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- Retries int
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- Return
Code int - (Updatable) The status code a healthy backend server should return. Example:
200
- Timeout
In intMillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- Url
Path string - (Updatable) The path against which to run the health check. Example:
/healthcheck
- protocol String
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- interval
Ms Integer - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- is
Force BooleanPlain Text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- port Integer
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- response
Body StringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- retries Integer
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- return
Code Integer - (Updatable) The status code a healthy backend server should return. Example:
200
- timeout
In IntegerMillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- url
Path String - (Updatable) The path against which to run the health check. Example:
/healthcheck
- protocol string
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- interval
Ms number - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- is
Force booleanPlain Text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- port number
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- retries number
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- return
Code number - (Updatable) The status code a healthy backend server should return. Example:
200
- timeout
In numberMillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- url
Path string - (Updatable) The path against which to run the health check. Example:
/healthcheck
- protocol str
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- interval_
ms int - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- is_
force_ boolplain_ text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- response_
body_ strregex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- retries int
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- return_
code int - (Updatable) The status code a healthy backend server should return. Example:
200
- timeout_
in_ intmillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- url_
path str - (Updatable) The path against which to run the health check. Example:
/healthcheck
- protocol String
- (Updatable) The protocol the health check must use; either HTTP or TCP. Example:
HTTP
- interval
Ms Number - (Updatable) The interval between health checks, in milliseconds. Example:
10000
- is
Force BooleanPlain Text (Updatable) Specifies if health checks should always be done using plain text instead of depending on whether or not the associated backend set is using SSL.
If "true", health checks will be done using plain text even if the associated backend set is configured to use SSL.
If "false", health checks will be done using SSL encryption if the associated backend set is configured to use SSL. If the backend set is not so configured the health checks will be done using plain text.
Example:
false
- port Number
- (Updatable) The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the
Backend
object. Example:8080
- response
Body StringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- retries Number
- (Updatable) The number of retries to attempt before a backend server is considered "unhealthy". This number also applies when recovering a server to the "healthy" state. Example:
3
- return
Code Number - (Updatable) The status code a healthy backend server should return. Example:
200
- timeout
In NumberMillis - (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example:
3000
- url
Path String - (Updatable) The path against which to run the health check. Example:
/healthcheck
BackendSetLbCookieSessionPersistenceConfiguration, BackendSetLbCookieSessionPersistenceConfigurationArgs
- string
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- Disable
Fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- Domain string
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- Is
Http boolOnly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- Is
Secure bool (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- Max
Age intIn Seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- Path string
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
- string
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- Disable
Fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- Domain string
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- Is
Http boolOnly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- Is
Secure bool (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- Max
Age intIn Seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- Path string
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
- String
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- disable
Fallback Boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- domain String
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- is
Http BooleanOnly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- is
Secure Boolean (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- max
Age IntegerIn Seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- path String
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
- string
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- disable
Fallback boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- domain string
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- is
Http booleanOnly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- is
Secure boolean (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- max
Age numberIn Seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- path string
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
- str
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- disable_
fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- domain str
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- is_
http_ boolonly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- is_
secure bool (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- max_
age_ intin_ seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- path str
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
- String
(Updatable) The name of the cookie inserted by the load balancer. If this field is not configured, the cookie name defaults to "X-Oracle-BMC-LBS-Route". Example:
example_cookie
Notes:
- Ensure that the cookie name used at the backend application servers is different from the cookie name used at the load balancer. To minimize the chance of name collision, Oracle recommends that you use a prefix such as "X-Oracle-OCI-" for this field.
- If a backend server and the load balancer both insert cookies with the same name, the client or browser behavior can vary depending on the domain and path values associated with the cookie. If the name, domain, and path values of the
Set-cookie
generated by a backend server and theSet-cookie
generated by the load balancer are all the same, the client or browser treats them as one cookie and returns only one of the cookie values in subsequent requests. If bothSet-cookie
names are the same, but the domain and path names are different, the client or browser treats them as two different cookies.
- disable
Fallback Boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- domain String
(Updatable) The domain in which the cookie is valid. The
Set-cookie
header inserted by the load balancer contains a domain attribute with the specified value.This attribute has no default value. If you do not specify a value, the load balancer does not insert the domain attribute into the
Set-cookie
header.Notes:
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
Set-cookie
header.
If the value of the
Domain
attribute isexample.com
in theSet-cookie
header, the client includes the same cookie in theCookie
header when making HTTP requests toexample.com
,www.example.com
, andwww.abc.example.com
. If theDomain
attribute is not present, the client returns the cookie only for the domain to which the original request was made.- Ensure that this attribute specifies the correct domain value. If the
Domain
attribute in theSet-cookie
header does not include the domain to which the original request was made, the client or browser might reject the cookie. As specified in RFC 6265, the client accepts a cookie with theDomain
attribute valueexample.com
orwww.example.com
sent fromwww.example.com
. It does not accept a cookie with theDomain
attributeabc.example.com
orwww.abc.example.com
sent fromwww.example.com
.
Example:
example.com
- RFC 6265 - HTTP State Management Mechanism describes client and browser behavior when the domain attribute is present or not present in the
- is
Http BooleanOnly - (Updatable) Whether the
Set-cookie
header should contain theHttpOnly
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theHttpOnly
attribute, which limits the scope of the cookie to HTTP requests. This attribute directs the client or browser to omit the cookie when providing access to cookies through non-HTTP APIs. For example, it restricts the cookie from JavaScript channels. Example:true
- is
Secure Boolean (Updatable) Whether the
Set-cookie
header should contain theSecure
attribute. Iftrue
, theSet-cookie
header inserted by the load balancer contains theSecure
attribute, which directs the client or browser to send the cookie only using a secure protocol.Note: If you set this field to
true
, you cannot associate the corresponding backend set with an HTTP listener.Example:
true
- max
Age NumberIn Seconds (Updatable) The amount of time the cookie remains valid. The
Set-cookie
header inserted by the load balancer contains aMax-Age
attribute with the specified value.The specified value must be at least one second. There is no default value for this attribute. If you do not specify a value, the load balancer does not include the
Max-Age
attribute in theSet-cookie
header. In most cases, the client or browser retains the cookie until the current session ends, as defined by the client.Example:
3600
- path String
(Updatable) The path in which the cookie is valid. The
Set-cookie header
inserted by the load balancer contains aPath
attribute with the specified value.Clients include the cookie in an HTTP request only if the path portion of the request-uri matches, or is a subdirectory of, the cookie's
Path
attribute.The default value is
/
.Example:
/example
BackendSetSessionPersistenceConfiguration, BackendSetSessionPersistenceConfigurationArgs
- string
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- Disable
Fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- string
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- Disable
Fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- String
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- disable
Fallback Boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- string
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- disable
Fallback boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- str
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- disable_
fallback bool - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
- String
- (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example:
example_cookie
- disable
Fallback Boolean - (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example:
false
BackendSetSslConfiguration, BackendSetSslConfigurationArgs
- Certificate
Ids List<string> - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- Certificate
Name string - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- Cipher
Suite stringName (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- Protocols List<string>
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- Server
Order stringPreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- List<string>
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- Verify
Depth int - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- Verify
Peer boolCertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Certificate
Ids []string - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- Certificate
Name string - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- Cipher
Suite stringName (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- Protocols []string
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- Server
Order stringPreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- []string
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- Verify
Depth int - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- Verify
Peer boolCertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- certificate
Ids List<String> - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- certificate
Name String - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- cipher
Suite StringName (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- protocols List<String>
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- server
Order StringPreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- List<String>
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- verify
Depth Integer - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- verify
Peer BooleanCertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- certificate
Ids string[] - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- certificate
Name string - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- cipher
Suite stringName (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- protocols string[]
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- server
Order stringPreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- string[]
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- verify
Depth number - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- verify
Peer booleanCertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- certificate_
ids Sequence[str] - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- certificate_
name str - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- cipher_
suite_ strname (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- protocols Sequence[str]
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- server_
order_ strpreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- Sequence[str]
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- verify_
depth int - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- verify_
peer_ boolcertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- certificate
Ids List<String> - (Updatable) Ids for Oracle Cloud Infrastructure certificates service certificates. Currently only a single Id may be passed. Example:
[ocid1.certificate.oc1.us-ashburn-1.amaaaaaaav3bgsaa5o2q7rh5nfmkkukfkogasqhk6af2opufhjlqg7m6jqzq]
- certificate
Name String - (Updatable) A friendly name for the certificate bundle. It must be unique and it cannot be changed. Valid certificate bundle names include only alphanumeric characters, dashes, and underscores. Certificate bundle names cannot contain spaces. Avoid entering confidential information. Example:
example_certificate_bundle
- cipher
Suite StringName (Updatable) The name of the cipher suite to use for HTTPS or SSL connections.
If this field is not specified, the default is
oci-default-ssl-cipher-suite-v1
.Notes:
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite. Clients cannot perform an SSL handshake if there is an incompatible configuration.
- You must ensure compatibility between the ciphers configured in the cipher suite and the configured certificates. For example, RSA-based ciphers require RSA certificates and ECDSA-based ciphers require ECDSA certificates.
- If the cipher configuration is not modified after load balancer creation, the
GET
operation returnsoci-default-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing listeners that predate this feature. - If the cipher configuration was modified using Oracle operations after load balancer creation, the
GET
operation returnsoci-customized-ssl-cipher-suite
as the value of this field in the SSL configuration for existing listeners that predate this feature. - The
GET
operation returnsoci-wider-compatible-ssl-cipher-suite-v1
as the value of this field in the SSL configuration for existing backend sets that predate this feature. - If the
GET
operation on a listener returnsoci-customized-ssl-cipher-suite
as the value of this field, you must specify an appropriate predefined or custom cipher suite name when updating the resource. - The
oci-customized-ssl-cipher-suite
Oracle reserved cipher suite name is not accepted as valid input for this field.
example:
example_cipher_suite
- protocols List<String>
(Updatable) A list of SSL protocols the load balancer must support for HTTPS or SSL connections.
The load balancer uses SSL protocols to establish a secure connection between a client and a server. A secure connection ensures that all data passed between the client and the server is private.
The Load Balancing service supports the following protocols:
- TLSv1
- TLSv1.1
- TLSv1.2
- TLSv1.3
If this field is not specified, TLSv1.2 is the default.
Warning: All SSL listeners created on a given port must use the same set of SSL protocols.
Notes:
- The handshake to establish an SSL connection fails if the client supports none of the specified protocols.
- You must ensure compatibility between the specified SSL protocols and the ciphers configured in the cipher suite.
- For all existing load balancer listeners and backend sets that predate this feature, the
GET
operation displays a list of SSL protocols currently used by those resources.
example:
["TLSv1.1", "TLSv1.2"]
- server
Order StringPreference (Updatable) When this attribute is set to ENABLED, the system gives preference to the server ciphers over the client ciphers.
Note: This configuration is applicable only when the load balancer is acting as an SSL/HTTPS server. This field is ignored when the
SSLConfiguration
object is associated with a backend set.- List<String>
- (Updatable) Ids for Oracle Cloud Infrastructure certificates service CA or CA bundles for the load balancer to trust. Example:
[ocid1.cabundle.oc1.us-ashburn-1.amaaaaaaav3bgsaagl4zzyqdop5i2vuwoqewdvauuw34llqa74otq2jdsfyq]
- verify
Depth Number - (Updatable) The maximum depth for peer certificate chain verification. Example:
3
- verify
Peer BooleanCertificate (Updatable) Whether the load balancer listener should verify peer certificates. Example:
true
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
BackendSets can be imported using the id
, e.g.
$ pulumi import oci:LoadBalancer/backendSet:BackendSet test_backend_set "loadBalancers/{loadBalancerId}/backendSets/{backendSetName}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.