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 = cloudflare.getWebAnalyticsSite({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * siteId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getWebAnalyticsSite(args: GetWebAnalyticsSiteArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWebAnalyticsSite. */ export interface GetWebAnalyticsSiteArgs { /** * Identifier. */ accountId: string; filter?: inputs.GetWebAnalyticsSiteFilter; /** * Identifier. */ siteId?: string; } /** * A collection of values returned by getWebAnalyticsSite. */ export interface GetWebAnalyticsSiteResult { /** * Identifier. */ readonly accountId: string; /** * If enabled, the JavaScript snippet is automatically injected for orange-clouded sites. */ readonly autoInstall: boolean; readonly created: string; readonly filter?: outputs.GetWebAnalyticsSiteFilter; /** * Identifier. */ readonly id: string; /** * A list of rules. */ readonly rules: outputs.GetWebAnalyticsSiteRule[]; readonly ruleset: outputs.GetWebAnalyticsSiteRuleset; /** * Identifier. */ readonly siteId?: string; /** * The Web Analytics site identifier. */ readonly siteTag: string; /** * The Web Analytics site token. */ readonly siteToken: string; /** * Encoded JavaScript snippet. */ readonly snippet: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWebAnalyticsSite = cloudflare.getWebAnalyticsSite({ * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * siteId: "023e105f4ecef8ad9ca31a8372d0c353", * }); * ``` */ export declare function getWebAnalyticsSiteOutput(args: GetWebAnalyticsSiteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWebAnalyticsSite. */ export interface GetWebAnalyticsSiteOutputArgs { /** * Identifier. */ accountId: pulumi.Input; filter?: pulumi.Input; /** * Identifier. */ siteId?: pulumi.Input; }