@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
231 lines (230 loc) • 4.99 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Download Clients -->Single Download Client.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@pulumi/readarr";
*
* const test = readarr.DownloadClients.getDownloadClient({
* name: "Example",
* });
* ```
*/
export declare function getDownloadClient(args: GetDownloadClientArgs, opts?: pulumi.InvokeOptions): Promise<GetDownloadClientResult>;
/**
* A collection of arguments for invoking getDownloadClient.
*/
export interface GetDownloadClientArgs {
/**
* Download Client name.
*/
name: string;
}
/**
* A collection of values returned by getDownloadClient.
*/
export interface GetDownloadClientResult {
/**
* Add paused flag.
*/
readonly addPaused: boolean;
/**
* Add stopped flag.
*/
readonly addStopped: boolean;
/**
* Additional tags, `0` TitleSlug, `1` Quality, `2` Language, `3` ReleaseGroup, `4` Year, `5` Indexer, `6` Network.
*/
readonly additionalTags: number[];
/**
* API key.
*/
readonly apiKey: string;
/**
* Book category.
*/
readonly bookCategory: string;
/**
* Book directory.
*/
readonly bookDirectory: string;
/**
* Book imported category.
*/
readonly bookImportedCategory: string;
/**
* Book directory.
*/
readonly bookdirectory: string;
/**
* Category.
*/
readonly category: string;
/**
* DownloadClient configuration template.
*/
readonly configContract: string;
/**
* Destination.
*/
readonly destination: string;
/**
* Enable flag.
*/
readonly enable: boolean;
/**
* Field tags.
*/
readonly fieldTags: string[];
/**
* First and last flag.
*/
readonly firstAndLast: boolean;
/**
* host.
*/
readonly host: string;
/**
* Download Client ID.
*/
readonly id: number;
/**
* DownloadClient implementation name.
*/
readonly implementation: string;
/**
* Initial state. `0` Start, `1` ForceStart, `2` Pause.
*/
readonly initialState: number;
/**
* Initial state, with Stop support. `0` Start, `1` ForceStart, `2` Pause, `3` Stop.
*/
readonly intialState: number;
/**
* Magnet file extension.
*/
readonly magnetFileExtension: string;
/**
* Download Client name.
*/
readonly name: string;
/**
* NZB folder.
*/
readonly nzbFolder: string;
/**
* Older Book priority. `0` Last, `1` First.
*/
readonly olderBookPriority: number;
/**
* Password.
*/
readonly password: string;
/**
* Port.
*/
readonly port: number;
/**
* Post import tags.
*/
readonly postImportTags: string[];
/**
* Priority.
*/
readonly priority: number;
/**
* Protocol. Valid values are 'usenet' and 'torrent'.
*/
readonly protocol: string;
/**
* Read only flag.
*/
readonly readOnly: boolean;
/**
* Recent Book priority. `0` Last, `1` First.
*/
readonly recentBookPriority: number;
/**
* Remove completed downloads flag.
*/
readonly removeCompletedDownloads: boolean;
/**
* Remove failed downloads flag.
*/
readonly removeFailedDownloads: boolean;
/**
* RPC path.
*/
readonly rpcPath: string;
/**
* Save magnet files flag.
*/
readonly saveMagnetFiles: boolean;
/**
* Secret token.
*/
readonly secretToken: string;
/**
* Sequential order flag.
*/
readonly sequentialOrder: boolean;
/**
* Start on add flag.
*/
readonly startOnAdd: boolean;
/**
* STRM folder.
*/
readonly strmFolder: string;
/**
* List of associated tags.
*/
readonly tags: number[];
/**
* Torrent folder.
*/
readonly torrentFolder: string;
/**
* Base URL.
*/
readonly urlBase: string;
/**
* Use SSL flag.
*/
readonly useSsl: boolean;
/**
* Username.
*/
readonly username: string;
/**
* Watch folder flag.
*/
readonly watchFolder: string;
}
/**
* <!-- subcategory:Download Clients -->Single Download Client.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@pulumi/readarr";
*
* const test = readarr.DownloadClients.getDownloadClient({
* name: "Example",
* });
* ```
*/
export declare function getDownloadClientOutput(args: GetDownloadClientOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDownloadClientResult>;
/**
* A collection of arguments for invoking getDownloadClient.
*/
export interface GetDownloadClientOutputArgs {
/**
* Download Client name.
*/
name: pulumi.Input<string>;
}