import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * * `ociLoadBalancers` * * ## Example Usage * * ```typescript * 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, * }); * ``` */ export declare function getLoadBalancers(args: GetLoadBalancersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLoadBalancers. */ export interface GetLoadBalancersArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list. */ compartmentId: string; /** * The level of detail to return for each result. Can be `full` or `simple`. Example: `full` */ detail?: string; /** * A filter to return only resources that match the given display name exactly. Example: `exampleLoadBalancer` */ displayName?: string; filters?: inputs.LoadBalancer.GetLoadBalancersFilter[]; /** * A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` */ state?: string; } /** * A collection of values returned by getLoadBalancers. */ export interface GetLoadBalancersResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancer. */ readonly compartmentId: string; readonly detail?: string; /** * A user-friendly name. It does not have to be unique, and it is changeable. Example: `exampleLoadBalancer` */ readonly displayName?: string; readonly filters?: outputs.LoadBalancer.GetLoadBalancersFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of load_balancers. */ readonly loadBalancers: outputs.LoadBalancer.GetLoadBalancersLoadBalancer[]; /** * The current state of the load balancer. */ readonly state?: string; } /** * 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 * * * `ociLoadBalancers` * * ## Example Usage * * ```typescript * 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, * }); * ``` */ export declare function getLoadBalancersOutput(args: GetLoadBalancersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLoadBalancers. */ export interface GetLoadBalancersOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the load balancers to list. */ compartmentId: pulumi.Input; /** * The level of detail to return for each result. Can be `full` or `simple`. Example: `full` */ detail?: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. Example: `exampleLoadBalancer` */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` */ state?: pulumi.Input; } //# sourceMappingURL=getLoadBalancers.d.ts.map