UNPKG

@maienm/pulumi-prowlarr

Version:

A Pulumi package for creating and managing Prowlarr resources. Based on terraform-provider-prowlarr: version v2.3.0

104 lines (103 loc) 2.25 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * <!-- subcategory:Indexers -->Single Indexer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as prowlarr from "@pulumi/prowlarr"; * * const test = prowlarr.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 { /** * Field name. */ name: string; } /** * A collection of values returned by getIndexer. */ export interface GetIndexerResult { /** * Application profile ID. */ readonly appProfileId: number; /** * Indexer configuration template. */ readonly configContract: string; /** * Enable RSS flag. */ readonly enable: boolean; /** * Set of configuration fields. */ readonly fields: outputs.Indexers.GetIndexerField[]; /** * Indexer ID. */ readonly id: number; /** * Indexer implementation name. */ readonly implementation: string; /** * Language. */ readonly language: string; /** * Indexer name. */ readonly name: string; /** * Priority. */ readonly priority: number; /** * Privacy. */ readonly privacy: string; /** * Protocol. Valid values are 'usenet' and 'torrent'. */ readonly protocol: string; /** * List of associated tags. */ readonly tags: number[]; } /** * <!-- subcategory:Indexers -->Single Indexer. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as prowlarr from "@pulumi/prowlarr"; * * const test = prowlarr.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 { /** * Field name. */ name: pulumi.Input<string>; }