1. Packages
  2. Fortios
  3. API Docs
  4. filter
  5. filter/spam
  6. Profile
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.filter/spam.Profile

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure AntiSpam profiles. Applies to FortiOS Version <= 6.2.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.filter.spam.Profile("trname", {
        comment: "terraform test",
        external: "disable",
        flowBased: "disable",
        gmail: {
            log: "disable",
        },
        imap: {
            action: "tag",
            log: "disable",
            tagMsg: "Spam",
            tagType: "subject spaminfo",
        },
        mapi: {
            action: "discard",
            log: "disable",
        },
        msnHotmail: {
            log: "disable",
        },
        pop3: {
            action: "tag",
            log: "disable",
            tagMsg: "Spam",
            tagType: "subject spaminfo",
        },
        smtp: {
            action: "discard",
            hdrip: "disable",
            localOverride: "disable",
            log: "disable",
            tagMsg: "Spam",
            tagType: "subject spaminfo",
        },
        spamBwlTable: 0,
        spamBwordTable: 0,
        spamBwordThreshold: 10,
        spamFiltering: "disable",
        spamIptrustTable: 0,
        spamLog: "enable",
        spamLogFortiguardResponse: "disable",
        spamMheaderTable: 0,
        spamRblTable: 0,
        yahooMail: {
            log: "disable",
        },
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.filter.spam.Profile("trname",
        comment="terraform test",
        external="disable",
        flow_based="disable",
        gmail=fortios.filter.spam.ProfileGmailArgs(
            log="disable",
        ),
        imap=fortios.filter.spam.ProfileImapArgs(
            action="tag",
            log="disable",
            tag_msg="Spam",
            tag_type="subject spaminfo",
        ),
        mapi=fortios.filter.spam.ProfileMapiArgs(
            action="discard",
            log="disable",
        ),
        msn_hotmail=fortios.filter.spam.ProfileMsnHotmailArgs(
            log="disable",
        ),
        pop3=fortios.filter.spam.ProfilePop3Args(
            action="tag",
            log="disable",
            tag_msg="Spam",
            tag_type="subject spaminfo",
        ),
        smtp=fortios.filter.spam.ProfileSmtpArgs(
            action="discard",
            hdrip="disable",
            local_override="disable",
            log="disable",
            tag_msg="Spam",
            tag_type="subject spaminfo",
        ),
        spam_bwl_table=0,
        spam_bword_table=0,
        spam_bword_threshold=10,
        spam_filtering="disable",
        spam_iptrust_table=0,
        spam_log="enable",
        spam_log_fortiguard_response="disable",
        spam_mheader_table=0,
        spam_rbl_table=0,
        yahoo_mail=fortios.filter.spam.ProfileYahooMailArgs(
            log="disable",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/filter"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filter.NewProfile(ctx, "trname", &filter.ProfileArgs{
    			Comment:   pulumi.String("terraform test"),
    			External:  pulumi.String("disable"),
    			FlowBased: pulumi.String("disable"),
    			Gmail: &spam.ProfileGmailArgs{
    				Log: pulumi.String("disable"),
    			},
    			Imap: &spam.ProfileImapArgs{
    				Action:  pulumi.String("tag"),
    				Log:     pulumi.String("disable"),
    				TagMsg:  pulumi.String("Spam"),
    				TagType: pulumi.String("subject spaminfo"),
    			},
    			Mapi: &spam.ProfileMapiArgs{
    				Action: pulumi.String("discard"),
    				Log:    pulumi.String("disable"),
    			},
    			MsnHotmail: &spam.ProfileMsnHotmailArgs{
    				Log: pulumi.String("disable"),
    			},
    			Pop3: &spam.ProfilePop3Args{
    				Action:  pulumi.String("tag"),
    				Log:     pulumi.String("disable"),
    				TagMsg:  pulumi.String("Spam"),
    				TagType: pulumi.String("subject spaminfo"),
    			},
    			Smtp: &spam.ProfileSmtpArgs{
    				Action:        pulumi.String("discard"),
    				Hdrip:         pulumi.String("disable"),
    				LocalOverride: pulumi.String("disable"),
    				Log:           pulumi.String("disable"),
    				TagMsg:        pulumi.String("Spam"),
    				TagType:       pulumi.String("subject spaminfo"),
    			},
    			SpamBwlTable:              pulumi.Int(0),
    			SpamBwordTable:            pulumi.Int(0),
    			SpamBwordThreshold:        pulumi.Int(10),
    			SpamFiltering:             pulumi.String("disable"),
    			SpamIptrustTable:          pulumi.Int(0),
    			SpamLog:                   pulumi.String("enable"),
    			SpamLogFortiguardResponse: pulumi.String("disable"),
    			SpamMheaderTable:          pulumi.Int(0),
    			SpamRblTable:              pulumi.Int(0),
    			YahooMail: &spam.ProfileYahooMailArgs{
    				Log: 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.Filter.Spam.Profile("trname", new()
        {
            Comment = "terraform test",
            External = "disable",
            FlowBased = "disable",
            Gmail = new Fortios.Filter.Spam.Inputs.ProfileGmailArgs
            {
                Log = "disable",
            },
            Imap = new Fortios.Filter.Spam.Inputs.ProfileImapArgs
            {
                Action = "tag",
                Log = "disable",
                TagMsg = "Spam",
                TagType = "subject spaminfo",
            },
            Mapi = new Fortios.Filter.Spam.Inputs.ProfileMapiArgs
            {
                Action = "discard",
                Log = "disable",
            },
            MsnHotmail = new Fortios.Filter.Spam.Inputs.ProfileMsnHotmailArgs
            {
                Log = "disable",
            },
            Pop3 = new Fortios.Filter.Spam.Inputs.ProfilePop3Args
            {
                Action = "tag",
                Log = "disable",
                TagMsg = "Spam",
                TagType = "subject spaminfo",
            },
            Smtp = new Fortios.Filter.Spam.Inputs.ProfileSmtpArgs
            {
                Action = "discard",
                Hdrip = "disable",
                LocalOverride = "disable",
                Log = "disable",
                TagMsg = "Spam",
                TagType = "subject spaminfo",
            },
            SpamBwlTable = 0,
            SpamBwordTable = 0,
            SpamBwordThreshold = 10,
            SpamFiltering = "disable",
            SpamIptrustTable = 0,
            SpamLog = "enable",
            SpamLogFortiguardResponse = "disable",
            SpamMheaderTable = 0,
            SpamRblTable = 0,
            YahooMail = new Fortios.Filter.Spam.Inputs.ProfileYahooMailArgs
            {
                Log = "disable",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.filter.Profile;
    import com.pulumi.fortios.filter.ProfileArgs;
    import com.pulumi.fortios.filter.inputs.ProfileGmailArgs;
    import com.pulumi.fortios.filter.inputs.ProfileImapArgs;
    import com.pulumi.fortios.filter.inputs.ProfileMapiArgs;
    import com.pulumi.fortios.filter.inputs.ProfileMsnHotmailArgs;
    import com.pulumi.fortios.filter.inputs.ProfilePop3Args;
    import com.pulumi.fortios.filter.inputs.ProfileSmtpArgs;
    import com.pulumi.fortios.filter.inputs.ProfileYahooMailArgs;
    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 Profile("trname", ProfileArgs.builder()        
                .comment("terraform test")
                .external("disable")
                .flowBased("disable")
                .gmail(ProfileGmailArgs.builder()
                    .log("disable")
                    .build())
                .imap(ProfileImapArgs.builder()
                    .action("tag")
                    .log("disable")
                    .tagMsg("Spam")
                    .tagType("subject spaminfo")
                    .build())
                .mapi(ProfileMapiArgs.builder()
                    .action("discard")
                    .log("disable")
                    .build())
                .msnHotmail(ProfileMsnHotmailArgs.builder()
                    .log("disable")
                    .build())
                .pop3(ProfilePop3Args.builder()
                    .action("tag")
                    .log("disable")
                    .tagMsg("Spam")
                    .tagType("subject spaminfo")
                    .build())
                .smtp(ProfileSmtpArgs.builder()
                    .action("discard")
                    .hdrip("disable")
                    .localOverride("disable")
                    .log("disable")
                    .tagMsg("Spam")
                    .tagType("subject spaminfo")
                    .build())
                .spamBwlTable(0)
                .spamBwordTable(0)
                .spamBwordThreshold(10)
                .spamFiltering("disable")
                .spamIptrustTable(0)
                .spamLog("enable")
                .spamLogFortiguardResponse("disable")
                .spamMheaderTable(0)
                .spamRblTable(0)
                .yahooMail(ProfileYahooMailArgs.builder()
                    .log("disable")
                    .build())
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:filter/spam:Profile
        properties:
          comment: terraform test
          external: disable
          flowBased: disable
          gmail:
            log: disable
          imap:
            action: tag
            log: disable
            tagMsg: Spam
            tagType: subject spaminfo
          mapi:
            action: discard
            log: disable
          msnHotmail:
            log: disable
          pop3:
            action: tag
            log: disable
            tagMsg: Spam
            tagType: subject spaminfo
          smtp:
            action: discard
            hdrip: disable
            localOverride: disable
            log: disable
            tagMsg: Spam
            tagType: subject spaminfo
          spamBwlTable: 0
          spamBwordTable: 0
          spamBwordThreshold: 10
          spamFiltering: disable
          spamIptrustTable: 0
          spamLog: enable
          spamLogFortiguardResponse: disable
          spamMheaderTable: 0
          spamRblTable: 0
          yahooMail:
            log: disable
    

    Create Profile Resource

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

    Constructor syntax

    new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                args: Optional[ProfileArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                comment: Optional[str] = None,
                external: Optional[str] = None,
                flow_based: Optional[str] = None,
                get_all_tables: Optional[str] = None,
                gmail: Optional[ProfileGmailArgs] = None,
                imap: Optional[ProfileImapArgs] = None,
                mapi: Optional[ProfileMapiArgs] = None,
                msn_hotmail: Optional[ProfileMsnHotmailArgs] = None,
                name: Optional[str] = None,
                options: Optional[str] = None,
                pop3: Optional[ProfilePop3Args] = None,
                replacemsg_group: Optional[str] = None,
                smtp: Optional[ProfileSmtpArgs] = None,
                spam_bwl_table: Optional[int] = None,
                spam_bword_table: Optional[int] = None,
                spam_bword_threshold: Optional[int] = None,
                spam_filtering: Optional[str] = None,
                spam_iptrust_table: Optional[int] = None,
                spam_log: Optional[str] = None,
                spam_log_fortiguard_response: Optional[str] = None,
                spam_mheader_table: Optional[int] = None,
                spam_rbl_table: Optional[int] = None,
                vdomparam: Optional[str] = None,
                yahoo_mail: Optional[ProfileYahooMailArgs] = None)
    func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
    public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
    public Profile(String name, ProfileArgs args)
    public Profile(String name, ProfileArgs args, CustomResourceOptions options)
    
    type: fortios:filter/spam/profile:Profile
    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 ProfileArgs
    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 ProfileArgs
    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 ProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Profile Resource Properties

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

    Inputs

    The Profile resource accepts the following input properties:

    Comment string
    Comment.
    External string
    Enable/disable external Email inspection. Valid values: enable, disable.
    FlowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gmail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileGmail
    Gmail. The structure of gmail block is documented below.
    Imap Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileImap
    IMAP. The structure of imap block is documented below.
    Mapi Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileMapi
    MAPI. The structure of mapi block is documented below.
    MsnHotmail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    Name string
    Profile name.
    Options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    Pop3 Pulumiverse.Fortios.Filter.Spam.Inputs.ProfilePop3
    POP3. The structure of pop3 block is documented below.
    ReplacemsgGroup string
    Replacement message group.
    Smtp Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    SpamBwlTable int
    Anti-spam black/white list table ID.
    SpamBwordTable int
    Anti-spam banned word table ID.
    SpamBwordThreshold int
    Spam banned word threshold.
    SpamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    SpamIptrustTable int
    Anti-spam IP trust table ID.
    SpamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    SpamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    SpamMheaderTable int
    Anti-spam MIME header table ID.
    SpamRblTable int
    Anti-spam DNSBL table ID.
    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.
    YahooMail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    Comment string
    Comment.
    External string
    Enable/disable external Email inspection. Valid values: enable, disable.
    FlowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gmail ProfileGmailArgs
    Gmail. The structure of gmail block is documented below.
    Imap ProfileImapArgs
    IMAP. The structure of imap block is documented below.
    Mapi ProfileMapiArgs
    MAPI. The structure of mapi block is documented below.
    MsnHotmail ProfileMsnHotmailArgs
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    Name string
    Profile name.
    Options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    Pop3 ProfilePop3Args
    POP3. The structure of pop3 block is documented below.
    ReplacemsgGroup string
    Replacement message group.
    Smtp ProfileSmtpArgs
    SMTP. The structure of smtp block is documented below.
    SpamBwlTable int
    Anti-spam black/white list table ID.
    SpamBwordTable int
    Anti-spam banned word table ID.
    SpamBwordThreshold int
    Spam banned word threshold.
    SpamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    SpamIptrustTable int
    Anti-spam IP trust table ID.
    SpamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    SpamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    SpamMheaderTable int
    Anti-spam MIME header table ID.
    SpamRblTable int
    Anti-spam DNSBL table ID.
    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.
    YahooMail ProfileYahooMailArgs
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment String
    Comment.
    external String
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased String
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmail
    Gmail. The structure of gmail block is documented below.
    imap ProfileImap
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapi
    MAPI. The structure of mapi block is documented below.
    msnHotmail ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name String
    Profile name.
    options String
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup String
    Replacement message group.
    smtp ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    spamBwlTable Integer
    Anti-spam black/white list table ID.
    spamBwordTable Integer
    Anti-spam banned word table ID.
    spamBwordThreshold Integer
    Spam banned word threshold.
    spamFiltering String
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable Integer
    Anti-spam IP trust table ID.
    spamLog String
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse String
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable Integer
    Anti-spam MIME header table ID.
    spamRblTable Integer
    Anti-spam DNSBL table ID.
    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.
    yahooMail ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment string
    Comment.
    external string
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmail
    Gmail. The structure of gmail block is documented below.
    imap ProfileImap
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapi
    MAPI. The structure of mapi block is documented below.
    msnHotmail ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name string
    Profile name.
    options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup string
    Replacement message group.
    smtp ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    spamBwlTable number
    Anti-spam black/white list table ID.
    spamBwordTable number
    Anti-spam banned word table ID.
    spamBwordThreshold number
    Spam banned word threshold.
    spamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable number
    Anti-spam IP trust table ID.
    spamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable number
    Anti-spam MIME header table ID.
    spamRblTable number
    Anti-spam DNSBL table ID.
    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.
    yahooMail ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment str
    Comment.
    external str
    Enable/disable external Email inspection. Valid values: enable, disable.
    flow_based str
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmailArgs
    Gmail. The structure of gmail block is documented below.
    imap ProfileImapArgs
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapiArgs
    MAPI. The structure of mapi block is documented below.
    msn_hotmail ProfileMsnHotmailArgs
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name str
    Profile name.
    options str
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3Args
    POP3. The structure of pop3 block is documented below.
    replacemsg_group str
    Replacement message group.
    smtp ProfileSmtpArgs
    SMTP. The structure of smtp block is documented below.
    spam_bwl_table int
    Anti-spam black/white list table ID.
    spam_bword_table int
    Anti-spam banned word table ID.
    spam_bword_threshold int
    Spam banned word threshold.
    spam_filtering str
    Enable/disable spam filtering. Valid values: enable, disable.
    spam_iptrust_table int
    Anti-spam IP trust table ID.
    spam_log str
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spam_log_fortiguard_response str
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spam_mheader_table int
    Anti-spam MIME header table ID.
    spam_rbl_table int
    Anti-spam DNSBL table ID.
    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.
    yahoo_mail ProfileYahooMailArgs
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment String
    Comment.
    external String
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased String
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail Property Map
    Gmail. The structure of gmail block is documented below.
    imap Property Map
    IMAP. The structure of imap block is documented below.
    mapi Property Map
    MAPI. The structure of mapi block is documented below.
    msnHotmail Property Map
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name String
    Profile name.
    options String
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 Property Map
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup String
    Replacement message group.
    smtp Property Map
    SMTP. The structure of smtp block is documented below.
    spamBwlTable Number
    Anti-spam black/white list table ID.
    spamBwordTable Number
    Anti-spam banned word table ID.
    spamBwordThreshold Number
    Spam banned word threshold.
    spamFiltering String
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable Number
    Anti-spam IP trust table ID.
    spamLog String
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse String
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable Number
    Anti-spam MIME header table ID.
    spamRblTable Number
    Anti-spam DNSBL table ID.
    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.
    yahooMail Property Map
    Yahoo! Mail. The structure of yahoo_mail block is documented below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Profile 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 Profile Resource

    Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            external: Optional[str] = None,
            flow_based: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            gmail: Optional[ProfileGmailArgs] = None,
            imap: Optional[ProfileImapArgs] = None,
            mapi: Optional[ProfileMapiArgs] = None,
            msn_hotmail: Optional[ProfileMsnHotmailArgs] = None,
            name: Optional[str] = None,
            options: Optional[str] = None,
            pop3: Optional[ProfilePop3Args] = None,
            replacemsg_group: Optional[str] = None,
            smtp: Optional[ProfileSmtpArgs] = None,
            spam_bwl_table: Optional[int] = None,
            spam_bword_table: Optional[int] = None,
            spam_bword_threshold: Optional[int] = None,
            spam_filtering: Optional[str] = None,
            spam_iptrust_table: Optional[int] = None,
            spam_log: Optional[str] = None,
            spam_log_fortiguard_response: Optional[str] = None,
            spam_mheader_table: Optional[int] = None,
            spam_rbl_table: Optional[int] = None,
            vdomparam: Optional[str] = None,
            yahoo_mail: Optional[ProfileYahooMailArgs] = None) -> Profile
    func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
    public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
    public static Profile get(String name, Output<String> id, ProfileState 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:
    Comment string
    Comment.
    External string
    Enable/disable external Email inspection. Valid values: enable, disable.
    FlowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gmail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileGmail
    Gmail. The structure of gmail block is documented below.
    Imap Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileImap
    IMAP. The structure of imap block is documented below.
    Mapi Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileMapi
    MAPI. The structure of mapi block is documented below.
    MsnHotmail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    Name string
    Profile name.
    Options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    Pop3 Pulumiverse.Fortios.Filter.Spam.Inputs.ProfilePop3
    POP3. The structure of pop3 block is documented below.
    ReplacemsgGroup string
    Replacement message group.
    Smtp Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    SpamBwlTable int
    Anti-spam black/white list table ID.
    SpamBwordTable int
    Anti-spam banned word table ID.
    SpamBwordThreshold int
    Spam banned word threshold.
    SpamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    SpamIptrustTable int
    Anti-spam IP trust table ID.
    SpamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    SpamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    SpamMheaderTable int
    Anti-spam MIME header table ID.
    SpamRblTable int
    Anti-spam DNSBL table ID.
    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.
    YahooMail Pulumiverse.Fortios.Filter.Spam.Inputs.ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    Comment string
    Comment.
    External string
    Enable/disable external Email inspection. Valid values: enable, disable.
    FlowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Gmail ProfileGmailArgs
    Gmail. The structure of gmail block is documented below.
    Imap ProfileImapArgs
    IMAP. The structure of imap block is documented below.
    Mapi ProfileMapiArgs
    MAPI. The structure of mapi block is documented below.
    MsnHotmail ProfileMsnHotmailArgs
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    Name string
    Profile name.
    Options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    Pop3 ProfilePop3Args
    POP3. The structure of pop3 block is documented below.
    ReplacemsgGroup string
    Replacement message group.
    Smtp ProfileSmtpArgs
    SMTP. The structure of smtp block is documented below.
    SpamBwlTable int
    Anti-spam black/white list table ID.
    SpamBwordTable int
    Anti-spam banned word table ID.
    SpamBwordThreshold int
    Spam banned word threshold.
    SpamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    SpamIptrustTable int
    Anti-spam IP trust table ID.
    SpamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    SpamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    SpamMheaderTable int
    Anti-spam MIME header table ID.
    SpamRblTable int
    Anti-spam DNSBL table ID.
    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.
    YahooMail ProfileYahooMailArgs
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment String
    Comment.
    external String
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased String
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmail
    Gmail. The structure of gmail block is documented below.
    imap ProfileImap
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapi
    MAPI. The structure of mapi block is documented below.
    msnHotmail ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name String
    Profile name.
    options String
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup String
    Replacement message group.
    smtp ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    spamBwlTable Integer
    Anti-spam black/white list table ID.
    spamBwordTable Integer
    Anti-spam banned word table ID.
    spamBwordThreshold Integer
    Spam banned word threshold.
    spamFiltering String
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable Integer
    Anti-spam IP trust table ID.
    spamLog String
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse String
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable Integer
    Anti-spam MIME header table ID.
    spamRblTable Integer
    Anti-spam DNSBL table ID.
    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.
    yahooMail ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment string
    Comment.
    external string
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased string
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmail
    Gmail. The structure of gmail block is documented below.
    imap ProfileImap
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapi
    MAPI. The structure of mapi block is documented below.
    msnHotmail ProfileMsnHotmail
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name string
    Profile name.
    options string
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup string
    Replacement message group.
    smtp ProfileSmtp
    SMTP. The structure of smtp block is documented below.
    spamBwlTable number
    Anti-spam black/white list table ID.
    spamBwordTable number
    Anti-spam banned word table ID.
    spamBwordThreshold number
    Spam banned word threshold.
    spamFiltering string
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable number
    Anti-spam IP trust table ID.
    spamLog string
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse string
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable number
    Anti-spam MIME header table ID.
    spamRblTable number
    Anti-spam DNSBL table ID.
    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.
    yahooMail ProfileYahooMail
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment str
    Comment.
    external str
    Enable/disable external Email inspection. Valid values: enable, disable.
    flow_based str
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail ProfileGmailArgs
    Gmail. The structure of gmail block is documented below.
    imap ProfileImapArgs
    IMAP. The structure of imap block is documented below.
    mapi ProfileMapiArgs
    MAPI. The structure of mapi block is documented below.
    msn_hotmail ProfileMsnHotmailArgs
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name str
    Profile name.
    options str
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 ProfilePop3Args
    POP3. The structure of pop3 block is documented below.
    replacemsg_group str
    Replacement message group.
    smtp ProfileSmtpArgs
    SMTP. The structure of smtp block is documented below.
    spam_bwl_table int
    Anti-spam black/white list table ID.
    spam_bword_table int
    Anti-spam banned word table ID.
    spam_bword_threshold int
    Spam banned word threshold.
    spam_filtering str
    Enable/disable spam filtering. Valid values: enable, disable.
    spam_iptrust_table int
    Anti-spam IP trust table ID.
    spam_log str
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spam_log_fortiguard_response str
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spam_mheader_table int
    Anti-spam MIME header table ID.
    spam_rbl_table int
    Anti-spam DNSBL table ID.
    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.
    yahoo_mail ProfileYahooMailArgs
    Yahoo! Mail. The structure of yahoo_mail block is documented below.
    comment String
    Comment.
    external String
    Enable/disable external Email inspection. Valid values: enable, disable.
    flowBased String
    Enable/disable flow-based spam filtering. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    gmail Property Map
    Gmail. The structure of gmail block is documented below.
    imap Property Map
    IMAP. The structure of imap block is documented below.
    mapi Property Map
    MAPI. The structure of mapi block is documented below.
    msnHotmail Property Map
    MSN Hotmail. The structure of msn_hotmail block is documented below.
    name String
    Profile name.
    options String
    Options. Valid values: bannedword, spambwl, spamfsip, spamfssubmit, spamfschksum, spamfsurl, spamhelodns, spamraddrdns, spamrbl, spamhdrcheck, spamfsphish.
    pop3 Property Map
    POP3. The structure of pop3 block is documented below.
    replacemsgGroup String
    Replacement message group.
    smtp Property Map
    SMTP. The structure of smtp block is documented below.
    spamBwlTable Number
    Anti-spam black/white list table ID.
    spamBwordTable Number
    Anti-spam banned word table ID.
    spamBwordThreshold Number
    Spam banned word threshold.
    spamFiltering String
    Enable/disable spam filtering. Valid values: enable, disable.
    spamIptrustTable Number
    Anti-spam IP trust table ID.
    spamLog String
    Enable/disable spam logging for email filtering. Valid values: disable, enable.
    spamLogFortiguardResponse String
    Enable/disable logging FortiGuard spam response. Valid values: disable, enable.
    spamMheaderTable Number
    Anti-spam MIME header table ID.
    spamRblTable Number
    Anti-spam DNSBL table ID.
    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.
    yahooMail Property Map
    Yahoo! Mail. The structure of yahoo_mail block is documented below.

    Supporting Types

    ProfileGmail, ProfileGmailArgs

    Log string
    Enable/disable logging. Valid values: enable, disable.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.
    log string
    Enable/disable logging. Valid values: enable, disable.
    log str
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.

    ProfileImap, ProfileImapArgs

    Action string
    Action for spam email. Valid values: pass, tag.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    Action string
    Action for spam email. Valid values: pass, tag.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action string
    Action for spam email. Valid values: pass, tag.
    log string
    Enable/disable logging. Valid values: enable, disable.
    tagMsg string
    Subject text or header added to spam email.
    tagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action str
    Action for spam email. Valid values: pass, tag.
    log str
    Enable/disable logging. Valid values: enable, disable.
    tag_msg str
    Subject text or header added to spam email.
    tag_type str
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.

    ProfileMapi, ProfileMapiArgs

    Action string
    Action for spam email. Valid values: pass, discard.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    Action string
    Action for spam email. Valid values: pass, discard.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    action String
    Action for spam email. Valid values: pass, discard.
    log String
    Enable/disable logging. Valid values: enable, disable.
    action string
    Action for spam email. Valid values: pass, discard.
    log string
    Enable/disable logging. Valid values: enable, disable.
    action str
    Action for spam email. Valid values: pass, discard.
    log str
    Enable/disable logging. Valid values: enable, disable.
    action String
    Action for spam email. Valid values: pass, discard.
    log String
    Enable/disable logging. Valid values: enable, disable.

    ProfileMsnHotmail, ProfileMsnHotmailArgs

    Log string
    Enable/disable logging. Valid values: enable, disable.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.
    log string
    Enable/disable logging. Valid values: enable, disable.
    log str
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.

    ProfilePop3, ProfilePop3Args

    Action string
    Action for spam email. Valid values: pass, tag.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    Action string
    Action for spam email. Valid values: pass, tag.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action string
    Action for spam email. Valid values: pass, tag.
    log string
    Enable/disable logging. Valid values: enable, disable.
    tagMsg string
    Subject text or header added to spam email.
    tagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action str
    Action for spam email. Valid values: pass, tag.
    log str
    Enable/disable logging. Valid values: enable, disable.
    tag_msg str
    Subject text or header added to spam email.
    tag_type str
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.

    ProfileSmtp, ProfileSmtpArgs

    Action string
    Action for spam email. Valid values: pass, tag, discard.
    Hdrip string
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    LocalOverride string
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    Action string
    Action for spam email. Valid values: pass, tag, discard.
    Hdrip string
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    LocalOverride string
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    TagMsg string
    Subject text or header added to spam email.
    TagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag, discard.
    hdrip String
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    localOverride String
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action string
    Action for spam email. Valid values: pass, tag, discard.
    hdrip string
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    localOverride string
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    log string
    Enable/disable logging. Valid values: enable, disable.
    tagMsg string
    Subject text or header added to spam email.
    tagType string
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action str
    Action for spam email. Valid values: pass, tag, discard.
    hdrip str
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    local_override str
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    log str
    Enable/disable logging. Valid values: enable, disable.
    tag_msg str
    Subject text or header added to spam email.
    tag_type str
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.
    action String
    Action for spam email. Valid values: pass, tag, discard.
    hdrip String
    Enable/disable SMTP email header IP checks for spamfsip, spamrbl and spambwl filters. Valid values: disable, enable.
    localOverride String
    Enable/disable local filter to override SMTP remote check result. Valid values: disable, enable.
    log String
    Enable/disable logging. Valid values: enable, disable.
    tagMsg String
    Subject text or header added to spam email.
    tagType String
    Tag subject or header for spam email. Valid values: subject, header, spaminfo.

    ProfileYahooMail, ProfileYahooMailArgs

    Log string
    Enable/disable logging. Valid values: enable, disable.
    Log string
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.
    log string
    Enable/disable logging. Valid values: enable, disable.
    log str
    Enable/disable logging. Valid values: enable, disable.
    log String
    Enable/disable logging. Valid values: enable, disable.

    Import

    Spamfilter Profile can be imported using any of these accepted formats:

    $ pulumi import fortios:filter/spam/profile:Profile labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:filter/spam/profile:Profile labelname {{name}}
    

    $ 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.5 published on Tuesday, Apr 9, 2024 by pulumiverse