UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

168 lines (167 loc) 4.87 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage alb certificate * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.alb.Certificate("foo", { * description: "test123", * privateKey: "private key", * publicKey: "public key", * }); * ``` * * ## Import * * Certificate can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:alb/certificate:Certificate default cert-2fe5k****c16o5oxruvtk3qf5 * ``` */ 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<pulumi.ID>, 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; /** * The name of the Certificate. */ readonly certificateName: pulumi.Output<string>; /** * The type of the Certificate. */ readonly certificateType: pulumi.Output<string>; /** * The create time of the Certificate. */ readonly createTime: pulumi.Output<string>; /** * The description of the Certificate. */ readonly description: pulumi.Output<string | undefined>; /** * The domain name of the Certificate. */ readonly domainName: pulumi.Output<string>; /** * The expire time of the Certificate. */ readonly expiredAt: pulumi.Output<string>; /** * The ID list of the Listener. */ readonly listeners: pulumi.Output<string[]>; /** * The private key of the Certificate. */ readonly privateKey: pulumi.Output<string>; /** * The project name of the Certificate. */ readonly projectName: pulumi.Output<string>; /** * The public key of the Certificate. */ readonly publicKey: pulumi.Output<string>; /** * The status of the Certificate. */ readonly status: pulumi.Output<string>; /** * 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 { /** * The name of the Certificate. */ certificateName?: pulumi.Input<string>; /** * The type of the Certificate. */ certificateType?: pulumi.Input<string>; /** * The create time of the Certificate. */ createTime?: pulumi.Input<string>; /** * The description of the Certificate. */ description?: pulumi.Input<string>; /** * The domain name of the Certificate. */ domainName?: pulumi.Input<string>; /** * The expire time of the Certificate. */ expiredAt?: pulumi.Input<string>; /** * The ID list of the Listener. */ listeners?: pulumi.Input<pulumi.Input<string>[]>; /** * The private key of the Certificate. */ privateKey?: pulumi.Input<string>; /** * The project name of the Certificate. */ projectName?: pulumi.Input<string>; /** * The public key of the Certificate. */ publicKey?: pulumi.Input<string>; /** * The status of the Certificate. */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a Certificate resource. */ export interface CertificateArgs { /** * The name of the Certificate. */ certificateName?: pulumi.Input<string>; /** * The description of the Certificate. */ description?: pulumi.Input<string>; /** * The private key of the Certificate. */ privateKey: pulumi.Input<string>; /** * The project name of the Certificate. */ projectName?: pulumi.Input<string>; /** * The public key of the Certificate. */ publicKey: pulumi.Input<string>; }