UNPKG

@maienm/pulumi-readarr

Version:

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

163 lines (162 loc) 3.37 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Import Lists -->Single Import List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.ImportLists.getImportList({ * name: "Example", * }); * ``` */ export declare function getImportList(args: GetImportListArgs, opts?: pulumi.InvokeOptions): Promise<GetImportListResult>; /** * A collection of arguments for invoking getImportList. */ export interface GetImportListArgs { /** * Import List name. */ name: string; } /** * A collection of values returned by getImportList. */ export interface GetImportListResult { /** * Access token. */ readonly accessToken: string; /** * Access token secret. */ readonly accessTokenSecret: string; /** * API key. */ readonly apiKey: string; /** * Base URL. */ readonly baseUrl: string; /** * Bookshelf IDs. */ readonly bookshelfIds: string[]; /** * ImportList configuration template. */ readonly configContract: string; /** * Enable automatic add flag. */ readonly enableAutomaticAdd: boolean; /** * Import List ID. */ readonly id: number; /** * ImportList implementation name. */ readonly implementation: string; /** * List ID. */ readonly listId: number; /** * List order. */ readonly listOrder: number; /** * List type. */ readonly listType: string; /** * Metadata profile ID. */ readonly metadataProfileId: number; /** * Monitor new items. */ readonly monitorNewItems: string; /** * Import List name. */ readonly name: string; /** * Profile IDs. */ readonly profileIds: number[]; /** * Quality profile ID. */ readonly qualityProfileId: number; /** * Request token secret. */ readonly requestTokenSecret: string; /** * Root folder path. */ readonly rootFolderPath: string; /** * Series ID. */ readonly seriesId: number; /** * Should monitor. */ readonly shouldMonitor: string; /** * Should monitor existing flag. */ readonly shouldMonitorExisting: boolean; /** * Should search flag. */ readonly shouldSearch: boolean; /** * Tag IDs. */ readonly tagIds: number[]; /** * List of associated tags. */ readonly tags: number[]; /** * User ID. */ readonly userId: string; /** * Username. */ readonly username: string; } /** * <!-- subcategory:Import Lists -->Single Import List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.ImportLists.getImportList({ * name: "Example", * }); * ``` */ export declare function getImportListOutput(args: GetImportListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetImportListResult>; /** * A collection of arguments for invoking getImportList. */ export interface GetImportListOutputArgs { /** * Import List name. */ name: pulumi.Input<string>; }