import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single Certificate. */ export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetCertificateArgs { certificateId: string; location: string; project?: string; } export interface GetCertificateResult { /** * The creation timestamp of a Certificate. */ readonly createTime: string; /** * One or more paragraphs of text description of a certificate. */ readonly description: string; /** * The expiry timestamp of a Certificate. */ readonly expireTime: string; /** * Set of labels associated with a Certificate. */ readonly labels: { [key: string]: string; }; /** * If set, contains configuration and state of a managed certificate. */ readonly managed: outputs.certificatemanager.v1.ManagedCertificateResponse; /** * A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`. */ readonly name: string; /** * The PEM-encoded certificate chain. */ readonly pemCertificate: string; /** * The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field. */ readonly sanDnsnames: string[]; /** * Immutable. The scope of the certificate. */ readonly scope: string; /** * If set, defines data of a self-managed certificate. */ readonly selfManaged: outputs.certificatemanager.v1.SelfManagedCertificateResponse; /** * The last update timestamp of a Certificate. */ readonly updateTime: string; } /** * Gets details of a single Certificate. */ export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetCertificateOutputArgs { certificateId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }