Skip to content

NotificationPolicyBuilder🔗

Constructor🔗

new NotificationPolicyBuilder()

Methods🔗

build🔗

Builds the object.

build()

activeTimeIntervals🔗

activeTimeIntervals(activeTimeIntervals: string[])

continueVal🔗

continueVal(continueVal: boolean)

groupBy🔗

groupBy(groupBy: string[])

groupInterval🔗

groupInterval(groupInterval: string)

groupWait🔗

groupWait(groupWait: string)

match🔗

Deprecated. Remove before v1.0 release.

match(match: Record<string, string>)

matchRe🔗

matchRe(matchRe: alerting.MatchRegexps)

matchers🔗

Matchers is a slice of Matchers that is sortable, implements Stringer, and

provides a Matches method to match a LabelSet against all Matchers in the

slice. Note that some users of Matchers might require it to be sorted.

matchers(matchers: alerting.Matchers)

muteTimeIntervals🔗

muteTimeIntervals(muteTimeIntervals: string[])

objectMatchers🔗

objectMatchers(objectMatchers: alerting.ObjectMatchers)

provenance🔗

provenance(provenance: alerting.Provenance)

receiver🔗

receiver(receiver: string)

repeatInterval🔗

repeatInterval(repeatInterval: string)

routes🔗

routes(routes: cog.Builder<alerting.NotificationPolicy>[])

See also🔗