UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

167 lines (166 loc) 4.95 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage alb ca certificate * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.alb.CACertificate("foo", { * caCertificate: `-----BEGIN CERTIFICATE----- * -----END CERTIFICATE----- * `, * caCertificateName: "acc-test-1", * description: "acc-test-1", * projectName: "default", * }); * ``` * * ## Import * * AlbCaCertificate can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:alb/cACertificate:CACertificate default cert-***** * ``` */ export declare class CACertificate extends pulumi.CustomResource { /** * Get an existing CACertificate 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?: CACertificateState, opts?: pulumi.CustomResourceOptions): CACertificate; /** * Returns true if the given object is an instance of CACertificate. 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 CACertificate; /** * The content of the CA certificate. */ readonly caCertificate: pulumi.Output<string>; /** * The name of the CA certificate. */ readonly caCertificateName: pulumi.Output<string>; /** * The type of the CA Certificate. */ readonly certificateType: pulumi.Output<string>; /** * The create time of the CA Certificate. */ readonly createTime: pulumi.Output<string>; /** * The description of the CA certificate. */ readonly description: pulumi.Output<string | undefined>; /** * The domain name of the CA Certificate. */ readonly domainName: pulumi.Output<string>; /** * The expire time of the CA Certificate. */ readonly expiredAt: pulumi.Output<string>; /** * The ID list of the Listener. */ readonly listeners: pulumi.Output<string[]>; /** * The project name of the CA certificate. */ readonly projectName: pulumi.Output<string>; /** * The san extension of the Certificate. */ readonly san: pulumi.Output<string>; /** * The status of the CA Certificate. */ readonly status: pulumi.Output<string>; /** * Create a CACertificate 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: CACertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CACertificate resources. */ export interface CACertificateState { /** * The content of the CA certificate. */ caCertificate?: pulumi.Input<string>; /** * The name of the CA certificate. */ caCertificateName?: pulumi.Input<string>; /** * The type of the CA Certificate. */ certificateType?: pulumi.Input<string>; /** * The create time of the CA Certificate. */ createTime?: pulumi.Input<string>; /** * The description of the CA certificate. */ description?: pulumi.Input<string>; /** * The domain name of the CA Certificate. */ domainName?: pulumi.Input<string>; /** * The expire time of the CA Certificate. */ expiredAt?: pulumi.Input<string>; /** * The ID list of the Listener. */ listeners?: pulumi.Input<pulumi.Input<string>[]>; /** * The project name of the CA certificate. */ projectName?: pulumi.Input<string>; /** * The san extension of the Certificate. */ san?: pulumi.Input<string>; /** * The status of the CA Certificate. */ status?: pulumi.Input<string>; } /** * The set of arguments for constructing a CACertificate resource. */ export interface CACertificateArgs { /** * The content of the CA certificate. */ caCertificate: pulumi.Input<string>; /** * The name of the CA certificate. */ caCertificateName?: pulumi.Input<string>; /** * The description of the CA certificate. */ description?: pulumi.Input<string>; /** * The project name of the CA certificate. */ projectName?: pulumi.Input<string>; }