import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * rootly.AlertGroup can be imported using the `import` command. * * ```sh * $ pulumi import rootly:index/alertGroup:AlertGroup primary a816421c-6ceb-481a-87c4-585e47451f24 * ``` * * Or using an `import` block. * * Locate the resource id in the web app, or retrieve it by listing resources through the API if it's not visible in the web app. * * HCL can be generated from the import block using the `-generate-config-out` flag. * * ```sh * pulumi preview -generate-config-out=generated.tf * ``` */ export declare class AlertGroup extends pulumi.CustomResource { /** * Get an existing AlertGroup 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?: AlertGroupState, opts?: pulumi.CustomResourceOptions): AlertGroup; /** * Returns true if the given object is an instance of AlertGroup. 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 AlertGroup; /** * This field is deprecated. Please use the `conditions` field instead, `attributes` will be removed in the future. */ readonly attributes: pulumi.Output; /** * Grouping condition for the alert group */ readonly conditionType: pulumi.Output; /** * The conditions for the alert group */ readonly conditions: pulumi.Output; /** * Date or deletion */ readonly deletedAt: pulumi.Output; /** * The description of the alert group */ readonly description: pulumi.Output; /** * [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ readonly groupByAlertTitle: pulumi.Output; /** * [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ readonly groupByAlertUrgency: pulumi.Output; /** * The name of the alert group */ readonly name: pulumi.Output; /** * [DEPRECATED] The slug of the alert group. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ readonly slug: pulumi.Output; readonly targets: pulumi.Output; /** * Time window for the alert grouping */ readonly timeWindow: pulumi.Output; /** * Create a AlertGroup 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?: AlertGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AlertGroup resources. */ export interface AlertGroupState { /** * This field is deprecated. Please use the `conditions` field instead, `attributes` will be removed in the future. */ attributes?: pulumi.Input[] | undefined>; /** * Grouping condition for the alert group */ conditionType?: pulumi.Input; /** * The conditions for the alert group */ conditions?: pulumi.Input[] | undefined>; /** * Date or deletion */ deletedAt?: pulumi.Input; /** * The description of the alert group */ description?: pulumi.Input; /** * [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ groupByAlertTitle?: pulumi.Input; /** * [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ groupByAlertUrgency?: pulumi.Input; /** * The name of the alert group */ name?: pulumi.Input; /** * [DEPRECATED] The slug of the alert group. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; targets?: pulumi.Input[] | undefined>; /** * Time window for the alert grouping */ timeWindow?: pulumi.Input; } /** * The set of arguments for constructing a AlertGroup resource. */ export interface AlertGroupArgs { /** * This field is deprecated. Please use the `conditions` field instead, `attributes` will be removed in the future. */ attributes?: pulumi.Input[] | undefined>; /** * Grouping condition for the alert group */ conditionType?: pulumi.Input; /** * The conditions for the alert group */ conditions?: pulumi.Input[] | undefined>; /** * Date or deletion */ deletedAt?: pulumi.Input; /** * The description of the alert group */ description?: pulumi.Input; /** * [DEPRECATED] Whether the alerts are grouped by title or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ groupByAlertTitle?: pulumi.Input; /** * [DEPRECATED] Whether the alerts are grouped by urgency or not. This field is deprecated. Please use the `conditions` field with advanced alert grouping instead.. Value must be one of true or false * * @deprecated This field is deprecated. Please use the `conditions` field with advanced alert grouping instead. */ groupByAlertUrgency?: pulumi.Input; /** * The name of the alert group */ name?: pulumi.Input; /** * [DEPRECATED] The slug of the alert group. Derived from `name`; any configured value is ignored. * * @deprecated `slug` is derived from `name` and any configured value is ignored. It will become read-only in the next major version; remove it from your configuration. */ slug?: pulumi.Input; targets?: pulumi.Input[] | undefined>; /** * Time window for the alert grouping */ timeWindow?: pulumi.Input; } //# sourceMappingURL=alertGroup.d.ts.map