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 exampleListItems = cloudflare.getListItems({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * listId: "2c0fc9fa937b11eaa1b71c4d701ab86e", * perPage: 1, * search: "1.1.1.", * }); * ``` */ export declare function getListItems(args: GetListItemsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getListItems. */ export interface GetListItemsArgs { /** * The Account ID for this resource. */ accountId: string; /** * The unique ID of the list. */ listId: string; /** * Max items to fetch, default: 1000 */ maxItems?: number; /** * Amount of results to include in each paginated response. A non-negative 32 bit integer. */ perPage?: number; /** * A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly. */ search?: string; } /** * A collection of values returned by getListItems. */ export interface GetListItemsResult { /** * The Account ID for this resource. */ readonly accountId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The unique ID of the list. */ readonly listId: string; /** * Max items to fetch, default: 1000 */ readonly maxItems?: number; /** * Amount of results to include in each paginated response. A non-negative 32 bit integer. */ readonly perPage?: number; /** * The items returned by the data source */ readonly results: outputs.GetListItemsResult[]; /** * A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly. */ readonly search?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleListItems = cloudflare.getListItems({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * listId: "2c0fc9fa937b11eaa1b71c4d701ab86e", * perPage: 1, * search: "1.1.1.", * }); * ``` */ export declare function getListItemsOutput(args: GetListItemsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getListItems. */ export interface GetListItemsOutputArgs { /** * The Account ID for this resource. */ accountId: pulumi.Input; /** * The unique ID of the list. */ listId: pulumi.Input; /** * Max items to fetch, default: 1000 */ maxItems?: pulumi.Input; /** * Amount of results to include in each paginated response. A non-negative 32 bit integer. */ perPage?: pulumi.Input; /** * A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly. */ search?: pulumi.Input; }