import * as pulumi from "@pulumi/pulumi"; /** * Notification Plex resource. * For more information refer to [Notification](https://wiki.servarr.com/lidarr/settings#connect) and [Plex](https://wiki.servarr.com/lidarr/supported#plexserver). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@maienm/pulumi-lidarr"; * * const example = new lidarr.notifications.Plex("example", { * authToken: "AuthTOKEN", * host: "plex.lcl", * onReleaseImport: true, * onRename: false, * onTrackRetag: false, * onUpgrade: true, * port: 32400, * }); * ``` * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import lidarr:Notifications/plex:Plex example 1 * ``` */ export declare class Plex extends pulumi.CustomResource { /** * Get an existing Plex 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?: PlexState, opts?: pulumi.CustomResourceOptions): Plex; /** * Returns true if the given object is an instance of Plex. 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 Plex; /** * Auth Token. */ readonly authToken: pulumi.Output; /** * Host. */ readonly host: pulumi.Output; /** * NotificationPlex name. */ readonly name: pulumi.Output; /** * On album delete flag. */ readonly onAlbumDelete: pulumi.Output; /** * On artist delete flag. */ readonly onArtistDelete: pulumi.Output; /** * On release import flag. */ readonly onReleaseImport: pulumi.Output; /** * On rename flag. */ readonly onRename: pulumi.Output; /** * On track retag flag. */ readonly onTrackRetag: pulumi.Output; /** * On upgrade flag. */ readonly onUpgrade: pulumi.Output; /** * Port. */ readonly port: pulumi.Output; /** * List of associated tags. */ readonly tags: pulumi.Output; /** * Update library flag. */ readonly updateLibrary: pulumi.Output; /** * Use SSL flag. */ readonly useSsl: pulumi.Output; /** * Create a Plex 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: PlexArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Plex resources. */ export interface PlexState { /** * Auth Token. */ authToken?: pulumi.Input; /** * Host. */ host?: pulumi.Input; /** * NotificationPlex name. */ name?: pulumi.Input; /** * On album delete flag. */ onAlbumDelete?: pulumi.Input; /** * On artist delete flag. */ onArtistDelete?: pulumi.Input; /** * On release import flag. */ onReleaseImport?: pulumi.Input; /** * On rename flag. */ onRename?: pulumi.Input; /** * On track retag flag. */ onTrackRetag?: pulumi.Input; /** * On upgrade flag. */ onUpgrade?: pulumi.Input; /** * Port. */ port?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; /** * Update library flag. */ updateLibrary?: pulumi.Input; /** * Use SSL flag. */ useSsl?: pulumi.Input; } /** * The set of arguments for constructing a Plex resource. */ export interface PlexArgs { /** * Auth Token. */ authToken: pulumi.Input; /** * Host. */ host: pulumi.Input; /** * NotificationPlex name. */ name?: pulumi.Input; /** * On album delete flag. */ onAlbumDelete?: pulumi.Input; /** * On artist delete flag. */ onArtistDelete?: pulumi.Input; /** * On release import flag. */ onReleaseImport?: pulumi.Input; /** * On rename flag. */ onRename?: pulumi.Input; /** * On track retag flag. */ onTrackRetag?: pulumi.Input; /** * On upgrade flag. */ onUpgrade?: pulumi.Input; /** * Port. */ port?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; /** * Update library flag. */ updateLibrary?: pulumi.Input; /** * Use SSL flag. */ useSsl?: pulumi.Input; }