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 Hostnames in Oracle Cloud Infrastructure Load Balancer service. * * Lists all hostname resources associated with the specified load balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostnames = oci.loadbalancer.getHostnames({ * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getHostnames(args: GetHostnamesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostnames. */ export interface GetHostnamesArgs { filters?: inputs.LoadBalancer.GetHostnamesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames to retrieve. */ loadBalancerId: string; } /** * A collection of values returned by getHostnames. */ export interface GetHostnamesResult { readonly filters?: outputs.LoadBalancer.GetHostnamesFilter[]; /** * The list of hostnames. */ readonly hostnames: outputs.LoadBalancer.GetHostnamesHostname[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly loadBalancerId: string; } /** * This data source provides the list of Hostnames in Oracle Cloud Infrastructure Load Balancer service. * * Lists all hostname resources associated with the specified load balancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostnames = oci.loadbalancer.getHostnames({ * loadBalancerId: testLoadBalancer.id, * }); * ``` */ export declare function getHostnamesOutput(args: GetHostnamesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostnames. */ export interface GetHostnamesOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames to retrieve. */ loadBalancerId: pulumi.Input; } //# sourceMappingURL=getHostnames.d.ts.map