import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/emailRoutingRule:EmailRoutingRule example '/' * ``` */ export declare class EmailRoutingRule extends pulumi.CustomResource { /** * Get an existing EmailRoutingRule 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?: EmailRoutingRuleState, opts?: pulumi.CustomResourceOptions): EmailRoutingRule; /** * Returns true if the given object is an instance of EmailRoutingRule. 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 EmailRoutingRule; /** * List actions patterns. */ readonly actions: pulumi.Output; /** * Routing rule status. */ readonly enabled: pulumi.Output; /** * Matching patterns to forward to your actions. */ readonly matchers: pulumi.Output; /** * Routing rule name. */ readonly name: pulumi.Output; /** * Priority of the routing rule. */ readonly priority: pulumi.Output; /** * Routing rule tag. (Deprecated, replaced by routing rule identifier) * * @deprecated This attribute is deprecated. */ readonly tag: pulumi.Output; /** * Identifier. */ readonly zoneId: pulumi.Output; /** * Create a EmailRoutingRule 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: EmailRoutingRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EmailRoutingRule resources. */ export interface EmailRoutingRuleState { /** * List actions patterns. */ actions?: pulumi.Input[]>; /** * Routing rule status. */ enabled?: pulumi.Input; /** * Matching patterns to forward to your actions. */ matchers?: pulumi.Input[]>; /** * Routing rule name. */ name?: pulumi.Input; /** * Priority of the routing rule. */ priority?: pulumi.Input; /** * Routing rule tag. (Deprecated, replaced by routing rule identifier) * * @deprecated This attribute is deprecated. */ tag?: pulumi.Input; /** * Identifier. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a EmailRoutingRule resource. */ export interface EmailRoutingRuleArgs { /** * List actions patterns. */ actions: pulumi.Input[]>; /** * Routing rule status. */ enabled?: pulumi.Input; /** * Matching patterns to forward to your actions. */ matchers: pulumi.Input[]>; /** * Routing rule name. */ name?: pulumi.Input; /** * Priority of the routing rule. */ priority?: pulumi.Input; /** * Identifier. */ zoneId: pulumi.Input; }