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/list:List example '/' * ``` */ export declare class List extends pulumi.CustomResource { /** * Get an existing List 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?: ListState, opts?: pulumi.CustomResourceOptions): List; /** * Returns true if the given object is an instance of List. 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 List; /** * The Account ID for this resource. */ readonly accountId: pulumi.Output; /** * The RFC 3339 timestamp of when the list was created. */ readonly createdOn: pulumi.Output; /** * An informative summary of the list. */ readonly description: pulumi.Output; /** * The items in the list. If set, this overwrites all items in the list. Do not use with `cloudflare.ListItem`. */ readonly items: pulumi.Output; /** * The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects). * Available values: "ip", "redirect", "hostname", "asn". */ readonly kind: pulumi.Output; /** * The RFC 3339 timestamp of when the list was last modified. */ readonly modifiedOn: pulumi.Output; /** * An informative name for the list. Use this name in filter and rule expressions. */ readonly name: pulumi.Output; /** * The number of items in the list. */ readonly numItems: pulumi.Output; /** * The number of [filters](https://www.terraform.io/api/resources/filters/) referencing the list. */ readonly numReferencingFilters: pulumi.Output; /** * Create a List 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: ListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering List resources. */ export interface ListState { /** * The Account ID for this resource. */ accountId?: pulumi.Input; /** * The RFC 3339 timestamp of when the list was created. */ createdOn?: pulumi.Input; /** * An informative summary of the list. */ description?: pulumi.Input; /** * The items in the list. If set, this overwrites all items in the list. Do not use with `cloudflare.ListItem`. */ items?: pulumi.Input[]>; /** * The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects). * Available values: "ip", "redirect", "hostname", "asn". */ kind?: pulumi.Input; /** * The RFC 3339 timestamp of when the list was last modified. */ modifiedOn?: pulumi.Input; /** * An informative name for the list. Use this name in filter and rule expressions. */ name?: pulumi.Input; /** * The number of items in the list. */ numItems?: pulumi.Input; /** * The number of [filters](https://www.terraform.io/api/resources/filters/) referencing the list. */ numReferencingFilters?: pulumi.Input; } /** * The set of arguments for constructing a List resource. */ export interface ListArgs { /** * The Account ID for this resource. */ accountId: pulumi.Input; /** * An informative summary of the list. */ description?: pulumi.Input; /** * The items in the list. If set, this overwrites all items in the list. Do not use with `cloudflare.ListItem`. */ items?: pulumi.Input[]>; /** * The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects). * Available values: "ip", "redirect", "hostname", "asn". */ kind: pulumi.Input; /** * An informative name for the list. Use this name in filter and rule expressions. */ name: pulumi.Input; }