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/accessMutualTlsCertificate:AccessMutualTlsCertificate example '<{accounts|zones}/{account_id|zone_id}>/' * ``` * * @deprecated cloudflare.index/accessmutualtlscertificate.AccessMutualTlsCertificate has been deprecated in favor of cloudflare.index/zerotrustaccessmtlscertificate.ZeroTrustAccessMtlsCertificate */ export declare class AccessMutualTlsCertificate extends pulumi.CustomResource { /** * Get an existing AccessMutualTlsCertificate 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?: AccessMutualTlsCertificateState, opts?: pulumi.CustomResourceOptions): AccessMutualTlsCertificate; /** * Returns true if the given object is an instance of AccessMutualTlsCertificate. 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 AccessMutualTlsCertificate; /** * 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 AccessMutualTlsCertificate 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. */ /** @deprecated cloudflare.index/accessmutualtlscertificate.AccessMutualTlsCertificate has been deprecated in favor of cloudflare.index/zerotrustaccessmtlscertificate.ZeroTrustAccessMtlsCertificate */ constructor(name: string, args: AccessMutualTlsCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccessMutualTlsCertificate resources. */ export interface AccessMutualTlsCertificateState { /** * 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 AccessMutualTlsCertificate resource. */ export interface AccessMutualTlsCertificateArgs { /** * 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; }