1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LoadBalancer
  5. getLoadBalancers
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.LoadBalancer.getLoadBalancers

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Load Balancers in Oracle Cloud Infrastructure Load Balancer service.

Lists all load balancers in the specified compartment.

Supported Aliases

  • oci_load_balancers

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testLoadBalancers = oci.LoadBalancer.getLoadBalancers({
    compartmentId: compartmentId,
    detail: loadBalancerDetail,
    displayName: loadBalancerDisplayName,
    state: loadBalancerState,
});
Copy
import pulumi
import pulumi_oci as oci

test_load_balancers = oci.LoadBalancer.get_load_balancers(compartment_id=compartment_id,
    detail=load_balancer_detail,
    display_name=load_balancer_display_name,
    state=load_balancer_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/loadbalancer"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := loadbalancer.GetLoadBalancers(ctx, &loadbalancer.GetLoadBalancersArgs{
			CompartmentId: compartmentId,
			Detail:        pulumi.StringRef(loadBalancerDetail),
			DisplayName:   pulumi.StringRef(loadBalancerDisplayName),
			State:         pulumi.StringRef(loadBalancerState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testLoadBalancers = Oci.LoadBalancer.GetLoadBalancers.Invoke(new()
    {
        CompartmentId = compartmentId,
        Detail = loadBalancerDetail,
        DisplayName = loadBalancerDisplayName,
        State = loadBalancerState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.LoadBalancer.LoadBalancerFunctions;
import com.pulumi.oci.LoadBalancer.inputs.GetLoadBalancersArgs;
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 testLoadBalancers = LoadBalancerFunctions.getLoadBalancers(GetLoadBalancersArgs.builder()
            .compartmentId(compartmentId)
            .detail(loadBalancerDetail)
            .displayName(loadBalancerDisplayName)
            .state(loadBalancerState)
            .build());

    }
}
Copy
variables:
  testLoadBalancers:
    fn::invoke:
      function: oci:LoadBalancer:getLoadBalancers
      arguments:
        compartmentId: ${compartmentId}
        detail: ${loadBalancerDetail}
        displayName: ${loadBalancerDisplayName}
        state: ${loadBalancerState}
Copy

Using getLoadBalancers

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 getLoadBalancers(args: GetLoadBalancersArgs, opts?: InvokeOptions): Promise<GetLoadBalancersResult>
function getLoadBalancersOutput(args: GetLoadBalancersOutputArgs, opts?: InvokeOptions): Output<GetLoadBalancersResult>
Copy
def get_load_balancers(compartment_id: Optional[str] = None,
                       detail: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_loadbalancer.GetLoadBalancersFilter]] = None,
                       state: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetLoadBalancersResult
def get_load_balancers_output(compartment_id: Optional[pulumi.Input[str]] = None,
                       detail: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_loadbalancer.GetLoadBalancersFilterArgs]]]] = None,
                       state: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetLoadBalancersResult]
Copy
func GetLoadBalancers(ctx *Context, args *GetLoadBalancersArgs, opts ...InvokeOption) (*GetLoadBalancersResult, error)
func GetLoadBalancersOutput(ctx *Context, args *GetLoadBalancersOutputArgs, opts ...InvokeOption) GetLoadBalancersResultOutput
Copy

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

public static class GetLoadBalancers 
{
    public static Task<GetLoadBalancersResult> InvokeAsync(GetLoadBalancersArgs args, InvokeOptions? opts = null)
    public static Output<GetLoadBalancersResult> Invoke(GetLoadBalancersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLoadBalancersResult> getLoadBalancers(GetLoadBalancersArgs args, InvokeOptions options)
public static Output<GetLoadBalancersResult> getLoadBalancers(GetLoadBalancersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:LoadBalancer/getLoadBalancers:getLoadBalancers
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
Detail string
The level of detail to return for each result. Can be full or simple. Example: full
DisplayName string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
Filters Changes to this property will trigger replacement. List<GetLoadBalancersFilter>
State string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
CompartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
Detail string
The level of detail to return for each result. Can be full or simple. Example: full
DisplayName string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
Filters Changes to this property will trigger replacement. []GetLoadBalancersFilter
State string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
compartmentId This property is required. String
The OCID of the compartment containing the load balancers to list.
detail String
The level of detail to return for each result. Can be full or simple. Example: full
displayName String
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
filters Changes to this property will trigger replacement. List<GetsFilter>
state String
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
compartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
detail string
The level of detail to return for each result. Can be full or simple. Example: full
displayName string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
filters Changes to this property will trigger replacement. GetLoadBalancersFilter[]
state string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
compartment_id This property is required. str
The OCID of the compartment containing the load balancers to list.
detail str
The level of detail to return for each result. Can be full or simple. Example: full
display_name str
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
filters Changes to this property will trigger replacement. Sequence[loadbalancer.GetLoadBalancersFilter]
state str
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
compartmentId This property is required. String
The OCID of the compartment containing the load balancers to list.
detail String
The level of detail to return for each result. Can be full or simple. Example: full
displayName String
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED

getLoadBalancers Result

The following output properties are available:

CompartmentId string
The OCID of the compartment containing the load balancer.
Id string
The provider-assigned unique ID for this managed resource.
LoadBalancers List<GetLoadBalancersLoadBalancer>
The list of load_balancers.
Detail string
DisplayName string
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
Filters List<GetLoadBalancersFilter>
State string
The current state of the load balancer.
CompartmentId string
The OCID of the compartment containing the load balancer.
Id string
The provider-assigned unique ID for this managed resource.
LoadBalancers []GetLoadBalancersLoadBalancer
The list of load_balancers.
Detail string
DisplayName string
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
Filters []GetLoadBalancersFilter
State string
The current state of the load balancer.
compartmentId String
The OCID of the compartment containing the load balancer.
id String
The provider-assigned unique ID for this managed resource.
loadBalancers List<Gets>
The list of load_balancers.
detail String
displayName String
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
filters List<GetsFilter>
state String
The current state of the load balancer.
compartmentId string
The OCID of the compartment containing the load balancer.
id string
The provider-assigned unique ID for this managed resource.
loadBalancers GetLoadBalancersLoadBalancer[]
The list of load_balancers.
detail string
displayName string
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
filters GetLoadBalancersFilter[]
state string
The current state of the load balancer.
compartment_id str
The OCID of the compartment containing the load balancer.
id str
The provider-assigned unique ID for this managed resource.
load_balancers Sequence[loadbalancer.GetLoadBalancersLoadBalancer]
The list of load_balancers.
detail str
display_name str
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
filters Sequence[loadbalancer.GetLoadBalancersFilter]
state str
The current state of the load balancer.
compartmentId String
The OCID of the compartment containing the load balancer.
id String
The provider-assigned unique ID for this managed resource.
loadBalancers List<Property Map>
The list of load_balancers.
detail String
displayName String
A user-friendly name. It does not have to be unique, and it is changeable. Example: example_load_balancer
filters List<Property Map>
state String
The current state of the load balancer.

Supporting Types

GetLoadBalancersFilter

Name This property is required. string
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
Values This property is required. List<string>
Regex bool
Name This property is required. string
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
Values This property is required. []string
Regex bool
name This property is required. String
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
values This property is required. List<String>
regex Boolean
name This property is required. string
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
values This property is required. string[]
regex boolean
name This property is required. str
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
values This property is required. Sequence[str]
regex bool
name This property is required. String
A friendly name for the SSL cipher suite. It must be unique and it cannot be changed.
values This property is required. List<String>
regex Boolean

GetLoadBalancersLoadBalancer

CompartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
IpAddressDetails This property is required. List<GetLoadBalancersLoadBalancerIpAddressDetail>
An array of IP addresses.
IpAddresses This property is required. List<string>
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

IpMode This property is required. string
IsDeleteProtectionEnabled This property is required. bool
Whether or not the load balancer has delete protection enabled.
IsPrivate This property is required. bool
Whether the load balancer has a VCN-local (private) IP address.
IsRequestIdEnabled This property is required. bool
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
NetworkSecurityGroupIds This property is required. List<string>
An array of NSG OCIDs associated with the load balancer.
RequestIdHeader This property is required. string
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
ReservedIps This property is required. List<GetLoadBalancersLoadBalancerReservedIp>
Shape This property is required. string
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
ShapeDetails This property is required. List<GetLoadBalancersLoadBalancerShapeDetail>
The configuration details to update load balancer to a different shape.
State This property is required. string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
SubnetIds This property is required. List<string>
An array of subnet OCIDs.
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
CompartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
IpAddressDetails This property is required. []GetLoadBalancersLoadBalancerIpAddressDetail
An array of IP addresses.
IpAddresses This property is required. []string
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

IpMode This property is required. string
IsDeleteProtectionEnabled This property is required. bool
Whether or not the load balancer has delete protection enabled.
IsPrivate This property is required. bool
Whether the load balancer has a VCN-local (private) IP address.
IsRequestIdEnabled This property is required. bool
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
NetworkSecurityGroupIds This property is required. []string
An array of NSG OCIDs associated with the load balancer.
RequestIdHeader This property is required. string
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
ReservedIps This property is required. []GetLoadBalancersLoadBalancerReservedIp
Shape This property is required. string
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
ShapeDetails This property is required. []GetLoadBalancersLoadBalancerShapeDetail
The configuration details to update load balancer to a different shape.
State This property is required. string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
SubnetIds This property is required. []string
An array of subnet OCIDs.
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. String
The OCID of the compartment containing the load balancers to list.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.
ipAddressDetails This property is required. List<GetsIpAddressDetail>
An array of IP addresses.
ipAddresses This property is required. List<String>
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

ipMode This property is required. String
isDeleteProtectionEnabled This property is required. Boolean
Whether or not the load balancer has delete protection enabled.
isPrivate This property is required. Boolean
Whether the load balancer has a VCN-local (private) IP address.
isRequestIdEnabled This property is required. Boolean
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
networkSecurityGroupIds This property is required. List<String>
An array of NSG OCIDs associated with the load balancer.
requestIdHeader This property is required. String
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
reservedIps This property is required. List<GetsReservedIp>
shape This property is required. String
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
shapeDetails This property is required. List<GetsShapeDetail>
The configuration details to update load balancer to a different shape.
state This property is required. String
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
subnetIds This property is required. List<String>
An array of subnet OCIDs.
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. string
The OCID of the compartment containing the load balancers to list.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. string
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
ipAddressDetails This property is required. GetLoadBalancersLoadBalancerIpAddressDetail[]
An array of IP addresses.
ipAddresses This property is required. string[]
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

ipMode This property is required. string
isDeleteProtectionEnabled This property is required. boolean
Whether or not the load balancer has delete protection enabled.
isPrivate This property is required. boolean
Whether the load balancer has a VCN-local (private) IP address.
isRequestIdEnabled This property is required. boolean
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
networkSecurityGroupIds This property is required. string[]
An array of NSG OCIDs associated with the load balancer.
requestIdHeader This property is required. string
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
reservedIps This property is required. GetLoadBalancersLoadBalancerReservedIp[]
shape This property is required. string
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
shapeDetails This property is required. GetLoadBalancersLoadBalancerShapeDetail[]
The configuration details to update load balancer to a different shape.
state This property is required. string
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
subnetIds This property is required. string[]
An array of subnet OCIDs.
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartment_id This property is required. str
The OCID of the compartment containing the load balancers to list.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
display_name This property is required. str
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. str
Ocid of the Reserved IP/Public Ip created with VCN.
ip_address_details This property is required. Sequence[loadbalancer.GetLoadBalancersLoadBalancerIpAddressDetail]
An array of IP addresses.
ip_addresses This property is required. Sequence[str]
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

ip_mode This property is required. str
is_delete_protection_enabled This property is required. bool
Whether or not the load balancer has delete protection enabled.
is_private This property is required. bool
Whether the load balancer has a VCN-local (private) IP address.
is_request_id_enabled This property is required. bool
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
network_security_group_ids This property is required. Sequence[str]
An array of NSG OCIDs associated with the load balancer.
request_id_header This property is required. str
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
reserved_ips This property is required. Sequence[loadbalancer.GetLoadBalancersLoadBalancerReservedIp]
shape This property is required. str
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
shape_details This property is required. Sequence[loadbalancer.GetLoadBalancersLoadBalancerShapeDetail]
The configuration details to update load balancer to a different shape.
state This property is required. str
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
subnet_ids This property is required. Sequence[str]
An array of subnet OCIDs.
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
compartmentId This property is required. String
The OCID of the compartment containing the load balancers to list.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name exactly. Example: example_load_balancer
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.
ipAddressDetails This property is required. List<Property Map>
An array of IP addresses.
ipAddresses This property is required. List<String>
An array of IP addresses. Deprecated: use ip_address_details instead.

Deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.

ipMode This property is required. String
isDeleteProtectionEnabled This property is required. Boolean
Whether or not the load balancer has delete protection enabled.
isPrivate This property is required. Boolean
Whether the load balancer has a VCN-local (private) IP address.
isRequestIdEnabled This property is required. Boolean
Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.
networkSecurityGroupIds This property is required. List<String>
An array of NSG OCIDs associated with the load balancer.
requestIdHeader This property is required. String
If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.
reservedIps This property is required. List<Property Map>
shape This property is required. String
A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the ListShapes operation. Example: 100Mbps
shapeDetails This property is required. List<Property Map>
The configuration details to update load balancer to a different shape.
state This property is required. String
A filter to return only resources that match the given lifecycle state. Example: SUCCEEDED
subnetIds This property is required. List<String>
An array of subnet OCIDs.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the load balancer was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

GetLoadBalancersLoadBalancerIpAddressDetail

IpAddress This property is required. string
An IP address. Example: 192.168.0.3
IsPublic This property is required. bool
Whether the IP address is public or private.
ReservedIps This property is required. List<GetLoadBalancersLoadBalancerIpAddressDetailReservedIp>
IpAddress This property is required. string
An IP address. Example: 192.168.0.3
IsPublic This property is required. bool
Whether the IP address is public or private.
ReservedIps This property is required. []GetLoadBalancersLoadBalancerIpAddressDetailReservedIp
ipAddress This property is required. String
An IP address. Example: 192.168.0.3
isPublic This property is required. Boolean
Whether the IP address is public or private.
reservedIps This property is required. List<GetsIpAddressDetailReservedIp>
ipAddress This property is required. string
An IP address. Example: 192.168.0.3
isPublic This property is required. boolean
Whether the IP address is public or private.
reservedIps This property is required. GetLoadBalancersLoadBalancerIpAddressDetailReservedIp[]
ip_address This property is required. str
An IP address. Example: 192.168.0.3
is_public This property is required. bool
Whether the IP address is public or private.
reserved_ips This property is required. Sequence[loadbalancer.GetLoadBalancersLoadBalancerIpAddressDetailReservedIp]
ipAddress This property is required. String
An IP address. Example: 192.168.0.3
isPublic This property is required. Boolean
Whether the IP address is public or private.
reservedIps This property is required. List<Property Map>

GetLoadBalancersLoadBalancerIpAddressDetailReservedIp

Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. str
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.

GetLoadBalancersLoadBalancerReservedIp

Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
Id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. string
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. str
Ocid of the Reserved IP/Public Ip created with VCN.
id This property is required. String
Ocid of the Reserved IP/Public Ip created with VCN.

GetLoadBalancersLoadBalancerShapeDetail

MaximumBandwidthInMbps This property is required. int
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
MinimumBandwidthInMbps This property is required. int
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150
MaximumBandwidthInMbps This property is required. int
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
MinimumBandwidthInMbps This property is required. int
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150
maximumBandwidthInMbps This property is required. Integer
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
minimumBandwidthInMbps This property is required. Integer
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150
maximumBandwidthInMbps This property is required. number
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
minimumBandwidthInMbps This property is required. number
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150
maximum_bandwidth_in_mbps This property is required. int
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
minimum_bandwidth_in_mbps This property is required. int
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150
maximumBandwidthInMbps This property is required. Number
Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter.
minimumBandwidthInMbps This property is required. Number
Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in Service Limits. Example: 150

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.29.0 published on Wednesday, Apr 9, 2025 by Pulumi