import * as pulumi from "@pulumi/pulumi"; /** * Manages the custom SSL/TLS certificate for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * import * as tls from "@pulumi/tls"; * * const proxmoxVirtualEnvironmentCertificate = new tls.PrivateKey("proxmox_virtual_environment_certificate", { * algorithm: "RSA", * rsaBits: 2048, * }); * const proxmoxVirtualEnvironmentCertificateSelfSignedCert = new tls.SelfSignedCert("proxmox_virtual_environment_certificate", { * keyAlgorithm: proxmoxVirtualEnvironmentCertificate.algorithm, * privateKeyPem: proxmoxVirtualEnvironmentCertificate.privateKeyPem, * subject: { * commonName: "example.com", * organization: "Terraform Provider for Proxmox", * }, * validityPeriodHours: 8760, * allowedUses: [ * "key_encipherment", * "digital_signature", * "server_auth", * ], * }); * const example = new proxmoxve.CertificateLegacy("example", { * certificate: proxmoxVirtualEnvironmentCertificateSelfSignedCert.certPem, * nodeName: "first-node", * privateKey: proxmoxVirtualEnvironmentCertificate.privateKeyPem, * }); * ``` */ export declare class CertificateLegacy extends pulumi.CustomResource { /** * Get an existing CertificateLegacy 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?: CertificateLegacyState, opts?: pulumi.CustomResourceOptions): CertificateLegacy; /** * Returns true if the given object is an instance of CertificateLegacy. 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 CertificateLegacy; /** * The PEM encoded certificate. */ readonly certificate: pulumi.Output; /** * The PEM encoded certificate chain. */ readonly certificateChain: pulumi.Output; /** * The expiration date (RFC 3339). */ readonly expirationDate: pulumi.Output; /** * The file name. */ readonly fileName: pulumi.Output; /** * The issuer. */ readonly issuer: pulumi.Output; /** * A node name. */ readonly nodeName: pulumi.Output; /** * Whether to overwrite an existing certificate */ readonly overwrite: pulumi.Output; /** * The PEM encoded private key. */ readonly privateKey: pulumi.Output; /** * The public key size. */ readonly publicKeySize: pulumi.Output; /** * The public key type. */ readonly publicKeyType: pulumi.Output; /** * The SSL fingerprint. */ readonly sslFingerprint: pulumi.Output; /** * The start date (RFC 3339). */ readonly startDate: pulumi.Output; /** * The subject. */ readonly subject: pulumi.Output; /** * The subject alternative names. */ readonly subjectAlternativeNames: pulumi.Output; /** * Create a CertificateLegacy 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: CertificateLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CertificateLegacy resources. */ export interface CertificateLegacyState { /** * The PEM encoded certificate. */ certificate?: pulumi.Input; /** * The PEM encoded certificate chain. */ certificateChain?: pulumi.Input; /** * The expiration date (RFC 3339). */ expirationDate?: pulumi.Input; /** * The file name. */ fileName?: pulumi.Input; /** * The issuer. */ issuer?: pulumi.Input; /** * A node name. */ nodeName?: pulumi.Input; /** * Whether to overwrite an existing certificate */ overwrite?: pulumi.Input; /** * The PEM encoded private key. */ privateKey?: pulumi.Input; /** * The public key size. */ publicKeySize?: pulumi.Input; /** * The public key type. */ publicKeyType?: pulumi.Input; /** * The SSL fingerprint. */ sslFingerprint?: pulumi.Input; /** * The start date (RFC 3339). */ startDate?: pulumi.Input; /** * The subject. */ subject?: pulumi.Input; /** * The subject alternative names. */ subjectAlternativeNames?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a CertificateLegacy resource. */ export interface CertificateLegacyArgs { /** * The PEM encoded certificate. */ certificate: pulumi.Input; /** * The PEM encoded certificate chain. */ certificateChain?: pulumi.Input; /** * A node name. */ nodeName: pulumi.Input; /** * Whether to overwrite an existing certificate */ overwrite?: pulumi.Input; /** * The PEM encoded private key. */ privateKey: pulumi.Input; } //# sourceMappingURL=certificateLegacy.d.ts.map