import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWebAnalyticsRule = new cloudflare.WebAnalyticsRule("example_web_analytics_rule", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * rulesetId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415", * host: "example.com", * inclusive: true, * isPaused: false, * paths: ["*"], * }); * ``` */ export declare class WebAnalyticsRule extends pulumi.CustomResource { /** * Get an existing WebAnalyticsRule 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?: WebAnalyticsRuleState, opts?: pulumi.CustomResourceOptions): WebAnalyticsRule; /** * Returns true if the given object is an instance of WebAnalyticsRule. 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 WebAnalyticsRule; /** * Identifier. */ readonly accountId: pulumi.Output; readonly created: pulumi.Output; readonly host: pulumi.Output; /** * Whether the rule includes or excludes traffic from being measured. */ readonly inclusive: pulumi.Output; /** * Whether the rule is paused or not. */ readonly isPaused: pulumi.Output; readonly paths: pulumi.Output; readonly priority: pulumi.Output; /** * The Web Analytics ruleset identifier. */ readonly rulesetId: pulumi.Output; /** * Create a WebAnalyticsRule 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: WebAnalyticsRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebAnalyticsRule resources. */ export interface WebAnalyticsRuleState { /** * Identifier. */ accountId?: pulumi.Input; created?: pulumi.Input; host?: pulumi.Input; /** * Whether the rule includes or excludes traffic from being measured. */ inclusive?: pulumi.Input; /** * Whether the rule is paused or not. */ isPaused?: pulumi.Input; paths?: pulumi.Input[]>; priority?: pulumi.Input; /** * The Web Analytics ruleset identifier. */ rulesetId?: pulumi.Input; } /** * The set of arguments for constructing a WebAnalyticsRule resource. */ export interface WebAnalyticsRuleArgs { /** * Identifier. */ accountId: pulumi.Input; host?: pulumi.Input; /** * Whether the rule includes or excludes traffic from being measured. */ inclusive?: pulumi.Input; /** * Whether the rule is paused or not. */ isPaused?: pulumi.Input; paths?: pulumi.Input[]>; /** * The Web Analytics ruleset identifier. */ rulesetId: pulumi.Input; }