import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * 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. */ export declare class Snooze extends pulumi.CustomResource { /** * Get an existing Snooze 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Snooze; /** * Returns true if the given object is an instance of Snooze. 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 Snooze; /** * This defines the criteria for applying the Snooze. See Criteria for more information. */ readonly criteria: pulumi.Output; /** * A display name for the Snooze. This can be, at most, 512 unicode characters. */ readonly displayName: pulumi.Output; /** * 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. */ readonly interval: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Create a Snooze 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: SnoozeArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Snooze resource. */ export interface SnoozeArgs { /** * This defines the criteria for applying the Snooze. See Criteria for more information. */ criteria: pulumi.Input; /** * A display name for the Snooze. This can be, at most, 512 unicode characters. */ displayName: pulumi.Input; /** * 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. */ interval: pulumi.Input; /** * 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. */ name?: pulumi.Input; project?: pulumi.Input; }