UNPKG

@maienm/pulumi-readarr

Version:

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

79 lines (78 loc) 1.92 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Profiles -->Single Release Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Profiles.getReleaseProfile({ * id: 1, * }); * ``` */ export declare function getReleaseProfile(args: GetReleaseProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetReleaseProfileResult>; /** * A collection of arguments for invoking getReleaseProfile. */ export interface GetReleaseProfileArgs { /** * Release Profile ID. */ id: number; } /** * A collection of values returned by getReleaseProfile. */ export interface GetReleaseProfileResult { /** * Enabled. */ readonly enabled: boolean; /** * Release Profile ID. */ readonly id: number; /** * Ignored terms. At least one of `required` and `ignored` must be set. */ readonly ignoreds: string[]; /** * Indexer ID. Set `0` for all. */ readonly indexerId: number; /** * Required terms. At least one of `required` and `ignored` must be set. */ readonly requireds: string[]; /** * List of associated tags. */ readonly tags: number[]; } /** * <!-- subcategory:Profiles -->Single Release Profile. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as readarr from "@pulumi/readarr"; * * const example = readarr.Profiles.getReleaseProfile({ * id: 1, * }); * ``` */ export declare function getReleaseProfileOutput(args: GetReleaseProfileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReleaseProfileResult>; /** * A collection of arguments for invoking getReleaseProfile. */ export interface GetReleaseProfileOutputArgs { /** * Release Profile ID. */ id: pulumi.Input<number>; }