@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
193 lines (192 loc) • 5.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Notifications -->Notification GoodreadsOwnedBooks resource.
* For more information refer to [Notification](https://wiki.servarr.com/readarr/settings#connect) and [GoodreadsOwnedBooks](https://wiki.servarr.com/readarr/supported#goodreadsownedbooks).
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import readarr:Notifications/goodreadsOwnedBooks:GoodreadsOwnedBooks example 1
* ```
*/
export declare class GoodreadsOwnedBooks extends pulumi.CustomResource {
/**
* Get an existing GoodreadsOwnedBooks 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?: GoodreadsOwnedBooksState, opts?: pulumi.CustomResourceOptions): GoodreadsOwnedBooks;
/**
* Returns true if the given object is an instance of GoodreadsOwnedBooks. 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 GoodreadsOwnedBooks;
/**
* Access token.
*/
readonly accessToken: pulumi.Output<string>;
/**
* Access token secret.
*/
readonly accessTokenSecret: pulumi.Output<string>;
/**
* Condition. `10` BrandNew, `20` LikeNew, `30` VeryGood, `40` Good, `50` Acceptable, `60` Poor.
*/
readonly condition: pulumi.Output<number>;
/**
* Condition description.
*/
readonly description: pulumi.Output<string>;
/**
* Purchase location.
*/
readonly location: pulumi.Output<string>;
/**
* Notification name.
*/
readonly name: pulumi.Output<string>;
/**
* On release import flag.
*/
readonly onReleaseImport: pulumi.Output<boolean>;
/**
* On upgrade flag.
*/
readonly onUpgrade: pulumi.Output<boolean>;
/**
* Request token secret.
*/
readonly requestTokenSecret: pulumi.Output<string>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* User ID.
*/
readonly userId: pulumi.Output<string>;
/**
* Username.
*/
readonly username: pulumi.Output<string>;
/**
* Create a GoodreadsOwnedBooks 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: GoodreadsOwnedBooksArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering GoodreadsOwnedBooks resources.
*/
export interface GoodreadsOwnedBooksState {
/**
* Access token.
*/
accessToken?: pulumi.Input<string>;
/**
* Access token secret.
*/
accessTokenSecret?: pulumi.Input<string>;
/**
* Condition. `10` BrandNew, `20` LikeNew, `30` VeryGood, `40` Good, `50` Acceptable, `60` Poor.
*/
condition?: pulumi.Input<number>;
/**
* Condition description.
*/
description?: pulumi.Input<string>;
/**
* Purchase location.
*/
location?: pulumi.Input<string>;
/**
* Notification name.
*/
name?: pulumi.Input<string>;
/**
* On release import flag.
*/
onReleaseImport?: pulumi.Input<boolean>;
/**
* On upgrade flag.
*/
onUpgrade?: pulumi.Input<boolean>;
/**
* Request token secret.
*/
requestTokenSecret?: pulumi.Input<string>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* User ID.
*/
userId?: pulumi.Input<string>;
/**
* Username.
*/
username?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a GoodreadsOwnedBooks resource.
*/
export interface GoodreadsOwnedBooksArgs {
/**
* Access token.
*/
accessToken: pulumi.Input<string>;
/**
* Access token secret.
*/
accessTokenSecret: pulumi.Input<string>;
/**
* Condition. `10` BrandNew, `20` LikeNew, `30` VeryGood, `40` Good, `50` Acceptable, `60` Poor.
*/
condition: pulumi.Input<number>;
/**
* Condition description.
*/
description?: pulumi.Input<string>;
/**
* Purchase location.
*/
location?: pulumi.Input<string>;
/**
* Notification name.
*/
name?: pulumi.Input<string>;
/**
* On release import flag.
*/
onReleaseImport?: pulumi.Input<boolean>;
/**
* On upgrade flag.
*/
onUpgrade?: pulumi.Input<boolean>;
/**
* Request token secret.
*/
requestTokenSecret?: pulumi.Input<string>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* User ID.
*/
userId?: pulumi.Input<string>;
/**
* Username.
*/
username: pulumi.Input<string>;
}