import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleClientCertificate = new cloudflare.ClientCertificate("example_client_certificate", { * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * csr: ` -----BEGIN CERTIFICATE REQUEST----- * MIICY.... * -----END CERTIFICATE REQUEST----- * `, * validityDays: 3650, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/clientCertificate:ClientCertificate example '/' * ``` */ export declare class ClientCertificate extends pulumi.CustomResource { /** * Get an existing ClientCertificate 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?: ClientCertificateState, opts?: pulumi.CustomResourceOptions): ClientCertificate; /** * Returns true if the given object is an instance of ClientCertificate. 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 ClientCertificate; /** * The Client Certificate PEM */ readonly certificate: pulumi.Output; /** * Certificate Authority used to issue the Client Certificate */ readonly certificateAuthority: pulumi.Output; /** * Common Name of the Client Certificate */ readonly commonName: pulumi.Output; /** * Country, provided by the CSR */ readonly country: pulumi.Output; /** * The Certificate Signing Request (CSR). Must be newline-encoded. */ readonly csr: pulumi.Output; /** * Date that the Client Certificate expires */ readonly expiresOn: pulumi.Output; /** * Unique identifier of the Client Certificate */ readonly fingerprintSha256: pulumi.Output; /** * Date that the Client Certificate was issued by the Certificate Authority */ readonly issuedOn: pulumi.Output; /** * Location, provided by the CSR */ readonly location: pulumi.Output; /** * Organization, provided by the CSR */ readonly organization: pulumi.Output; /** * Organizational Unit, provided by the CSR */ readonly organizationalUnit: pulumi.Output; readonly reactivate: pulumi.Output; /** * The serial number on the created Client Certificate. */ readonly serialNumber: pulumi.Output; /** * The type of hash used for the Client Certificate.. */ readonly signature: pulumi.Output; /** * Subject Key Identifier */ readonly ski: pulumi.Output; /** * State, provided by the CSR */ readonly state: pulumi.Output; /** * Client Certificates may be active or revoked, and the pending*reactivation or pending*revocation represent in-progress asynchronous transitions * Available values: "active", "pending*reactivation", "pending*revocation", "revoked". */ readonly status: pulumi.Output; /** * The number of days the Client Certificate will be valid after the issuedOn date */ readonly validityDays: pulumi.Output; /** * Identifier. */ readonly zoneId: pulumi.Output; /** * Create a ClientCertificate 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: ClientCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ClientCertificate resources. */ export interface ClientCertificateState { /** * The Client Certificate PEM */ certificate?: pulumi.Input; /** * Certificate Authority used to issue the Client Certificate */ certificateAuthority?: pulumi.Input; /** * Common Name of the Client Certificate */ commonName?: pulumi.Input; /** * Country, provided by the CSR */ country?: pulumi.Input; /** * The Certificate Signing Request (CSR). Must be newline-encoded. */ csr?: pulumi.Input; /** * Date that the Client Certificate expires */ expiresOn?: pulumi.Input; /** * Unique identifier of the Client Certificate */ fingerprintSha256?: pulumi.Input; /** * Date that the Client Certificate was issued by the Certificate Authority */ issuedOn?: pulumi.Input; /** * Location, provided by the CSR */ location?: pulumi.Input; /** * Organization, provided by the CSR */ organization?: pulumi.Input; /** * Organizational Unit, provided by the CSR */ organizationalUnit?: pulumi.Input; reactivate?: pulumi.Input; /** * The serial number on the created Client Certificate. */ serialNumber?: pulumi.Input; /** * The type of hash used for the Client Certificate.. */ signature?: pulumi.Input; /** * Subject Key Identifier */ ski?: pulumi.Input; /** * State, provided by the CSR */ state?: pulumi.Input; /** * Client Certificates may be active or revoked, and the pending*reactivation or pending*revocation represent in-progress asynchronous transitions * Available values: "active", "pending*reactivation", "pending*revocation", "revoked". */ status?: pulumi.Input; /** * The number of days the Client Certificate will be valid after the issuedOn date */ validityDays?: pulumi.Input; /** * Identifier. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ClientCertificate resource. */ export interface ClientCertificateArgs { /** * The Certificate Signing Request (CSR). Must be newline-encoded. */ csr: pulumi.Input; reactivate?: pulumi.Input; /** * The number of days the Client Certificate will be valid after the issuedOn date */ validityDays: pulumi.Input; /** * Identifier. */ zoneId: pulumi.Input; }