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. The certificate will be registered to the trawler service and will be encrypted using cloud KMS and stored in Spanner Returns the certificate. * Auto-naming is currently not supported for this resource. */ 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; /** * Status of the certificate */ readonly certificateStatus: pulumi.Output; /** * Immutable. Credential id that will be used to register with trawler INTERNAL_ONLY */ readonly credentialId: pulumi.Output; /** * Description of the certificate */ readonly description: pulumi.Output; /** * Name of the certificate */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * Auto generated primary key */ readonly name: pulumi.Output; readonly productId: pulumi.Output; readonly project: pulumi.Output; /** * Input only. Raw client certificate which would be registered with trawler */ readonly rawCertificate: pulumi.Output; /** * Immutable. Requestor ID to be used to register certificate with trawler */ readonly requestorId: pulumi.Output; /** * The timestamp after which certificate will expire */ readonly validEndTime: pulumi.Output; /** * The timestamp after which certificate will be valid */ readonly validStartTime: 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 { /** * Status of the certificate */ certificateStatus?: pulumi.Input; /** * Immutable. Credential id that will be used to register with trawler INTERNAL_ONLY */ credentialId?: pulumi.Input; /** * Description of the certificate */ description?: pulumi.Input; /** * Name of the certificate */ displayName: pulumi.Input; location?: pulumi.Input; productId: pulumi.Input; project?: pulumi.Input; /** * Input only. Raw client certificate which would be registered with trawler */ rawCertificate?: pulumi.Input; /** * Immutable. Requestor ID to be used to register certificate with trawler */ requestorId?: pulumi.Input; }