import * as pulumi from "@pulumi/pulumi"; /** * Import List Spotify Playlist resource. * For more information refer to [Import List](https://wiki.servarr.com/lidarr/settings#import-lists) and [Spotify Playlists](https://wiki.servarr.com/lidarr/supported#spotifyplaylist). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@maienm/pulumi-lidarr"; * * const example = new lidarr.importlists.SpotifyPlaylists("example", { * accessToken: "accessToken", * enableAutomaticAdd: false, * expires: "0001-01-01T00:01:00Z", * metadataProfileId: 1, * monitorNewItems: "all", * playlistIds: [ * "play1", * "play2", * ], * qualityProfileId: 1, * refreshToken: "refreshToken", * rootFolderPath: "/config", * shouldMonitor: "specificAlbum", * shouldSearch: false, * }); * ``` * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import lidarr:ImportLists/spotifyPlaylists:SpotifyPlaylists example 1 * ``` */ export declare class SpotifyPlaylists extends pulumi.CustomResource { /** * Get an existing SpotifyPlaylists 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?: SpotifyPlaylistsState, opts?: pulumi.CustomResourceOptions): SpotifyPlaylists; /** * Returns true if the given object is an instance of SpotifyPlaylists. 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 SpotifyPlaylists; /** * Access token. */ readonly accessToken: pulumi.Output; /** * Enable automatic add flag. */ readonly enableAutomaticAdd: pulumi.Output; /** * Expires. */ readonly expires: pulumi.Output; /** * List order. */ readonly listOrder: pulumi.Output; /** * Metadata profile ID. */ readonly metadataProfileId: pulumi.Output; /** * Monitor new items. */ readonly monitorNewItems: pulumi.Output; /** * Import List name. */ readonly name: pulumi.Output; /** * Playlist IDs. */ readonly playlistIds: pulumi.Output; /** * Quality profile ID. */ readonly qualityProfileId: pulumi.Output; /** * Refresh token. */ readonly refreshToken: pulumi.Output; /** * Root folder path. */ readonly rootFolderPath: pulumi.Output; /** * Should monitor. */ readonly shouldMonitor: pulumi.Output; /** * Should monitor existing flag. */ readonly shouldMonitorExisting: pulumi.Output; /** * Should search flag. */ readonly shouldSearch: pulumi.Output; /** * List of associated tags. */ readonly tags: pulumi.Output; /** * Create a SpotifyPlaylists 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: SpotifyPlaylistsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpotifyPlaylists resources. */ export interface SpotifyPlaylistsState { /** * Access token. */ accessToken?: pulumi.Input; /** * Enable automatic add flag. */ enableAutomaticAdd?: pulumi.Input; /** * Expires. */ expires?: pulumi.Input; /** * List order. */ listOrder?: pulumi.Input; /** * Metadata profile ID. */ metadataProfileId?: pulumi.Input; /** * Monitor new items. */ monitorNewItems?: pulumi.Input; /** * Import List name. */ name?: pulumi.Input; /** * Playlist IDs. */ playlistIds?: pulumi.Input[]>; /** * Quality profile ID. */ qualityProfileId?: pulumi.Input; /** * Refresh token. */ refreshToken?: pulumi.Input; /** * Root folder path. */ rootFolderPath?: pulumi.Input; /** * Should monitor. */ shouldMonitor?: pulumi.Input; /** * Should monitor existing flag. */ shouldMonitorExisting?: pulumi.Input; /** * Should search flag. */ shouldSearch?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; } /** * The set of arguments for constructing a SpotifyPlaylists resource. */ export interface SpotifyPlaylistsArgs { /** * Access token. */ accessToken: pulumi.Input; /** * Enable automatic add flag. */ enableAutomaticAdd?: pulumi.Input; /** * Expires. */ expires: pulumi.Input; /** * List order. */ listOrder?: pulumi.Input; /** * Metadata profile ID. */ metadataProfileId?: pulumi.Input; /** * Monitor new items. */ monitorNewItems?: pulumi.Input; /** * Import List name. */ name?: pulumi.Input; /** * Playlist IDs. */ playlistIds: pulumi.Input[]>; /** * Quality profile ID. */ qualityProfileId?: pulumi.Input; /** * Refresh token. */ refreshToken: pulumi.Input; /** * Root folder path. */ rootFolderPath?: pulumi.Input; /** * Should monitor. */ shouldMonitor?: pulumi.Input; /** * Should monitor existing flag. */ shouldMonitorExisting?: pulumi.Input; /** * Should search flag. */ shouldSearch?: pulumi.Input; /** * List of associated tags. */ tags?: pulumi.Input[]>; }