Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.NetworkLoadBalancer.getNetworkLoadBalancerBackendSetBackendOperationalStatus
This data source provides details about a specific Network Load Balancer Backend Set Backend Operational Status resource in Oracle Cloud Infrastructure Network Load Balancer service.
Retrieves the current operational status of the specified backend server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNetworkLoadBalancerBackendSetBackendOperationalStatus = oci.NetworkLoadBalancer.getNetworkLoadBalancerBackendSetBackendOperationalStatus({
    backendName: testBackend.name,
    backendSetName: testBackendSet.name,
    networkLoadBalancerId: testNetworkLoadBalancer.id,
});
import pulumi
import pulumi_oci as oci
test_network_load_balancer_backend_set_backend_operational_status = oci.NetworkLoadBalancer.get_network_load_balancer_backend_set_backend_operational_status(backend_name=test_backend["name"],
    backend_set_name=test_backend_set["name"],
    network_load_balancer_id=test_network_load_balancer["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/networkloadbalancer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := networkloadbalancer.GetNetworkLoadBalancerBackendSetBackendOperationalStatus(ctx, &networkloadbalancer.GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs{
			BackendName:           testBackend.Name,
			BackendSetName:        testBackendSet.Name,
			NetworkLoadBalancerId: testNetworkLoadBalancer.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 testNetworkLoadBalancerBackendSetBackendOperationalStatus = Oci.NetworkLoadBalancer.GetNetworkLoadBalancerBackendSetBackendOperationalStatus.Invoke(new()
    {
        BackendName = testBackend.Name,
        BackendSetName = testBackendSet.Name,
        NetworkLoadBalancerId = testNetworkLoadBalancer.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.GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs;
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 testNetworkLoadBalancerBackendSetBackendOperationalStatus = NetworkLoadBalancerFunctions.getNetworkLoadBalancerBackendSetBackendOperationalStatus(GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs.builder()
            .backendName(testBackend.name())
            .backendSetName(testBackendSet.name())
            .networkLoadBalancerId(testNetworkLoadBalancer.id())
            .build());
    }
}
variables:
  testNetworkLoadBalancerBackendSetBackendOperationalStatus:
    fn::invoke:
      function: oci:NetworkLoadBalancer:getNetworkLoadBalancerBackendSetBackendOperationalStatus
      arguments:
        backendName: ${testBackend.name}
        backendSetName: ${testBackendSet.name}
        networkLoadBalancerId: ${testNetworkLoadBalancer.id}
Using getNetworkLoadBalancerBackendSetBackendOperationalStatus
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 getNetworkLoadBalancerBackendSetBackendOperationalStatus(args: GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs, opts?: InvokeOptions): Promise<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult>
function getNetworkLoadBalancerBackendSetBackendOperationalStatusOutput(args: GetNetworkLoadBalancerBackendSetBackendOperationalStatusOutputArgs, opts?: InvokeOptions): Output<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult>def get_network_load_balancer_backend_set_backend_operational_status(backend_name: Optional[str] = None,
                                                                     backend_set_name: Optional[str] = None,
                                                                     network_load_balancer_id: Optional[str] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult
def get_network_load_balancer_backend_set_backend_operational_status_output(backend_name: Optional[pulumi.Input[str]] = None,
                                                                     backend_set_name: Optional[pulumi.Input[str]] = None,
                                                                     network_load_balancer_id: Optional[pulumi.Input[str]] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> Output[GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult]func GetNetworkLoadBalancerBackendSetBackendOperationalStatus(ctx *Context, args *GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs, opts ...InvokeOption) (*GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult, error)
func GetNetworkLoadBalancerBackendSetBackendOperationalStatusOutput(ctx *Context, args *GetNetworkLoadBalancerBackendSetBackendOperationalStatusOutputArgs, opts ...InvokeOption) GetNetworkLoadBalancerBackendSetBackendOperationalStatusResultOutput> Note: This function is named GetNetworkLoadBalancerBackendSetBackendOperationalStatus in the Go SDK.
public static class GetNetworkLoadBalancerBackendSetBackendOperationalStatus 
{
    public static Task<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult> InvokeAsync(GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult> Invoke(GetNetworkLoadBalancerBackendSetBackendOperationalStatusInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult> getNetworkLoadBalancerBackendSetBackendOperationalStatus(GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs args, InvokeOptions options)
public static Output<GetNetworkLoadBalancerBackendSetBackendOperationalStatusResult> getNetworkLoadBalancerBackendSetBackendOperationalStatus(GetNetworkLoadBalancerBackendSetBackendOperationalStatusArgs args, InvokeOptions options)
fn::invoke:
  function: oci:NetworkLoadBalancer/getNetworkLoadBalancerBackendSetBackendOperationalStatus:getNetworkLoadBalancerBackendSetBackendOperationalStatus
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BackendName string
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- BackendSet stringName 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- NetworkLoad stringBalancer Id 
- The OCID of the network load balancer to update.
- BackendName string
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- BackendSet stringName 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- NetworkLoad stringBalancer Id 
- The OCID of the network load balancer to update.
- backendName String
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- backendSet StringName 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- networkLoad StringBalancer Id 
- The OCID of the network load balancer to update.
- backendName string
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- backendSet stringName 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- networkLoad stringBalancer Id 
- The OCID of the network load balancer to update.
- backend_name str
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- backend_set_ strname 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- network_load_ strbalancer_ id 
- The OCID of the network load balancer to update.
- backendName String
- The name of the backend server to retrieve health status for. If the backend was created with an explicitly specified name, that name should be used here. If the backend was created without explicitly specifying the name, but was created using ipAddress, this is specified as :. If the backend was created without explicitly specifying the name, but was created using targetId, this is specified as :. Example: 10.0.0.3:8080orocid1.privateip..oc1.<var><unique_ID></var>:8080
- backendSet StringName 
- The name of the backend set associated with the backend server for which to retrieve the operational status. Example: example_backend_set
- networkLoad StringBalancer Id 
- The OCID of the network load balancer to update.
getNetworkLoadBalancerBackendSetBackendOperationalStatus Result
The following output properties are available:
- BackendName string
- BackendSet stringName 
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkLoad stringBalancer Id 
- Status string
- The operational status.
- BackendName string
- BackendSet stringName 
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkLoad stringBalancer Id 
- Status string
- The operational status.
- backendName String
- backendSet StringName 
- id String
- The provider-assigned unique ID for this managed resource.
- networkLoad StringBalancer Id 
- status String
- The operational status.
- backendName string
- backendSet stringName 
- id string
- The provider-assigned unique ID for this managed resource.
- networkLoad stringBalancer Id 
- status string
- The operational status.
- backend_name str
- backend_set_ strname 
- id str
- The provider-assigned unique ID for this managed resource.
- network_load_ strbalancer_ id 
- status str
- The operational status.
- backendName String
- backendSet StringName 
- id String
- The provider-assigned unique ID for this managed resource.
- networkLoad StringBalancer Id 
- status String
- The operational status.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
