import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; /** * Provides a Cloudflare Teams Location resource. Teams Locations are referenced * when creating secure web gateway policies. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const corporateOffice = new cloudflare.TeamsLocation("corporate_office", { * accountId: "1d5fdc9e88c8a8c4518b068cd94331fe", * clientDefault: true, * name: "office", * networks: [ * { * network: "203.0.113.1/32", * }, * { * network: "203.0.113.2/32", * }, * ], * }); * ``` * * ## Import * * Teams locations can be imported using a composite ID formed of account ID and teams location ID. * * ```sh * $ pulumi import cloudflare:index/teamsLocation:TeamsLocation corporate_office cb029e245cfdd66dc8d2e570d5dd3322/d41d8cd98f00b204e9800998ecf8427e * ``` */ export declare class TeamsLocation extends pulumi.CustomResource { /** * Get an existing TeamsLocation 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?: TeamsLocationState, opts?: pulumi.CustomResourceOptions): TeamsLocation; /** * Returns true if the given object is an instance of TeamsLocation. 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 TeamsLocation; /** * The account to which the teams location should be added. */ readonly accountId: pulumi.Output; /** * Indicator that anonymized logs are enabled. */ readonly anonymizedLogsEnabled: pulumi.Output; /** * Indicator that this is the default location. */ readonly clientDefault: pulumi.Output; /** * The FQDN that DoH clients should be pointed at. */ readonly dohSubdomain: pulumi.Output; /** * Client IP address */ readonly ip: pulumi.Output; /** * IP to direct all IPv4 DNS queries too. */ readonly ipv4Destination: pulumi.Output; /** * Name of the teams location. */ readonly name: pulumi.Output; /** * The networks CIDRs that comprise the location. */ readonly networks: pulumi.Output; readonly policyIds: pulumi.Output; /** * Create a TeamsLocation 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: TeamsLocationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TeamsLocation resources. */ export interface TeamsLocationState { /** * The account to which the teams location should be added. */ accountId?: pulumi.Input; /** * Indicator that anonymized logs are enabled. */ anonymizedLogsEnabled?: pulumi.Input; /** * Indicator that this is the default location. */ clientDefault?: pulumi.Input; /** * The FQDN that DoH clients should be pointed at. */ dohSubdomain?: pulumi.Input; /** * Client IP address */ ip?: pulumi.Input; /** * IP to direct all IPv4 DNS queries too. */ ipv4Destination?: pulumi.Input; /** * Name of the teams location. */ name?: pulumi.Input; /** * The networks CIDRs that comprise the location. */ networks?: pulumi.Input[]>; policyIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a TeamsLocation resource. */ export interface TeamsLocationArgs { /** * The account to which the teams location should be added. */ accountId: pulumi.Input; /** * Indicator that this is the default location. */ clientDefault?: pulumi.Input; /** * Name of the teams location. */ name: pulumi.Input; /** * The networks CIDRs that comprise the location. */ networks?: pulumi.Input[]>; }