@maienm/pulumi-lidarr
Version:
A Pulumi package for creating and managing Lidarr resources. Based on terraform-provider-lidarr: version v1.11.0
193 lines (192 loc) • 5.06 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Indexers -->Indexer Headphones resource.
* For more information refer to [Indexer](https://wiki.servarr.com/lidarr/settings#indexers) and [Headphones](https://wiki.servarr.com/lidarr/supported#headphones).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as lidarr from "@maienm/pulumi-lidarr";
*
* const example = new lidarr.indexers.Headphones("example", {
* categories: [
* 3000,
* 3010,
* 3020,
* 3030,
* 3040,
* ],
* enableAutomaticSearch: true,
* password: "Pass",
* tags: [
* 1,
* 2,
* ],
* username: "User",
* });
* ```
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import lidarr:Indexers/headphones:Headphones example 1
* ```
*/
export declare class Headphones extends pulumi.CustomResource {
/**
* Get an existing Headphones 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?: HeadphonesState, opts?: pulumi.CustomResourceOptions): Headphones;
/**
* Returns true if the given object is an instance of Headphones. 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 Headphones;
/**
* Series list.
*/
readonly categories: pulumi.Output<number[]>;
/**
* Early release limit.
*/
readonly earlyReleaseLimit: pulumi.Output<number>;
/**
* Enable automatic search flag.
*/
readonly enableAutomaticSearch: pulumi.Output<boolean>;
/**
* Enable interactive search flag.
*/
readonly enableInteractiveSearch: pulumi.Output<boolean>;
/**
* Enable RSS flag.
*/
readonly enableRss: pulumi.Output<boolean>;
/**
* IndexerHeadphones name.
*/
readonly name: pulumi.Output<string>;
/**
* Password.
*/
readonly password: pulumi.Output<string>;
/**
* Priority.
*/
readonly priority: pulumi.Output<number>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* Username.
*/
readonly username: pulumi.Output<string>;
/**
* Create a Headphones 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: HeadphonesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Headphones resources.
*/
export interface HeadphonesState {
/**
* Series list.
*/
categories?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Early release limit.
*/
earlyReleaseLimit?: pulumi.Input<number>;
/**
* Enable automatic search flag.
*/
enableAutomaticSearch?: pulumi.Input<boolean>;
/**
* Enable interactive search flag.
*/
enableInteractiveSearch?: pulumi.Input<boolean>;
/**
* Enable RSS flag.
*/
enableRss?: pulumi.Input<boolean>;
/**
* IndexerHeadphones name.
*/
name?: pulumi.Input<string>;
/**
* Password.
*/
password?: pulumi.Input<string>;
/**
* Priority.
*/
priority?: pulumi.Input<number>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Username.
*/
username?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Headphones resource.
*/
export interface HeadphonesArgs {
/**
* Series list.
*/
categories: pulumi.Input<pulumi.Input<number>[]>;
/**
* Early release limit.
*/
earlyReleaseLimit?: pulumi.Input<number>;
/**
* Enable automatic search flag.
*/
enableAutomaticSearch?: pulumi.Input<boolean>;
/**
* Enable interactive search flag.
*/
enableInteractiveSearch?: pulumi.Input<boolean>;
/**
* Enable RSS flag.
*/
enableRss?: pulumi.Input<boolean>;
/**
* IndexerHeadphones name.
*/
name?: pulumi.Input<string>;
/**
* Password.
*/
password: pulumi.Input<string>;
/**
* Priority.
*/
priority?: pulumi.Input<number>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Username.
*/
username: pulumi.Input<string>;
}