import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustAccessMtlsCertificate = new cloudflare.ZeroTrustAccessMtlsCertificate("example_zero_trust_access_mtls_certificate", { * certificate: ` -----BEGIN CERTIFICATE----- * MIIGAjCCA+qgAwIBAgIJAI7kymlF7CWT...N4RI7KKB7nikiuUf8vhULKy5IX10 * DrUtmu/B * -----END CERTIFICATE----- * `, * name: "Allow devs", * zoneId: "zone_id", * associatedHostnames: ["admin.example.com"], * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zeroTrustAccessMtlsCertificate:ZeroTrustAccessMtlsCertificate example '<{accounts|zones}/{account_id|zone_id}>/' * ``` */ export declare class ZeroTrustAccessMtlsCertificate extends pulumi.CustomResource { /** * Get an existing ZeroTrustAccessMtlsCertificate 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ZeroTrustAccessMtlsCertificateState, opts?: pulumi.CustomResourceOptions): ZeroTrustAccessMtlsCertificate; /** * Returns true if the given object is an instance of ZeroTrustAccessMtlsCertificate. 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 ZeroTrustAccessMtlsCertificate; /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ readonly accountId: pulumi.Output; /** * The hostnames of the applications that will use this certificate. */ readonly associatedHostnames: pulumi.Output; /** * The certificate content. */ readonly certificate: pulumi.Output; readonly createdAt: pulumi.Output; readonly expiresOn: pulumi.Output; /** * The MD5 fingerprint of the certificate. */ readonly fingerprint: pulumi.Output; /** * The name of the certificate. */ readonly name: pulumi.Output; readonly updatedAt: pulumi.Output; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ readonly zoneId: pulumi.Output; /** * Create a ZeroTrustAccessMtlsCertificate 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: ZeroTrustAccessMtlsCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZeroTrustAccessMtlsCertificate resources. */ export interface ZeroTrustAccessMtlsCertificateState { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; /** * The hostnames of the applications that will use this certificate. */ associatedHostnames?: pulumi.Input[]>; /** * The certificate content. */ certificate?: pulumi.Input; createdAt?: pulumi.Input; expiresOn?: pulumi.Input; /** * The MD5 fingerprint of the certificate. */ fingerprint?: pulumi.Input; /** * The name of the certificate. */ name?: pulumi.Input; updatedAt?: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ZeroTrustAccessMtlsCertificate resource. */ export interface ZeroTrustAccessMtlsCertificateArgs { /** * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID. */ accountId?: pulumi.Input; /** * The hostnames of the applications that will use this certificate. */ associatedHostnames?: pulumi.Input[]>; /** * The certificate content. */ certificate: pulumi.Input; /** * The name of the certificate. */ name: pulumi.Input; /** * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. */ zoneId?: pulumi.Input; }