@maienm/pulumi-prowlarr
Version:
A Pulumi package for creating and managing Prowlarr resources. Based on terraform-provider-prowlarr: version v2.3.0
273 lines (272 loc) • 6.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Notifications -->Notification Email resource.
* For more information refer to [Notification](https://wiki.servarr.com/prowlarr/settings#connect) and [Email](https://wiki.servarr.com/prowlarr/supported#email).
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as prowlarr from "@maienm/pulumi-prowlarr";
*
* const example = new prowlarr.notifications.Email("example", {
* from: "from_email@example.com",
* includeHealthWarnings: false,
* onApplicationUpdate: false,
* onHealthIssue: false,
* port: 587,
* server: "http://email-server.net",
* tos: [
* "user1@example.com",
* "user2@example.com",
* ],
* });
* ```
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import prowlarr:Notifications/email:Email example 1
* ```
*/
export declare class Email extends pulumi.CustomResource {
/**
* Get an existing Email 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?: EmailState, opts?: pulumi.CustomResourceOptions): Email;
/**
* Returns true if the given object is an instance of Email. 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 Email;
/**
* Bcc.
*/
readonly bccs: pulumi.Output<string[]>;
/**
* Cc.
*/
readonly ccs: pulumi.Output<string[]>;
/**
* From.
*/
readonly from: pulumi.Output<string>;
/**
* Include health warnings.
*/
readonly includeHealthWarnings: pulumi.Output<boolean>;
/**
* Include manual grab flag.
*/
readonly includeManualGrabs: pulumi.Output<boolean>;
/**
* NotificationEmail 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>;
/**
* Password.
*/
readonly password: pulumi.Output<string>;
/**
* Port.
*/
readonly port: pulumi.Output<number>;
/**
* Server.
*/
readonly server: pulumi.Output<string>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* To.
*/
readonly tos: pulumi.Output<string[]>;
/**
* Use Encryption. `0` Preferred, `1` Always, `2` Never.
*/
readonly useEncryption: pulumi.Output<number>;
/**
* Username.
*/
readonly username: pulumi.Output<string>;
/**
* Create a Email 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: EmailArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Email resources.
*/
export interface EmailState {
/**
* Bcc.
*/
bccs?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Cc.
*/
ccs?: pulumi.Input<pulumi.Input<string>[]>;
/**
* From.
*/
from?: pulumi.Input<string>;
/**
* Include health warnings.
*/
includeHealthWarnings?: pulumi.Input<boolean>;
/**
* Include manual grab flag.
*/
includeManualGrabs?: pulumi.Input<boolean>;
/**
* NotificationEmail 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>;
/**
* Password.
*/
password?: pulumi.Input<string>;
/**
* Port.
*/
port?: pulumi.Input<number>;
/**
* Server.
*/
server?: pulumi.Input<string>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* To.
*/
tos?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Use Encryption. `0` Preferred, `1` Always, `2` Never.
*/
useEncryption?: pulumi.Input<number>;
/**
* Username.
*/
username?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Email resource.
*/
export interface EmailArgs {
/**
* Bcc.
*/
bccs?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Cc.
*/
ccs?: pulumi.Input<pulumi.Input<string>[]>;
/**
* From.
*/
from: pulumi.Input<string>;
/**
* Include health warnings.
*/
includeHealthWarnings?: pulumi.Input<boolean>;
/**
* Include manual grab flag.
*/
includeManualGrabs?: pulumi.Input<boolean>;
/**
* NotificationEmail 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>;
/**
* Password.
*/
password?: pulumi.Input<string>;
/**
* Port.
*/
port?: pulumi.Input<number>;
/**
* Server.
*/
server: pulumi.Input<string>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
/**
* To.
*/
tos: pulumi.Input<pulumi.Input<string>[]>;
/**
* Use Encryption. `0` Preferred, `1` Always, `2` Never.
*/
useEncryption?: pulumi.Input<number>;
/**
* Username.
*/
username?: pulumi.Input<string>;
}