SmtpArgs

data class SmtpArgs(val enabled: Output<Boolean>? = null, val fromAddress: Output<String>? = null, val fromName: Output<String>? = null, val host: Output<String>? = null, val password: Output<String>? = null, val skipVerify: Output<Boolean>? = null, val startTLSPolicy: Output<Either<String, StartTLSPolicy>>? = null, val user: Output<String>? = null) : ConvertibleToJava<SmtpArgs>

Email server settings. https://grafana.com/docs/grafana/v9.0/setup-grafana/configure-grafana/#smtp

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, fromAddress: Output<String>? = null, fromName: Output<String>? = null, host: Output<String>? = null, password: Output<String>? = null, skipVerify: Output<Boolean>? = null, startTLSPolicy: Output<Either<String, StartTLSPolicy>>? = null, user: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Enable this to allow Grafana to send email. Default is false

Link copied to clipboard
val fromAddress: Output<String>? = null

Address used when sending out emails https://pkg.go.dev/net/mail#Address

Link copied to clipboard
val fromName: Output<String>? = null

Name to be used when sending out emails. Default is "Azure Managed Grafana Notification" https://pkg.go.dev/net/mail#Address

Link copied to clipboard
val host: Output<String>? = null

SMTP server hostname with port, e.g. test.email.net:587

Link copied to clipboard
val password: Output<String>? = null

Password of SMTP auth. If the password contains # or ;, then you have to wrap it with triple quotes

Link copied to clipboard
val skipVerify: Output<Boolean>? = null

Verify SSL for SMTP server. Default is false https://pkg.go.dev/crypto/tls#Config

Link copied to clipboard
val startTLSPolicy: Output<Either<String, StartTLSPolicy>>? = null

The StartTLSPolicy setting of the SMTP configuration https://pkg.go.dev/github.com/go-mail/mail#StartTLSPolicy

Link copied to clipboard
val user: Output<String>? = null

User of SMTP auth

Functions

Link copied to clipboard
open override fun toJava(): SmtpArgs