import * as pulumi from "@pulumi/pulumi"; /** * This resource represents manual certificate bundle * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as std from "@pulumi/std"; * import * as upcloud from "@upcloud/pulumi-upcloud"; * * const config = new pulumi.Config(); * const certificatePath = config.require("certificatePath"); * const privateKeyPath = config.require("privateKeyPath"); * const lbCbM1 = new upcloud.LoadbalancerManualCertificateBundle("lb_cb_m1", { * name: "lb-cb-m1-test", * certificate: std.index.base64encode({ * input: std.index.file({ * input: certificatePath, * }).result, * }).result, * privateKey: std.index.base64encode({ * input: std.index.file({ * input: privateKeyPath, * }).result, * }).result, * }); * ``` */ export declare class LoadbalancerManualCertificateBundle extends pulumi.CustomResource { /** * Get an existing LoadbalancerManualCertificateBundle 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?: LoadbalancerManualCertificateBundleState, opts?: pulumi.CustomResourceOptions): LoadbalancerManualCertificateBundle; /** * Returns true if the given object is an instance of LoadbalancerManualCertificateBundle. 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 LoadbalancerManualCertificateBundle; /** * Certificate as base64 encoded string. Must be in PEM format. */ readonly certificate: pulumi.Output; /** * Intermediate certificates as base64 encoded string. Must be in PEM format. */ readonly intermediates: pulumi.Output; /** * The name of the certificate bundle. Must be unique within customer account. */ readonly name: pulumi.Output; /** * The time after which a certificate is no longer valid. */ readonly notAfter: pulumi.Output; /** * The time on which a certificate becomes valid. */ readonly notBefore: pulumi.Output; /** * The service operational state indicates the service's current operational, effective state. Managed by the system. */ readonly operationalState: pulumi.Output; /** * Private key as base64 encoded string. Must be in PEM format. */ readonly privateKey: pulumi.Output; /** * Create a LoadbalancerManualCertificateBundle 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: LoadbalancerManualCertificateBundleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoadbalancerManualCertificateBundle resources. */ export interface LoadbalancerManualCertificateBundleState { /** * Certificate as base64 encoded string. Must be in PEM format. */ certificate?: pulumi.Input; /** * Intermediate certificates as base64 encoded string. Must be in PEM format. */ intermediates?: pulumi.Input; /** * The name of the certificate bundle. Must be unique within customer account. */ name?: pulumi.Input; /** * The time after which a certificate is no longer valid. */ notAfter?: pulumi.Input; /** * The time on which a certificate becomes valid. */ notBefore?: pulumi.Input; /** * The service operational state indicates the service's current operational, effective state. Managed by the system. */ operationalState?: pulumi.Input; /** * Private key as base64 encoded string. Must be in PEM format. */ privateKey?: pulumi.Input; } /** * The set of arguments for constructing a LoadbalancerManualCertificateBundle resource. */ export interface LoadbalancerManualCertificateBundleArgs { /** * Certificate as base64 encoded string. Must be in PEM format. */ certificate: pulumi.Input; /** * Intermediate certificates as base64 encoded string. Must be in PEM format. */ intermediates?: pulumi.Input; /** * The name of the certificate bundle. Must be unique within customer account. */ name?: pulumi.Input; /** * Private key as base64 encoded string. Must be in PEM format. */ privateKey: pulumi.Input; }