oci.NetworkLoadBalancer.BackendSet
Explore with Pulumi AI
This resource provides the Backend Set resource in Oracle Cloud Infrastructure Network Load Balancer service.
Adds a backend set to a network load balancer.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBackendSet = new oci.networkloadbalancer.BackendSet("test_backend_set", {
healthChecker: {
protocol: backendSetHealthCheckerProtocol,
dns: {
domainName: testDomain.name,
queryClass: backendSetHealthCheckerDnsQueryClass,
queryType: backendSetHealthCheckerDnsQueryType,
rcodes: backendSetHealthCheckerDnsRcodes,
transportProtocol: backendSetHealthCheckerDnsTransportProtocol,
},
intervalInMillis: backendSetHealthCheckerIntervalInMillis,
port: backendSetHealthCheckerPort,
requestData: backendSetHealthCheckerRequestData,
responseBodyRegex: backendSetHealthCheckerResponseBodyRegex,
responseData: backendSetHealthCheckerResponseData,
retries: backendSetHealthCheckerRetries,
returnCode: backendSetHealthCheckerReturnCode,
timeoutInMillis: backendSetHealthCheckerTimeoutInMillis,
urlPath: backendSetHealthCheckerUrlPath,
},
name: backendSetName,
networkLoadBalancerId: testNetworkLoadBalancer.id,
policy: backendSetPolicy,
ipVersion: backendSetIpVersion,
isInstantFailoverEnabled: backendSetIsInstantFailoverEnabled,
isFailOpen: backendSetIsFailOpen,
isPreserveSource: backendSetIsPreserveSource,
});
import pulumi
import pulumi_oci as oci
test_backend_set = oci.network_load_balancer.BackendSet("test_backend_set",
health_checker=oci.network_load_balancer.BackendSetHealthCheckerArgs(
protocol=backend_set_health_checker_protocol,
dns=oci.network_load_balancer.BackendSetHealthCheckerDnsArgs(
domain_name=test_domain["name"],
query_class=backend_set_health_checker_dns_query_class,
query_type=backend_set_health_checker_dns_query_type,
rcodes=backend_set_health_checker_dns_rcodes,
transport_protocol=backend_set_health_checker_dns_transport_protocol,
),
interval_in_millis=backend_set_health_checker_interval_in_millis,
port=backend_set_health_checker_port,
request_data=backend_set_health_checker_request_data,
response_body_regex=backend_set_health_checker_response_body_regex,
response_data=backend_set_health_checker_response_data,
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,
),
name=backend_set_name,
network_load_balancer_id=test_network_load_balancer["id"],
policy=backend_set_policy,
ip_version=backend_set_ip_version,
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
is_fail_open=backend_set_is_fail_open,
is_preserve_source=backend_set_is_preserve_source)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/NetworkLoadBalancer"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := NetworkLoadBalancer.NewBackendSet(ctx, "test_backend_set", &NetworkLoadBalancer.BackendSetArgs{
HealthChecker: &networkloadbalancer.BackendSetHealthCheckerArgs{
Protocol: pulumi.Any(backendSetHealthCheckerProtocol),
Dns: &networkloadbalancer.BackendSetHealthCheckerDnsArgs{
DomainName: pulumi.Any(testDomain.Name),
QueryClass: pulumi.Any(backendSetHealthCheckerDnsQueryClass),
QueryType: pulumi.Any(backendSetHealthCheckerDnsQueryType),
Rcodes: pulumi.Any(backendSetHealthCheckerDnsRcodes),
TransportProtocol: pulumi.Any(backendSetHealthCheckerDnsTransportProtocol),
},
IntervalInMillis: pulumi.Any(backendSetHealthCheckerIntervalInMillis),
Port: pulumi.Any(backendSetHealthCheckerPort),
RequestData: pulumi.Any(backendSetHealthCheckerRequestData),
ResponseBodyRegex: pulumi.Any(backendSetHealthCheckerResponseBodyRegex),
ResponseData: pulumi.Any(backendSetHealthCheckerResponseData),
Retries: pulumi.Any(backendSetHealthCheckerRetries),
ReturnCode: pulumi.Any(backendSetHealthCheckerReturnCode),
TimeoutInMillis: pulumi.Any(backendSetHealthCheckerTimeoutInMillis),
UrlPath: pulumi.Any(backendSetHealthCheckerUrlPath),
},
Name: pulumi.Any(backendSetName),
NetworkLoadBalancerId: pulumi.Any(testNetworkLoadBalancer.Id),
Policy: pulumi.Any(backendSetPolicy),
IpVersion: pulumi.Any(backendSetIpVersion),
IsInstantFailoverEnabled: pulumi.Any(backendSetIsInstantFailoverEnabled),
IsFailOpen: pulumi.Any(backendSetIsFailOpen),
IsPreserveSource: pulumi.Any(backendSetIsPreserveSource),
})
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.NetworkLoadBalancer.BackendSet("test_backend_set", new()
{
HealthChecker = new Oci.NetworkLoadBalancer.Inputs.BackendSetHealthCheckerArgs
{
Protocol = backendSetHealthCheckerProtocol,
Dns = new Oci.NetworkLoadBalancer.Inputs.BackendSetHealthCheckerDnsArgs
{
DomainName = testDomain.Name,
QueryClass = backendSetHealthCheckerDnsQueryClass,
QueryType = backendSetHealthCheckerDnsQueryType,
Rcodes = backendSetHealthCheckerDnsRcodes,
TransportProtocol = backendSetHealthCheckerDnsTransportProtocol,
},
IntervalInMillis = backendSetHealthCheckerIntervalInMillis,
Port = backendSetHealthCheckerPort,
RequestData = backendSetHealthCheckerRequestData,
ResponseBodyRegex = backendSetHealthCheckerResponseBodyRegex,
ResponseData = backendSetHealthCheckerResponseData,
Retries = backendSetHealthCheckerRetries,
ReturnCode = backendSetHealthCheckerReturnCode,
TimeoutInMillis = backendSetHealthCheckerTimeoutInMillis,
UrlPath = backendSetHealthCheckerUrlPath,
},
Name = backendSetName,
NetworkLoadBalancerId = testNetworkLoadBalancer.Id,
Policy = backendSetPolicy,
IpVersion = backendSetIpVersion,
IsInstantFailoverEnabled = backendSetIsInstantFailoverEnabled,
IsFailOpen = backendSetIsFailOpen,
IsPreserveSource = backendSetIsPreserveSource,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkLoadBalancer.BackendSet;
import com.pulumi.oci.NetworkLoadBalancer.BackendSetArgs;
import com.pulumi.oci.NetworkLoadBalancer.inputs.BackendSetHealthCheckerArgs;
import com.pulumi.oci.NetworkLoadBalancer.inputs.BackendSetHealthCheckerDnsArgs;
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)
.dns(BackendSetHealthCheckerDnsArgs.builder()
.domainName(testDomain.name())
.queryClass(backendSetHealthCheckerDnsQueryClass)
.queryType(backendSetHealthCheckerDnsQueryType)
.rcodes(backendSetHealthCheckerDnsRcodes)
.transportProtocol(backendSetHealthCheckerDnsTransportProtocol)
.build())
.intervalInMillis(backendSetHealthCheckerIntervalInMillis)
.port(backendSetHealthCheckerPort)
.requestData(backendSetHealthCheckerRequestData)
.responseBodyRegex(backendSetHealthCheckerResponseBodyRegex)
.responseData(backendSetHealthCheckerResponseData)
.retries(backendSetHealthCheckerRetries)
.returnCode(backendSetHealthCheckerReturnCode)
.timeoutInMillis(backendSetHealthCheckerTimeoutInMillis)
.urlPath(backendSetHealthCheckerUrlPath)
.build())
.name(backendSetName)
.networkLoadBalancerId(testNetworkLoadBalancer.id())
.policy(backendSetPolicy)
.ipVersion(backendSetIpVersion)
.isInstantFailoverEnabled(backendSetIsInstantFailoverEnabled)
.isFailOpen(backendSetIsFailOpen)
.isPreserveSource(backendSetIsPreserveSource)
.build());
}
}
resources:
testBackendSet:
type: oci:NetworkLoadBalancer:BackendSet
name: test_backend_set
properties:
healthChecker:
protocol: ${backendSetHealthCheckerProtocol}
dns:
domainName: ${testDomain.name}
queryClass: ${backendSetHealthCheckerDnsQueryClass}
queryType: ${backendSetHealthCheckerDnsQueryType}
rcodes: ${backendSetHealthCheckerDnsRcodes}
transportProtocol: ${backendSetHealthCheckerDnsTransportProtocol}
intervalInMillis: ${backendSetHealthCheckerIntervalInMillis}
port: ${backendSetHealthCheckerPort}
requestData: ${backendSetHealthCheckerRequestData}
responseBodyRegex: ${backendSetHealthCheckerResponseBodyRegex}
responseData: ${backendSetHealthCheckerResponseData}
retries: ${backendSetHealthCheckerRetries}
returnCode: ${backendSetHealthCheckerReturnCode}
timeoutInMillis: ${backendSetHealthCheckerTimeoutInMillis}
urlPath: ${backendSetHealthCheckerUrlPath}
name: ${backendSetName}
networkLoadBalancerId: ${testNetworkLoadBalancer.id}
policy: ${backendSetPolicy}
ipVersion: ${backendSetIpVersion}
isInstantFailoverEnabled: ${backendSetIsInstantFailoverEnabled}
isFailOpen: ${backendSetIsFailOpen}
isPreserveSource: ${backendSetIsPreserveSource}
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[_networkloadbalancer.BackendSetHealthCheckerArgs] = None,
network_load_balancer_id: Optional[str] = None,
policy: Optional[str] = None,
ip_version: Optional[str] = None,
is_fail_open: Optional[bool] = None,
is_instant_failover_enabled: Optional[bool] = None,
is_preserve_source: Optional[bool] = None,
name: Optional[str] = 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:NetworkLoadBalancer: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 ociBackendSetResource = new Oci.NetworkLoadBalancer.BackendSet("ociBackendSetResource", new()
{
HealthChecker = new Oci.NetworkLoadBalancer.Inputs.BackendSetHealthCheckerArgs
{
Protocol = "string",
Dns = new Oci.NetworkLoadBalancer.Inputs.BackendSetHealthCheckerDnsArgs
{
DomainName = "string",
QueryClass = "string",
QueryType = "string",
Rcodes = new[]
{
"string",
},
TransportProtocol = "string",
},
IntervalInMillis = 0,
Port = 0,
RequestData = "string",
ResponseBodyRegex = "string",
ResponseData = "string",
Retries = 0,
ReturnCode = 0,
TimeoutInMillis = 0,
UrlPath = "string",
},
NetworkLoadBalancerId = "string",
Policy = "string",
IpVersion = "string",
IsFailOpen = false,
IsInstantFailoverEnabled = false,
IsPreserveSource = false,
Name = "string",
});
example, err := NetworkLoadBalancer.NewBackendSet(ctx, "ociBackendSetResource", &NetworkLoadBalancer.BackendSetArgs{
HealthChecker: &networkloadbalancer.BackendSetHealthCheckerArgs{
Protocol: pulumi.String("string"),
Dns: &networkloadbalancer.BackendSetHealthCheckerDnsArgs{
DomainName: pulumi.String("string"),
QueryClass: pulumi.String("string"),
QueryType: pulumi.String("string"),
Rcodes: pulumi.StringArray{
pulumi.String("string"),
},
TransportProtocol: pulumi.String("string"),
},
IntervalInMillis: pulumi.Int(0),
Port: pulumi.Int(0),
RequestData: pulumi.String("string"),
ResponseBodyRegex: pulumi.String("string"),
ResponseData: pulumi.String("string"),
Retries: pulumi.Int(0),
ReturnCode: pulumi.Int(0),
TimeoutInMillis: pulumi.Int(0),
UrlPath: pulumi.String("string"),
},
NetworkLoadBalancerId: pulumi.String("string"),
Policy: pulumi.String("string"),
IpVersion: pulumi.String("string"),
IsFailOpen: pulumi.Bool(false),
IsInstantFailoverEnabled: pulumi.Bool(false),
IsPreserveSource: pulumi.Bool(false),
Name: pulumi.String("string"),
})
var ociBackendSetResource = new BackendSet("ociBackendSetResource", BackendSetArgs.builder()
.healthChecker(BackendSetHealthCheckerArgs.builder()
.protocol("string")
.dns(BackendSetHealthCheckerDnsArgs.builder()
.domainName("string")
.queryClass("string")
.queryType("string")
.rcodes("string")
.transportProtocol("string")
.build())
.intervalInMillis(0)
.port(0)
.requestData("string")
.responseBodyRegex("string")
.responseData("string")
.retries(0)
.returnCode(0)
.timeoutInMillis(0)
.urlPath("string")
.build())
.networkLoadBalancerId("string")
.policy("string")
.ipVersion("string")
.isFailOpen(false)
.isInstantFailoverEnabled(false)
.isPreserveSource(false)
.name("string")
.build());
oci_backend_set_resource = oci.network_load_balancer.BackendSet("ociBackendSetResource",
health_checker=oci.network_load_balancer.BackendSetHealthCheckerArgs(
protocol="string",
dns=oci.network_load_balancer.BackendSetHealthCheckerDnsArgs(
domain_name="string",
query_class="string",
query_type="string",
rcodes=["string"],
transport_protocol="string",
),
interval_in_millis=0,
port=0,
request_data="string",
response_body_regex="string",
response_data="string",
retries=0,
return_code=0,
timeout_in_millis=0,
url_path="string",
),
network_load_balancer_id="string",
policy="string",
ip_version="string",
is_fail_open=False,
is_instant_failover_enabled=False,
is_preserve_source=False,
name="string")
const ociBackendSetResource = new oci.networkloadbalancer.BackendSet("ociBackendSetResource", {
healthChecker: {
protocol: "string",
dns: {
domainName: "string",
queryClass: "string",
queryType: "string",
rcodes: ["string"],
transportProtocol: "string",
},
intervalInMillis: 0,
port: 0,
requestData: "string",
responseBodyRegex: "string",
responseData: "string",
retries: 0,
returnCode: 0,
timeoutInMillis: 0,
urlPath: "string",
},
networkLoadBalancerId: "string",
policy: "string",
ipVersion: "string",
isFailOpen: false,
isInstantFailoverEnabled: false,
isPreserveSource: false,
name: "string",
});
type: oci:NetworkLoadBalancer:BackendSet
properties:
healthChecker:
dns:
domainName: string
queryClass: string
queryType: string
rcodes:
- string
transportProtocol: string
intervalInMillis: 0
port: 0
protocol: string
requestData: string
responseBodyRegex: string
responseData: string
retries: 0
returnCode: 0
timeoutInMillis: 0
urlPath: string
ipVersion: string
isFailOpen: false
isInstantFailoverEnabled: false
isPreserveSource: false
name: string
networkLoadBalancerId: string
policy: string
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
The BackendSet resource accepts the following input properties:
- Health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- Network
Load stringBalancer Id - The OCID of the network load balancer to update.
- Policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- Ip
Version string - (Updatable) IP version associated with the backend set.
- Is
Fail boolOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- Is
Instant boolFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- Is
Preserve boolSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- Name string
A user-friendly name for the backend set that must be unique and 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
- Health
Checker BackendSet Health Checker Args - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- Network
Load stringBalancer Id - The OCID of the network load balancer to update.
- Policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- Ip
Version string - (Updatable) IP version associated with the backend set.
- Is
Fail boolOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- Is
Instant boolFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- Is
Preserve boolSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- Name string
A user-friendly name for the backend set that must be unique and 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
- health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- network
Load StringBalancer Id - The OCID of the network load balancer to update.
- policy String
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- ip
Version String - (Updatable) IP version associated with the backend set.
- is
Fail BooleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant BooleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve BooleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name String
A user-friendly name for the backend set that must be unique and 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
- health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- network
Load stringBalancer Id - The OCID of the network load balancer to update.
- policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- ip
Version string - (Updatable) IP version associated with the backend set.
- is
Fail booleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant booleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve booleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name string
A user-friendly name for the backend set that must be unique and 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
- health_
checker networkloadbalancer.Backend Set Health Checker Args - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- network_
load_ strbalancer_ id - The OCID of the network load balancer to update.
- policy str
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- ip_
version str - (Updatable) IP version associated with the backend set.
- is_
fail_ boolopen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is_
instant_ boolfailover_ enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is_
preserve_ boolsource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name str
A user-friendly name for the backend set that must be unique and 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
- health
Checker Property Map - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- network
Load StringBalancer Id - The OCID of the network load balancer to update.
- policy String
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- ip
Version String - (Updatable) IP version associated with the backend set.
- is
Fail BooleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant BooleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve BooleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name String
A user-friendly name for the backend set that must be unique and 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
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) An array of backends to be associated with the backend set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backends
[]Backend
Set Backend - (Updatable) An array of backends to be associated with the backend set.
- Id string
- The provider-assigned unique ID for this managed resource.
- backends
List<Backend
Set Backend> - (Updatable) An array of backends to be associated with the backend set.
- id String
- The provider-assigned unique ID for this managed resource.
- backends
Backend
Set Backend[] - (Updatable) An array of backends to be associated with the backend set.
- id string
- The provider-assigned unique ID for this managed resource.
- backends
Sequence[networkloadbalancer.
Backend Set Backend] - (Updatable) An array of backends to be associated with the backend set.
- id str
- The provider-assigned unique ID for this managed resource.
- backends List<Property Map>
- (Updatable) An array of backends to be associated with the backend set.
- id String
- The provider-assigned unique ID for this managed resource.
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,
backends: Optional[Sequence[_networkloadbalancer.BackendSetBackendArgs]] = None,
health_checker: Optional[_networkloadbalancer.BackendSetHealthCheckerArgs] = None,
ip_version: Optional[str] = None,
is_fail_open: Optional[bool] = None,
is_instant_failover_enabled: Optional[bool] = None,
is_preserve_source: Optional[bool] = None,
name: Optional[str] = None,
network_load_balancer_id: Optional[str] = None,
policy: 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.
- Backends
List<Backend
Set Backend> - (Updatable) An array of backends to be associated with the backend set.
- Health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- Ip
Version string - (Updatable) IP version associated with the backend set.
- Is
Fail boolOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- Is
Instant boolFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- Is
Preserve boolSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- Name string
A user-friendly name for the backend set that must be unique and 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
- Network
Load stringBalancer Id - The OCID of the network load balancer to update.
- Policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- Backends
[]Backend
Set Backend Args - (Updatable) An array of backends to be associated with the backend set.
- Health
Checker BackendSet Health Checker Args - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- Ip
Version string - (Updatable) IP version associated with the backend set.
- Is
Fail boolOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- Is
Instant boolFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- Is
Preserve boolSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- Name string
A user-friendly name for the backend set that must be unique and 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
- Network
Load stringBalancer Id - The OCID of the network load balancer to update.
- Policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- backends
List<Backend
Set Backend> - (Updatable) An array of backends to be associated with the backend set.
- health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- ip
Version String - (Updatable) IP version associated with the backend set.
- is
Fail BooleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant BooleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve BooleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name String
A user-friendly name for the backend set that must be unique and 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
- network
Load StringBalancer Id - The OCID of the network load balancer to update.
- policy String
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- backends
Backend
Set Backend[] - (Updatable) An array of backends to be associated with the backend set.
- health
Checker BackendSet Health Checker - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- ip
Version string - (Updatable) IP version associated with the backend set.
- is
Fail booleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant booleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve booleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name string
A user-friendly name for the backend set that must be unique and 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
- network
Load stringBalancer Id - The OCID of the network load balancer to update.
- policy string
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- backends
Sequence[networkloadbalancer.
Backend Set Backend Args] - (Updatable) An array of backends to be associated with the backend set.
- health_
checker networkloadbalancer.Backend Set Health Checker Args - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- ip_
version str - (Updatable) IP version associated with the backend set.
- is_
fail_ boolopen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is_
instant_ boolfailover_ enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is_
preserve_ boolsource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name str
A user-friendly name for the backend set that must be unique and 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
- network_
load_ strbalancer_ id - The OCID of the network load balancer to update.
- policy str
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
- backends List<Property Map>
- (Updatable) An array of backends to be associated with the backend set.
- health
Checker Property Map - (Updatable) The health check policy configuration. For more information, see Editing Health Check Policies.
- ip
Version String - (Updatable) IP version associated with the backend set.
- is
Fail BooleanOpen - (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
- is
Instant BooleanFailover Enabled - (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
- is
Preserve BooleanSource - (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
- name String
A user-friendly name for the backend set that must be unique and 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
- network
Load StringBalancer Id - The OCID of the network load balancer to update.
- policy String
(Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
** 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
Supporting Types
BackendSetBackend, BackendSetBackendArgs
- Port int
- (Updatable) The communication port for the backend server. Example:
8080
- Ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- Is
Backup bool - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- Is
Drain bool - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- Is
Offline bool - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- Name string
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- Target
Id string - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- Weight int
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
- Port int
- (Updatable) The communication port for the backend server. Example:
8080
- Ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- Is
Backup bool - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- Is
Drain bool - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- Is
Offline bool - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- Name string
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- Target
Id string - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- Weight int
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
- port Integer
- (Updatable) The communication port for the backend server. Example:
8080
- ip
Address String - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- is
Backup Boolean - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- is
Drain Boolean - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- is
Offline Boolean - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- name String
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- target
Id String - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- weight Integer
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
- port number
- (Updatable) The communication port for the backend server. Example:
8080
- ip
Address string - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- is
Backup boolean - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- is
Drain boolean - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- is
Offline boolean - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- name string
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- target
Id string - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- weight number
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
- port int
- (Updatable) The communication port for the backend server. Example:
8080
- ip_
address str - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- is_
backup bool - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- is_
drain bool - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- is_
offline bool - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- name str
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- target_
id str - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- weight int
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
- port Number
- (Updatable) The communication port for the backend server. Example:
8080
- ip
Address String - (Updatable) The IP address of the backend server. Example:
10.0.0.3
- is
Backup Boolean - (Updatable) Whether the network load balancer should treat this server as a backup unit. If
true
, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example:false
- is
Drain Boolean - (Updatable) Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example:
false
- is
Offline Boolean - (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example:
false
- name String
- (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example:
10.0.0.3:8080
, orocid1.privateip..oc1.<var><unique_ID></var>:443
or10.0.0.3:0
- target
Id String - (Updatable) The IP OCID/Instance OCID associated with the backend server. Example:
ocid1.privateip..oc1.<var><unique_ID></var>
- weight Number
- (Updatable) The network 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 three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see How Network Load Balancing Policies Work. Example:
3
BackendSetHealthChecker, BackendSetHealthCheckerArgs
- Protocol string
- (Updatable) The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example:
HTTP
- Dns
Backend
Set Health Checker Dns - (Updatable) DNS healthcheck configurations.
- Interval
In intMillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- Port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- Request
Data string - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- Response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- Response
Data string - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- Return
Code int - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). 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, HTTPS, UDP, TCP or DNS. Example:
HTTP
- Dns
Backend
Set Health Checker Dns - (Updatable) DNS healthcheck configurations.
- Interval
In intMillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- Port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- Request
Data string - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- Response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- Response
Data string - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- Return
Code int - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). 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, HTTPS, UDP, TCP or DNS. Example:
HTTP
- dns
Backend
Set Health Checker Dns - (Updatable) DNS healthcheck configurations.
- interval
In IntegerMillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- port Integer
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- request
Data String - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- response
Body StringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- response
Data String - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- return
Code Integer - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). 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, HTTPS, UDP, TCP or DNS. Example:
HTTP
- dns
Backend
Set Health Checker Dns - (Updatable) DNS healthcheck configurations.
- interval
In numberMillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- port number
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- request
Data string - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- response
Body stringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- response
Data string - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- return
Code number - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). 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, HTTPS, UDP, TCP or DNS. Example:
HTTP
- dns
networkloadbalancer.
Backend Set Health Checker Dns - (Updatable) DNS healthcheck configurations.
- interval_
in_ intmillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- port int
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- request_
data str - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- response_
body_ strregex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- response_
data str - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- return_
code int - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). 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, HTTPS, UDP, TCP or DNS. Example:
HTTP
- dns Property Map
- (Updatable) DNS healthcheck configurations.
- interval
In NumberMillis - (Updatable) The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example:
10000
- port Number
- (Updatable) The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the
Backend
object. The port must be specified if the backend port is 0. Example:8080
- request
Data String - (Updatable) Base64 encoded pattern to be sent as UDP or TCP health check probe.
- response
Body StringRegex - (Updatable) A regular expression for parsing the response body from the backend server. Example:
^((?!false).|\s)*$
- response
Data String - (Updatable) Base64 encoded pattern to be validated as UDP or TCP health check probe response.
- 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. The default value is 3. Example:
3
- return
Code Number - (Updatable) The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol, then you can use common HTTP status codes such as "200". 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. The default value is 3000 (3 seconds). Example:
3000
- url
Path String - (Updatable) The path against which to run the health check. Example:
/healthcheck
BackendSetHealthCheckerDns, BackendSetHealthCheckerDnsArgs
- Domain
Name string - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- Query
Class string - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- Query
Type string - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- Rcodes List<string>
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- Transport
Protocol string - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
- Domain
Name string - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- Query
Class string - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- Query
Type string - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- Rcodes []string
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- Transport
Protocol string - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
- domain
Name String - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- query
Class String - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- query
Type String - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- rcodes List<String>
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- transport
Protocol String - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
- domain
Name string - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- query
Class string - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- query
Type string - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- rcodes string[]
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- transport
Protocol string - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
- domain_
name str - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- query_
class str - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- query_
type str - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- rcodes Sequence[str]
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- transport_
protocol str - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
- domain
Name String - (Updatable) The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
- query
Class String - (Updatable) The class the dns health check query to use; either IN or CH. Example:
IN
- query
Type String - (Updatable) The type the dns health check query to use; A, AAAA, TXT. Example:
A
- rcodes List<String>
- (Updatable) An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
- transport
Protocol String - (Updatable) DNS transport protocol; either UDP or TCP. Example:
UDP
Import
BackendSets can be imported using the id
, e.g.
$ pulumi import oci:NetworkLoadBalancer/backendSet:BackendSet test_backend_set "networkLoadBalancers/{networkLoadBalancerId}/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.