interface NotificationRuleBase {
    createdAt?: string;
    description?: string;
    endpointID: string;
    every?: string;
    id?: string;
    labels?: Labels;
    lastRunError?: string;
    lastRunStatus?: "failed" | "success" | "canceled";
    latestCompleted?: string;
    limit?: number;
    limitEvery?: number;
    links?: {
        labels?: string;
        members?: string;
        owners?: string;
        query?: string;
        self?: string;
    };
    name: string;
    offset?: string;
    orgID: string;
    ownerID?: string;
    runbookLink?: string;
    sleepUntil?: string;
    status: TaskStatusType;
    statusRules: StatusRule[];
    tagRules?: TagRule[];
    taskID?: string;
    updatedAt?: string;
}

Properties

createdAt?: string
description?: string

An optional description of the notification rule.

endpointID: string
every?: string

The notification repetition interval.

id?: string
labels?: Labels
lastRunError?: string
lastRunStatus?: "failed" | "success" | "canceled"
latestCompleted?: string

A timestamp (RFC3339 date/time format) of the latest scheduled and completed run.

limit?: number

Don't notify me more than times every seconds. If set, limitEvery cannot be empty.

limitEvery?: number

Don't notify me more than times every seconds. If set, limit cannot be empty.

links?: {
    labels?: string;
    members?: string;
    owners?: string;
    query?: string;
    self?: string;
}

Type declaration

  • Optionallabels?: string

    URL to retrieve labels for this notification rule.

  • Optionalmembers?: string

    URL to retrieve members for this notification rule.

  • Optionalowners?: string

    URL to retrieve owners for this notification rule.

  • Optionalquery?: string

    URL to retrieve flux script for this notification rule.

  • Optionalself?: string

    URL for this endpoint.

name: string

Human-readable name describing the notification rule.

offset?: string

Duration to delay after the schedule, before executing check.

orgID: string

The ID of the organization that owns this notification rule.

ownerID?: string

The ID of creator used to create this notification rule.

runbookLink?: string
sleepUntil?: string
statusRules: StatusRule[]

List of status rules the notification rule attempts to match.

tagRules?: TagRule[]

List of tag rules the notification rule attempts to match.

taskID?: string

The ID of the task associated with this notification rule.

updatedAt?: string
MMNEPVFCICPMFPCPTTAAATR