import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ALB supports uploading server certificates and CA certificates to the console and manages uploaded certificates separately * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const aLBCertificateDemo = new volcenginecc.alb.Certificate("ALBCertificateDemo", { * certificateName: "ALBCertificateDemo", * certificateType: "CA", * publicKey: "-----BEGIN CERTIFICATE-----xxxx-----END CERTIFICATE-----", * description: "ALBCertificateDemo description", * projectName: "default", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:alb/certificate:Certificate example "certificate_id|certificate_type" * ``` */ export declare class Certificate extends pulumi.CustomResource { /** * Get an existing Certificate 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?: CertificateState, opts?: pulumi.CustomResourceOptions): Certificate; /** * Returns true if the given object is an instance of Certificate. 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 Certificate; /** * Certificate ID */ readonly certificateId: pulumi.Output; /** * Certificate name. Length must be between 1 and 128 characters, start with a letter or Chinese character, and may include numbers, periods (.), underscores (_), and hyphens (-) */ readonly certificateName: pulumi.Output; /** * Certificate type. Options: CA: CA certificate; Server: server certificate */ readonly certificateType: pulumi.Output; /** * Certificate creation time */ readonly createdTime: pulumi.Output; /** * Certificate description */ readonly description: pulumi.Output; /** * Certificate domain name */ readonly domainName: pulumi.Output; /** * Certificate expiration time */ readonly expiredAt: pulumi.Output; /** * List of listeners associated with the certificate */ readonly listeners: pulumi.Output; /** * Server certificate private key. Required when certificate type is Server */ readonly privateKey: pulumi.Output; /** * Project name */ readonly projectName: pulumi.Output; /** * Server certificate public key */ readonly publicKey: pulumi.Output; /** * Certificate subject alternative name list. Use English ',' to separate multiple domain names. Includes (commonName, DnsName, IP) */ readonly san: pulumi.Output; /** * Certificate status. Options: Creating: creating; Active: active; Deleting: deleting */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Create a Certificate 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: CertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Certificate resources. */ export interface CertificateState { /** * Certificate ID */ certificateId?: pulumi.Input; /** * Certificate name. Length must be between 1 and 128 characters, start with a letter or Chinese character, and may include numbers, periods (.), underscores (_), and hyphens (-) */ certificateName?: pulumi.Input; /** * Certificate type. Options: CA: CA certificate; Server: server certificate */ certificateType?: pulumi.Input; /** * Certificate creation time */ createdTime?: pulumi.Input; /** * Certificate description */ description?: pulumi.Input; /** * Certificate domain name */ domainName?: pulumi.Input; /** * Certificate expiration time */ expiredAt?: pulumi.Input; /** * List of listeners associated with the certificate */ listeners?: pulumi.Input[]>; /** * Server certificate private key. Required when certificate type is Server */ privateKey?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * Server certificate public key */ publicKey?: pulumi.Input; /** * Certificate subject alternative name list. Use English ',' to separate multiple domain names. Includes (commonName, DnsName, IP) */ san?: pulumi.Input; /** * Certificate status. Options: Creating: creating; Active: active; Deleting: deleting */ status?: pulumi.Input; tags?: pulumi.Input[]>; } /** * The set of arguments for constructing a Certificate resource. */ export interface CertificateArgs { /** * Certificate name. Length must be between 1 and 128 characters, start with a letter or Chinese character, and may include numbers, periods (.), underscores (_), and hyphens (-) */ certificateName?: pulumi.Input; /** * Certificate type. Options: CA: CA certificate; Server: server certificate */ certificateType: pulumi.Input; /** * Certificate description */ description?: pulumi.Input; /** * Server certificate private key. Required when certificate type is Server */ privateKey?: pulumi.Input; /** * Project name */ projectName?: pulumi.Input; /** * Server certificate public key */ publicKey: pulumi.Input; tags?: pulumi.Input[]>; }