import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Adds a new contact for a resource. * Auto-naming is currently not supported for this resource. */ export declare class FolderContact extends pulumi.CustomResource { /** * Get an existing FolderContact 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): FolderContact; /** * Returns true if the given object is an instance of FolderContact. 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 FolderContact; /** * The email address to send notifications to. The email address does not need to be a Google Account. */ readonly email: pulumi.Output; readonly folderId: pulumi.Output; /** * The preferred language for notifications, as a ISO 639-1 language code. See [Supported languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) for a list of supported languages. */ readonly languageTag: pulumi.Output; /** * The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id} */ readonly name: pulumi.Output; /** * The categories of notifications that the contact will receive communications for. */ readonly notificationCategorySubscriptions: pulumi.Output; /** * The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago. */ readonly validateTime: pulumi.Output; /** * The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource. */ readonly validationState: pulumi.Output; /** * Create a FolderContact 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: FolderContactArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a FolderContact resource. */ export interface FolderContactArgs { /** * The email address to send notifications to. The email address does not need to be a Google Account. */ email: pulumi.Input; folderId: pulumi.Input; /** * The preferred language for notifications, as a ISO 639-1 language code. See [Supported languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) for a list of supported languages. */ languageTag: pulumi.Input; /** * The categories of notifications that the contact will receive communications for. */ notificationCategorySubscriptions: pulumi.Input[]>; /** * The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago. */ validateTime?: pulumi.Input; /** * The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource. */ validationState?: pulumi.Input; }