import * as pulumi from "@pulumi/pulumi"; /** * Provides a Cloudflare Authenticated Origin Pulls certificate resource. An uploaded client certificate is required to use Per-Zone or Per-Hostname Authenticated Origin Pulls. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * // Per-Zone Authenticated Origin Pulls certificate * const myPerZoneAopCert = new cloudflare.AuthenticatedOriginPullsCertificate("my_per_zone_aop_cert", { * certificate: "-----INSERT CERTIFICATE-----", * privateKey: "-----INSERT PRIVATE KEY-----", * type: "per-zone", * zoneId: var_cloudflare_zone_id, * }); * // Per-Hostname Authenticated Origin Pulls certificate * const myPerHostnameAopCert = new cloudflare.AuthenticatedOriginPullsCertificate("my_per_hostname_aop_cert", { * certificate: "-----INSERT CERTIFICATE-----", * privateKey: "-----INSERT PRIVATE KEY-----", * type: "per-hostname", * zoneId: var_cloudflare_zone_id, * }); * ``` * * ## Import * * Authenticated Origin Pull certificates can be imported using a composite ID formed of the zone ID, the form of Authenticated Origin Pulls, and the certificate ID, e.g. # Import Per-Zone Authenticated Origin Pull certificate * * ```sh * $ pulumi import cloudflare:index/authenticatedOriginPullsCertificate:AuthenticatedOriginPullsCertificate 2458ce5a-0c35-4c7f-82c7-8e9487d3ff60 023e105f4ecef8ad9ca31a8372d0c353/per-zone/2458ce5a-0c35-4c7f-82c7-8e9487d3ff60 * ``` * * # Import Per-Hostname Authenticated Origin Pull certificate * * ```sh * $ pulumi import cloudflare:index/authenticatedOriginPullsCertificate:AuthenticatedOriginPullsCertificate 2458ce5a-0c35-4c7f-82c7-8e9487d3ff60 023e105f4ecef8ad9ca31a8372d0c353/per-hostname/2458ce5a-0c35-4c7f-82c7-8e9487d3ff60 * ``` */ export declare class AuthenticatedOriginPullsCertificate extends pulumi.CustomResource { /** * Get an existing AuthenticatedOriginPullsCertificate 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?: AuthenticatedOriginPullsCertificateState, opts?: pulumi.CustomResourceOptions): AuthenticatedOriginPullsCertificate; /** * Returns true if the given object is an instance of AuthenticatedOriginPullsCertificate. 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 AuthenticatedOriginPullsCertificate; /** * The public client certificate. */ readonly certificate: pulumi.Output; readonly expiresOn: pulumi.Output; readonly issuer: pulumi.Output; /** * The private key of the client certificate. */ readonly privateKey: pulumi.Output; readonly serialNumber: pulumi.Output; readonly signature: pulumi.Output; readonly status: pulumi.Output; /** * The form of Authenticated Origin Pulls to upload the certificate to. */ readonly type: pulumi.Output; readonly uploadedOn: pulumi.Output; /** * The zone ID to upload the certificate to. */ readonly zoneId: pulumi.Output; /** * Create a AuthenticatedOriginPullsCertificate 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: AuthenticatedOriginPullsCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AuthenticatedOriginPullsCertificate resources. */ export interface AuthenticatedOriginPullsCertificateState { /** * The public client certificate. */ certificate?: pulumi.Input; expiresOn?: pulumi.Input; issuer?: pulumi.Input; /** * The private key of the client certificate. */ privateKey?: pulumi.Input; serialNumber?: pulumi.Input; signature?: pulumi.Input; status?: pulumi.Input; /** * The form of Authenticated Origin Pulls to upload the certificate to. */ type?: pulumi.Input; uploadedOn?: pulumi.Input; /** * The zone ID to upload the certificate to. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a AuthenticatedOriginPullsCertificate resource. */ export interface AuthenticatedOriginPullsCertificateArgs { /** * The public client certificate. */ certificate: pulumi.Input; /** * The private key of the client certificate. */ privateKey: pulumi.Input; /** * The form of Authenticated Origin Pulls to upload the certificate to. */ type: pulumi.Input; /** * The zone ID to upload the certificate to. */ zoneId: pulumi.Input; }