import * as pulumi from "@pulumi/pulumi"; /** * This resource represents frontend TLS config * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as upcloud from "@upcloud/pulumi-upcloud"; * * const lbFe1Tls1 = new upcloud.LoadbalancerFrontendTlsConfig("lb_fe_1_tls1", { * frontend: upcloudLoadbalancerFrontend.lbFe1.id, * name: "lb-fe-1-tls1-test", * certificateBundle: upcloudLoadbalancerManualCertificateBundle["lb-cb-m1"].id, * }); * 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_cb_m1 = new upcloud.LoadbalancerManualCertificateBundle("lb-cb-m1", { * name: "lb-cb-m1-test", * certificate: "LS0tLS1CRUdJTiBDRVJ...", * privateKey: "LS0tLS1CRUdJTiBQUkl...", * }); * const lbFe1 = new upcloud.LoadbalancerFrontend("lb_fe_1", { * loadbalancer: upcloudLoadbalancer.lb.id, * name: "lb-fe-1-test", * mode: "http", * port: 8080, * defaultBackendName: upcloudLoadbalancerBackend.lbBe1.name, * }); * 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 LoadbalancerFrontendTlsConfig extends pulumi.CustomResource { /** * Get an existing LoadbalancerFrontendTlsConfig 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?: LoadbalancerFrontendTlsConfigState, opts?: pulumi.CustomResourceOptions): LoadbalancerFrontendTlsConfig; /** * Returns true if the given object is an instance of LoadbalancerFrontendTlsConfig. 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 LoadbalancerFrontendTlsConfig; /** * Reference to certificate bundle ID. */ readonly certificateBundle: pulumi.Output; /** * ID of the load balancer frontend to which the TLS config is connected. */ readonly frontend: pulumi.Output; /** * The name of the TLS config. Must be unique within customer account. */ readonly name: pulumi.Output; /** * Create a LoadbalancerFrontendTlsConfig 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: LoadbalancerFrontendTlsConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadbalancerFrontendTlsConfig resources. */ export interface LoadbalancerFrontendTlsConfigState { /** * Reference to certificate bundle ID. */ certificateBundle?: pulumi.Input; /** * ID of the load balancer frontend to which the TLS config is connected. */ frontend?: pulumi.Input; /** * The name of the TLS config. Must be unique within customer account. */ name?: pulumi.Input; } /** * The set of arguments for constructing a LoadbalancerFrontendTlsConfig resource. */ export interface LoadbalancerFrontendTlsConfigArgs { /** * Reference to certificate bundle ID. */ certificateBundle: pulumi.Input; /** * ID of the load balancer frontend to which the TLS config is connected. */ frontend: pulumi.Input; /** * The name of the TLS config. Must be unique within customer account. */ name?: pulumi.Input; }