UNPKG

@maienm/pulumi-readarr

Version:

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

171 lines (170 loc) 3.43 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Indexers -->Single Indexer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Indexers.getIndexer({ * name: "Example", * }); * ``` */ export declare function getIndexer(args: GetIndexerArgs, opts?: pulumi.InvokeOptions): Promise<GetIndexerResult>; /** * A collection of arguments for invoking getIndexer. */ export interface GetIndexerArgs { /** * Indexer name. */ name: string; } /** * A collection of values returned by getIndexer. */ export interface GetIndexerResult { /** * Additional parameters. */ readonly additionalParameters: string; /** * Allow zero size files. */ readonly allowZeroSize: boolean; /** * API key. */ readonly apiKey: string; /** * API path. */ readonly apiPath: string; /** * API User. */ readonly apiUser: string; /** * Author seed time. */ readonly authorSeedTime: number; /** * Base URL. */ readonly baseUrl: string; /** * Captcha token. */ readonly captchaToken: string; /** * Series list. */ readonly categories: number[]; /** * Indexer configuration template. */ readonly configContract: string; /** * Cookie. */ readonly cookie: string; /** * Delay before grabbing. */ readonly delay: number; /** * Early release limit. */ readonly earlyReleaseLimit: number; /** * Enable automatic search flag. */ readonly enableAutomaticSearch: boolean; /** * Enable interactive search flag. */ readonly enableInteractiveSearch: boolean; /** * Enable RSS flag. */ readonly enableRss: boolean; /** * Indexer ID. */ readonly id: number; /** * Indexer implementation name. */ readonly implementation: string; /** * Minimum seeders. */ readonly minimumSeeders: number; /** * Indexer name. */ readonly name: string; /** * Passkey. */ readonly passkey: string; /** * Password. */ readonly password: string; /** * Priority. */ readonly priority: number; /** * Protocol. Valid values are 'usenet' and 'torrent'. */ readonly protocol: string; /** * Allow ranked only. */ readonly rankedOnly: boolean; /** * Seed ratio. */ readonly seedRatio: number; /** * Seed time. */ readonly seedTime: number; /** * List of associated tags. */ readonly tags: number[]; /** * Username. */ readonly username: string; } /** * <!-- subcategory:Indexers -->Single Indexer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Indexers.getIndexer({ * name: "Example", * }); * ``` */ export declare function getIndexerOutput(args: GetIndexerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIndexerResult>; /** * A collection of arguments for invoking getIndexer. */ export interface GetIndexerOutputArgs { /** * Indexer name. */ name: pulumi.Input<string>; }