import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Alert extends pulumi.CustomResource { /** * Get an existing Alert 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?: AlertState, opts?: pulumi.CustomResourceOptions): Alert; /** * Returns true if the given object is an instance of Alert. 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 Alert; /** * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed. */ readonly channels: pulumi.Output<{ [key: string]: outputs.AlertChannels; }>; /** * An optional description of the alert. */ readonly description: pulumi.Output; /** * Whether the alert is evaluated. Defaults to true. */ readonly enabled: pulumi.Output; /** * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication. */ readonly expiry: pulumi.Output; /** * The name of the alert. */ readonly name: pulumi.Output; /** * The ID of the organization the alert belongs to. Always set, whether the alert is scoped to the organization or to a project, so it is what tells you which organization a project level alert was created under. */ readonly orgId: pulumi.Output; /** * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones. */ readonly projectId: pulumi.Output; /** * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID. */ readonly resourceId: pulumi.Output; /** * The type of the resource to watch. Options: identity.authentication. */ readonly resourceType: pulumi.Output; /** * Create a Alert 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: AlertArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Alert resources. */ export interface AlertState { /** * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed. */ channels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * An optional description of the alert. */ description?: pulumi.Input; /** * Whether the alert is evaluated. Defaults to true. */ enabled?: pulumi.Input; /** * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication. */ expiry?: pulumi.Input; /** * The name of the alert. */ name?: pulumi.Input; /** * The ID of the organization the alert belongs to. Always set, whether the alert is scoped to the organization or to a project, so it is what tells you which organization a project level alert was created under. */ orgId?: pulumi.Input; /** * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones. */ projectId?: pulumi.Input; /** * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID. */ resourceId?: pulumi.Input; /** * The type of the resource to watch. Options: identity.authentication. */ resourceType?: pulumi.Input; } /** * The set of arguments for constructing a Alert resource. */ export interface AlertArgs { /** * The channels the alert is delivered to, keyed by a name of your choosing. The key is what identifies a channel to Terraform and is never sent to Infisical, so renaming a channel updates it in place and it keeps the deliveries it has already made. Changing a key, on the other hand, deletes the channel and creates a new one, so the new channel notifies about everything that is still expiring, even if the old one already did. Each channel carries exactly one configuration block, and that block is what gives the channel its type. At least one and at most 10 channels are allowed. */ channels: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * An optional description of the alert. */ description?: pulumi.Input; /** * Whether the alert is evaluated. Defaults to true. */ enabled?: pulumi.Input; /** * Fires before the watched resource expires. Only for alerts on these resource types: identity.authentication. */ expiry?: pulumi.Input; /** * The name of the alert. */ name?: pulumi.Input; /** * The ID of the project the resource belongs to. Required for project level resources, and must be omitted for organization level ones. */ projectId?: pulumi.Input; /** * The ID of the resource to watch. For the identity.authentication resource type this is a machine identity's ID. */ resourceId: pulumi.Input; /** * The type of the resource to watch. Options: identity.authentication. */ resourceType: pulumi.Input; } //# sourceMappingURL=alert.d.ts.map