fortimanager.ObjectEmailfilterProfile
Explore with Pulumi AI
Configure Email Filter profiles.
The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.
file_filter:fortimanager_object_emailfilter_profile_filefilter
gmail:fortimanager.ObjectEmailfilterProfileGmail
imap:fortimanager.ObjectEmailfilterProfileImap
mapi:fortimanager.ObjectEmailfilterProfileMapi
msn_hotmail:fortimanager.ObjectEmailfilterProfileMsnhotmail
other_webmails:fortimanager_object_emailfilter_profile_otherwebmails
pop3:fortimanager.ObjectEmailfilterProfilePop3
smtp:fortimanager.ObjectEmailfilterProfileSmtp
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trname = new fortimanager.ObjectEmailfilterProfile("trname", {
    comment: "This is a Terraform example",
    external: "disable",
    featureSet: "flow",
    options: [
        "bannedword",
        "spambwl",
    ],
    spamBwordThreshold: 10,
    spamFiltering: "disable",
    spamLog: "enable",
    spamLogFortiguardResponse: "disable",
});
import pulumi
import pulumi_fortimanager as fortimanager
trname = fortimanager.ObjectEmailfilterProfile("trname",
    comment="This is a Terraform example",
    external="disable",
    feature_set="flow",
    options=[
        "bannedword",
        "spambwl",
    ],
    spam_bword_threshold=10,
    spam_filtering="disable",
    spam_log="enable",
    spam_log_fortiguard_response="disable")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectEmailfilterProfile(ctx, "trname", &fortimanager.ObjectEmailfilterProfileArgs{
			Comment:    pulumi.String("This is a Terraform example"),
			External:   pulumi.String("disable"),
			FeatureSet: pulumi.String("flow"),
			Options: pulumi.StringArray{
				pulumi.String("bannedword"),
				pulumi.String("spambwl"),
			},
			SpamBwordThreshold:        pulumi.Float64(10),
			SpamFiltering:             pulumi.String("disable"),
			SpamLog:                   pulumi.String("enable"),
			SpamLogFortiguardResponse: pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectEmailfilterProfile("trname", new()
    {
        Comment = "This is a Terraform example",
        External = "disable",
        FeatureSet = "flow",
        Options = new[]
        {
            "bannedword",
            "spambwl",
        },
        SpamBwordThreshold = 10,
        SpamFiltering = "disable",
        SpamLog = "enable",
        SpamLogFortiguardResponse = "disable",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectEmailfilterProfile;
import com.pulumi.fortimanager.ObjectEmailfilterProfileArgs;
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 ObjectEmailfilterProfile("trname", ObjectEmailfilterProfileArgs.builder()
            .comment("This is a Terraform example")
            .external("disable")
            .featureSet("flow")
            .options(            
                "bannedword",
                "spambwl")
            .spamBwordThreshold(10)
            .spamFiltering("disable")
            .spamLog("enable")
            .spamLogFortiguardResponse("disable")
            .build());
    }
}
resources:
  trname:
    type: fortimanager:ObjectEmailfilterProfile
    properties:
      comment: This is a Terraform example
      external: disable
      featureSet: flow
      options:
        - bannedword
        - spambwl
      spamBwordThreshold: 10
      spamFiltering: disable
      spamLog: enable
      spamLogFortiguardResponse: disable
Create ObjectEmailfilterProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectEmailfilterProfile(name: string, args?: ObjectEmailfilterProfileArgs, opts?: CustomResourceOptions);@overload
def ObjectEmailfilterProfile(resource_name: str,
                             args: Optional[ObjectEmailfilterProfileArgs] = None,
                             opts: Optional[ResourceOptions] = None)
@overload
def ObjectEmailfilterProfile(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             adom: Optional[str] = None,
                             comment: Optional[str] = None,
                             external: Optional[str] = None,
                             feature_set: Optional[str] = None,
                             file_filter: Optional[ObjectEmailfilterProfileFileFilterArgs] = None,
                             gmail: Optional[ObjectEmailfilterProfileGmailArgs] = None,
                             imap: Optional[ObjectEmailfilterProfileImapArgs] = None,
                             mapi: Optional[ObjectEmailfilterProfileMapiArgs] = None,
                             msn_hotmail: Optional[ObjectEmailfilterProfileMsnHotmailArgs] = None,
                             name: Optional[str] = None,
                             object_emailfilter_profile_id: Optional[str] = None,
                             options: Optional[Sequence[str]] = None,
                             other_webmails: Optional[ObjectEmailfilterProfileOtherWebmailsArgs] = None,
                             pop3: Optional[ObjectEmailfilterProfilePop3Args] = None,
                             replacemsg_group: Optional[str] = None,
                             scopetype: Optional[str] = None,
                             smtp: Optional[ObjectEmailfilterProfileSmtpArgs] = None,
                             spam_bal_table: Optional[str] = None,
                             spam_bwl_table: Optional[str] = None,
                             spam_bword_table: Optional[str] = None,
                             spam_bword_threshold: Optional[float] = None,
                             spam_filtering: Optional[str] = None,
                             spam_iptrust_table: Optional[str] = None,
                             spam_log: Optional[str] = None,
                             spam_log_fortiguard_response: Optional[str] = None,
                             spam_mheader_table: Optional[str] = None,
                             spam_rbl_table: Optional[str] = None)func NewObjectEmailfilterProfile(ctx *Context, name string, args *ObjectEmailfilterProfileArgs, opts ...ResourceOption) (*ObjectEmailfilterProfile, error)public ObjectEmailfilterProfile(string name, ObjectEmailfilterProfileArgs? args = null, CustomResourceOptions? opts = null)
public ObjectEmailfilterProfile(String name, ObjectEmailfilterProfileArgs args)
public ObjectEmailfilterProfile(String name, ObjectEmailfilterProfileArgs args, CustomResourceOptions options)
type: fortimanager:ObjectEmailfilterProfile
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 ObjectEmailfilterProfileArgs
- 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 ObjectEmailfilterProfileArgs
- 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 ObjectEmailfilterProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectEmailfilterProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectEmailfilterProfileArgs
- 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 objectEmailfilterProfileResource = new Fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource", new()
{
    Adom = "string",
    Comment = "string",
    External = "string",
    FeatureSet = "string",
    FileFilter = new Fortimanager.Inputs.ObjectEmailfilterProfileFileFilterArgs
    {
        Entries = new[]
        {
            new Fortimanager.Inputs.ObjectEmailfilterProfileFileFilterEntryArgs
            {
                Action = "string",
                Comment = "string",
                Encryption = "string",
                FileTypes = new[]
                {
                    "string",
                },
                Filter = "string",
                PasswordProtected = "string",
                Protocols = new[]
                {
                    "string",
                },
            },
        },
        Log = "string",
        ScanArchiveContents = "string",
        Status = "string",
    },
    Gmail = new Fortimanager.Inputs.ObjectEmailfilterProfileGmailArgs
    {
        Log = "string",
        LogAll = "string",
    },
    Imap = new Fortimanager.Inputs.ObjectEmailfilterProfileImapArgs
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    Mapi = new Fortimanager.Inputs.ObjectEmailfilterProfileMapiArgs
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
    },
    MsnHotmail = new Fortimanager.Inputs.ObjectEmailfilterProfileMsnHotmailArgs
    {
        Log = "string",
        LogAll = "string",
    },
    Name = "string",
    ObjectEmailfilterProfileId = "string",
    Options = new[]
    {
        "string",
    },
    OtherWebmails = new Fortimanager.Inputs.ObjectEmailfilterProfileOtherWebmailsArgs
    {
        LogAll = "string",
    },
    Pop3 = new Fortimanager.Inputs.ObjectEmailfilterProfilePop3Args
    {
        Action = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    ReplacemsgGroup = "string",
    Scopetype = "string",
    Smtp = new Fortimanager.Inputs.ObjectEmailfilterProfileSmtpArgs
    {
        Action = "string",
        Hdrip = "string",
        LocalOverride = "string",
        Log = "string",
        LogAll = "string",
        TagMsg = "string",
        TagTypes = new[]
        {
            "string",
        },
    },
    SpamBalTable = "string",
    SpamBwlTable = "string",
    SpamBwordTable = "string",
    SpamBwordThreshold = 0,
    SpamFiltering = "string",
    SpamIptrustTable = "string",
    SpamLog = "string",
    SpamLogFortiguardResponse = "string",
    SpamMheaderTable = "string",
    SpamRblTable = "string",
});
example, err := fortimanager.NewObjectEmailfilterProfile(ctx, "objectEmailfilterProfileResource", &fortimanager.ObjectEmailfilterProfileArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
External: pulumi.String("string"),
FeatureSet: pulumi.String("string"),
FileFilter: &.ObjectEmailfilterProfileFileFilterArgs{
Entries: .ObjectEmailfilterProfileFileFilterEntryArray{
&.ObjectEmailfilterProfileFileFilterEntryArgs{
Action: pulumi.String("string"),
Comment: pulumi.String("string"),
Encryption: pulumi.String("string"),
FileTypes: pulumi.StringArray{
pulumi.String("string"),
},
Filter: pulumi.String("string"),
PasswordProtected: pulumi.String("string"),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Log: pulumi.String("string"),
ScanArchiveContents: pulumi.String("string"),
Status: pulumi.String("string"),
},
Gmail: &.ObjectEmailfilterProfileGmailTypeArgs{
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
Imap: &.ObjectEmailfilterProfileImapTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
Mapi: &.ObjectEmailfilterProfileMapiTypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
MsnHotmail: &.ObjectEmailfilterProfileMsnHotmailTypeArgs{
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
},
Name: pulumi.String("string"),
ObjectEmailfilterProfileId: pulumi.String("string"),
Options: pulumi.StringArray{
pulumi.String("string"),
},
OtherWebmails: &.ObjectEmailfilterProfileOtherWebmailsArgs{
LogAll: pulumi.String("string"),
},
Pop3: &.ObjectEmailfilterProfilePop3TypeArgs{
Action: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
ReplacemsgGroup: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Smtp: &.ObjectEmailfilterProfileSmtpTypeArgs{
Action: pulumi.String("string"),
Hdrip: pulumi.String("string"),
LocalOverride: pulumi.String("string"),
Log: pulumi.String("string"),
LogAll: pulumi.String("string"),
TagMsg: pulumi.String("string"),
TagTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
SpamBalTable: pulumi.String("string"),
SpamBwlTable: pulumi.String("string"),
SpamBwordTable: pulumi.String("string"),
SpamBwordThreshold: pulumi.Float64(0),
SpamFiltering: pulumi.String("string"),
SpamIptrustTable: pulumi.String("string"),
SpamLog: pulumi.String("string"),
SpamLogFortiguardResponse: pulumi.String("string"),
SpamMheaderTable: pulumi.String("string"),
SpamRblTable: pulumi.String("string"),
})
var objectEmailfilterProfileResource = new ObjectEmailfilterProfile("objectEmailfilterProfileResource", ObjectEmailfilterProfileArgs.builder()
    .adom("string")
    .comment("string")
    .external("string")
    .featureSet("string")
    .fileFilter(ObjectEmailfilterProfileFileFilterArgs.builder()
        .entries(ObjectEmailfilterProfileFileFilterEntryArgs.builder()
            .action("string")
            .comment("string")
            .encryption("string")
            .fileTypes("string")
            .filter("string")
            .passwordProtected("string")
            .protocols("string")
            .build())
        .log("string")
        .scanArchiveContents("string")
        .status("string")
        .build())
    .gmail(ObjectEmailfilterProfileGmailArgs.builder()
        .log("string")
        .logAll("string")
        .build())
    .imap(ObjectEmailfilterProfileImapArgs.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .mapi(ObjectEmailfilterProfileMapiArgs.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .build())
    .msnHotmail(ObjectEmailfilterProfileMsnHotmailArgs.builder()
        .log("string")
        .logAll("string")
        .build())
    .name("string")
    .objectEmailfilterProfileId("string")
    .options("string")
    .otherWebmails(ObjectEmailfilterProfileOtherWebmailsArgs.builder()
        .logAll("string")
        .build())
    .pop3(ObjectEmailfilterProfilePop3Args.builder()
        .action("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .replacemsgGroup("string")
    .scopetype("string")
    .smtp(ObjectEmailfilterProfileSmtpArgs.builder()
        .action("string")
        .hdrip("string")
        .localOverride("string")
        .log("string")
        .logAll("string")
        .tagMsg("string")
        .tagTypes("string")
        .build())
    .spamBalTable("string")
    .spamBwlTable("string")
    .spamBwordTable("string")
    .spamBwordThreshold(0)
    .spamFiltering("string")
    .spamIptrustTable("string")
    .spamLog("string")
    .spamLogFortiguardResponse("string")
    .spamMheaderTable("string")
    .spamRblTable("string")
    .build());
object_emailfilter_profile_resource = fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource",
    adom="string",
    comment="string",
    external="string",
    feature_set="string",
    file_filter={
        "entries": [{
            "action": "string",
            "comment": "string",
            "encryption": "string",
            "file_types": ["string"],
            "filter": "string",
            "password_protected": "string",
            "protocols": ["string"],
        }],
        "log": "string",
        "scan_archive_contents": "string",
        "status": "string",
    },
    gmail={
        "log": "string",
        "log_all": "string",
    },
    imap={
        "action": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    mapi={
        "action": "string",
        "log": "string",
        "log_all": "string",
    },
    msn_hotmail={
        "log": "string",
        "log_all": "string",
    },
    name="string",
    object_emailfilter_profile_id="string",
    options=["string"],
    other_webmails={
        "log_all": "string",
    },
    pop3={
        "action": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    replacemsg_group="string",
    scopetype="string",
    smtp={
        "action": "string",
        "hdrip": "string",
        "local_override": "string",
        "log": "string",
        "log_all": "string",
        "tag_msg": "string",
        "tag_types": ["string"],
    },
    spam_bal_table="string",
    spam_bwl_table="string",
    spam_bword_table="string",
    spam_bword_threshold=0,
    spam_filtering="string",
    spam_iptrust_table="string",
    spam_log="string",
    spam_log_fortiguard_response="string",
    spam_mheader_table="string",
    spam_rbl_table="string")
const objectEmailfilterProfileResource = new fortimanager.ObjectEmailfilterProfile("objectEmailfilterProfileResource", {
    adom: "string",
    comment: "string",
    external: "string",
    featureSet: "string",
    fileFilter: {
        entries: [{
            action: "string",
            comment: "string",
            encryption: "string",
            fileTypes: ["string"],
            filter: "string",
            passwordProtected: "string",
            protocols: ["string"],
        }],
        log: "string",
        scanArchiveContents: "string",
        status: "string",
    },
    gmail: {
        log: "string",
        logAll: "string",
    },
    imap: {
        action: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    mapi: {
        action: "string",
        log: "string",
        logAll: "string",
    },
    msnHotmail: {
        log: "string",
        logAll: "string",
    },
    name: "string",
    objectEmailfilterProfileId: "string",
    options: ["string"],
    otherWebmails: {
        logAll: "string",
    },
    pop3: {
        action: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    replacemsgGroup: "string",
    scopetype: "string",
    smtp: {
        action: "string",
        hdrip: "string",
        localOverride: "string",
        log: "string",
        logAll: "string",
        tagMsg: "string",
        tagTypes: ["string"],
    },
    spamBalTable: "string",
    spamBwlTable: "string",
    spamBwordTable: "string",
    spamBwordThreshold: 0,
    spamFiltering: "string",
    spamIptrustTable: "string",
    spamLog: "string",
    spamLogFortiguardResponse: "string",
    spamMheaderTable: "string",
    spamRblTable: "string",
});
type: fortimanager:ObjectEmailfilterProfile
properties:
    adom: string
    comment: string
    external: string
    featureSet: string
    fileFilter:
        entries:
            - action: string
              comment: string
              encryption: string
              fileTypes:
                - string
              filter: string
              passwordProtected: string
              protocols:
                - string
        log: string
        scanArchiveContents: string
        status: string
    gmail:
        log: string
        logAll: string
    imap:
        action: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    mapi:
        action: string
        log: string
        logAll: string
    msnHotmail:
        log: string
        logAll: string
    name: string
    objectEmailfilterProfileId: string
    options:
        - string
    otherWebmails:
        logAll: string
    pop3:
        action: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    replacemsgGroup: string
    scopetype: string
    smtp:
        action: string
        hdrip: string
        localOverride: string
        log: string
        logAll: string
        tagMsg: string
        tagTypes:
            - string
    spamBalTable: string
    spamBwlTable: string
    spamBwordTable: string
    spamBwordThreshold: 0
    spamFiltering: string
    spamIptrustTable: string
    spamLog: string
    spamLogFortiguardResponse: string
    spamMheaderTable: string
    spamRblTable: string
ObjectEmailfilterProfile 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 ObjectEmailfilterProfile resource accepts the following input properties:
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: disable,enable.
- FeatureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- FileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- Gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- Imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- Mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- MsnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- ObjectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Options List<string>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- OtherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- Pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- SpamBal stringTable 
- Anti-spam block/allow list table ID.
- SpamBwl stringTable 
- Anti-spam black/white list table ID.
- SpamBword stringTable 
- Anti-spam banned word table ID.
- SpamBword doubleThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- SpamIptrust stringTable 
- Anti-spam IP trust table ID.
- SpamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- SpamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- SpamMheader stringTable 
- Anti-spam MIME header table ID.
- SpamRbl stringTable 
- Anti-spam DNSBL table ID.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: disable,enable.
- FeatureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- FileFilter ObjectEmailfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- Gmail
ObjectEmailfilter Profile Gmail Type Args 
- Gmail. The structure of gmailblock is documented below.
- Imap
ObjectEmailfilter Profile Imap Type Args 
- Imap. The structure of imapblock is documented below.
- Mapi
ObjectEmailfilter Profile Mapi Type Args 
- Mapi. The structure of mapiblock is documented below.
- MsnHotmail ObjectEmailfilter Profile Msn Hotmail Type Args 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- ObjectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Options []string
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- OtherWebmails ObjectEmailfilter Profile Other Webmails Args 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- Pop3
ObjectEmailfilter Profile Pop3Type Args 
- Pop3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Smtp
ObjectEmailfilter Profile Smtp Type Args 
- Smtp. The structure of smtpblock is documented below.
- SpamBal stringTable 
- Anti-spam block/allow list table ID.
- SpamBwl stringTable 
- Anti-spam black/white list table ID.
- SpamBword stringTable 
- Anti-spam banned word table ID.
- SpamBword float64Threshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- SpamIptrust stringTable 
- Anti-spam IP trust table ID.
- SpamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- SpamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- SpamMheader stringTable 
- Anti-spam MIME header table ID.
- SpamRbl stringTable 
- Anti-spam DNSBL table ID.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet String
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- msnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- objectEmailfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- options List<String>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- spamBal StringTable 
- Anti-spam block/allow list table ID.
- spamBwl StringTable 
- Anti-spam black/white list table ID.
- spamBword StringTable 
- Anti-spam banned word table ID.
- spamBword DoubleThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust StringTable 
- Anti-spam IP trust table ID.
- spamLog String
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog StringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader StringTable 
- Anti-spam MIME header table ID.
- spamRbl StringTable 
- Anti-spam DNSBL table ID.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- msnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name string
- Profile name.
- objectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- options string[]
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup string
- Replacement message group.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- spamBal stringTable 
- Anti-spam block/allow list table ID.
- spamBwl stringTable 
- Anti-spam black/white list table ID.
- spamBword stringTable 
- Anti-spam banned word table ID.
- spamBword numberThreshold 
- Spam banned word threshold.
- spamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust stringTable 
- Anti-spam IP trust table ID.
- spamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader stringTable 
- Anti-spam MIME header table ID.
- spamRbl stringTable 
- Anti-spam DNSBL table ID.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values: disable,enable.
- feature_set str
- Flow/proxy feature set. Valid values: proxy,flow.
- file_filter ObjectEmailfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail Args 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap Args 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi Args 
- Mapi. The structure of mapiblock is documented below.
- msn_hotmail ObjectEmailfilter Profile Msn Hotmail Args 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name str
- Profile name.
- object_emailfilter_ strprofile_ id 
- an identifier for the resource with format {{name}}.
- options Sequence[str]
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- other_webmails ObjectEmailfilter Profile Other Webmails Args 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3Args 
- Pop3. The structure of pop3block is documented below.
- replacemsg_group str
- Replacement message group.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp Args 
- Smtp. The structure of smtpblock is documented below.
- spam_bal_ strtable 
- Anti-spam block/allow list table ID.
- spam_bwl_ strtable 
- Anti-spam black/white list table ID.
- spam_bword_ strtable 
- Anti-spam banned word table ID.
- spam_bword_ floatthreshold 
- Spam banned word threshold.
- spam_filtering str
- Enable/disable spam filtering. Valid values: disable,enable.
- spam_iptrust_ strtable 
- Anti-spam IP trust table ID.
- spam_log str
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spam_log_ strfortiguard_ response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spam_mheader_ strtable 
- Anti-spam MIME header table ID.
- spam_rbl_ strtable 
- Anti-spam DNSBL table ID.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet String
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter Property Map
- File-Filter. The structure of file_filterblock is documented below.
- gmail Property Map
- Gmail. The structure of gmailblock is documented below.
- imap Property Map
- Imap. The structure of imapblock is documented below.
- mapi Property Map
- Mapi. The structure of mapiblock is documented below.
- msnHotmail Property Map
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- objectEmailfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- options List<String>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails Property Map
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3 Property Map
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp Property Map
- Smtp. The structure of smtpblock is documented below.
- spamBal StringTable 
- Anti-spam block/allow list table ID.
- spamBwl StringTable 
- Anti-spam black/white list table ID.
- spamBword StringTable 
- Anti-spam banned word table ID.
- spamBword NumberThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust StringTable 
- Anti-spam IP trust table ID.
- spamLog String
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog StringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader StringTable 
- Anti-spam MIME header table ID.
- spamRbl StringTable 
- Anti-spam DNSBL table ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectEmailfilterProfile 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 ObjectEmailfilterProfile Resource
Get an existing ObjectEmailfilterProfile 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?: ObjectEmailfilterProfileState, opts?: CustomResourceOptions): ObjectEmailfilterProfile@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        external: Optional[str] = None,
        feature_set: Optional[str] = None,
        file_filter: Optional[ObjectEmailfilterProfileFileFilterArgs] = None,
        gmail: Optional[ObjectEmailfilterProfileGmailArgs] = None,
        imap: Optional[ObjectEmailfilterProfileImapArgs] = None,
        mapi: Optional[ObjectEmailfilterProfileMapiArgs] = None,
        msn_hotmail: Optional[ObjectEmailfilterProfileMsnHotmailArgs] = None,
        name: Optional[str] = None,
        object_emailfilter_profile_id: Optional[str] = None,
        options: Optional[Sequence[str]] = None,
        other_webmails: Optional[ObjectEmailfilterProfileOtherWebmailsArgs] = None,
        pop3: Optional[ObjectEmailfilterProfilePop3Args] = None,
        replacemsg_group: Optional[str] = None,
        scopetype: Optional[str] = None,
        smtp: Optional[ObjectEmailfilterProfileSmtpArgs] = None,
        spam_bal_table: Optional[str] = None,
        spam_bwl_table: Optional[str] = None,
        spam_bword_table: Optional[str] = None,
        spam_bword_threshold: Optional[float] = None,
        spam_filtering: Optional[str] = None,
        spam_iptrust_table: Optional[str] = None,
        spam_log: Optional[str] = None,
        spam_log_fortiguard_response: Optional[str] = None,
        spam_mheader_table: Optional[str] = None,
        spam_rbl_table: Optional[str] = None) -> ObjectEmailfilterProfilefunc GetObjectEmailfilterProfile(ctx *Context, name string, id IDInput, state *ObjectEmailfilterProfileState, opts ...ResourceOption) (*ObjectEmailfilterProfile, error)public static ObjectEmailfilterProfile Get(string name, Input<string> id, ObjectEmailfilterProfileState? state, CustomResourceOptions? opts = null)public static ObjectEmailfilterProfile get(String name, Output<String> id, ObjectEmailfilterProfileState state, CustomResourceOptions options)resources:  _:    type: fortimanager:ObjectEmailfilterProfile    get:      id: ${id}- 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.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: disable,enable.
- FeatureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- FileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- Gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- Imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- Mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- MsnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- ObjectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Options List<string>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- OtherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- Pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- SpamBal stringTable 
- Anti-spam block/allow list table ID.
- SpamBwl stringTable 
- Anti-spam black/white list table ID.
- SpamBword stringTable 
- Anti-spam banned word table ID.
- SpamBword doubleThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- SpamIptrust stringTable 
- Anti-spam IP trust table ID.
- SpamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- SpamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- SpamMheader stringTable 
- Anti-spam MIME header table ID.
- SpamRbl stringTable 
- Anti-spam DNSBL table ID.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: disable,enable.
- FeatureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- FileFilter ObjectEmailfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- Gmail
ObjectEmailfilter Profile Gmail Type Args 
- Gmail. The structure of gmailblock is documented below.
- Imap
ObjectEmailfilter Profile Imap Type Args 
- Imap. The structure of imapblock is documented below.
- Mapi
ObjectEmailfilter Profile Mapi Type Args 
- Mapi. The structure of mapiblock is documented below.
- MsnHotmail ObjectEmailfilter Profile Msn Hotmail Type Args 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- ObjectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- Options []string
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- OtherWebmails ObjectEmailfilter Profile Other Webmails Args 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- Pop3
ObjectEmailfilter Profile Pop3Type Args 
- Pop3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- Smtp
ObjectEmailfilter Profile Smtp Type Args 
- Smtp. The structure of smtpblock is documented below.
- SpamBal stringTable 
- Anti-spam block/allow list table ID.
- SpamBwl stringTable 
- Anti-spam black/white list table ID.
- SpamBword stringTable 
- Anti-spam banned word table ID.
- SpamBword float64Threshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- SpamIptrust stringTable 
- Anti-spam IP trust table ID.
- SpamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- SpamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- SpamMheader stringTable 
- Anti-spam MIME header table ID.
- SpamRbl stringTable 
- Anti-spam DNSBL table ID.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet String
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- msnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- objectEmailfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- options List<String>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- spamBal StringTable 
- Anti-spam block/allow list table ID.
- spamBwl StringTable 
- Anti-spam black/white list table ID.
- spamBword StringTable 
- Anti-spam banned word table ID.
- spamBword DoubleThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust StringTable 
- Anti-spam IP trust table ID.
- spamLog String
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog StringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader StringTable 
- Anti-spam MIME header table ID.
- spamRbl StringTable 
- Anti-spam DNSBL table ID.
- adom string
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet string
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter ObjectEmailfilter Profile File Filter 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi 
- Mapi. The structure of mapiblock is documented below.
- msnHotmail ObjectEmailfilter Profile Msn Hotmail 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name string
- Profile name.
- objectEmailfilter stringProfile Id 
- an identifier for the resource with format {{name}}.
- options string[]
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails ObjectEmailfilter Profile Other Webmails 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3 
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup string
- Replacement message group.
- scopetype string
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp 
- Smtp. The structure of smtpblock is documented below.
- spamBal stringTable 
- Anti-spam block/allow list table ID.
- spamBwl stringTable 
- Anti-spam black/white list table ID.
- spamBword stringTable 
- Anti-spam banned word table ID.
- spamBword numberThreshold 
- Spam banned word threshold.
- spamFiltering string
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust stringTable 
- Anti-spam IP trust table ID.
- spamLog string
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog stringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader stringTable 
- Anti-spam MIME header table ID.
- spamRbl stringTable 
- Anti-spam DNSBL table ID.
- adom str
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values: disable,enable.
- feature_set str
- Flow/proxy feature set. Valid values: proxy,flow.
- file_filter ObjectEmailfilter Profile File Filter Args 
- File-Filter. The structure of file_filterblock is documented below.
- gmail
ObjectEmailfilter Profile Gmail Args 
- Gmail. The structure of gmailblock is documented below.
- imap
ObjectEmailfilter Profile Imap Args 
- Imap. The structure of imapblock is documented below.
- mapi
ObjectEmailfilter Profile Mapi Args 
- Mapi. The structure of mapiblock is documented below.
- msn_hotmail ObjectEmailfilter Profile Msn Hotmail Args 
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name str
- Profile name.
- object_emailfilter_ strprofile_ id 
- an identifier for the resource with format {{name}}.
- options Sequence[str]
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- other_webmails ObjectEmailfilter Profile Other Webmails Args 
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3
ObjectEmailfilter Profile Pop3Args 
- Pop3. The structure of pop3block is documented below.
- replacemsg_group str
- Replacement message group.
- scopetype str
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp
ObjectEmailfilter Profile Smtp Args 
- Smtp. The structure of smtpblock is documented below.
- spam_bal_ strtable 
- Anti-spam block/allow list table ID.
- spam_bwl_ strtable 
- Anti-spam black/white list table ID.
- spam_bword_ strtable 
- Anti-spam banned word table ID.
- spam_bword_ floatthreshold 
- Spam banned word threshold.
- spam_filtering str
- Enable/disable spam filtering. Valid values: disable,enable.
- spam_iptrust_ strtable 
- Anti-spam IP trust table ID.
- spam_log str
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spam_log_ strfortiguard_ response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spam_mheader_ strtable 
- Anti-spam MIME header table ID.
- spam_rbl_ strtable 
- Anti-spam DNSBL table ID.
- adom String
- Adom. This value is valid only when the scopetypeisadom, otherwise the value of adom in the provider will be inherited.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: disable,enable.
- featureSet String
- Flow/proxy feature set. Valid values: proxy,flow.
- fileFilter Property Map
- File-Filter. The structure of file_filterblock is documented below.
- gmail Property Map
- Gmail. The structure of gmailblock is documented below.
- imap Property Map
- Imap. The structure of imapblock is documented below.
- mapi Property Map
- Mapi. The structure of mapiblock is documented below.
- msnHotmail Property Map
- Msn-Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- objectEmailfilter StringProfile Id 
- an identifier for the resource with format {{name}}.
- options List<String>
- Options. Valid values: bannedword,spambwl,spamfsip,spamfssubmit,spamfschksum,spamfsurl,spamhelodns,spamraddrdns,spamrbl,spamhdrcheck,spamfsphish.
- otherWebmails Property Map
- Other-Webmails. The structure of other_webmailsblock is documented below.
- pop3 Property Map
- Pop3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- scopetype String
- The scope of application of the resource. Valid values: inherit,adom,global. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- smtp Property Map
- Smtp. The structure of smtpblock is documented below.
- spamBal StringTable 
- Anti-spam block/allow list table ID.
- spamBwl StringTable 
- Anti-spam black/white list table ID.
- spamBword StringTable 
- Anti-spam banned word table ID.
- spamBword NumberThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: disable,enable.
- spamIptrust StringTable 
- Anti-spam IP trust table ID.
- spamLog String
- Enable/disable spam logging for email filtering. Valid values: disable,enable.
- spamLog StringFortiguard Response 
- Enable/disable logging FortiGuard spam response. Valid values: disable,enable.
- spamMheader StringTable 
- Anti-spam MIME header table ID.
- spamRbl StringTable 
- Anti-spam DNSBL table ID.
Supporting Types
ObjectEmailfilterProfileFileFilter, ObjectEmailfilterProfileFileFilterArgs          
- Entries
List<ObjectEmailfilter Profile File Filter Entry> 
- Entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: disable,enable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- Status string
- Enable/disable file filter. Valid values: disable,enable.
- Entries
[]ObjectEmailfilter Profile File Filter Entry 
- Entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: disable,enable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- Status string
- Enable/disable file filter. Valid values: disable,enable.
- entries
List<ObjectEmailfilter Profile File Filter Entry> 
- Entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status String
- Enable/disable file filter. Valid values: disable,enable.
- entries
ObjectEmailfilter Profile File Filter Entry[] 
- Entries. The structure of entriesblock is documented below.
- log string
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status string
- Enable/disable file filter. Valid values: disable,enable.
- entries
Sequence[ObjectEmailfilter Profile File Filter Entry] 
- Entries. The structure of entriesblock is documented below.
- log str
- Enable/disable file filter logging. Valid values: disable,enable.
- scan_archive_ strcontents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status str
- Enable/disable file filter. Valid values: disable,enable.
- entries List<Property Map>
- Entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: disable,enable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: disable,enable.
- status String
- Enable/disable file filter. Valid values: disable,enable.
ObjectEmailfilterProfileFileFilterEntry, ObjectEmailfilterProfileFileFilterEntryArgs            
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- Encryption string
- Encryption. Valid values: any,yes.
- FileTypes List<string>
- Select file type.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: any,yes.
- Protocols List<string>
- Protocols to apply with. Valid values: smtp,imap,pop3.
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- Encryption string
- Encryption. Valid values: any,yes.
- FileTypes []string
- Select file type.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: any,yes.
- Protocols []string
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- encryption String
- Encryption. Valid values: any,yes.
- fileTypes List<String>
- Select file type.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: any,yes.
- protocols List<String>
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action string
- Action taken for matched file. Valid values: log,block.
- comment string
- Comment.
- encryption string
- Encryption. Valid values: any,yes.
- fileTypes string[]
- Select file type.
- filter string
- Add a file filter.
- passwordProtected string
- Match password-protected files. Valid values: any,yes.
- protocols string[]
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action str
- Action taken for matched file. Valid values: log,block.
- comment str
- Comment.
- encryption str
- Encryption. Valid values: any,yes.
- file_types Sequence[str]
- Select file type.
- filter str
- Add a file filter.
- password_protected str
- Match password-protected files. Valid values: any,yes.
- protocols Sequence[str]
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- encryption String
- Encryption. Valid values: any,yes.
- fileTypes List<String>
- Select file type.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: any,yes.
- protocols List<String>
- Protocols to apply with. Valid values: smtp,imap,pop3.
ObjectEmailfilterProfileGmail, ObjectEmailfilterProfileGmailArgs        
ObjectEmailfilterProfileImap, ObjectEmailfilterProfileImapArgs        
- Action string
- Action for spam email. Valid values: pass,tag.
- Log string
- Log. Valid values: disable,enable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- TagMsg string
- Subject text or header added to spam email.
- TagTypes List<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
- Log. Valid values: disable,enable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- TagMsg string
- Subject text or header added to spam email.
- TagTypes []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
- Log. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg String
- Subject text or header added to spam email.
- tagTypes List<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
- Log. Valid values: disable,enable.
- logAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg string
- Subject text or header added to spam email.
- tagTypes 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
- Log. Valid values: disable,enable.
- log_all str
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tag_msg str
- Subject text or header added to spam email.
- tag_types Sequence[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
- Log. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg String
- Subject text or header added to spam email.
- tagTypes List<String>
- Tag subject or header for spam email. Valid values: subject,header,spaminfo.
ObjectEmailfilterProfileMapi, ObjectEmailfilterProfileMapiArgs        
ObjectEmailfilterProfileMsnHotmail, ObjectEmailfilterProfileMsnHotmailArgs          
ObjectEmailfilterProfileOtherWebmails, ObjectEmailfilterProfileOtherWebmailsArgs          
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- logAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- log_all str
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
ObjectEmailfilterProfilePop3, ObjectEmailfilterProfilePop3Args        
ObjectEmailfilterProfileSmtp, ObjectEmailfilterProfileSmtpArgs        
- 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
- Log. Valid values: disable,enable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- TagMsg string
- Subject text or header added to spam email.
- TagTypes List<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
- Log. Valid values: disable,enable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- TagMsg string
- Subject text or header added to spam email.
- TagTypes []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
- Log. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg String
- Subject text or header added to spam email.
- tagTypes List<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
- Log. Valid values: disable,enable.
- logAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg string
- Subject text or header added to spam email.
- tagTypes 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
- Log. Valid values: disable,enable.
- log_all str
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tag_msg str
- Subject text or header added to spam email.
- tag_types Sequence[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
- Log. Valid values: disable,enable.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- tagMsg String
- Subject text or header added to spam email.
- tagTypes List<String>
- Tag subject or header for spam email. Valid values: subject,header,spaminfo.
Import
ObjectEmailfilter Profile can be imported using any of these accepted formats:
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectEmailfilterProfile:ObjectEmailfilterProfile labelname {{name}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the fortimanagerTerraform Provider.