SnoozeArgs

data class SnoozeArgs(val criteria: Output<CriteriaArgs>? = null, val displayName: Output<String>? = null, val interval: Output<TimeIntervalArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<SnoozeArgs>

Creates a Snooze that will prevent alerts, which match the provided criteria, from being opened. The Snooze applies for a specific time interval. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun SnoozeArgs(criteria: Output<CriteriaArgs>? = null, displayName: Output<String>? = null, interval: Output<TimeIntervalArgs>? = null, name: Output<String>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SnoozeArgs

Properties

Link copied to clipboard
val criteria: Output<CriteriaArgs>? = null

This defines the criteria for applying the Snooze. See Criteria for more information.

Link copied to clipboard
val displayName: Output<String>? = null

A display name for the Snooze. This can be, at most, 512 unicode characters.

Link copied to clipboard
val interval: Output<TimeIntervalArgs>? = null

The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.

Link copied to clipboard
val name: Output<String>? = null

The name of the Snooze. The format is: projects/PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_ID The ID of the Snooze will be generated by the system.

Link copied to clipboard
val project: Output<String>? = null