import * as pulumi from "@pulumi/pulumi"; /** * This resource represents load balancer static backend member * * ## 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", * }); * const lbBe1Sm1 = new upcloud.LoadbalancerStaticBackendMember("lb_be_1_sm_1", { * backend: upcloudLoadbalancerBackend.lbBe1.id, * name: "lb-be-1-sm-1-test", * ip: "10.0.0.10", * port: 8000, * weight: 10, * maxSessions: 0, * enabled: true, * }); * ``` */ export declare class LoadbalancerStaticBackendMember extends pulumi.CustomResource { /** * Get an existing LoadbalancerStaticBackendMember 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?: LoadbalancerStaticBackendMemberState, opts?: pulumi.CustomResourceOptions): LoadbalancerStaticBackendMember; /** * Returns true if the given object is an instance of LoadbalancerStaticBackendMember. 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 LoadbalancerStaticBackendMember; /** * ID of the load balancer backend to which the member is connected. */ readonly backend: pulumi.Output; /** * Indicates if the member is enabled. Disabled members are excluded from load balancing. */ readonly enabled: pulumi.Output; /** * Optional fallback IP address in case of failure on DNS resolving. */ readonly ip: pulumi.Output; /** * Maximum number of sessions before queueing. */ readonly maxSessions: pulumi.Output; /** * The name of the member. Must be unique within within the load balancer backend. */ readonly name: pulumi.Output; /** * Server port. Port is optional and can be specified in DNS SRV record. */ readonly port: pulumi.Output; /** * Weight of the member. The higher the weight, the more traffic the member receives. */ readonly weight: pulumi.Output; /** * Create a LoadbalancerStaticBackendMember 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: LoadbalancerStaticBackendMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadbalancerStaticBackendMember resources. */ export interface LoadbalancerStaticBackendMemberState { /** * ID of the load balancer backend to which the member is connected. */ backend?: pulumi.Input; /** * Indicates if the member is enabled. Disabled members are excluded from load balancing. */ enabled?: pulumi.Input; /** * Optional fallback IP address in case of failure on DNS resolving. */ ip?: pulumi.Input; /** * Maximum number of sessions before queueing. */ maxSessions?: pulumi.Input; /** * The name of the member. Must be unique within within the load balancer backend. */ name?: pulumi.Input; /** * Server port. Port is optional and can be specified in DNS SRV record. */ port?: pulumi.Input; /** * Weight of the member. The higher the weight, the more traffic the member receives. */ weight?: pulumi.Input; } /** * The set of arguments for constructing a LoadbalancerStaticBackendMember resource. */ export interface LoadbalancerStaticBackendMemberArgs { /** * ID of the load balancer backend to which the member is connected. */ backend: pulumi.Input; /** * Indicates if the member is enabled. Disabled members are excluded from load balancing. */ enabled?: pulumi.Input; /** * Optional fallback IP address in case of failure on DNS resolving. */ ip?: pulumi.Input; /** * Maximum number of sessions before queueing. */ maxSessions: pulumi.Input; /** * The name of the member. Must be unique within within the load balancer backend. */ name?: pulumi.Input; /** * Server port. Port is optional and can be specified in DNS SRV record. */ port?: pulumi.Input; /** * Weight of the member. The higher the weight, the more traffic the member receives. */ weight: pulumi.Input; }