import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZoneLockdowns = cloudflare.getZoneLockdowns({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * createdOn: "2014-01-01T05:20:00.12345Z", * description: "endpoints", * descriptionSearch: "endpoints", * ip: "1.2.3.4", * ipRangeSearch: "1.2.3.0/16", * ipSearch: "1.2.3.4", * modifiedOn: "2014-01-01T05:20:00.12345Z", * priority: 5, * uriSearch: "/some/path", * }); * ``` */ export declare function getZoneLockdowns(args: GetZoneLockdownsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZoneLockdowns. */ export interface GetZoneLockdownsArgs { /** * The timestamp of when the rule was created. */ createdOn?: string; /** * A string to search for in the description of existing rules. */ description?: string; /** * A string to search for in the description of existing rules. */ descriptionSearch?: string; /** * A single IP address to search for in existing rules. */ ip?: string; /** * A single IP address range to search for in existing rules. */ ipRangeSearch?: string; /** * A single IP address to search for in existing rules. */ ipSearch?: string; /** * Max items to fetch, default: 1000 */ maxItems?: number; /** * The timestamp of when the rule was last modified. */ modifiedOn?: string; /** * The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority. */ priority?: number; /** * A single URI to search for in the list of URLs of existing rules. */ uriSearch?: string; /** * Defines an identifier. */ zoneId: string; } /** * A collection of values returned by getZoneLockdowns. */ export interface GetZoneLockdownsResult { /** * The timestamp of when the rule was created. */ readonly createdOn?: string; /** * A string to search for in the description of existing rules. */ readonly description?: string; /** * A string to search for in the description of existing rules. */ readonly descriptionSearch?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A single IP address to search for in existing rules. */ readonly ip?: string; /** * A single IP address range to search for in existing rules. */ readonly ipRangeSearch?: string; /** * A single IP address to search for in existing rules. */ readonly ipSearch?: string; /** * Max items to fetch, default: 1000 */ readonly maxItems?: number; /** * The timestamp of when the rule was last modified. */ readonly modifiedOn?: string; /** * The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority. */ readonly priority?: number; /** * The items returned by the data source */ readonly results: outputs.GetZoneLockdownsResult[]; /** * A single URI to search for in the list of URLs of existing rules. */ readonly uriSearch?: string; /** * Defines an identifier. */ readonly zoneId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZoneLockdowns = cloudflare.getZoneLockdowns({ * zoneId: "023e105f4ecef8ad9ca31a8372d0c353", * createdOn: "2014-01-01T05:20:00.12345Z", * description: "endpoints", * descriptionSearch: "endpoints", * ip: "1.2.3.4", * ipRangeSearch: "1.2.3.0/16", * ipSearch: "1.2.3.4", * modifiedOn: "2014-01-01T05:20:00.12345Z", * priority: 5, * uriSearch: "/some/path", * }); * ``` */ export declare function getZoneLockdownsOutput(args: GetZoneLockdownsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZoneLockdowns. */ export interface GetZoneLockdownsOutputArgs { /** * The timestamp of when the rule was created. */ createdOn?: pulumi.Input; /** * A string to search for in the description of existing rules. */ description?: pulumi.Input; /** * A string to search for in the description of existing rules. */ descriptionSearch?: pulumi.Input; /** * A single IP address to search for in existing rules. */ ip?: pulumi.Input; /** * A single IP address range to search for in existing rules. */ ipRangeSearch?: pulumi.Input; /** * A single IP address to search for in existing rules. */ ipSearch?: pulumi.Input; /** * Max items to fetch, default: 1000 */ maxItems?: pulumi.Input; /** * The timestamp of when the rule was last modified. */ modifiedOn?: pulumi.Input; /** * The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority. */ priority?: pulumi.Input; /** * A single URI to search for in the list of URLs of existing rules. */ uriSearch?: pulumi.Input; /** * Defines an identifier. */ zoneId: pulumi.Input; }