1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. NetworkLoadBalancer
  5. getBackendSets
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

oci.NetworkLoadBalancer.getBackendSets

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi

    This data source provides the list of Backend Sets in Oracle Cloud Infrastructure Network Load Balancer service.

    Lists all backend sets associated with a given network load balancer.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBackendSets = oci.NetworkLoadBalancer.getBackendSets({
        networkLoadBalancerId: oci_network_load_balancer_network_load_balancer.test_network_load_balancer.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_backend_sets = oci.NetworkLoadBalancer.get_backend_sets(network_load_balancer_id=oci_network_load_balancer_network_load_balancer["test_network_load_balancer"]["id"])
    
    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.GetBackendSets(ctx, &networkloadbalancer.GetBackendSetsArgs{
    			NetworkLoadBalancerId: oci_network_load_balancer_network_load_balancer.Test_network_load_balancer.Id,
    		}, nil)
    		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 testBackendSets = Oci.NetworkLoadBalancer.GetBackendSets.Invoke(new()
        {
            NetworkLoadBalancerId = oci_network_load_balancer_network_load_balancer.Test_network_load_balancer.Id,
        });
    
    });
    
    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.GetBackendSetsArgs;
    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 testBackendSets = NetworkLoadBalancerFunctions.getBackendSets(GetBackendSetsArgs.builder()
                .networkLoadBalancerId(oci_network_load_balancer_network_load_balancer.test_network_load_balancer().id())
                .build());
    
        }
    }
    
    variables:
      testBackendSets:
        fn::invoke:
          Function: oci:NetworkLoadBalancer:getBackendSets
          Arguments:
            networkLoadBalancerId: ${oci_network_load_balancer_network_load_balancer.test_network_load_balancer.id}
    

    Using getBackendSets

    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 getBackendSets(args: GetBackendSetsArgs, opts?: InvokeOptions): Promise<GetBackendSetsResult>
    function getBackendSetsOutput(args: GetBackendSetsOutputArgs, opts?: InvokeOptions): Output<GetBackendSetsResult>
    def get_backend_sets(filters: Optional[Sequence[_networkloadbalancer.GetBackendSetsFilter]] = None,
                         network_load_balancer_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetBackendSetsResult
    def get_backend_sets_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_networkloadbalancer.GetBackendSetsFilterArgs]]]] = None,
                         network_load_balancer_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetBackendSetsResult]
    func GetBackendSets(ctx *Context, args *GetBackendSetsArgs, opts ...InvokeOption) (*GetBackendSetsResult, error)
    func GetBackendSetsOutput(ctx *Context, args *GetBackendSetsOutputArgs, opts ...InvokeOption) GetBackendSetsResultOutput

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

    public static class GetBackendSets 
    {
        public static Task<GetBackendSetsResult> InvokeAsync(GetBackendSetsArgs args, InvokeOptions? opts = null)
        public static Output<GetBackendSetsResult> Invoke(GetBackendSetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackendSetsResult> getBackendSets(GetBackendSetsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:NetworkLoadBalancer/getBackendSets:getBackendSets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkLoadBalancerId string
    The OCID of the network load balancer to update.
    Filters List<GetBackendSetsFilter>
    NetworkLoadBalancerId string
    The OCID of the network load balancer to update.
    Filters []GetBackendSetsFilter
    networkLoadBalancerId String
    The OCID of the network load balancer to update.
    filters List<GetBackendSetsFilter>
    networkLoadBalancerId string
    The OCID of the network load balancer to update.
    filters GetBackendSetsFilter[]
    network_load_balancer_id str
    The OCID of the network load balancer to update.
    filters GetBackendSetsFilter]
    networkLoadBalancerId String
    The OCID of the network load balancer to update.
    filters List<Property Map>

    getBackendSets Result

    The following output properties are available:

    BackendSetCollections List<GetBackendSetsBackendSetCollection>
    The list of backend_set_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkLoadBalancerId string
    Filters List<GetBackendSetsFilter>
    BackendSetCollections []GetBackendSetsBackendSetCollection
    The list of backend_set_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkLoadBalancerId string
    Filters []GetBackendSetsFilter
    backendSetCollections List<GetBackendSetsBackendSetCollection>
    The list of backend_set_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancerId String
    filters List<GetBackendSetsFilter>
    backendSetCollections GetBackendSetsBackendSetCollection[]
    The list of backend_set_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancerId string
    filters GetBackendSetsFilter[]
    backend_set_collections GetBackendSetsBackendSetCollection]
    The list of backend_set_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    network_load_balancer_id str
    filters GetBackendSetsFilter]
    backendSetCollections List<Property Map>
    The list of backend_set_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    networkLoadBalancerId String
    filters List<Property Map>

    Supporting Types

    GetBackendSetsBackendSetCollection

    GetBackendSetsBackendSetCollectionItem

    Backends List<GetBackendSetsBackendSetCollectionItemBackend>
    Array of backends.
    HealthCheckers List<GetBackendSetsBackendSetCollectionItemHealthChecker>
    The health check policy configuration. For more information, see Editing Health Check Policies.
    Id string
    IpVersion string
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    Policy string
    The network load balancer policy for the backend set. Example: FIVE_TUPLE
    Backends []GetBackendSetsBackendSetCollectionItemBackend
    Array of backends.
    HealthCheckers []GetBackendSetsBackendSetCollectionItemHealthChecker
    The health check policy configuration. For more information, see Editing Health Check Policies.
    Id string
    IpVersion string
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    Policy string
    The network load balancer policy for the backend set. Example: FIVE_TUPLE
    backends List<GetBackendSetsBackendSetCollectionItemBackend>
    Array of backends.
    healthCheckers List<GetBackendSetsBackendSetCollectionItemHealthChecker>
    The health check policy configuration. For more information, see Editing Health Check Policies.
    id String
    ipVersion String
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    policy String
    The network load balancer policy for the backend set. Example: FIVE_TUPLE
    backends GetBackendSetsBackendSetCollectionItemBackend[]
    Array of backends.
    healthCheckers GetBackendSetsBackendSetCollectionItemHealthChecker[]
    The health check policy configuration. For more information, see Editing Health Check Policies.
    id string
    ipVersion string
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    policy string
    The network load balancer policy for the backend set. Example: FIVE_TUPLE
    backends GetBackendSetsBackendSetCollectionItemBackend]
    Array of backends.
    health_checkers GetBackendSetsBackendSetCollectionItemHealthChecker]
    The health check policy configuration. For more information, see Editing Health Check Policies.
    id str
    ip_version str
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    policy str
    The network load balancer policy for the backend set. Example: FIVE_TUPLE
    backends List<Property Map>
    Array of backends.
    healthCheckers List<Property Map>
    The health check policy configuration. For more information, see Editing Health Check Policies.
    id String
    ipVersion String
    IP version associated with the backend set.
    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
    The OCID of the network load balancer to update.
    policy String
    The network load balancer policy for the backend set. Example: FIVE_TUPLE

    GetBackendSetsBackendSetCollectionItemBackend

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

    GetBackendSetsBackendSetCollectionItemHealthChecker

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

    GetBackendSetsFilter

    Name string
    A user-friendly name for the backend set that must be unique and cannot be changed.
    Values List<string>
    Regex bool
    Name string
    A user-friendly name for the backend set that must be unique and cannot be changed.
    Values []string
    Regex bool
    name String
    A user-friendly name for the backend set that must be unique and cannot be changed.
    values List<String>
    regex Boolean
    name string
    A user-friendly name for the backend set that must be unique and cannot be changed.
    values string[]
    regex boolean
    name str
    A user-friendly name for the backend set that must be unique and cannot be changed.
    values Sequence[str]
    regex bool
    name String
    A user-friendly name for the backend set that must be unique and cannot be changed.
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.27.0 published on Friday, Mar 15, 2024 by Pulumi