UNPKG

@maienm/pulumi-readarr

Version:

A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0

193 lines (192 loc) 4.91 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Indexers -->Indexer Torrent RSS resource. * For more information refer to [Indexer](https://wiki.servarr.com/readarr/settings#indexers) and [Torrent RSS](https://wiki.servarr.com/readarr/supported#torrentrssindexer). * * ## Import * * import using the API/UI ID * * ```sh * $ pulumi import readarr:Indexers/torrentRss:TorrentRss example 1 * ``` */ export declare class TorrentRss extends pulumi.CustomResource { /** * Get an existing TorrentRss 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?: TorrentRssState, opts?: pulumi.CustomResourceOptions): TorrentRss; /** * Returns true if the given object is an instance of TorrentRss. 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 TorrentRss; /** * Allow zero size files. */ readonly allowZeroSize: pulumi.Output<boolean>; /** * Author seed time. */ readonly authorSeedTime: pulumi.Output<number>; /** * Base URL. */ readonly baseUrl: pulumi.Output<string>; /** * Cookie. */ readonly cookie: pulumi.Output<string>; /** * Early release limit. */ readonly earlyReleaseLimit: pulumi.Output<number>; /** * Enable RSS flag. */ readonly enableRss: pulumi.Output<boolean>; /** * Minimum seeders. */ readonly minimumSeeders: pulumi.Output<number>; /** * IndexerTorrentRss 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 TorrentRss 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: TorrentRssArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TorrentRss resources. */ export interface TorrentRssState { /** * Allow zero size files. */ allowZeroSize?: pulumi.Input<boolean>; /** * Author seed time. */ authorSeedTime?: pulumi.Input<number>; /** * Base URL. */ baseUrl?: pulumi.Input<string>; /** * Cookie. */ cookie?: pulumi.Input<string>; /** * Early release limit. */ earlyReleaseLimit?: pulumi.Input<number>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerTorrentRss 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 TorrentRss resource. */ export interface TorrentRssArgs { /** * Allow zero size files. */ allowZeroSize?: pulumi.Input<boolean>; /** * Author seed time. */ authorSeedTime?: pulumi.Input<number>; /** * Base URL. */ baseUrl: pulumi.Input<string>; /** * Cookie. */ cookie?: pulumi.Input<string>; /** * Early release limit. */ earlyReleaseLimit?: pulumi.Input<number>; /** * Enable RSS flag. */ enableRss?: pulumi.Input<boolean>; /** * Minimum seeders. */ minimumSeeders?: pulumi.Input<number>; /** * IndexerTorrentRss 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>[]>; }