import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleCustomOriginTrustStore = new cloudflare.CustomOriginTrustStore("example_custom_origin_trust_store", { * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * certificate: ` -----BEGIN CERTIFICATE----- * MIIDdjCCAl6gAwIBAgIJAPnMg0Fs+/B0MA0GCSqGSIb3DQEBCwUAMFsx... * -----END CERTIFICATE----- * * `, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/customOriginTrustStore:CustomOriginTrustStore example '/' * ``` */ export declare class CustomOriginTrustStore extends pulumi.CustomResource { /** * Get an existing CustomOriginTrustStore 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?: CustomOriginTrustStoreState, opts?: pulumi.CustomResourceOptions): CustomOriginTrustStore; /** * Returns true if the given object is an instance of CustomOriginTrustStore. 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 CustomOriginTrustStore; /** * The zone's SSL certificate or certificate and the intermediate(s). */ readonly certificate: pulumi.Output; /** * When the certificate expires. */ readonly expiresOn: pulumi.Output; /** * The certificate authority that issued the certificate. */ readonly issuer: pulumi.Output; /** * The type of hash used for the certificate. */ readonly signature: pulumi.Output; /** * Status of the zone's custom SSL. * Available values: "initializing", "pending*deployment", "active", "pending*deletion", "deleted", "expired". */ readonly status: pulumi.Output; /** * When the certificate was last modified. */ readonly updatedAt: pulumi.Output; /** * When the certificate was uploaded to Cloudflare. */ readonly uploadedOn: pulumi.Output; /** * Identifier. */ readonly zoneId: pulumi.Output; /** * Create a CustomOriginTrustStore 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: CustomOriginTrustStoreArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomOriginTrustStore resources. */ export interface CustomOriginTrustStoreState { /** * The zone's SSL certificate or certificate and the intermediate(s). */ certificate?: pulumi.Input; /** * When the certificate expires. */ expiresOn?: pulumi.Input; /** * The certificate authority that issued the certificate. */ issuer?: pulumi.Input; /** * The type of hash used for the certificate. */ signature?: pulumi.Input; /** * Status of the zone's custom SSL. * Available values: "initializing", "pending*deployment", "active", "pending*deletion", "deleted", "expired". */ status?: pulumi.Input; /** * When the certificate was last modified. */ updatedAt?: pulumi.Input; /** * When the certificate was uploaded to Cloudflare. */ uploadedOn?: pulumi.Input; /** * Identifier. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a CustomOriginTrustStore resource. */ export interface CustomOriginTrustStoreArgs { /** * The zone's SSL certificate or certificate and the intermediate(s). */ certificate: pulumi.Input; /** * Identifier. */ zoneId: pulumi.Input; }