import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * SSL client certificate is a sub-resource of the SSL server. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const vPNSslVpnClientCertDemo = new volcenginecc.vpn.SslVpnClientCert("VPNSslVpnClientCertDemo", { * sslVpnServerId: "vss-xxxx", * sslVpnClientCertName: "ccapi-test-client-cert", * description: "ccapi-test", * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:vpn/sslVpnClientCert:SslVpnClientCert example "ssl_vpn_client_cert_id" * ``` */ export declare class SslVpnClientCert extends pulumi.CustomResource { /** * Get an existing SslVpnClientCert 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?: SslVpnClientCertState, opts?: pulumi.CustomResourceOptions): SslVpnClientCert; /** * Returns true if the given object is an instance of SslVpnClientCert. 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 SslVpnClientCert; /** * CA certificate information. */ readonly caCertificate: pulumi.Output; /** * SSL client certificate status. Available: available; Expiring: expiring, displays this status when the expiration time is less than or equal to one week; Expired: expired. */ readonly certificateStatus: pulumi.Output; /** * Client certificate information. */ readonly clientCertificate: pulumi.Output; /** * Client key information. */ readonly clientKey: pulumi.Output; /** * Creation time of the SSL client certificate. */ readonly creationTime: pulumi.Output; /** * Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string. */ readonly description: pulumi.Output; /** * Expiration time of the SSL client certificate. */ readonly expiredTime: pulumi.Output; /** * OpenVPN client configuration. */ readonly openVpnClientConfig: pulumi.Output; /** * SSL client certificate ID. */ readonly sslVpnClientCertId: pulumi.Output; /** * Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID. */ readonly sslVpnClientCertName: pulumi.Output; /** * ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information. */ readonly sslVpnServerId: pulumi.Output; /** * SSL client status. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Modification time of the SSL client certificate. */ readonly updateTime: pulumi.Output; /** * Create a SslVpnClientCert 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: SslVpnClientCertArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SslVpnClientCert resources. */ export interface SslVpnClientCertState { /** * CA certificate information. */ caCertificate?: pulumi.Input; /** * SSL client certificate status. Available: available; Expiring: expiring, displays this status when the expiration time is less than or equal to one week; Expired: expired. */ certificateStatus?: pulumi.Input; /** * Client certificate information. */ clientCertificate?: pulumi.Input; /** * Client key information. */ clientKey?: pulumi.Input; /** * Creation time of the SSL client certificate. */ creationTime?: pulumi.Input; /** * Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; /** * Expiration time of the SSL client certificate. */ expiredTime?: pulumi.Input; /** * OpenVPN client configuration. */ openVpnClientConfig?: pulumi.Input; /** * SSL client certificate ID. */ sslVpnClientCertId?: pulumi.Input; /** * Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID. */ sslVpnClientCertName?: pulumi.Input; /** * ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information. */ sslVpnServerId?: pulumi.Input; /** * SSL client status. Creating: being created; Deleting: being deleted; Pending: being configured; Available: available. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Modification time of the SSL client certificate. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a SslVpnClientCert resource. */ export interface SslVpnClientCertArgs { /** * Description of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), space ( ), underscore (_), hyphen (-), equals sign (=), English comma (,), Chinese comma (,), and Chinese period (。). Length must be between 0–255 characters. If not specified, defaults to an empty string. */ description?: pulumi.Input; /** * Name of the SSL client certificate. Must start with a Chinese character, letter, or number, and can only contain Chinese characters, letters, numbers, period (.), underscore (_), and hyphen (-). Length must be between 1–128 characters. If not specified, defaults to the SSL client certificate ID. */ sslVpnClientCertName?: pulumi.Input; /** * ID of the SSL server used to create the SSL client certificate. You can call DescribeSslVpnServers to query the SSL server ID information. */ sslVpnServerId: pulumi.Input; tags?: pulumi.Input[]>; }