UNPKG

@maienm/pulumi-lidarr

Version:

A Pulumi package for creating and managing Lidarr resources. Based on terraform-provider-lidarr: version v1.11.0

193 lines (192 loc) 5.07 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Indexers -->Indexer Torrentleech resource. * For more information refer to [Indexer](https://wiki.servarr.com/lidarr/settings#indexers) and [Torrentleech](https://wiki.servarr.com/lidarr/supported#torrentleech). * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import lidarr:Indexers/torrentleech:Torrentleech example 1 * ``` */ export declare class Torrentleech extends pulumi.CustomResource { /** * Get an existing Torrentleech 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<pulumi.ID>, state?: TorrentleechState, opts?: pulumi.CustomResourceOptions): Torrentleech; /** * Returns true if the given object is an instance of Torrentleech. 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 Torrentleech; /** * API key. */ readonly apiKey: pulumi.Output<string>; /** * Base URL. */ readonly baseUrl: pulumi.Output<string>; /** * Discography seed time. */ readonly discographySeedTime: pulumi.Output<number>; /** * Enable automatic search flag. */ readonly enableAutomaticSearch: pulumi.Output<boolean>; /** * Enable interactive search flag. */ readonly enableInteractiveSearch: pulumi.Output<boolean>; /** * Enable RSS flag. */ readonly enableRss: pulumi.Output<boolean>; /** * Minimum seeders. */ readonly minimumSeeders: pulumi.Output<number>; /** * IndexerTorrentleech name. */ readonly name: pulumi.Output<string>; /** * Priority. */ readonly priority: pulumi.Output<number>; /** * Seed ratio. */ readonly seedRatio: pulumi.Output<number>; /** * Seed time. */ readonly seedTime: pulumi.Output<number>; /** * List of associated tags. */ readonly tags: pulumi.Output<number[]>; /** * Create a Torrentleech 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: TorrentleechArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Torrentleech resources. */ export interface TorrentleechState { /** * API key. */ apiKey?: pulumi.Input<string>; /** * Base URL. */ baseUrl?: pulumi.Input<string>; /** * Discography seed time. */ discographySeedTime?: pulumi.Input<number>; /** * Enable automatic search flag. */ enableAutomaticSearch?: pulumi.Input<boolean>; /** * Enable interactive search flag. */ enableInteractiveSearch?: pulumi.Input<boolean>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerTorrentleech name. */ name?: pulumi.Input<string>; /** * Priority. */ priority?: pulumi.Input<number>; /** * Seed ratio. */ seedRatio?: pulumi.Input<number>; /** * Seed time. */ seedTime?: pulumi.Input<number>; /** * List of associated tags. */ tags?: pulumi.Input<pulumi.Input<number>[]>; } /** * The set of arguments for constructing a Torrentleech resource. */ export interface TorrentleechArgs { /** * API key. */ apiKey: pulumi.Input<string>; /** * Base URL. */ baseUrl?: pulumi.Input<string>; /** * Discography seed time. */ discographySeedTime?: pulumi.Input<number>; /** * Enable automatic search flag. */ enableAutomaticSearch?: pulumi.Input<boolean>; /** * Enable interactive search flag. */ enableInteractiveSearch?: pulumi.Input<boolean>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerTorrentleech name. */ name?: pulumi.Input<string>; /** * Priority. */ priority?: pulumi.Input<number>; /** * Seed ratio. */ seedRatio?: pulumi.Input<number>; /** * Seed time. */ seedTime?: pulumi.Input<number>; /** * List of associated tags. */ tags?: pulumi.Input<pulumi.Input<number>[]>; }