import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource represents load balancer backend service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as upcloud from "@upcloud/pulumi-upcloud"; * * const config = new pulumi.Config(); * const lbZone = config.get("lbZone") || "fi-hel2"; * const lbNetwork = new upcloud.Network("lb_network", { * name: "lb-test-net", * zone: lbZone, * ipNetwork: { * address: "10.0.0.0/24", * dhcp: true, * family: "IPv4", * }, * }); * const lb = new upcloud.Loadbalancer("lb", { * configuredStatus: "started", * name: "lb-test", * plan: "development", * zone: lbZone, * network: upcloudNetwork.lbNetwork.id, * }); * const lbBe1 = new upcloud.LoadbalancerBackend("lb_be_1", { * loadbalancer: upcloudLoadbalancer.lb.id, * name: "lb-be-1-test", * }); * ``` */ export declare class LoadbalancerBackend extends pulumi.CustomResource { /** * Get an existing LoadbalancerBackend 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?: LoadbalancerBackendState, opts?: pulumi.CustomResourceOptions): LoadbalancerBackend; /** * Returns true if the given object is an instance of LoadbalancerBackend. 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 LoadbalancerBackend; /** * UUID of the load balancer to which the backend is connected. */ readonly loadbalancer: pulumi.Output; /** * Backend member server UUIDs. Members receive traffic dispatched from the frontends. */ readonly members: pulumi.Output; /** * The name of the backend. Must be unique within the load balancer service. */ readonly name: pulumi.Output; readonly properties: pulumi.Output; /** * Domain name resolver used with dynamic type members. */ readonly resolverName: pulumi.Output; /** * Set of TLS config names. */ readonly tlsConfigs: pulumi.Output; /** * Create a LoadbalancerBackend 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: LoadbalancerBackendArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadbalancerBackend resources. */ export interface LoadbalancerBackendState { /** * UUID of the load balancer to which the backend is connected. */ loadbalancer?: pulumi.Input; /** * Backend member server UUIDs. Members receive traffic dispatched from the frontends. */ members?: pulumi.Input[]>; /** * The name of the backend. Must be unique within the load balancer service. */ name?: pulumi.Input; properties?: pulumi.Input; /** * Domain name resolver used with dynamic type members. */ resolverName?: pulumi.Input; /** * Set of TLS config names. */ tlsConfigs?: pulumi.Input[]>; } /** * The set of arguments for constructing a LoadbalancerBackend resource. */ export interface LoadbalancerBackendArgs { /** * UUID of the load balancer to which the backend is connected. */ loadbalancer: pulumi.Input; /** * The name of the backend. Must be unique within the load balancer service. */ name?: pulumi.Input; properties?: pulumi.Input; /** * Domain name resolver used with dynamic type members. */ resolverName?: pulumi.Input; }