UNPKG

@maienm/pulumi-lidarr

Version:

A Pulumi package for creating and managing Lidarr resources. Based on terraform-provider-lidarr: version v1.11.0

99 lines (98 loc) 2.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * <!-- subcategory:Artists -->Single Artist. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@pulumi/lidarr"; * * const example = lidarr.Artists.getArtist({ * foreignArtistId: "1f9df192-a621-4f54-8850-2c5373b7eac9", * }); * ``` */ export declare function getArtist(args: GetArtistArgs, opts?: pulumi.InvokeOptions): Promise<GetArtistResult>; /** * A collection of arguments for invoking getArtist. */ export interface GetArtistArgs { /** * Foreign artist ID. */ foreignArtistId: string; } /** * A collection of values returned by getArtist. */ export interface GetArtistResult { /** * Artist name. */ readonly artistName: string; /** * Foreign artist ID. */ readonly foreignArtistId: string; /** * List genres. */ readonly genres: string[]; /** * Artist ID. */ readonly id: number; /** * Metadata profile ID. */ readonly metadataProfileId: number; /** * Monitored flag. */ readonly monitored: boolean; /** * Overview. */ readonly overview: string; /** * Full artist path. */ readonly path: string; /** * Quality profile ID. */ readonly qualityProfileId: number; /** * Artist status. */ readonly status: string; /** * List of associated tags. */ readonly tags: number[]; } /** * <!-- subcategory:Artists -->Single Artist. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as lidarr from "@pulumi/lidarr"; * * const example = lidarr.Artists.getArtist({ * foreignArtistId: "1f9df192-a621-4f54-8850-2c5373b7eac9", * }); * ``` */ export declare function getArtistOutput(args: GetArtistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetArtistResult>; /** * A collection of arguments for invoking getArtist. */ export interface GetArtistOutputArgs { /** * Foreign artist ID. */ foreignArtistId: pulumi.Input<string>; }