import * as pulumi from "@pulumi/pulumi"; /** * Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. * Auto-naming is currently not supported for this resource. */ export declare class SslCert extends pulumi.CustomResource { /** * Get an existing SslCert 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): SslCert; /** * Returns true if the given object is an instance of SslCert. 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 SslCert; /** * PEM representation. */ readonly cert: pulumi.Output; /** * Serial number, as extracted from the certificate. */ readonly certSerialNumber: pulumi.Output; /** * User supplied name. Constrained to [a-zA-Z.-_ ]+. */ readonly commonName: pulumi.Output; /** * The time when the certificate was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z` */ readonly createTime: pulumi.Output; /** * The time when the certificate expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`. */ readonly expirationTime: pulumi.Output; readonly instance: pulumi.Output; /** * This is always `sql#sslCert`. */ readonly kind: pulumi.Output; readonly project: pulumi.Output; /** * The URI of this resource. */ readonly selfLink: pulumi.Output; /** * Sha1 Fingerprint. */ readonly sha1Fingerprint: pulumi.Output; /** * Create a SslCert 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: SslCertArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SslCert resource. */ export interface SslCertArgs { /** * User supplied name. Must be a distinct name from the other certificates for this instance. */ commonName?: pulumi.Input; instance: pulumi.Input; project?: pulumi.Input; }