import * as pulumi from "@pulumi/pulumi"; /** * Provides a Cloudflare custom hostname fallback origin resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const fallbackOrigin = new cloudflare.CustomHostnameFallbackOrigin("fallback_origin", { * origin: "fallback.example.com", * zoneId: "d41d8cd98f00b204e9800998ecf8427e", * }); * ``` * * ## Import * * Custom hostname fallback origins can be imported using a composite ID formed of the zone ID and [fallback origin](https://api.cloudflare.com/#custom-hostname-fallback-origin-for-a-zone-properties), separated by a "/" e.g. * * ```sh * $ pulumi import cloudflare:index/customHostnameFallbackOrigin:CustomHostnameFallbackOrigin example d41d8cd98f00b204e9800998ecf8427e/fallback.example.com * ``` */ export declare class CustomHostnameFallbackOrigin extends pulumi.CustomResource { /** * Get an existing CustomHostnameFallbackOrigin 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?: CustomHostnameFallbackOriginState, opts?: pulumi.CustomResourceOptions): CustomHostnameFallbackOrigin; /** * Returns true if the given object is an instance of CustomHostnameFallbackOrigin. 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 CustomHostnameFallbackOrigin; /** * Hostname you intend to fallback requests to. Origin must be a proxied A/AAAA/CNAME DNS record within Clouldflare. */ readonly origin: pulumi.Output; /** * Status of the fallback origin's activation. */ readonly status: pulumi.Output; /** * The DNS zone ID where the custom hostname should be assigned. */ readonly zoneId: pulumi.Output; /** * Create a CustomHostnameFallbackOrigin 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: CustomHostnameFallbackOriginArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomHostnameFallbackOrigin resources. */ export interface CustomHostnameFallbackOriginState { /** * Hostname you intend to fallback requests to. Origin must be a proxied A/AAAA/CNAME DNS record within Clouldflare. */ origin?: pulumi.Input; /** * Status of the fallback origin's activation. */ status?: pulumi.Input; /** * The DNS zone ID where the custom hostname should be assigned. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a CustomHostnameFallbackOrigin resource. */ export interface CustomHostnameFallbackOriginArgs { /** * Hostname you intend to fallback requests to. Origin must be a proxied A/AAAA/CNAME DNS record within Clouldflare. */ origin: pulumi.Input; /** * The DNS zone ID where the custom hostname should be assigned. */ zoneId: pulumi.Input; }