@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
215 lines (214 loc) • 5.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Import Lists -->Import List Goodreads Series resource.
* For more information refer to [Import List](https://wiki.servarr.com/readarr/settings#import-lists) and [Goodreads Series](https://wiki.servarr.com/readarr/supported#goodreadsseries).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@maienm/pulumi-readarr";
*
* const example = new readarr.importlists.GoodreadsSeries("example", {
* enableAutomaticAdd: false,
* metadataProfileId: 1,
* qualityProfileId: 1,
* rootFolderPath: "/books",
* seriesId: 45175,
* shouldMonitor: "specificBook",
* shouldSearch: false,
* tags: [
* 1,
* 2,
* 3,
* ],
* });
* ```
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import readarr:ImportLists/goodreadsSeries:GoodreadsSeries example 1
* ```
*/
export declare class GoodreadsSeries extends pulumi.CustomResource {
/**
* Get an existing GoodreadsSeries resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GoodreadsSeriesState, opts?: pulumi.CustomResourceOptions): GoodreadsSeries;
/**
* Returns true if the given object is an instance of GoodreadsSeries. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is GoodreadsSeries;
/**
* Enable automatic add flag.
*/
readonly enableAutomaticAdd: pulumi.Output<boolean>;
/**
* List order.
*/
readonly listOrder: pulumi.Output<number>;
/**
* Metadata profile ID.
*/
readonly metadataProfileId: pulumi.Output<number>;
/**
* Monitor new items.
*/
readonly monitorNewItems: pulumi.Output<string>;
/**
* Import List name.
*/
readonly name: pulumi.Output<string>;
/**
* Quality profile ID.
*/
readonly qualityProfileId: pulumi.Output<number>;
/**
* Root folder path.
*/
readonly rootFolderPath: pulumi.Output<string>;
/**
* Series ID.
*/
readonly seriesId: pulumi.Output<number>;
/**
* Should monitor.
*/
readonly shouldMonitor: pulumi.Output<string>;
/**
* Should monitor existing flag.
*/
readonly shouldMonitorExisting: pulumi.Output<boolean>;
/**
* Should search flag.
*/
readonly shouldSearch: pulumi.Output<boolean>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* Create a GoodreadsSeries resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: GoodreadsSeriesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering GoodreadsSeries resources.
*/
export interface GoodreadsSeriesState {
/**
* Enable automatic add flag.
*/
enableAutomaticAdd?: pulumi.Input<boolean>;
/**
* List order.
*/
listOrder?: pulumi.Input<number>;
/**
* Metadata profile ID.
*/
metadataProfileId?: pulumi.Input<number>;
/**
* Monitor new items.
*/
monitorNewItems?: pulumi.Input<string>;
/**
* Import List name.
*/
name?: pulumi.Input<string>;
/**
* Quality profile ID.
*/
qualityProfileId?: pulumi.Input<number>;
/**
* Root folder path.
*/
rootFolderPath?: pulumi.Input<string>;
/**
* Series ID.
*/
seriesId?: pulumi.Input<number>;
/**
* Should monitor.
*/
shouldMonitor?: pulumi.Input<string>;
/**
* Should monitor existing flag.
*/
shouldMonitorExisting?: pulumi.Input<boolean>;
/**
* Should search flag.
*/
shouldSearch?: pulumi.Input<boolean>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
}
/**
* The set of arguments for constructing a GoodreadsSeries resource.
*/
export interface GoodreadsSeriesArgs {
/**
* Enable automatic add flag.
*/
enableAutomaticAdd?: pulumi.Input<boolean>;
/**
* List order.
*/
listOrder?: pulumi.Input<number>;
/**
* Metadata profile ID.
*/
metadataProfileId?: pulumi.Input<number>;
/**
* Monitor new items.
*/
monitorNewItems?: pulumi.Input<string>;
/**
* Import List name.
*/
name?: pulumi.Input<string>;
/**
* Quality profile ID.
*/
qualityProfileId?: pulumi.Input<number>;
/**
* Root folder path.
*/
rootFolderPath?: pulumi.Input<string>;
/**
* Series ID.
*/
seriesId: pulumi.Input<number>;
/**
* Should monitor.
*/
shouldMonitor?: pulumi.Input<string>;
/**
* Should monitor existing flag.
*/
shouldMonitorExisting?: pulumi.Input<boolean>;
/**
* Should search flag.
*/
shouldSearch?: pulumi.Input<boolean>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
}