UNPKG

@maienm/pulumi-readarr

Version:

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

95 lines (94 loc) 2.01 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Authors -->Single Author. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Authors.getAuthor({ * foreignAuthorId: "123715", * }); * ``` */ export declare function getAuthor(args: GetAuthorArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthorResult>; /** * A collection of arguments for invoking getAuthor. */ export interface GetAuthorArgs { /** * Foreign author ID. */ foreignAuthorId: string; } /** * A collection of values returned by getAuthor. */ export interface GetAuthorResult { /** * Author name. */ readonly authorName: string; /** * Foreign author ID. */ readonly foreignAuthorId: string; /** * List genres. */ readonly genres: string[]; /** * Author ID. */ readonly id: number; /** * Monitored flag. */ readonly monitored: boolean; /** * Overview. */ readonly overview: string; /** * Full author path. */ readonly path: string; /** * Quality profile ID. */ readonly qualityProfileId: number; /** * Author status. */ readonly status: string; /** * List of associated tags. */ readonly tags: number[]; } /** * <!-- subcategory:Authors -->Single Author. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Authors.getAuthor({ * foreignAuthorId: "123715", * }); * ``` */ export declare function getAuthorOutput(args: GetAuthorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuthorResult>; /** * A collection of arguments for invoking getAuthor. */ export interface GetAuthorOutputArgs { /** * Foreign author ID. */ foreignAuthorId: pulumi.Input<string>; }