@maienm/pulumi-prowlarr
Version:
A Pulumi package for creating and managing Prowlarr resources. Based on terraform-provider-prowlarr: version v2.3.0
205 lines (204 loc) • 5.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Notifications -->Notification Discord resource.
* For more information refer to [Notification](https://wiki.servarr.com/prowlarr/settings#connect) and [Discord](https://wiki.servarr.com/prowlarr/supported#discord).
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import prowlarr:Notifications/discord:Discord example 1
* ```
*/
export declare class Discord extends pulumi.CustomResource {
/**
* Get an existing Discord 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?: DiscordState, opts?: pulumi.CustomResourceOptions): Discord;
/**
* Returns true if the given object is an instance of Discord. 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 Discord;
/**
* Author.
*/
readonly author: pulumi.Output<string>;
/**
* Avatar.
*/
readonly avatar: pulumi.Output<string>;
/**
* Grab fields. `0` Overview, `1` Rating, `2` Genres, `3` Quality, `4` Group, `5` Size, `6` Links, `7` Release, `8` Poster, `9` Fanart.
*/
readonly grabFields: pulumi.Output<number[]>;
/**
* Include health warnings.
*/
readonly includeHealthWarnings: pulumi.Output<boolean>;
/**
* Include manual grab flag.
*/
readonly includeManualGrabs: pulumi.Output<boolean>;
/**
* NotificationDiscord name.
*/
readonly name: pulumi.Output<string>;
/**
* On application update flag.
*/
readonly onApplicationUpdate: pulumi.Output<boolean>;
/**
* On release grab flag.
*/
readonly onGrab: pulumi.Output<boolean>;
/**
* On health issue flag.
*/
readonly onHealthIssue: pulumi.Output<boolean>;
/**
* On health restored flag.
*/
readonly onHealthRestored: pulumi.Output<boolean>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* Username.
*/
readonly username: pulumi.Output<string>;
/**
* Web hook URL.
*/
readonly webHookUrl: pulumi.Output<string>;
/**
* Create a Discord 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: DiscordArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Discord resources.
*/
export interface DiscordState {
/**
* Author.
*/
author?: pulumi.Input<string>;
/**
* Avatar.
*/
avatar?: pulumi.Input<string>;
/**
* Grab fields. `0` Overview, `1` Rating, `2` Genres, `3` Quality, `4` Group, `5` Size, `6` Links, `7` Release, `8` Poster, `9` Fanart.
*/
grabFields?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Include health warnings.
*/
includeHealthWarnings?: pulumi.Input<boolean>;
/**
* Include manual grab flag.
*/
includeManualGrabs?: pulumi.Input<boolean>;
/**
* NotificationDiscord name.
*/
name?: pulumi.Input<string>;
/**
* On application update flag.
*/
onApplicationUpdate?: pulumi.Input<boolean>;
/**
* On release grab flag.
*/
onGrab?: pulumi.Input<boolean>;
/**
* On health issue flag.
*/
onHealthIssue?: pulumi.Input<boolean>;
/**
* On health restored flag.
*/
onHealthRestored?: pulumi.Input<boolean>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Username.
*/
username?: pulumi.Input<string>;
/**
* Web hook URL.
*/
webHookUrl?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Discord resource.
*/
export interface DiscordArgs {
/**
* Author.
*/
author?: pulumi.Input<string>;
/**
* Avatar.
*/
avatar?: pulumi.Input<string>;
/**
* Grab fields. `0` Overview, `1` Rating, `2` Genres, `3` Quality, `4` Group, `5` Size, `6` Links, `7` Release, `8` Poster, `9` Fanart.
*/
grabFields?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Include health warnings.
*/
includeHealthWarnings?: pulumi.Input<boolean>;
/**
* Include manual grab flag.
*/
includeManualGrabs?: pulumi.Input<boolean>;
/**
* NotificationDiscord name.
*/
name?: pulumi.Input<string>;
/**
* On application update flag.
*/
onApplicationUpdate?: pulumi.Input<boolean>;
/**
* On release grab flag.
*/
onGrab?: pulumi.Input<boolean>;
/**
* On health issue flag.
*/
onHealthIssue?: pulumi.Input<boolean>;
/**
* On health restored flag.
*/
onHealthRestored?: pulumi.Input<boolean>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* Username.
*/
username?: pulumi.Input<string>;
/**
* Web hook URL.
*/
webHookUrl: pulumi.Input<string>;
}