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 = cloudflare.getClientCertificate({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * clientCertificateId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getClientCertificate(args: GetClientCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getClientCertificate. */ export interface GetClientCertificateArgs { /** * Identifier. */ clientCertificateId?: string; filter?: inputs.GetClientCertificateFilter; /** * Identifier. */ zoneId: string; } /** * A collection of values returned by getClientCertificate. */ export interface GetClientCertificateResult { /** * The Client Certificate PEM */ readonly certificate: string; /** * Certificate Authority used to issue the Client Certificate */ readonly certificateAuthority: outputs.GetClientCertificateCertificateAuthority; /** * Identifier. */ readonly clientCertificateId?: string; /** * Common Name of the Client Certificate */ readonly commonName: string; /** * Country, provided by the CSR */ readonly country: string; /** * The Certificate Signing Request (CSR). Must be newline-encoded. */ readonly csr: string; /** * Date that the Client Certificate expires */ readonly expiresOn: string; readonly filter?: outputs.GetClientCertificateFilter; /** * Unique identifier of the Client Certificate */ readonly fingerprintSha256: string; /** * Identifier. */ readonly id: string; /** * Date that the Client Certificate was issued by the Certificate Authority */ readonly issuedOn: string; /** * Location, provided by the CSR */ readonly location: string; /** * Organization, provided by the CSR */ readonly organization: string; /** * Organizational Unit, provided by the CSR */ readonly organizationalUnit: string; /** * The serial number on the created Client Certificate. */ readonly serialNumber: string; /** * The type of hash used for the Client Certificate.. */ readonly signature: string; /** * Subject Key Identifier */ readonly ski: string; /** * State, provided by the CSR */ readonly state: string; /** * 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: string; /** * The number of days the Client Certificate will be valid after the issuedOn date */ readonly validityDays: number; /** * Identifier. */ readonly zoneId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleClientCertificate = cloudflare.getClientCertificate({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * clientCertificateId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getClientCertificateOutput(args: GetClientCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getClientCertificate. */ export interface GetClientCertificateOutputArgs { /** * Identifier. */ clientCertificateId?: pulumi.Input; filter?: pulumi.Input; /** * Identifier. */ zoneId: pulumi.Input; }