import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class CustomAnomalies extends pulumi.CustomResource { /** * Get an existing CustomAnomalies 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?: CustomAnomaliesState, opts?: pulumi.CustomResourceOptions): CustomAnomalies; /** * Returns true if the given object is an instance of CustomAnomalies. 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 CustomAnomalies; /** * How the metric data points are aggregated for the evaluation. The timeseries must support this aggregation */ readonly aggregationType: pulumi.Output; /** * The description of the metric event */ readonly description: pulumi.Output; /** * Defines the dimensions of the metric to alert on. The filters are combined by conjunction */ readonly dimensions: pulumi.Output; /** * The reason of automatic disabling. The `NONE` means config was not disabled automatically. Possible values are `METRIC_DEFINITION_INCONSISTENCY`, `NONE`, `TOO_MANY_DIMS` and `TOPX_FORCIBLY_DEACTIVATED` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ readonly disabledReason: pulumi.Output; /** * The metric event is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * The ID of the metric evaluated by the metric event */ readonly metricId: pulumi.Output; /** * The metric selector that should be executed */ readonly metricSelector: pulumi.Output; /** * The name of the metric event displayed in the UI */ readonly name: pulumi.Output; /** * Defines which dimension key should be used for the **alertingScope** */ readonly primaryDimensionKey: pulumi.Output; /** * Defines the scope of the metric event. Only one filter is allowed per filter type, except for tags, where up to 3 are allowed. The filters are combined by conjunction */ readonly scopes: pulumi.Output; /** * The type of the event to trigger on the threshold violation. The `CUSTOM_ALERT` type is not correlated with other alerts. The `INFO` type does not open a problem */ readonly severity: pulumi.Output; /** * A monitoring strategy for a metric event config. This is the base version of the monitoring strategy, depending on the type, the actual JSON may contain additional fields */ readonly strategy: pulumi.Output; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ readonly unknowns: pulumi.Output; /** * The reason of a warning set on the config. The `NONE` means config has no warnings. The other supported value is `TOO_MANY_DIMS` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ readonly warningReason: pulumi.Output; /** * Create a CustomAnomalies 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: CustomAnomaliesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomAnomalies resources. */ export interface CustomAnomaliesState { /** * How the metric data points are aggregated for the evaluation. The timeseries must support this aggregation */ aggregationType?: pulumi.Input; /** * The description of the metric event */ description?: pulumi.Input; /** * Defines the dimensions of the metric to alert on. The filters are combined by conjunction */ dimensions?: pulumi.Input[]>; /** * The reason of automatic disabling. The `NONE` means config was not disabled automatically. Possible values are `METRIC_DEFINITION_INCONSISTENCY`, `NONE`, `TOO_MANY_DIMS` and `TOPX_FORCIBLY_DEACTIVATED` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ disabledReason?: pulumi.Input; /** * The metric event is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * The ID of the metric evaluated by the metric event */ metricId?: pulumi.Input; /** * The metric selector that should be executed */ metricSelector?: pulumi.Input; /** * The name of the metric event displayed in the UI */ name?: pulumi.Input; /** * Defines which dimension key should be used for the **alertingScope** */ primaryDimensionKey?: pulumi.Input; /** * Defines the scope of the metric event. Only one filter is allowed per filter type, except for tags, where up to 3 are allowed. The filters are combined by conjunction */ scopes?: pulumi.Input[]>; /** * The type of the event to trigger on the threshold violation. The `CUSTOM_ALERT` type is not correlated with other alerts. The `INFO` type does not open a problem */ severity?: pulumi.Input; /** * A monitoring strategy for a metric event config. This is the base version of the monitoring strategy, depending on the type, the actual JSON may contain additional fields */ strategy?: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; /** * The reason of a warning set on the config. The `NONE` means config has no warnings. The other supported value is `TOO_MANY_DIMS` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ warningReason?: pulumi.Input; } /** * The set of arguments for constructing a CustomAnomalies resource. */ export interface CustomAnomaliesArgs { /** * How the metric data points are aggregated for the evaluation. The timeseries must support this aggregation */ aggregationType?: pulumi.Input; /** * The description of the metric event */ description: pulumi.Input; /** * Defines the dimensions of the metric to alert on. The filters are combined by conjunction */ dimensions?: pulumi.Input[]>; /** * The reason of automatic disabling. The `NONE` means config was not disabled automatically. Possible values are `METRIC_DEFINITION_INCONSISTENCY`, `NONE`, `TOO_MANY_DIMS` and `TOPX_FORCIBLY_DEACTIVATED` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ disabledReason?: pulumi.Input; /** * The metric event is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * The ID of the metric evaluated by the metric event */ metricId?: pulumi.Input; /** * The metric selector that should be executed */ metricSelector?: pulumi.Input; /** * The name of the metric event displayed in the UI */ name?: pulumi.Input; /** * Defines which dimension key should be used for the **alertingScope** */ primaryDimensionKey?: pulumi.Input; /** * Defines the scope of the metric event. Only one filter is allowed per filter type, except for tags, where up to 3 are allowed. The filters are combined by conjunction */ scopes?: pulumi.Input[]>; /** * The type of the event to trigger on the threshold violation. The `CUSTOM_ALERT` type is not correlated with other alerts. The `INFO` type does not open a problem */ severity?: pulumi.Input; /** * A monitoring strategy for a metric event config. This is the base version of the monitoring strategy, depending on the type, the actual JSON may contain additional fields */ strategy: pulumi.Input; /** * allows for configuring properties that are not explicitly supported by the current version of this provider */ unknowns?: pulumi.Input; /** * The reason of a warning set on the config. The `NONE` means config has no warnings. The other supported value is `TOO_MANY_DIMS` * * @deprecated This property is not meant to be configured from the outside. It will get removed completely in future versions */ warningReason?: pulumi.Input; }