import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWebAnalyticsSite = new cloudflare.WebAnalyticsSite("example_web_analytics_site", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * autoInstall: true, * host: "example.com", * zoneTag: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/webAnalyticsSite:WebAnalyticsSite example '/' * ``` */ export declare class WebAnalyticsSite extends pulumi.CustomResource { /** * Get an existing WebAnalyticsSite 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?: WebAnalyticsSiteState, opts?: pulumi.CustomResourceOptions): WebAnalyticsSite; /** * Returns true if the given object is an instance of WebAnalyticsSite. 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 WebAnalyticsSite; /** * Identifier. */ readonly accountId: pulumi.Output; /** * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites. */ readonly autoInstall: pulumi.Output; readonly created: pulumi.Output; /** * Enables or disables RUM. This option can be used only when autoInstall is set to true. */ readonly enabled: pulumi.Output; /** * The hostname to use for gray-clouded sites. */ readonly host: pulumi.Output; /** * If enabled, the JavaScript snippet will not be injected for visitors from the EU. */ readonly lite: pulumi.Output; /** * A list of rules. */ readonly rules: pulumi.Output; readonly ruleset: pulumi.Output; /** * The Web Analytics site identifier. */ readonly siteTag: pulumi.Output; /** * The Web Analytics site token. */ readonly siteToken: pulumi.Output; /** * Encoded JavaScript snippet. */ readonly snippet: pulumi.Output; /** * The zone identifier. */ readonly zoneTag: pulumi.Output; /** * Create a WebAnalyticsSite 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: WebAnalyticsSiteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebAnalyticsSite resources. */ export interface WebAnalyticsSiteState { /** * Identifier. */ accountId?: pulumi.Input; /** * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites. */ autoInstall?: pulumi.Input; created?: pulumi.Input; /** * Enables or disables RUM. This option can be used only when autoInstall is set to true. */ enabled?: pulumi.Input; /** * The hostname to use for gray-clouded sites. */ host?: pulumi.Input; /** * If enabled, the JavaScript snippet will not be injected for visitors from the EU. */ lite?: pulumi.Input; /** * A list of rules. */ rules?: pulumi.Input[]>; ruleset?: pulumi.Input; /** * The Web Analytics site identifier. */ siteTag?: pulumi.Input; /** * The Web Analytics site token. */ siteToken?: pulumi.Input; /** * Encoded JavaScript snippet. */ snippet?: pulumi.Input; /** * The zone identifier. */ zoneTag?: pulumi.Input; } /** * The set of arguments for constructing a WebAnalyticsSite resource. */ export interface WebAnalyticsSiteArgs { /** * Identifier. */ accountId: pulumi.Input; /** * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites. */ autoInstall?: pulumi.Input; /** * Enables or disables RUM. This option can be used only when autoInstall is set to true. */ enabled?: pulumi.Input; /** * The hostname to use for gray-clouded sites. */ host?: pulumi.Input; /** * If enabled, the JavaScript snippet will not be injected for visitors from the EU. */ lite?: pulumi.Input; /** * The zone identifier. */ zoneTag?: pulumi.Input; }