UNPKG

@maienm/pulumi-lidarr

Version:

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

158 lines (157 loc) 4.19 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Indexers -->Indexer IP Torrents resource. * For more information refer to [Indexer](https://wiki.servarr.com/lidarr/settings#indexers) and [IP Torrents](https://wiki.servarr.com/lidarr/supported#iptorrents). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@maienm/pulumi-lidarr"; * * const example = new lidarr.indexers.Iptorrents("example", { * baseUrl: "https://iptorrent.io", * enableRss: true, * minimumSeeders: 1, * }); * ``` * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import lidarr:Indexers/iptorrents:Iptorrents example 1 * ``` */ export declare class Iptorrents extends pulumi.CustomResource { /** * Get an existing Iptorrents 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?: IptorrentsState, opts?: pulumi.CustomResourceOptions): Iptorrents; /** * Returns true if the given object is an instance of Iptorrents. 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 Iptorrents; /** * Base URL. */ readonly baseUrl: pulumi.Output<string>; /** * Enable RSS flag. */ readonly enableRss: pulumi.Output<boolean>; /** * Minimum seeders. */ readonly minimumSeeders: pulumi.Output<number>; /** * IndexerIptorrents 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 Iptorrents 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: IptorrentsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Iptorrents resources. */ export interface IptorrentsState { /** * Base URL. */ baseUrl?: pulumi.Input<string>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerIptorrents 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 Iptorrents resource. */ export interface IptorrentsArgs { /** * Base URL. */ baseUrl: pulumi.Input<string>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerIptorrents 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>[]>; }