import * as pulumi from "@pulumi/pulumi"; /** * Notification Apprise resource. * For more information refer to [Notification](https://wiki.servarr.com/lidarr/settings#connect) and [Apprise](https://wiki.servarr.com/lidarr/supported#apprise). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@maienm/pulumi-lidarr"; * * const example = new lidarr.notifications.Apprise("example", { * authPassword: "Password", * authUsername: "User", * fieldTags: [ * "warning", * "skull", * ], * includeHealthWarnings: false, * notificationType: 1, * onApplicationUpdate: false, * onDownloadFailure: false, * onGrab: false, * onHealthIssue: false, * onImportFailure: true, * onReleaseImport: true, * onUpgrade: true, * serverUrl: "https://apprise.go", * }); * ``` * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import lidarr:Notifications/apprise:Apprise example 1 * ``` */ export declare class Apprise extends pulumi.CustomResource { /** * Get an existing Apprise 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AppriseState, opts?: pulumi.CustomResourceOptions): Apprise; /** * Returns true if the given object is an instance of Apprise. 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 Apprise; /** * Password. */ readonly authPassword: pulumi.Output; /** * Username. */ readonly authUsername: pulumi.Output; /** * Configuration key. */ readonly configurationKey: pulumi.Output; /** * Tags and emojis. */ readonly fieldTags: pulumi.Output; /** * Include health warnings. */ readonly includeHealthWarnings: pulumi.Output; /** * NotificationApprise name. */ readonly name: pulumi.Output; /** * Notification type. `0` Info, `1` Success, `2` Warning, `3` Failure. */ readonly notificationType: pulumi.Output; /** * On album delete flag. */ readonly onAlbumDelete: pulumi.Output; /** * On application update flag. */ readonly onApplicationUpdate: pulumi.Output; /** * On artist delete flag. */ readonly onArtistDelete: pulumi.Output; /** * On download failure flag. */ readonly onDownloadFailure: pulumi.Output; /** * On grab flag. */ readonly onGrab: pulumi.Output; /** * On health issue flag. */ readonly onHealthIssue: pulumi.Output; /** * On health restored flag. */ readonly onHealthRestored: pulumi.Output; /** * On download flag. */ readonly onImportFailure: pulumi.Output; /** * On release import flag. */ readonly onReleaseImport: pulumi.Output; /** * On upgrade flag. */ readonly onUpgrade: pulumi.Output; /** * Server URL. */ readonly serverUrl: pulumi.Output; /** * Stateless URLs. */ readonly statelessUrls: pulumi.Output; /** * List of associated tags. */ readonly tags: pulumi.Output; /** * Create a Apprise 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: AppriseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Apprise resources. */ export interface AppriseState { /** * Password. */ authPassword?: pulumi.Input; /** * Username. */ authUsername?: pulumi.Input; /** * Configuration key. */ configurationKey?: pulumi.Input; /** * Tags and emojis. */ fieldTags?: pulumi.Input[]>; /** * Include health warnings. */ includeHealthWarnings?: pulumi.Input; /** * NotificationApprise name. */ name?: pulumi.Input; /** * Notification type. `0` Info, `1` Success, `2` Warning, `3` Failure. */ notificationType?: pulumi.Input; /** * On album delete flag. */ onAlbumDelete?: pulumi.Input; /** * On application update flag. */ onApplicationUpdate?: pulumi.Input; /** * On artist delete flag. */ onArtistDelete?: pulumi.Input; /** * On download failure flag. */ onDownloadFailure?: pulumi.Input; /** * On grab flag. */ onGrab?: pulumi.Input; /** * On health issue flag. */ onHealthIssue?: pulumi.Input; /** * On health restored flag. */ onHealthRestored?: pulumi.Input; /** * On download flag. */ onImportFailure?: pulumi.Input; /** * On release import flag. */ onReleaseImport?: pulumi.Input; /** * On upgrade flag. */ onUpgrade?: pulumi.Input; /** * Server URL. */ serverUrl?: pulumi.Input; /** * Stateless URLs. */ statelessUrls?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; } /** * The set of arguments for constructing a Apprise resource. */ export interface AppriseArgs { /** * Password. */ authPassword?: pulumi.Input; /** * Username. */ authUsername?: pulumi.Input; /** * Configuration key. */ configurationKey?: pulumi.Input; /** * Tags and emojis. */ fieldTags?: pulumi.Input[]>; /** * Include health warnings. */ includeHealthWarnings?: pulumi.Input; /** * NotificationApprise name. */ name?: pulumi.Input; /** * Notification type. `0` Info, `1` Success, `2` Warning, `3` Failure. */ notificationType?: pulumi.Input; /** * On album delete flag. */ onAlbumDelete?: pulumi.Input; /** * On application update flag. */ onApplicationUpdate?: pulumi.Input; /** * On artist delete flag. */ onArtistDelete?: pulumi.Input; /** * On download failure flag. */ onDownloadFailure?: pulumi.Input; /** * On grab flag. */ onGrab?: pulumi.Input; /** * On health issue flag. */ onHealthIssue?: pulumi.Input; /** * On health restored flag. */ onHealthRestored?: pulumi.Input; /** * On download flag. */ onImportFailure?: pulumi.Input; /** * On release import flag. */ onReleaseImport?: pulumi.Input; /** * On upgrade flag. */ onUpgrade?: pulumi.Input; /** * Server URL. */ serverUrl: pulumi.Input; /** * Stateless URLs. */ statelessUrls?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; }