fortios.filter/email.Profile
Explore with Pulumi AI
Configure Email Filter profiles. Applies to FortiOS Version >= 6.2.4.
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,
            feature_set: Optional[str] = None,
            file_filter: Optional[ProfileFileFilterArgs] = 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,
            other_webmails: Optional[ProfileOtherWebmailsArgs] = None,
            pop3: Optional[ProfilePop3Args] = None,
            replacemsg_group: Optional[str] = None,
            smtp: Optional[ProfileSmtpArgs] = None,
            spam_bal_table: Optional[int] = 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/email/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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Profile resource accepts the following input properties:
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: enable,disable.
- FeatureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- FileFilter Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter 
- File filter. The structure of file_filterblock is documented below.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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. Email. Inputs. Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- Imap
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Imap 
- IMAP. The structure of imapblock is documented below.
- Mapi
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Mapi 
- MAPI. The structure of mapiblock is documented below.
- MsnHotmail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Msn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- Options string
- Options.
- OtherWebmails Pulumiverse.Fortios. Filter. Email. Inputs. Profile Other Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- Pop3
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Pop3 
- POP3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Smtp
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Smtp 
- SMTP. The structure of smtpblock is documented below.
- SpamBal intTable 
- Anti-spam block/allow list table ID.
- SpamBwl intTable 
- Anti-spam black/white list table ID.
- SpamBword intTable 
- Anti-spam banned word table ID.
- SpamBword intThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- SpamIptrust intTable 
- 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 intTable 
- Anti-spam MIME header table ID.
- SpamRbl intTable 
- 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. Email. Inputs. Profile Yahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: enable,disable.
- FeatureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- FileFilter ProfileFile Filter Args 
- File filter. The structure of file_filterblock is documented below.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 Args 
- Gmail. The structure of gmailblock is documented below.
- Imap
ProfileImap Args 
- IMAP. The structure of imapblock is documented below.
- Mapi
ProfileMapi Args 
- MAPI. The structure of mapiblock is documented below.
- MsnHotmail ProfileMsn Hotmail Args 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- Options string
- Options.
- OtherWebmails ProfileOther Webmails Args 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- Pop3
ProfilePop3Args 
- POP3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Smtp
ProfileSmtp Args 
- SMTP. The structure of smtpblock is documented below.
- SpamBal intTable 
- Anti-spam block/allow list table ID.
- SpamBwl intTable 
- Anti-spam black/white list table ID.
- SpamBword intTable 
- Anti-spam banned word table ID.
- SpamBword intThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- SpamIptrust intTable 
- 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 intTable 
- Anti-spam MIME header table ID.
- SpamRbl intTable 
- 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 ProfileYahoo Mail Args 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet String
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter ProfileFile Filter 
- File filter. The structure of file_filterblock is documented below.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 gmailblock is documented below.
- imap
ProfileImap 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi 
- MAPI. The structure of mapiblock is documented below.
- msnHotmail ProfileMsn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- options String
- Options.
- otherWebmails ProfileOther Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3 
- POP3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- smtp
ProfileSmtp 
- SMTP. The structure of smtpblock is documented below.
- spamBal IntegerTable 
- Anti-spam block/allow list table ID.
- spamBwl IntegerTable 
- Anti-spam black/white list table ID.
- spamBword IntegerTable 
- Anti-spam banned word table ID.
- spamBword IntegerThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust IntegerTable 
- 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 IntegerTable 
- Anti-spam MIME header table ID.
- spamRbl IntegerTable 
- 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 ProfileYahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter ProfileFile Filter 
- File filter. The structure of file_filterblock is documented below.
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 gmailblock is documented below.
- imap
ProfileImap 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi 
- MAPI. The structure of mapiblock is documented below.
- msnHotmail ProfileMsn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name string
- Profile name.
- options string
- Options.
- otherWebmails ProfileOther Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3 
- POP3. The structure of pop3block is documented below.
- replacemsgGroup string
- Replacement message group.
- smtp
ProfileSmtp 
- SMTP. The structure of smtpblock is documented below.
- spamBal numberTable 
- Anti-spam block/allow list table ID.
- spamBwl numberTable 
- Anti-spam black/white list table ID.
- spamBword numberTable 
- Anti-spam banned word table ID.
- spamBword numberThreshold 
- Spam banned word threshold.
- spamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust numberTable 
- 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 numberTable 
- Anti-spam MIME header table ID.
- spamRbl numberTable 
- 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 ProfileYahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values: enable,disable.
- feature_set str
- Flow/proxy feature set. Valid values: flow,proxy.
- file_filter ProfileFile Filter Args 
- File filter. The structure of file_filterblock is documented below.
- get_all_ strtables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 Args 
- Gmail. The structure of gmailblock is documented below.
- imap
ProfileImap Args 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi Args 
- MAPI. The structure of mapiblock is documented below.
- msn_hotmail ProfileMsn Hotmail Args 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name str
- Profile name.
- options str
- Options.
- other_webmails ProfileOther Webmails Args 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3Args 
- POP3. The structure of pop3block is documented below.
- replacemsg_group str
- Replacement message group.
- smtp
ProfileSmtp Args 
- SMTP. The structure of smtpblock is documented below.
- spam_bal_ inttable 
- Anti-spam block/allow list table ID.
- spam_bwl_ inttable 
- Anti-spam black/white list table ID.
- spam_bword_ inttable 
- Anti-spam banned word table ID.
- spam_bword_ intthreshold 
- Spam banned word threshold.
- spam_filtering str
- Enable/disable spam filtering. Valid values: enable,disable.
- spam_iptrust_ inttable 
- 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_ inttable 
- Anti-spam MIME header table ID.
- spam_rbl_ inttable 
- 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 ProfileYahoo Mail Args 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet String
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter Property Map
- File filter. The structure of file_filterblock is documented below.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 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.
- options String
- Options.
- otherWebmails Property Map
- Other supported 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.
- smtp Property Map
- SMTP. The structure of smtpblock is documented below.
- spamBal NumberTable 
- Anti-spam block/allow list table ID.
- spamBwl NumberTable 
- Anti-spam black/white list table ID.
- spamBword NumberTable 
- Anti-spam banned word table ID.
- spamBword NumberThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust NumberTable 
- 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 NumberTable 
- Anti-spam MIME header table ID.
- spamRbl NumberTable 
- 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_mailblock 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,
        feature_set: Optional[str] = None,
        file_filter: Optional[ProfileFileFilterArgs] = 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,
        other_webmails: Optional[ProfileOtherWebmailsArgs] = None,
        pop3: Optional[ProfilePop3Args] = None,
        replacemsg_group: Optional[str] = None,
        smtp: Optional[ProfileSmtpArgs] = None,
        spam_bal_table: Optional[int] = 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) -> Profilefunc 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)resources:  _:    type: fortios:filter/email/profile:Profile    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.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: enable,disable.
- FeatureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- FileFilter Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter 
- File filter. The structure of file_filterblock is documented below.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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. Email. Inputs. Profile Gmail 
- Gmail. The structure of gmailblock is documented below.
- Imap
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Imap 
- IMAP. The structure of imapblock is documented below.
- Mapi
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Mapi 
- MAPI. The structure of mapiblock is documented below.
- MsnHotmail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Msn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- Options string
- Options.
- OtherWebmails Pulumiverse.Fortios. Filter. Email. Inputs. Profile Other Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- Pop3
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Pop3 
- POP3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Smtp
Pulumiverse.Fortios. Filter. Email. Inputs. Profile Smtp 
- SMTP. The structure of smtpblock is documented below.
- SpamBal intTable 
- Anti-spam block/allow list table ID.
- SpamBwl intTable 
- Anti-spam black/white list table ID.
- SpamBword intTable 
- Anti-spam banned word table ID.
- SpamBword intThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- SpamIptrust intTable 
- 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 intTable 
- Anti-spam MIME header table ID.
- SpamRbl intTable 
- 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. Email. Inputs. Profile Yahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values: enable,disable.
- FeatureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- FileFilter ProfileFile Filter Args 
- File filter. The structure of file_filterblock is documented below.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 Args 
- Gmail. The structure of gmailblock is documented below.
- Imap
ProfileImap Args 
- IMAP. The structure of imapblock is documented below.
- Mapi
ProfileMapi Args 
- MAPI. The structure of mapiblock is documented below.
- MsnHotmail ProfileMsn Hotmail Args 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- Name string
- Profile name.
- Options string
- Options.
- OtherWebmails ProfileOther Webmails Args 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- Pop3
ProfilePop3Args 
- POP3. The structure of pop3block is documented below.
- ReplacemsgGroup string
- Replacement message group.
- Smtp
ProfileSmtp Args 
- SMTP. The structure of smtpblock is documented below.
- SpamBal intTable 
- Anti-spam block/allow list table ID.
- SpamBwl intTable 
- Anti-spam black/white list table ID.
- SpamBword intTable 
- Anti-spam banned word table ID.
- SpamBword intThreshold 
- Spam banned word threshold.
- SpamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- SpamIptrust intTable 
- 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 intTable 
- Anti-spam MIME header table ID.
- SpamRbl intTable 
- 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 ProfileYahoo Mail Args 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet String
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter ProfileFile Filter 
- File filter. The structure of file_filterblock is documented below.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 gmailblock is documented below.
- imap
ProfileImap 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi 
- MAPI. The structure of mapiblock is documented below.
- msnHotmail ProfileMsn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name String
- Profile name.
- options String
- Options.
- otherWebmails ProfileOther Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3 
- POP3. The structure of pop3block is documented below.
- replacemsgGroup String
- Replacement message group.
- smtp
ProfileSmtp 
- SMTP. The structure of smtpblock is documented below.
- spamBal IntegerTable 
- Anti-spam block/allow list table ID.
- spamBwl IntegerTable 
- Anti-spam black/white list table ID.
- spamBword IntegerTable 
- Anti-spam banned word table ID.
- spamBword IntegerThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust IntegerTable 
- 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 IntegerTable 
- Anti-spam MIME header table ID.
- spamRbl IntegerTable 
- 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 ProfileYahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet string
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter ProfileFile Filter 
- File filter. The structure of file_filterblock is documented below.
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 gmailblock is documented below.
- imap
ProfileImap 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi 
- MAPI. The structure of mapiblock is documented below.
- msnHotmail ProfileMsn Hotmail 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name string
- Profile name.
- options string
- Options.
- otherWebmails ProfileOther Webmails 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3 
- POP3. The structure of pop3block is documented below.
- replacemsgGroup string
- Replacement message group.
- smtp
ProfileSmtp 
- SMTP. The structure of smtpblock is documented below.
- spamBal numberTable 
- Anti-spam block/allow list table ID.
- spamBwl numberTable 
- Anti-spam black/white list table ID.
- spamBword numberTable 
- Anti-spam banned word table ID.
- spamBword numberThreshold 
- Spam banned word threshold.
- spamFiltering string
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust numberTable 
- 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 numberTable 
- Anti-spam MIME header table ID.
- spamRbl numberTable 
- 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 ProfileYahoo Mail 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values: enable,disable.
- feature_set str
- Flow/proxy feature set. Valid values: flow,proxy.
- file_filter ProfileFile Filter Args 
- File filter. The structure of file_filterblock is documented below.
- get_all_ strtables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 Args 
- Gmail. The structure of gmailblock is documented below.
- imap
ProfileImap Args 
- IMAP. The structure of imapblock is documented below.
- mapi
ProfileMapi Args 
- MAPI. The structure of mapiblock is documented below.
- msn_hotmail ProfileMsn Hotmail Args 
- MSN Hotmail. The structure of msn_hotmailblock is documented below.
- name str
- Profile name.
- options str
- Options.
- other_webmails ProfileOther Webmails Args 
- Other supported webmails. The structure of other_webmailsblock is documented below.
- pop3
ProfilePop3Args 
- POP3. The structure of pop3block is documented below.
- replacemsg_group str
- Replacement message group.
- smtp
ProfileSmtp Args 
- SMTP. The structure of smtpblock is documented below.
- spam_bal_ inttable 
- Anti-spam block/allow list table ID.
- spam_bwl_ inttable 
- Anti-spam black/white list table ID.
- spam_bword_ inttable 
- Anti-spam banned word table ID.
- spam_bword_ intthreshold 
- Spam banned word threshold.
- spam_filtering str
- Enable/disable spam filtering. Valid values: enable,disable.
- spam_iptrust_ inttable 
- 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_ inttable 
- Anti-spam MIME header table ID.
- spam_rbl_ inttable 
- 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 ProfileYahoo Mail Args 
- Yahoo! Mail. The structure of yahoo_mailblock is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values: enable,disable.
- featureSet String
- Flow/proxy feature set. Valid values: flow,proxy.
- fileFilter Property Map
- File filter. The structure of file_filterblock is documented below.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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 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.
- options String
- Options.
- otherWebmails Property Map
- Other supported 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.
- smtp Property Map
- SMTP. The structure of smtpblock is documented below.
- spamBal NumberTable 
- Anti-spam block/allow list table ID.
- spamBwl NumberTable 
- Anti-spam black/white list table ID.
- spamBword NumberTable 
- Anti-spam banned word table ID.
- spamBword NumberThreshold 
- Spam banned word threshold.
- spamFiltering String
- Enable/disable spam filtering. Valid values: enable,disable.
- spamIptrust NumberTable 
- 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 NumberTable 
- Anti-spam MIME header table ID.
- spamRbl NumberTable 
- 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_mailblock is documented below.
Supporting Types
ProfileFileFilter, ProfileFileFilterArgs      
- Entries
List<Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter Entry> 
- File filter entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: enable,disable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- Status string
- Enable/disable file filter. Valid values: enable,disable.
- Entries
[]ProfileFile Filter Entry 
- File filter entries. The structure of entriesblock is documented below.
- Log string
- Enable/disable file filter logging. Valid values: enable,disable.
- ScanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- Status string
- Enable/disable file filter. Valid values: enable,disable.
- entries
List<ProfileFile Filter Entry> 
- File filter entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: enable,disable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- status String
- Enable/disable file filter. Valid values: enable,disable.
- entries
ProfileFile Filter Entry[] 
- File filter entries. The structure of entriesblock is documented below.
- log string
- Enable/disable file filter logging. Valid values: enable,disable.
- scanArchive stringContents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- status string
- Enable/disable file filter. Valid values: enable,disable.
- entries
Sequence[ProfileFile Filter Entry] 
- File filter entries. The structure of entriesblock is documented below.
- log str
- Enable/disable file filter logging. Valid values: enable,disable.
- scan_archive_ strcontents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- status str
- Enable/disable file filter. Valid values: enable,disable.
- entries List<Property Map>
- File filter entries. The structure of entriesblock is documented below.
- log String
- Enable/disable file filter logging. Valid values: enable,disable.
- scanArchive StringContents 
- Enable/disable file filter archive contents scan. Valid values: enable,disable.
- status String
- Enable/disable file filter. Valid values: enable,disable.
ProfileFileFilterEntry, ProfileFileFilterEntryArgs        
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- FileTypes List<Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter Entry File Type> 
- Select file type. The structure of file_typeblock is documented below.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: yes,any.
- Protocol string
- Protocols to apply with. Valid values: smtp,imap,pop3.
- Action string
- Action taken for matched file. Valid values: log,block.
- Comment string
- Comment.
- FileTypes []ProfileFile Filter Entry File Type 
- Select file type. The structure of file_typeblock is documented below.
- Filter string
- Add a file filter.
- PasswordProtected string
- Match password-protected files. Valid values: yes,any.
- Protocol string
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- fileTypes List<ProfileFile Filter Entry File Type> 
- Select file type. The structure of file_typeblock is documented below.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: yes,any.
- protocol String
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action string
- Action taken for matched file. Valid values: log,block.
- comment string
- Comment.
- fileTypes ProfileFile Filter Entry File Type[] 
- Select file type. The structure of file_typeblock is documented below.
- filter string
- Add a file filter.
- passwordProtected string
- Match password-protected files. Valid values: yes,any.
- protocol string
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action str
- Action taken for matched file. Valid values: log,block.
- comment str
- Comment.
- file_types Sequence[ProfileFile Filter Entry File Type] 
- Select file type. The structure of file_typeblock is documented below.
- filter str
- Add a file filter.
- password_protected str
- Match password-protected files. Valid values: yes,any.
- protocol str
- Protocols to apply with. Valid values: smtp,imap,pop3.
- action String
- Action taken for matched file. Valid values: log,block.
- comment String
- Comment.
- fileTypes List<Property Map>
- Select file type. The structure of file_typeblock is documented below.
- filter String
- Add a file filter.
- passwordProtected String
- Match password-protected files. Valid values: yes,any.
- protocol String
- Protocols to apply with. Valid values: smtp,imap,pop3.
ProfileFileFilterEntryFileType, ProfileFileFilterEntryFileTypeArgs            
- Name string
- File type name.
- Name string
- File type name.
- name String
- File type name.
- name string
- File type name.
- name str
- File type name.
- name String
- File type name.
ProfileGmail, ProfileGmailArgs    
ProfileImap, ProfileImapArgs    
- Action string
- Action for spam email. Valid values: pass,tag.
- Log string
- Enable/disable logging. Valid values: enable,disable.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- logAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- 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_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.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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    
ProfileMsnHotmail, ProfileMsnHotmailArgs      
ProfileOtherWebmails, ProfileOtherWebmailsArgs      
- 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.
ProfilePop3, ProfilePop3Args    
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.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- LogAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- logAll string
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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.
- 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_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.
- logAll String
- Enable/disable logging of all email traffic. Valid values: disable,enable.
- 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      
Import
Emailfilter Profile can be imported using any of these accepted formats:
$ pulumi import fortios:filter/email/profile:Profile labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:filter/email/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 fortiosTerraform Provider.
