@maienm/pulumi-prowlarr
Version:
A Pulumi package for creating and managing Prowlarr resources. Based on terraform-provider-prowlarr: version v2.3.0
171 lines (170 loc) • 4.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Indexer Proxies -->Generic Indexer Proxy resource. When possible use a specific resource instead.
* For more information refer to [Indexer Proxy](https://wiki.servarr.com/prowlarr/settings#indexer-proxies).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as prowlarr from "@maienm/pulumi-prowlarr";
*
* const example = new prowlarr.indexerproxies.IndexerProxy("example", {
* configContract: "FlareSolverrSettings",
* host: "http://localhost:8191/",
* implementation: "FlareSolverr",
* requestTimeout: 60,
* });
* ```
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import prowlarr:IndexerProxies/indexerProxy:IndexerProxy example 1
* ```
*/
export declare class IndexerProxy extends pulumi.CustomResource {
/**
* Get an existing IndexerProxy 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?: IndexerProxyState, opts?: pulumi.CustomResourceOptions): IndexerProxy;
/**
* Returns true if the given object is an instance of IndexerProxy. 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 IndexerProxy;
/**
* IndexerProxy configuration template.
*/
readonly configContract: pulumi.Output<string>;
/**
* host.
*/
readonly host: pulumi.Output<string>;
/**
* IndexerProxy implementation name.
*/
readonly implementation: pulumi.Output<string>;
/**
* Indexer Proxy name.
*/
readonly name: pulumi.Output<string>;
/**
* Password.
*/
readonly password: pulumi.Output<string>;
/**
* Port.
*/
readonly port: pulumi.Output<number>;
/**
* Request timeout.
*/
readonly requestTimeout: pulumi.Output<number>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* Username.
*/
readonly username: pulumi.Output<string>;
/**
* Create a IndexerProxy 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: IndexerProxyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering IndexerProxy resources.
*/
export interface IndexerProxyState {
/**
* IndexerProxy configuration template.
*/
configContract?: pulumi.Input<string>;
/**
* host.
*/
host?: pulumi.Input<string>;
/**
* IndexerProxy implementation name.
*/
implementation?: pulumi.Input<string>;
/**
* Indexer Proxy name.
*/
name?: pulumi.Input<string>;
/**
* Password.
*/
password?: pulumi.Input<string>;
/**
* Port.
*/
port?: pulumi.Input<number>;
/**
* Request timeout.
*/
requestTimeout?: 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 IndexerProxy resource.
*/
export interface IndexerProxyArgs {
/**
* IndexerProxy configuration template.
*/
configContract: pulumi.Input<string>;
/**
* host.
*/
host?: pulumi.Input<string>;
/**
* IndexerProxy implementation name.
*/
implementation: pulumi.Input<string>;
/**
* Indexer Proxy name.
*/
name?: pulumi.Input<string>;
/**
* Password.
*/
password?: pulumi.Input<string>;
/**
* Port.
*/
port?: pulumi.Input<number>;
/**
* Request timeout.
*/
requestTimeout?: pulumi.Input<number>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Username.
*/
username?: pulumi.Input<string>;
}