import * as pulumi from "@pulumi/pulumi"; /** * Applies changes from other `ovh_iploadbalancing_*` resources to the production configuration of loadbalancers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const lb = ovh.IpLoadBalancing.getIpLoadBalancing({ * serviceName: "ip-1.2.3.4", * state: "ok", * }); * const farmName = new ovh.iploadbalancing.TcpFarm("farm_name", { * serviceName: lb.then(lb => lb.serviceName), * port: 8080, * zone: "all", * }); * const backend = new ovh.iploadbalancing.TcpFarmServer("backend", { * serviceName: lb.then(lb => lb.serviceName), * farmId: farmName.id, * displayName: "mybackend", * address: "4.5.6.7", * status: "active", * port: 80, * proxyProtocolVersion: "v2", * weight: 2, * probe: true, * ssl: false, * backup: true, * }); * const mylb = new ovh.iploadbalancing.Refresh("mylb", { * serviceName: lb.then(lb => lb.serviceName), * keepers: [[backend].map(__item => __item.address)], * }); * ``` */ export declare class Refresh extends pulumi.CustomResource { /** * Get an existing Refresh resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RefreshState, opts?: pulumi.CustomResourceOptions): Refresh; /** * Returns true if the given object is an instance of Refresh. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Refresh; /** * List of values tracked to trigger refresh, used also to form implicit dependencies */ readonly keepers: pulumi.Output; /** * The internal name of your IP load balancing */ readonly serviceName: pulumi.Output; /** * Create a Refresh resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RefreshArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Refresh resources. */ export interface RefreshState { /** * List of values tracked to trigger refresh, used also to form implicit dependencies */ keepers?: pulumi.Input[]>; /** * The internal name of your IP load balancing */ serviceName?: pulumi.Input; } /** * The set of arguments for constructing a Refresh resource. */ export interface RefreshArgs { /** * List of values tracked to trigger refresh, used also to form implicit dependencies */ keepers: pulumi.Input[]>; /** * The internal name of your IP load balancing */ serviceName: pulumi.Input; }