import * as pulumi from "@pulumi/pulumi"; /** * > **WARNING:** This resource is deprecated and will be removed in the next major version. Use the `sentry.SentryIssueAlert` resource instead. */ export declare class SentryRule extends pulumi.CustomResource { /** * Get an existing SentryRule 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?: SentryRuleState, opts?: pulumi.CustomResourceOptions): SentryRule; /** * Returns true if the given object is an instance of SentryRule. 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 SentryRule; /** * Trigger actions when an event is captured by Sentry and `any` or `all` of the specified conditions happen. */ readonly actionMatch: pulumi.Output; /** * List of actions. */ readonly actions: pulumi.Output<{ [key: string]: string; }[]>; /** * List of conditions. */ readonly conditions: pulumi.Output<{ [key: string]: string; }[]>; /** * Perform issue alert in a specific environment. */ readonly environment: pulumi.Output; /** * Trigger actions if `all`, `any`, or `none` of the specified filters match. */ readonly filterMatch: pulumi.Output; /** * List of filters. */ readonly filters: pulumi.Output<{ [key: string]: string; }[] | undefined>; /** * Perform actions at most once every `X` minutes for this issue. Defaults to `30`. */ readonly frequency: pulumi.Output; /** * The internal ID for this issue alert. */ readonly internalId: pulumi.Output; /** * The issue alert name. */ readonly name: pulumi.Output; /** * The slug of the organization the issue alert belongs to. */ readonly organization: pulumi.Output; /** * The slug of the project to create the issue alert for. */ readonly project: pulumi.Output; /** * Use `project` (singular) instead. * * @deprecated Use `project` (singular) instead. */ readonly projects: pulumi.Output; /** * Create a SentryRule 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: SentryRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SentryRule resources. */ export interface SentryRuleState { /** * Trigger actions when an event is captured by Sentry and `any` or `all` of the specified conditions happen. */ actionMatch?: pulumi.Input; /** * List of actions. */ actions?: pulumi.Input; }>[]>; /** * List of conditions. */ conditions?: pulumi.Input; }>[]>; /** * Perform issue alert in a specific environment. */ environment?: pulumi.Input; /** * Trigger actions if `all`, `any`, or `none` of the specified filters match. */ filterMatch?: pulumi.Input; /** * List of filters. */ filters?: pulumi.Input; }>[]>; /** * Perform actions at most once every `X` minutes for this issue. Defaults to `30`. */ frequency?: pulumi.Input; /** * The internal ID for this issue alert. */ internalId?: pulumi.Input; /** * The issue alert name. */ name?: pulumi.Input; /** * The slug of the organization the issue alert belongs to. */ organization?: pulumi.Input; /** * The slug of the project to create the issue alert for. */ project?: pulumi.Input; /** * Use `project` (singular) instead. * * @deprecated Use `project` (singular) instead. */ projects?: pulumi.Input[]>; } /** * The set of arguments for constructing a SentryRule resource. */ export interface SentryRuleArgs { /** * Trigger actions when an event is captured by Sentry and `any` or `all` of the specified conditions happen. */ actionMatch: pulumi.Input; /** * List of actions. */ actions: pulumi.Input; }>[]>; /** * List of conditions. */ conditions: pulumi.Input; }>[]>; /** * Perform issue alert in a specific environment. */ environment?: pulumi.Input; /** * Trigger actions if `all`, `any`, or `none` of the specified filters match. */ filterMatch: pulumi.Input; /** * List of filters. */ filters?: pulumi.Input; }>[]>; /** * Perform actions at most once every `X` minutes for this issue. Defaults to `30`. */ frequency: pulumi.Input; /** * The issue alert name. */ name?: pulumi.Input; /** * The slug of the organization the issue alert belongs to. */ organization: pulumi.Input; /** * The slug of the project to create the issue alert for. */ project: pulumi.Input; }