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 Backends in Oracle Cloud Infrastructure Load Balancer service. * * Lists the backend servers for a given load balancer and backend set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBackends = oci.loadbalancer.getBackends({ * backendsetName: testBackendSet.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getBackends(args: GetBackendsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getBackends. */ export interface GetBackendsArgs { /** * The name of the backend set associated with the backend servers. Example: `exampleBackendSet` */ backendsetName: string; filters?: inputs.LoadBalancer.GetBackendsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. */ loadBalancerId: string; } /** * A collection of values returned by getBackends. */ export interface GetBackendsResult { /** * The list of backends. */ readonly backends: outputs.LoadBalancer.GetBackendsBackend[]; readonly backendsetName: string; readonly filters?: outputs.LoadBalancer.GetBackendsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly loadBalancerId: string; } /** * This data source provides the list of Backends in Oracle Cloud Infrastructure Load Balancer service. * * Lists the backend servers for a given load balancer and backend set. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testBackends = oci.loadbalancer.getBackends({ * backendsetName: testBackendSet.name, * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getBackendsOutput(args: GetBackendsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getBackends. */ export interface GetBackendsOutputArgs { /** * The name of the backend set associated with the backend servers. Example: `exampleBackendSet` */ backendsetName: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the backend set and servers. */ loadBalancerId: pulumi.Input; } //# sourceMappingURL=getBackends.d.ts.map