import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the details of a public cloud project loadbalancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const lb = await ovh.CloudProject.getLoadBalancer({ * serviceName: "XXXXXX", * regionName: "XXX", * id: "XXX", * }); * return { * lb: lb, * }; * } * ``` */ export declare function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLoadBalancer. */ export interface GetLoadBalancerArgs { /** * ID of the loadbalancer */ id: string; /** * Region of the loadbalancer. */ regionName: string; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getLoadBalancer. */ export interface GetLoadBalancerResult { /** * Date of creation of the loadbalancer */ readonly createdAt: string; /** * ID of the flavor */ readonly flavorId: string; /** * Information about the floating IP */ readonly floatingIp: outputs.CloudProject.GetLoadBalancerFloatingIp; /** * ID of the floating IP */ readonly id: string; /** * Name of the loadbalancer */ readonly name: string; /** * Operating status of the loadbalancer */ readonly operatingStatus: string; /** * Provisioning status of the loadbalancer */ readonly provisioningStatus: string; /** * Region of the loadbalancer */ readonly regionName: string; /** * ID of the public cloud project */ readonly serviceName: string; /** * Last update date of the loadbalancer */ readonly updatedAt: string; /** * IP address of the Virtual IP */ readonly vipAddress: string; /** * Openstack ID of the network for the Virtual IP */ readonly vipNetworkId: string; /** * ID of the subnet for the Virtual IP */ readonly vipSubnetId: string; } /** * Get the details of a public cloud project loadbalancer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * export = async () => { * const lb = await ovh.CloudProject.getLoadBalancer({ * serviceName: "XXXXXX", * regionName: "XXX", * id: "XXX", * }); * return { * lb: lb, * }; * } * ``` */ export declare function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLoadBalancer. */ export interface GetLoadBalancerOutputArgs { /** * ID of the loadbalancer */ id: pulumi.Input; /** * Region of the loadbalancer. */ regionName: pulumi.Input; /** * The ID of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }