import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZoneLockdown = new cloudflare.ZoneLockdown("example_zone_lockdown", { * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * configurations: [{ * target: "ip", * value: "198.51.100.4", * }], * urls: ["shop.example.com/*"], * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/zoneLockdown:ZoneLockdown example '/' * ``` */ export declare class ZoneLockdown extends pulumi.CustomResource { /** * Get an existing ZoneLockdown 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?: ZoneLockdownState, opts?: pulumi.CustomResourceOptions): ZoneLockdown; /** * Returns true if the given object is an instance of ZoneLockdown. 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 ZoneLockdown; /** * A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ipRange` configurations. */ readonly configurations: pulumi.Output; /** * The timestamp of when the rule was created. */ readonly createdOn: pulumi.Output; /** * An informative summary of the rule. */ readonly description: pulumi.Output; /** * The timestamp of when the rule was last modified. */ readonly modifiedOn: pulumi.Output; /** * When true, indicates that the rule is currently paused. */ readonly paused: pulumi.Output; /** * The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */ readonly urls: pulumi.Output; /** * Defines an identifier. */ readonly zoneId: pulumi.Output; /** * Create a ZoneLockdown 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: ZoneLockdownArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ZoneLockdown resources. */ export interface ZoneLockdownState { /** * A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ipRange` configurations. */ configurations?: pulumi.Input[]>; /** * The timestamp of when the rule was created. */ createdOn?: pulumi.Input; /** * An informative summary of the rule. */ description?: pulumi.Input; /** * The timestamp of when the rule was last modified. */ modifiedOn?: pulumi.Input; /** * When true, indicates that the rule is currently paused. */ paused?: pulumi.Input; /** * The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */ urls?: pulumi.Input[]>; /** * Defines an identifier. */ zoneId?: pulumi.Input; } /** * The set of arguments for constructing a ZoneLockdown resource. */ export interface ZoneLockdownArgs { /** * A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ipRange` configurations. */ configurations: pulumi.Input[]>; /** * The URLs to include in the current WAF override. You can use wildcards. Each entered URL will be escaped before use, which means you can only use simple wildcard patterns. */ urls: pulumi.Input[]>; /** * Defines an identifier. */ zoneId: pulumi.Input; }