import * as pulumi from "@pulumi/pulumi"; /** * Provides details about a specific Hetzner Cloud Certificate. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleCertificate1 = hcloud.getCertificate({ * name: "sample-certificate-1", * }); * const sampleCertificate2 = hcloud.getCertificate({ * id: 4711, * }); * ``` */ export declare function getCertificate(args?: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateArgs { /** * ID of the certificate. */ id?: number; /** * Name of the certificate. */ name?: string; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: string; } /** * A collection of values returned by getCertificate. */ export interface GetCertificateResult { /** * (string) PEM encoded TLS certificate. */ readonly certificate: string; /** * (string) Point in time when the Certificate was created at Hetzner Cloud (in ISO-8601 format). */ readonly created: string; /** * (list) Domains and subdomains covered by the certificate. */ readonly domainNames: string[]; /** * (string) Fingerprint of the certificate. */ readonly fingerprint: string; /** * (int) Unique ID of the certificate. */ readonly id: number; /** * (map) User-defined labels (key-value pairs) assigned to the certificate. */ readonly labels: { [key: string]: string; }; /** * (string) Name of the Certificate. */ readonly name?: string; /** * (string) Point in time when the Certificate stops being valid (in ISO-8601 format). */ readonly notValidAfter: string; /** * (string) Point in time when the Certificate becomes valid (in ISO-8601 format). */ readonly notValidBefore: string; readonly type: string; readonly withSelector?: string; } /** * Provides details about a specific Hetzner Cloud Certificate. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as hcloud from "@pulumi/hcloud"; * * const sampleCertificate1 = hcloud.getCertificate({ * name: "sample-certificate-1", * }); * const sampleCertificate2 = hcloud.getCertificate({ * id: 4711, * }); * ``` */ export declare function getCertificateOutput(args?: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateOutputArgs { /** * ID of the certificate. */ id?: pulumi.Input; /** * Name of the certificate. */ name?: pulumi.Input; /** * [Label selector](https://docs.hetzner.cloud/reference/cloud#label-selector) */ withSelector?: pulumi.Input; }