1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkLoadBalancer
  5. getBackendSet
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.NetworkLoadBalancer.getBackendSet

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides details about a specific Backend Set resource in Oracle Cloud Infrastructure Network Load Balancer service.

Retrieves the configuration information for the specified backend set.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.NetworkLoadBalancer.NetworkLoadBalancerFunctions;
import com.pulumi.oci.NetworkLoadBalancer.inputs.GetBackendSetArgs;
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) {
        final var testBackendSet = NetworkLoadBalancerFunctions.getBackendSet(GetBackendSetArgs.builder()
            .backendSetName(testBackendSetOciNetworkLoadBalancerBackendSet.name())
            .networkLoadBalancerId(testNetworkLoadBalancer.id())
            .ipVersion(backendSetIpVersion)
            .build());

    }
}
Copy
variables:
  testBackendSet:
    fn::invoke:
      function: oci:NetworkLoadBalancer:getBackendSet
      arguments:
        backendSetName: ${testBackendSetOciNetworkLoadBalancerBackendSet.name}
        networkLoadBalancerId: ${testNetworkLoadBalancer.id}
        ipVersion: ${backendSetIpVersion}
Copy

Using getBackendSet

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBackendSet(args: GetBackendSetArgs, opts?: InvokeOptions): Promise<GetBackendSetResult>
function getBackendSetOutput(args: GetBackendSetOutputArgs, opts?: InvokeOptions): Output<GetBackendSetResult>
Copy
def get_backend_set(backend_set_name: Optional[str] = None,
                    network_load_balancer_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetBackendSetResult
def get_backend_set_output(backend_set_name: Optional[pulumi.Input[str]] = None,
                    network_load_balancer_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetBackendSetResult]
Copy
func GetBackendSet(ctx *Context, args *GetBackendSetArgs, opts ...InvokeOption) (*GetBackendSetResult, error)
func GetBackendSetOutput(ctx *Context, args *GetBackendSetOutputArgs, opts ...InvokeOption) GetBackendSetResultOutput
Copy

> Note: This function is named GetBackendSet in the Go SDK.

public static class GetBackendSet 
{
    public static Task<GetBackendSetResult> InvokeAsync(GetBackendSetArgs args, InvokeOptions? opts = null)
    public static Output<GetBackendSetResult> Invoke(GetBackendSetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBackendSetResult> getBackendSet(GetBackendSetArgs args, InvokeOptions options)
public static Output<GetBackendSetResult> getBackendSet(GetBackendSetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:NetworkLoadBalancer/getBackendSet:getBackendSet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BackendSetName This property is required. string
The name of the backend set to retrieve. Example: example_backend_set
NetworkLoadBalancerId This property is required. string
The OCID of the network load balancer to update.
BackendSetName This property is required. string
The name of the backend set to retrieve. Example: example_backend_set
NetworkLoadBalancerId This property is required. string
The OCID of the network load balancer to update.
backendSetName This property is required. String
The name of the backend set to retrieve. Example: example_backend_set
networkLoadBalancerId This property is required. String
The OCID of the network load balancer to update.
backendSetName This property is required. string
The name of the backend set to retrieve. Example: example_backend_set
networkLoadBalancerId This property is required. string
The OCID of the network load balancer to update.
backend_set_name This property is required. str
The name of the backend set to retrieve. Example: example_backend_set
network_load_balancer_id This property is required. str
The OCID of the network load balancer to update.
backendSetName This property is required. String
The name of the backend set to retrieve. Example: example_backend_set
networkLoadBalancerId This property is required. String
The OCID of the network load balancer to update.

getBackendSet Result

The following output properties are available:

AreOperationallyActiveBackendsPreferred bool
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
BackendSetName string
Backends List<GetBackendSetBackend>
An array of backends.
HealthCheckers List<GetBackendSetHealthChecker>
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
Id string
IpVersion string
IP version associated with the backend set.
IsFailOpen bool
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.
IsInstantFailoverEnabled bool
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
IsInstantFailoverTcpResetEnabled bool
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
IsPreserveSource bool
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.
NetworkLoadBalancerId string
Policy string
The network load balancer policy for the backend set. Example: FIVE_TUPLE
AreOperationallyActiveBackendsPreferred bool
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
BackendSetName string
Backends []GetBackendSetBackend
An array of backends.
HealthCheckers []GetBackendSetHealthChecker
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
Id string
IpVersion string
IP version associated with the backend set.
IsFailOpen bool
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.
IsInstantFailoverEnabled bool
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
IsInstantFailoverTcpResetEnabled bool
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
IsPreserveSource bool
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.
NetworkLoadBalancerId string
Policy string
The network load balancer policy for the backend set. Example: FIVE_TUPLE
areOperationallyActiveBackendsPreferred Boolean
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
backendSetName String
backends List<GetBackendSetBackend>
An array of backends.
healthCheckers List<GetBackendSetHealthChecker>
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
id String
ipVersion String
IP version associated with the backend set.
isFailOpen Boolean
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.
isInstantFailoverEnabled Boolean
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
isInstantFailoverTcpResetEnabled Boolean
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
isPreserveSource Boolean
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.
networkLoadBalancerId String
policy String
The network load balancer policy for the backend set. Example: FIVE_TUPLE
areOperationallyActiveBackendsPreferred boolean
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
backendSetName string
backends GetBackendSetBackend[]
An array of backends.
healthCheckers GetBackendSetHealthChecker[]
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
id string
ipVersion string
IP version associated with the backend set.
isFailOpen boolean
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.
isInstantFailoverEnabled boolean
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
isInstantFailoverTcpResetEnabled boolean
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
isPreserveSource boolean
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.
networkLoadBalancerId string
policy string
The network load balancer policy for the backend set. Example: FIVE_TUPLE
are_operationally_active_backends_preferred bool
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
backend_set_name str
backends Sequence[networkloadbalancer.GetBackendSetBackend]
An array of backends.
health_checkers Sequence[networkloadbalancer.GetBackendSetHealthChecker]
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
id str
ip_version str
IP version associated with the backend set.
is_fail_open bool
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_failover_enabled bool
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
is_instant_failover_tcp_reset_enabled bool
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
is_preserve_source bool
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.
network_load_balancer_id str
policy str
The network load balancer policy for the backend set. Example: FIVE_TUPLE
areOperationallyActiveBackendsPreferred Boolean
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
backendSetName String
backends List<Property Map>
An array of backends.
healthCheckers List<Property Map>
The health check policy configuration. For more information, see Editing Network Load Balancer Health Check Policies.
id String
ipVersion String
IP version associated with the backend set.
isFailOpen Boolean
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.
isInstantFailoverEnabled Boolean
If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
isInstantFailoverTcpResetEnabled Boolean
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
isPreserveSource Boolean
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.
networkLoadBalancerId String
policy String
The network load balancer policy for the backend set. Example: FIVE_TUPLE

Supporting Types

GetBackendSetBackend

IpAddress This property is required. string
The IP address of the backend server. Example: 10.0.0.3
IsBackup This property is required. bool
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
IsDrain This property is required. bool
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
IsOffline This property is required. bool
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
Name This property is required. string
A user-friendly name for the backend set that must be unique and cannot be changed.
Port This property is required. int
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
TargetId This property is required. string
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
Weight This property is required. int
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 network load balancing policies, see Network Load Balancer Policies. Example: 3
IpAddress This property is required. string
The IP address of the backend server. Example: 10.0.0.3
IsBackup This property is required. bool
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
IsDrain This property is required. bool
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
IsOffline This property is required. bool
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
Name This property is required. string
A user-friendly name for the backend set that must be unique and cannot be changed.
Port This property is required. int
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
TargetId This property is required. string
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
Weight This property is required. int
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 network load balancing policies, see Network Load Balancer Policies. Example: 3
ipAddress This property is required. String
The IP address of the backend server. Example: 10.0.0.3
isBackup This property is required. Boolean
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
isDrain This property is required. Boolean
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
isOffline This property is required. Boolean
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
name This property is required. String
A user-friendly name for the backend set that must be unique and cannot be changed.
port This property is required. Integer
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
targetId This property is required. String
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
weight This property is required. Integer
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 network load balancing policies, see Network Load Balancer Policies. Example: 3
ipAddress This property is required. string
The IP address of the backend server. Example: 10.0.0.3
isBackup This property is required. boolean
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
isDrain This property is required. boolean
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
isOffline This property is required. boolean
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
name This property is required. string
A user-friendly name for the backend set that must be unique and cannot be changed.
port This property is required. number
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
targetId This property is required. string
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
weight This property is required. number
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 network load balancing policies, see Network Load Balancer Policies. Example: 3
ip_address This property is required. str
The IP address of the backend server. Example: 10.0.0.3
is_backup This property is required. bool
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 This property is required. bool
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
is_offline This property is required. bool
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
name This property is required. str
A user-friendly name for the backend set that must be unique and cannot be changed.
port This property is required. int
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
target_id This property is required. str
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
weight This property is required. int
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 network load balancing policies, see Network Load Balancer Policies. Example: 3
ipAddress This property is required. String
The IP address of the backend server. Example: 10.0.0.3
isBackup This property is required. Boolean
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
isDrain This property is required. Boolean
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: false
isOffline This property is required. Boolean
Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: false
name This property is required. String
A user-friendly name for the backend set that must be unique and cannot be changed.
port This property is required. Number
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
targetId This property is required. String
The IP OCID/Instance OCID associated with the backend server. Example: ocid1.privateip..oc1.<var>&lt;unique_ID&gt;</var>
weight This property is required. Number
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 network load balancing policies, see Network Load Balancer Policies. Example: 3

GetBackendSetHealthChecker

Dns This property is required. List<GetBackendSetHealthCheckerDn>
DNS healthcheck configurations.
IntervalInMillis This property is required. int
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
Port This property is required. int
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
Protocol This property is required. string
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
RequestData This property is required. string
Base64 encoded pattern to be sent as UDP or TCP health check probe.
ResponseBodyRegex This property is required. string
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
ResponseData This property is required. string
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
Retries This property is required. int
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
ReturnCode This property is required. int
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
TimeoutInMillis This property is required. int
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
UrlPath This property is required. string
The path against which to run the health check. Example: /healthcheck
Dns This property is required. []GetBackendSetHealthCheckerDn
DNS healthcheck configurations.
IntervalInMillis This property is required. int
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
Port This property is required. int
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
Protocol This property is required. string
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
RequestData This property is required. string
Base64 encoded pattern to be sent as UDP or TCP health check probe.
ResponseBodyRegex This property is required. string
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
ResponseData This property is required. string
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
Retries This property is required. int
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
ReturnCode This property is required. int
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
TimeoutInMillis This property is required. int
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
UrlPath This property is required. string
The path against which to run the health check. Example: /healthcheck
dns This property is required. List<GetBackendSetHealthCheckerDn>
DNS healthcheck configurations.
intervalInMillis This property is required. Integer
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
port This property is required. Integer
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
protocol This property is required. String
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
requestData This property is required. String
Base64 encoded pattern to be sent as UDP or TCP health check probe.
responseBodyRegex This property is required. String
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
responseData This property is required. String
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
retries This property is required. Integer
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
returnCode This property is required. Integer
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
timeoutInMillis This property is required. Integer
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
urlPath This property is required. String
The path against which to run the health check. Example: /healthcheck
dns This property is required. GetBackendSetHealthCheckerDn[]
DNS healthcheck configurations.
intervalInMillis This property is required. number
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
port This property is required. number
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
protocol This property is required. string
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
requestData This property is required. string
Base64 encoded pattern to be sent as UDP or TCP health check probe.
responseBodyRegex This property is required. string
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
responseData This property is required. string
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
retries This property is required. number
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
returnCode This property is required. number
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
timeoutInMillis This property is required. number
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
urlPath This property is required. string
The path against which to run the health check. Example: /healthcheck
dns This property is required. Sequence[networkloadbalancer.GetBackendSetHealthCheckerDn]
DNS healthcheck configurations.
interval_in_millis This property is required. int
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
port This property is required. int
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
protocol This property is required. str
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
request_data This property is required. str
Base64 encoded pattern to be sent as UDP or TCP health check probe.
response_body_regex This property is required. str
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
response_data This property is required. str
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
retries This property is required. int
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 This property is required. int
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_millis This property is required. int
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 This property is required. str
The path against which to run the health check. Example: /healthcheck
dns This property is required. List<Property Map>
DNS healthcheck configurations.
intervalInMillis This property is required. Number
The interval between health checks, in milliseconds. The default value is 10000 (10 seconds). Example: 10000
port This property is required. Number
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
protocol This property is required. String
The protocol the health check must use; either HTTP, HTTPS, UDP, TCP or DNS. Example: HTTP
requestData This property is required. String
Base64 encoded pattern to be sent as UDP or TCP health check probe.
responseBodyRegex This property is required. String
A regular expression for parsing the response body from the backend server. Example: ^((?!false).|\s)*$
responseData This property is required. String
Base64 encoded pattern to be validated as UDP or TCP health check probe response.
retries This property is required. Number
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
returnCode This property is required. Number
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
timeoutInMillis This property is required. Number
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
urlPath This property is required. String
The path against which to run the health check. Example: /healthcheck

GetBackendSetHealthCheckerDn

DomainName This property is required. string
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.
QueryClass This property is required. string
The class the dns health check query to use; either IN or CH. Example: IN
QueryType This property is required. string
The type the dns health check query to use; A, AAAA, TXT. Example: A
Rcodes This property is required. List<string>
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
TransportProtocol This property is required. string
DNS transport protocol; either UDP or TCP. Example: UDP
DomainName This property is required. string
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.
QueryClass This property is required. string
The class the dns health check query to use; either IN or CH. Example: IN
QueryType This property is required. string
The type the dns health check query to use; A, AAAA, TXT. Example: A
Rcodes This property is required. []string
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
TransportProtocol This property is required. string
DNS transport protocol; either UDP or TCP. Example: UDP
domainName This property is required. String
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.
queryClass This property is required. String
The class the dns health check query to use; either IN or CH. Example: IN
queryType This property is required. String
The type the dns health check query to use; A, AAAA, TXT. Example: A
rcodes This property is required. List<String>
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
transportProtocol This property is required. String
DNS transport protocol; either UDP or TCP. Example: UDP
domainName This property is required. string
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.
queryClass This property is required. string
The class the dns health check query to use; either IN or CH. Example: IN
queryType This property is required. string
The type the dns health check query to use; A, AAAA, TXT. Example: A
rcodes This property is required. string[]
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
transportProtocol This property is required. string
DNS transport protocol; either UDP or TCP. Example: UDP
domain_name This property is required. str
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 This property is required. str
The class the dns health check query to use; either IN or CH. Example: IN
query_type This property is required. str
The type the dns health check query to use; A, AAAA, TXT. Example: A
rcodes This property is required. Sequence[str]
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
transport_protocol This property is required. str
DNS transport protocol; either UDP or TCP. Example: UDP
domainName This property is required. String
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.
queryClass This property is required. String
The class the dns health check query to use; either IN or CH. Example: IN
queryType This property is required. String
The type the dns health check query to use; A, AAAA, TXT. Example: A
rcodes This property is required. List<String>
An array that represents accepetable RCODE values for DNS query response. Example: ["NOERROR", "NXDOMAIN"]
transportProtocol This property is required. String
DNS transport protocol; either UDP or TCP. Example: UDP

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi