import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog On-Call user notification rule resource. */ export declare class OnCallUserNotificationRule extends pulumi.CustomResource { /** * Get an existing OnCallUserNotificationRule 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?: OnCallUserNotificationRuleState, opts?: pulumi.CustomResourceOptions): OnCallUserNotificationRule; /** * Returns true if the given object is an instance of OnCallUserNotificationRule. 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 OnCallUserNotificationRule; /** * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`. */ readonly category: pulumi.Output; /** * ID of the notification channel to associate the notification rule with. */ readonly channelId: pulumi.Output; /** * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation. */ readonly delayMinutes: pulumi.Output; readonly phone: pulumi.Output; /** * ID of the user to associate the notification rule with. */ readonly userId: pulumi.Output; /** * Create a OnCallUserNotificationRule 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: OnCallUserNotificationRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OnCallUserNotificationRule resources. */ export interface OnCallUserNotificationRuleState { /** * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`. */ category?: pulumi.Input; /** * ID of the notification channel to associate the notification rule with. */ channelId?: pulumi.Input; /** * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation. */ delayMinutes?: pulumi.Input; phone?: pulumi.Input; /** * ID of the user to associate the notification rule with. */ userId?: pulumi.Input; } /** * The set of arguments for constructing a OnCallUserNotificationRule resource. */ export interface OnCallUserNotificationRuleArgs { /** * Notification category to associate the rule with. Valid values are `highUrgency`, `lowUrgency`. */ category: pulumi.Input; /** * ID of the notification channel to associate the notification rule with. */ channelId: pulumi.Input; /** * Number of minutes to elapse before this rule is evaluated. `0` indicates immediate evaluation. */ delayMinutes: pulumi.Input; phone?: pulumi.Input; /** * ID of the user to associate the notification rule with. */ userId: pulumi.Input; }