import * as pulumi from "@pulumi/pulumi"; /** * Provides a Cloudflare Teams List resource. Teams lists are referenced when creating secure web gateway policies or device posture rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const corporateDevices = new cloudflare.TeamsList("corporate_devices", { * accountId: "1d5fdc9e88c8a8c4518b068cd94331fe", * description: "Serial numbers for all corporate devices.", * items: [ * "8GE8721REF", * "5RE8543EGG", * "1YE2880LNP", * ], * name: "Corporate devices", * type: "SERIAL", * }); * ``` * * ## Import * * Teams lists can be imported using a composite ID formed of account ID and teams list ID. * * ```sh * $ pulumi import cloudflare:index/teamsList:TeamsList corporate_devices cb029e245cfdd66dc8d2e570d5dd3322/d41d8cd98f00b204e9800998ecf8427e * ``` */ export declare class TeamsList extends pulumi.CustomResource { /** * Get an existing TeamsList 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?: TeamsListState, opts?: pulumi.CustomResourceOptions): TeamsList; /** * Returns true if the given object is an instance of TeamsList. 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 TeamsList; /** * The account to which the teams list should be added. */ readonly accountId: pulumi.Output; /** * The description of the teams list. */ readonly description: pulumi.Output; /** * The items of the teams list. */ readonly items: pulumi.Output; /** * Name of the teams list. */ readonly name: pulumi.Output; /** * The teams list type. Valid values are `IP`, `SERIAL`, `URL`, `DOMAIN`, and `EMAIL`. */ readonly type: pulumi.Output; /** * Create a TeamsList 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: TeamsListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TeamsList resources. */ export interface TeamsListState { /** * The account to which the teams list should be added. */ accountId?: pulumi.Input; /** * The description of the teams list. */ description?: pulumi.Input; /** * The items of the teams list. */ items?: pulumi.Input[]>; /** * Name of the teams list. */ name?: pulumi.Input; /** * The teams list type. Valid values are `IP`, `SERIAL`, `URL`, `DOMAIN`, and `EMAIL`. */ type?: pulumi.Input; } /** * The set of arguments for constructing a TeamsList resource. */ export interface TeamsListArgs { /** * The account to which the teams list should be added. */ accountId: pulumi.Input; /** * The description of the teams list. */ description?: pulumi.Input; /** * The items of the teams list. */ items?: pulumi.Input[]>; /** * Name of the teams list. */ name: pulumi.Input; /** * The teams list type. Valid values are `IP`, `SERIAL`, `URL`, `DOMAIN`, and `EMAIL`. */ type: pulumi.Input; }