import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class UserSessionMetrics extends pulumi.CustomResource { /** * Get an existing UserSessionMetrics 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?: UserSessionMetricsState, opts?: pulumi.CustomResourceOptions): UserSessionMetrics; /** * Returns true if the given object is an instance of UserSessionMetrics. 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 UserSessionMetrics; /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "browserFamily", "userType", "country". For example, using "userType" as a dimension allows you to split chart data based on user types. */ readonly dimensions: pulumi.Output; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * Defines the filters for the user session. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "userType equals REAL_USER" will give you only data from real users, while forcing the synthetic sessions to be ignored. */ readonly filters: pulumi.Output; /** * Metric key */ readonly metricKey: pulumi.Output; /** * Defines the type of value to be extracted from the user session. When using **User session counter**, the number of user sessions is counted (similar to count(*) when using USQL). When using **User session field value**, the value of a user session field is extracted. */ readonly value: pulumi.Output; /** * Create a UserSessionMetrics 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: UserSessionMetricsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UserSessionMetrics resources. */ export interface UserSessionMetricsState { /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "browserFamily", "userType", "country". For example, using "userType" as a dimension allows you to split chart data based on user types. */ dimensions?: pulumi.Input[]>; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * Defines the filters for the user session. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "userType equals REAL_USER" will give you only data from real users, while forcing the synthetic sessions to be ignored. */ filters?: pulumi.Input; /** * Metric key */ metricKey?: pulumi.Input; /** * Defines the type of value to be extracted from the user session. When using **User session counter**, the number of user sessions is counted (similar to count(*) when using USQL). When using **User session field value**, the value of a user session field is extracted. */ value?: pulumi.Input; } /** * The set of arguments for constructing a UserSessionMetrics resource. */ export interface UserSessionMetricsArgs { /** * Defines the fields that are used as dimensions. A dimension is a collection of reference information about a metric data point that is of interest to your business. Dimensions are parameters like "browserFamily", "userType", "country". For example, using "userType" as a dimension allows you to split chart data based on user types. */ dimensions?: pulumi.Input[]>; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * Defines the filters for the user session. Filters apply at the moment of extracting the data and only sessions that satisfy the filtering criteria will be used to extract the custom metrics. You will not be able to modify these filters in the metric data explorer. For example, using "userType equals REAL_USER" will give you only data from real users, while forcing the synthetic sessions to be ignored. */ filters?: pulumi.Input; /** * Metric key */ metricKey: pulumi.Input; /** * Defines the type of value to be extracted from the user session. When using **User session counter**, the number of user sessions is counted (similar to count(*) when using USQL). When using **User session field value**, the value of a user session field is extracted. */ value: pulumi.Input; }