1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Emailserver
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.Emailserver

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure the email server used by the FortiGate various things. For example, for sending email messages to users to support user authentication features.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Emailserver("trname", {
        authenticate: "disable",
        port: 465,
        security: "smtps",
        server: "notification.fortinet.net",
        sourceIp: "0.0.0.0",
        sourceIp6: "::",
        sslMinProtoVersion: "default",
        type: "custom",
        validateServer: "disable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Emailserver("trname",
        authenticate="disable",
        port=465,
        security="smtps",
        server="notification.fortinet.net",
        source_ip="0.0.0.0",
        source_ip6="::",
        ssl_min_proto_version="default",
        type="custom",
        validate_server="disable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.NewEmailserver(ctx, "trname", &system.EmailserverArgs{
    			Authenticate:       pulumi.String("disable"),
    			Port:               pulumi.Int(465),
    			Security:           pulumi.String("smtps"),
    			Server:             pulumi.String("notification.fortinet.net"),
    			SourceIp:           pulumi.String("0.0.0.0"),
    			SourceIp6:          pulumi.String("::"),
    			SslMinProtoVersion: pulumi.String("default"),
    			Type:               pulumi.String("custom"),
    			ValidateServer:     pulumi.String("disable"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.System.Emailserver("trname", new()
        {
            Authenticate = "disable",
            Port = 465,
            Security = "smtps",
            Server = "notification.fortinet.net",
            SourceIp = "0.0.0.0",
            SourceIp6 = "::",
            SslMinProtoVersion = "default",
            Type = "custom",
            ValidateServer = "disable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Emailserver;
    import com.pulumi.fortios.system.EmailserverArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var trname = new Emailserver("trname", EmailserverArgs.builder()
                .authenticate("disable")
                .port(465)
                .security("smtps")
                .server("notification.fortinet.net")
                .sourceIp("0.0.0.0")
                .sourceIp6("::")
                .sslMinProtoVersion("default")
                .type("custom")
                .validateServer("disable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Emailserver
        properties:
          authenticate: disable
          port: 465
          security: smtps
          server: notification.fortinet.net
          sourceIp: 0.0.0.0
          sourceIp6: '::'
          sslMinProtoVersion: default
          type: custom
          validateServer: disable
    

    Create Emailserver Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Emailserver(name: string, args?: EmailserverArgs, opts?: CustomResourceOptions);
    @overload
    def Emailserver(resource_name: str,
                    args: Optional[EmailserverArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Emailserver(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    authenticate: Optional[str] = None,
                    interface: Optional[str] = None,
                    interface_select_method: Optional[str] = None,
                    password: Optional[str] = None,
                    port: Optional[int] = None,
                    reply_to: Optional[str] = None,
                    security: Optional[str] = None,
                    server: Optional[str] = None,
                    source_ip: Optional[str] = None,
                    source_ip6: Optional[str] = None,
                    ssl_min_proto_version: Optional[str] = None,
                    type: Optional[str] = None,
                    username: Optional[str] = None,
                    validate_server: Optional[str] = None,
                    vdomparam: Optional[str] = None)
    func NewEmailserver(ctx *Context, name string, args *EmailserverArgs, opts ...ResourceOption) (*Emailserver, error)
    public Emailserver(string name, EmailserverArgs? args = null, CustomResourceOptions? opts = null)
    public Emailserver(String name, EmailserverArgs args)
    public Emailserver(String name, EmailserverArgs args, CustomResourceOptions options)
    
    type: fortios:system:Emailserver
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EmailserverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EmailserverArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EmailserverArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EmailserverArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EmailserverArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var emailserverResource = new Fortios.System.Emailserver("emailserverResource", new()
    {
        Authenticate = "string",
        Interface = "string",
        InterfaceSelectMethod = "string",
        Password = "string",
        Port = 0,
        ReplyTo = "string",
        Security = "string",
        Server = "string",
        SourceIp = "string",
        SourceIp6 = "string",
        SslMinProtoVersion = "string",
        Type = "string",
        Username = "string",
        ValidateServer = "string",
        Vdomparam = "string",
    });
    
    example, err := system.NewEmailserver(ctx, "emailserverResource", &system.EmailserverArgs{
    	Authenticate:          pulumi.String("string"),
    	Interface:             pulumi.String("string"),
    	InterfaceSelectMethod: pulumi.String("string"),
    	Password:              pulumi.String("string"),
    	Port:                  pulumi.Int(0),
    	ReplyTo:               pulumi.String("string"),
    	Security:              pulumi.String("string"),
    	Server:                pulumi.String("string"),
    	SourceIp:              pulumi.String("string"),
    	SourceIp6:             pulumi.String("string"),
    	SslMinProtoVersion:    pulumi.String("string"),
    	Type:                  pulumi.String("string"),
    	Username:              pulumi.String("string"),
    	ValidateServer:        pulumi.String("string"),
    	Vdomparam:             pulumi.String("string"),
    })
    
    var emailserverResource = new Emailserver("emailserverResource", EmailserverArgs.builder()
        .authenticate("string")
        .interface_("string")
        .interfaceSelectMethod("string")
        .password("string")
        .port(0)
        .replyTo("string")
        .security("string")
        .server("string")
        .sourceIp("string")
        .sourceIp6("string")
        .sslMinProtoVersion("string")
        .type("string")
        .username("string")
        .validateServer("string")
        .vdomparam("string")
        .build());
    
    emailserver_resource = fortios.system.Emailserver("emailserverResource",
        authenticate="string",
        interface="string",
        interface_select_method="string",
        password="string",
        port=0,
        reply_to="string",
        security="string",
        server="string",
        source_ip="string",
        source_ip6="string",
        ssl_min_proto_version="string",
        type="string",
        username="string",
        validate_server="string",
        vdomparam="string")
    
    const emailserverResource = new fortios.system.Emailserver("emailserverResource", {
        authenticate: "string",
        "interface": "string",
        interfaceSelectMethod: "string",
        password: "string",
        port: 0,
        replyTo: "string",
        security: "string",
        server: "string",
        sourceIp: "string",
        sourceIp6: "string",
        sslMinProtoVersion: "string",
        type: "string",
        username: "string",
        validateServer: "string",
        vdomparam: "string",
    });
    
    type: fortios:system:Emailserver
    properties:
        authenticate: string
        interface: string
        interfaceSelectMethod: string
        password: string
        port: 0
        replyTo: string
        security: string
        server: string
        sourceIp: string
        sourceIp6: string
        sslMinProtoVersion: string
        type: string
        username: string
        validateServer: string
        vdomparam: string
    

    Emailserver Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Emailserver resource accepts the following input properties:

    Authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Password string
    SMTP server user password for authentication.
    Port int
    SMTP server port.
    ReplyTo string
    Reply-To email address.
    Security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    Server string
    SMTP server IP address or hostname.
    SourceIp string
    SMTP server IPv4 source IP.
    SourceIp6 string
    SMTP server IPv6 source IP.
    SslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    Type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    Username string
    SMTP server user name for authentication.
    ValidateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Password string
    SMTP server user password for authentication.
    Port int
    SMTP server port.
    ReplyTo string
    Reply-To email address.
    Security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    Server string
    SMTP server IP address or hostname.
    SourceIp string
    SMTP server IPv4 source IP.
    SourceIp6 string
    SMTP server IPv6 source IP.
    SslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    Type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    Username string
    SMTP server user name for authentication.
    ValidateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate String
    Enable/disable authentication. Valid values: enable, disable.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interface_ String
    Specify outgoing interface to reach server.
    password String
    SMTP server user password for authentication.
    port Integer
    SMTP server port.
    replyTo String
    Reply-To email address.
    security String
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server String
    SMTP server IP address or hostname.
    sourceIp String
    SMTP server IPv4 source IP.
    sourceIp6 String
    SMTP server IPv6 source IP.
    sslMinProtoVersion String
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type String
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username String
    SMTP server user name for authentication.
    validateServer String
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    interface string
    Specify outgoing interface to reach server.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password string
    SMTP server user password for authentication.
    port number
    SMTP server port.
    replyTo string
    Reply-To email address.
    security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server string
    SMTP server IP address or hostname.
    sourceIp string
    SMTP server IPv4 source IP.
    sourceIp6 string
    SMTP server IPv6 source IP.
    sslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username string
    SMTP server user name for authentication.
    validateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate str
    Enable/disable authentication. Valid values: enable, disable.
    interface str
    Specify outgoing interface to reach server.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password str
    SMTP server user password for authentication.
    port int
    SMTP server port.
    reply_to str
    Reply-To email address.
    security str
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server str
    SMTP server IP address or hostname.
    source_ip str
    SMTP server IPv4 source IP.
    source_ip6 str
    SMTP server IPv6 source IP.
    ssl_min_proto_version str
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type str
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username str
    SMTP server user name for authentication.
    validate_server str
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate String
    Enable/disable authentication. Valid values: enable, disable.
    interface String
    Specify outgoing interface to reach server.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password String
    SMTP server user password for authentication.
    port Number
    SMTP server port.
    replyTo String
    Reply-To email address.
    security String
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server String
    SMTP server IP address or hostname.
    sourceIp String
    SMTP server IPv4 source IP.
    sourceIp6 String
    SMTP server IPv6 source IP.
    sslMinProtoVersion String
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type String
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username String
    SMTP server user name for authentication.
    validateServer String
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Emailserver resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Emailserver Resource

    Get an existing Emailserver resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EmailserverState, opts?: CustomResourceOptions): Emailserver
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authenticate: Optional[str] = None,
            interface: Optional[str] = None,
            interface_select_method: Optional[str] = None,
            password: Optional[str] = None,
            port: Optional[int] = None,
            reply_to: Optional[str] = None,
            security: Optional[str] = None,
            server: Optional[str] = None,
            source_ip: Optional[str] = None,
            source_ip6: Optional[str] = None,
            ssl_min_proto_version: Optional[str] = None,
            type: Optional[str] = None,
            username: Optional[str] = None,
            validate_server: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Emailserver
    func GetEmailserver(ctx *Context, name string, id IDInput, state *EmailserverState, opts ...ResourceOption) (*Emailserver, error)
    public static Emailserver Get(string name, Input<string> id, EmailserverState? state, CustomResourceOptions? opts = null)
    public static Emailserver get(String name, Output<String> id, EmailserverState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Password string
    SMTP server user password for authentication.
    Port int
    SMTP server port.
    ReplyTo string
    Reply-To email address.
    Security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    Server string
    SMTP server IP address or hostname.
    SourceIp string
    SMTP server IPv4 source IP.
    SourceIp6 string
    SMTP server IPv6 source IP.
    SslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    Type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    Username string
    SMTP server user name for authentication.
    ValidateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    Interface string
    Specify outgoing interface to reach server.
    InterfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    Password string
    SMTP server user password for authentication.
    Port int
    SMTP server port.
    ReplyTo string
    Reply-To email address.
    Security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    Server string
    SMTP server IP address or hostname.
    SourceIp string
    SMTP server IPv4 source IP.
    SourceIp6 string
    SMTP server IPv6 source IP.
    SslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    Type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    Username string
    SMTP server user name for authentication.
    ValidateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate String
    Enable/disable authentication. Valid values: enable, disable.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    interface_ String
    Specify outgoing interface to reach server.
    password String
    SMTP server user password for authentication.
    port Integer
    SMTP server port.
    replyTo String
    Reply-To email address.
    security String
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server String
    SMTP server IP address or hostname.
    sourceIp String
    SMTP server IPv4 source IP.
    sourceIp6 String
    SMTP server IPv6 source IP.
    sslMinProtoVersion String
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type String
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username String
    SMTP server user name for authentication.
    validateServer String
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate string
    Enable/disable authentication. Valid values: enable, disable.
    interface string
    Specify outgoing interface to reach server.
    interfaceSelectMethod string
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password string
    SMTP server user password for authentication.
    port number
    SMTP server port.
    replyTo string
    Reply-To email address.
    security string
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server string
    SMTP server IP address or hostname.
    sourceIp string
    SMTP server IPv4 source IP.
    sourceIp6 string
    SMTP server IPv6 source IP.
    sslMinProtoVersion string
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type string
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username string
    SMTP server user name for authentication.
    validateServer string
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate str
    Enable/disable authentication. Valid values: enable, disable.
    interface str
    Specify outgoing interface to reach server.
    interface_select_method str
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password str
    SMTP server user password for authentication.
    port int
    SMTP server port.
    reply_to str
    Reply-To email address.
    security str
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server str
    SMTP server IP address or hostname.
    source_ip str
    SMTP server IPv4 source IP.
    source_ip6 str
    SMTP server IPv6 source IP.
    ssl_min_proto_version str
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type str
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username str
    SMTP server user name for authentication.
    validate_server str
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    authenticate String
    Enable/disable authentication. Valid values: enable, disable.
    interface String
    Specify outgoing interface to reach server.
    interfaceSelectMethod String
    Specify how to select outgoing interface to reach server. Valid values: auto, sdwan, specify.
    password String
    SMTP server user password for authentication.
    port Number
    SMTP server port.
    replyTo String
    Reply-To email address.
    security String
    Connection security used by the email server. Valid values: none, starttls, smtps.
    server String
    SMTP server IP address or hostname.
    sourceIp String
    SMTP server IPv4 source IP.
    sourceIp6 String
    SMTP server IPv6 source IP.
    sslMinProtoVersion String
    Minimum supported protocol version for SSL/TLS connections (default is to follow system global setting).
    type String
    Use FortiGuard Message service or custom email server. Valid values: custom.
    username String
    SMTP server user name for authentication.
    validateServer String
    Enable/disable validation of server certificate. Valid values: enable, disable.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Import

    System EmailServer can be imported using any of these accepted formats:

    $ pulumi import fortios:system/emailserver:Emailserver labelname SystemEmailServer
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/emailserver:Emailserver labelname SystemEmailServer
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse