import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates a new Certificate in a given project and location. */ export declare class Certificate extends pulumi.CustomResource { /** * Get an existing Certificate 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Certificate; /** * Returns true if the given object is an instance of Certificate. 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 Certificate; /** * Required. A user-provided name of the certificate. */ readonly certificateId: pulumi.Output; /** * The creation timestamp of a Certificate. */ readonly createTime: pulumi.Output; /** * One or more paragraphs of text description of a certificate. */ readonly description: pulumi.Output; /** * The expiry timestamp of a Certificate. */ readonly expireTime: pulumi.Output; /** * Set of labels associated with a Certificate. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * If set, contains configuration and state of a managed certificate. */ readonly managed: pulumi.Output; /** * A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`. */ readonly name: pulumi.Output; /** * The PEM-encoded certificate chain. */ readonly pemCertificate: pulumi.Output; readonly project: pulumi.Output; /** * 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: pulumi.Output; /** * Immutable. The scope of the certificate. */ readonly scope: pulumi.Output; /** * If set, defines data of a self-managed certificate. */ readonly selfManaged: pulumi.Output; /** * The last update timestamp of a Certificate. */ readonly updateTime: pulumi.Output; /** * Create a Certificate 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: CertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Certificate resource. */ export interface CertificateArgs { /** * Required. A user-provided name of the certificate. */ certificateId: pulumi.Input; /** * One or more paragraphs of text description of a certificate. */ description?: pulumi.Input; /** * Set of labels associated with a Certificate. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * If set, contains configuration and state of a managed certificate. */ managed?: pulumi.Input; /** * A user-defined name of the certificate. Certificate names must be unique globally and match pattern `projects/*/locations/*/certificates/*`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Immutable. The scope of the certificate. */ scope?: pulumi.Input; /** * If set, defines data of a self-managed certificate. */ selfManaged?: pulumi.Input; }