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
. - Feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - File
Filter Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter - File filter. The structure of
file_filter
block is documented below. - Get
All 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
gmail
block is documented below. - Imap
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Imap - IMAP. The structure of
imap
block is documented below. - Mapi
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Mapi - MAPI. The structure of
mapi
block is documented below. - Msn
Hotmail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Msn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - Name string
- Profile name.
- Options string
- Options.
- Other
Webmails Pulumiverse.Fortios. Filter. Email. Inputs. Profile Other Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - Pop3
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Pop3 - POP3. The structure of
pop3
block is documented below. - Replacemsg
Group string - Replacement message group.
- Smtp
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Smtp - SMTP. The structure of
smtp
block 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 string - Enable/disable spam filtering. Valid values:
enable
,disable
. - Spam
Iptrust intTable - Anti-spam IP trust table ID.
- Spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - Spam
Log stringFortiguard 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 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.
- Yahoo
Mail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Yahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - Feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - File
Filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - Get
All 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
Profile
Gmail Args - Gmail. The structure of
gmail
block is documented below. - Imap
Profile
Imap Args - IMAP. The structure of
imap
block is documented below. - Mapi
Profile
Mapi Args - MAPI. The structure of
mapi
block is documented below. - Msn
Hotmail ProfileMsn Hotmail Args - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - Name string
- Profile name.
- Options string
- Options.
- Other
Webmails ProfileOther Webmails Args - Other supported webmails. The structure of
other_webmails
block is documented below. - Pop3
Profile
Pop3Args - POP3. The structure of
pop3
block is documented below. - Replacemsg
Group string - Replacement message group.
- Smtp
Profile
Smtp Args - SMTP. The structure of
smtp
block 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 string - Enable/disable spam filtering. Valid values:
enable
,disable
. - Spam
Iptrust intTable - Anti-spam IP trust table ID.
- Spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - Spam
Log stringFortiguard 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 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.
- Yahoo
Mail ProfileYahoo Mail Args - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set String - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All 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
Profile
Gmail - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi - MAPI. The structure of
mapi
block is documented below. - msn
Hotmail ProfileMsn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name String
- Profile name.
- options String
- Options.
- other
Webmails ProfileOther Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3 - POP3. The structure of
pop3
block is documented below. - replacemsg
Group String - Replacement message group.
- smtp
Profile
Smtp - SMTP. The structure of
smtp
block is documented below. - spam
Bal IntegerTable - Anti-spam block/allow list table ID.
- spam
Bwl IntegerTable - Anti-spam black/white list table ID.
- spam
Bword IntegerTable - Anti-spam banned word table ID.
- spam
Bword IntegerThreshold - Spam banned word threshold.
- spam
Filtering String - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust IntegerTable - Anti-spam IP trust table ID.
- spam
Log String - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log StringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader IntegerTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail ProfileYahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All 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
Profile
Gmail - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi - MAPI. The structure of
mapi
block is documented below. - msn
Hotmail ProfileMsn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name string
- Profile name.
- options string
- Options.
- other
Webmails ProfileOther Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3 - POP3. The structure of
pop3
block is documented below. - replacemsg
Group string - Replacement message group.
- smtp
Profile
Smtp - SMTP. The structure of
smtp
block is documented below. - spam
Bal numberTable - Anti-spam block/allow list table ID.
- spam
Bwl numberTable - Anti-spam black/white list table ID.
- spam
Bword numberTable - Anti-spam banned word table ID.
- spam
Bword numberThreshold - Spam banned word threshold.
- spam
Filtering string - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust numberTable - Anti-spam IP trust table ID.
- spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log stringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader numberTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail ProfileYahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature_
set str - Flow/proxy feature set. Valid values:
flow
,proxy
. - file_
filter ProfileFile Filter Args - File filter. The structure of
file_filter
block 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
Profile
Gmail Args - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap Args - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi Args - MAPI. The structure of
mapi
block is documented below. - msn_
hotmail ProfileMsn Hotmail Args - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name str
- Profile name.
- options str
- Options.
- other_
webmails ProfileOther Webmails Args - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3Args - POP3. The structure of
pop3
block is documented below. - replacemsg_
group str - Replacement message group.
- smtp
Profile
Smtp Args - SMTP. The structure of
smtp
block 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_mail
block is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set String - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter Property Map - File filter. The structure of
file_filter
block is documented below. - get
All 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
gmail
block is documented below. - imap Property Map
- IMAP. The structure of
imap
block is documented below. - mapi Property Map
- MAPI. The structure of
mapi
block is documented below. - msn
Hotmail Property Map - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name String
- Profile name.
- options String
- Options.
- other
Webmails Property Map - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3 Property Map
- POP3. The structure of
pop3
block is documented below. - replacemsg
Group String - Replacement message group.
- smtp Property Map
- SMTP. The structure of
smtp
block is documented below. - spam
Bal NumberTable - Anti-spam block/allow list table ID.
- spam
Bwl NumberTable - Anti-spam black/white list table ID.
- spam
Bword NumberTable - Anti-spam banned word table ID.
- spam
Bword NumberThreshold - Spam banned word threshold.
- spam
Filtering String - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust NumberTable - Anti-spam IP trust table ID.
- spam
Log String - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log StringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader NumberTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail Property Map - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Profile Resource
Get an existing Profile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
external: Optional[str] = None,
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) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - Feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - File
Filter Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter - File filter. The structure of
file_filter
block is documented below. - Get
All 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
gmail
block is documented below. - Imap
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Imap - IMAP. The structure of
imap
block is documented below. - Mapi
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Mapi - MAPI. The structure of
mapi
block is documented below. - Msn
Hotmail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Msn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - Name string
- Profile name.
- Options string
- Options.
- Other
Webmails Pulumiverse.Fortios. Filter. Email. Inputs. Profile Other Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - Pop3
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Pop3 - POP3. The structure of
pop3
block is documented below. - Replacemsg
Group string - Replacement message group.
- Smtp
Pulumiverse.
Fortios. Filter. Email. Inputs. Profile Smtp - SMTP. The structure of
smtp
block 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 string - Enable/disable spam filtering. Valid values:
enable
,disable
. - Spam
Iptrust intTable - Anti-spam IP trust table ID.
- Spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - Spam
Log stringFortiguard 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 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.
- Yahoo
Mail Pulumiverse.Fortios. Filter. Email. Inputs. Profile Yahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- Comment string
- Comment.
- External string
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - Feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - File
Filter ProfileFile Filter Args - File filter. The structure of
file_filter
block is documented below. - Get
All 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
Profile
Gmail Args - Gmail. The structure of
gmail
block is documented below. - Imap
Profile
Imap Args - IMAP. The structure of
imap
block is documented below. - Mapi
Profile
Mapi Args - MAPI. The structure of
mapi
block is documented below. - Msn
Hotmail ProfileMsn Hotmail Args - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - Name string
- Profile name.
- Options string
- Options.
- Other
Webmails ProfileOther Webmails Args - Other supported webmails. The structure of
other_webmails
block is documented below. - Pop3
Profile
Pop3Args - POP3. The structure of
pop3
block is documented below. - Replacemsg
Group string - Replacement message group.
- Smtp
Profile
Smtp Args - SMTP. The structure of
smtp
block 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 string - Enable/disable spam filtering. Valid values:
enable
,disable
. - Spam
Iptrust intTable - Anti-spam IP trust table ID.
- Spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - Spam
Log stringFortiguard 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 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.
- Yahoo
Mail ProfileYahoo Mail Args - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set String - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All 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
Profile
Gmail - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi - MAPI. The structure of
mapi
block is documented below. - msn
Hotmail ProfileMsn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name String
- Profile name.
- options String
- Options.
- other
Webmails ProfileOther Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3 - POP3. The structure of
pop3
block is documented below. - replacemsg
Group String - Replacement message group.
- smtp
Profile
Smtp - SMTP. The structure of
smtp
block is documented below. - spam
Bal IntegerTable - Anti-spam block/allow list table ID.
- spam
Bwl IntegerTable - Anti-spam black/white list table ID.
- spam
Bword IntegerTable - Anti-spam banned word table ID.
- spam
Bword IntegerThreshold - Spam banned word threshold.
- spam
Filtering String - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust IntegerTable - Anti-spam IP trust table ID.
- spam
Log String - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log StringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader IntegerTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail ProfileYahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment string
- Comment.
- external string
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set string - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter ProfileFile Filter - File filter. The structure of
file_filter
block is documented below. - get
All 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
Profile
Gmail - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi - MAPI. The structure of
mapi
block is documented below. - msn
Hotmail ProfileMsn Hotmail - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name string
- Profile name.
- options string
- Options.
- other
Webmails ProfileOther Webmails - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3 - POP3. The structure of
pop3
block is documented below. - replacemsg
Group string - Replacement message group.
- smtp
Profile
Smtp - SMTP. The structure of
smtp
block is documented below. - spam
Bal numberTable - Anti-spam block/allow list table ID.
- spam
Bwl numberTable - Anti-spam black/white list table ID.
- spam
Bword numberTable - Anti-spam banned word table ID.
- spam
Bword numberThreshold - Spam banned word threshold.
- spam
Filtering string - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust numberTable - Anti-spam IP trust table ID.
- spam
Log string - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log stringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader numberTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail ProfileYahoo Mail - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
- comment str
- Comment.
- external str
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature_
set str - Flow/proxy feature set. Valid values:
flow
,proxy
. - file_
filter ProfileFile Filter Args - File filter. The structure of
file_filter
block 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
Profile
Gmail Args - Gmail. The structure of
gmail
block is documented below. - imap
Profile
Imap Args - IMAP. The structure of
imap
block is documented below. - mapi
Profile
Mapi Args - MAPI. The structure of
mapi
block is documented below. - msn_
hotmail ProfileMsn Hotmail Args - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name str
- Profile name.
- options str
- Options.
- other_
webmails ProfileOther Webmails Args - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3
Profile
Pop3Args - POP3. The structure of
pop3
block is documented below. - replacemsg_
group str - Replacement message group.
- smtp
Profile
Smtp Args - SMTP. The structure of
smtp
block 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_mail
block is documented below.
- comment String
- Comment.
- external String
- Enable/disable external Email inspection. Valid values:
enable
,disable
. - feature
Set String - Flow/proxy feature set. Valid values:
flow
,proxy
. - file
Filter Property Map - File filter. The structure of
file_filter
block is documented below. - get
All 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
gmail
block is documented below. - imap Property Map
- IMAP. The structure of
imap
block is documented below. - mapi Property Map
- MAPI. The structure of
mapi
block is documented below. - msn
Hotmail Property Map - MSN Hotmail. The structure of
msn_hotmail
block is documented below. - name String
- Profile name.
- options String
- Options.
- other
Webmails Property Map - Other supported webmails. The structure of
other_webmails
block is documented below. - pop3 Property Map
- POP3. The structure of
pop3
block is documented below. - replacemsg
Group String - Replacement message group.
- smtp Property Map
- SMTP. The structure of
smtp
block is documented below. - spam
Bal NumberTable - Anti-spam block/allow list table ID.
- spam
Bwl NumberTable - Anti-spam black/white list table ID.
- spam
Bword NumberTable - Anti-spam banned word table ID.
- spam
Bword NumberThreshold - Spam banned word threshold.
- spam
Filtering String - Enable/disable spam filtering. Valid values:
enable
,disable
. - spam
Iptrust NumberTable - Anti-spam IP trust table ID.
- spam
Log String - Enable/disable spam logging for email filtering. Valid values:
disable
,enable
. - spam
Log StringFortiguard Response - Enable/disable logging FortiGuard spam response. Valid values:
disable
,enable
. - spam
Mheader NumberTable - Anti-spam MIME header table ID.
- spam
Rbl 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.
- yahoo
Mail Property Map - Yahoo! Mail. The structure of
yahoo_mail
block is documented below.
Supporting Types
ProfileFileFilter, ProfileFileFilterArgs
- Entries
List<Pulumiverse.
Fortios. Filter. Email. Inputs. Profile File Filter Entry> - File filter entries. The structure of
entries
block is documented below. - Log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - Scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - Status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- Entries
[]Profile
File Filter Entry - File filter entries. The structure of
entries
block is documented below. - Log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - Scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - Status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
List<Profile
File Filter Entry> - File filter entries. The structure of
entries
block is documented below. - log String
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive StringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status String
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
Profile
File Filter Entry[] - File filter entries. The structure of
entries
block is documented below. - log string
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive stringContents - Enable/disable file filter archive contents scan. Valid values:
enable
,disable
. - status string
- Enable/disable file filter. Valid values:
enable
,disable
.
- entries
Sequence[Profile
File Filter Entry] - File filter entries. The structure of
entries
block 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
entries
block is documented below. - log String
- Enable/disable file filter logging. Valid values:
enable
,disable
. - scan
Archive 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.
- File
Types List<Pulumiverse.Fortios. Filter. Email. Inputs. Profile File Filter Entry File Type> - Select file type. The structure of
file_type
block is documented below. - Filter string
- Add a file filter.
- Password
Protected 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.
- File
Types []ProfileFile Filter Entry File Type - Select file type. The structure of
file_type
block is documented below. - Filter string
- Add a file filter.
- Password
Protected 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.
- file
Types List<ProfileFile Filter Entry File Type> - Select file type. The structure of
file_type
block is documented below. - filter String
- Add a file filter.
- password
Protected 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.
- file
Types ProfileFile Filter Entry File Type[] - Select file type. The structure of
file_type
block is documented below. - filter string
- Add a file filter.
- password
Protected 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_type
block 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.
- file
Types List<Property Map> - Select file type. The structure of
file_type
block is documented below. - filter String
- Add a file filter.
- password
Protected 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
. - Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - Tag
Msg string - Subject text or header added to spam email.
- Tag
Type 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
. - Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - Tag
Msg string - Subject text or header added to spam email.
- Tag
Type 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
. - log
All String - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg String - Subject text or header added to spam email.
- tag
Type 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
. - log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg string - Subject text or header added to spam email.
- tag
Type 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
. - log
All String - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg String - Subject text or header added to spam email.
- tag
Type String - Tag subject or header for spam email. Valid values:
subject
,header
,spaminfo
.
ProfileMapi, ProfileMapiArgs
ProfileMsnHotmail, ProfileMsnHotmailArgs
ProfileOtherWebmails, ProfileOtherWebmailsArgs
- Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
.
- Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
.
- log
All String - Enable/disable logging of all email traffic. Valid values:
disable
,enable
.
- log
All 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
.
- log
All 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
. - Local
Override string - Enable/disable local filter to override SMTP remote check result. Valid values:
disable
,enable
. - Log string
- Enable/disable logging. Valid values:
enable
,disable
. - Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - Tag
Msg string - Subject text or header added to spam email.
- Tag
Type 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
. - Local
Override string - Enable/disable local filter to override SMTP remote check result. Valid values:
disable
,enable
. - Log string
- Enable/disable logging. Valid values:
enable
,disable
. - Log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - Tag
Msg string - Subject text or header added to spam email.
- Tag
Type 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
. - local
Override String - Enable/disable local filter to override SMTP remote check result. Valid values:
disable
,enable
. - log String
- Enable/disable logging. Valid values:
enable
,disable
. - log
All String - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg String - Subject text or header added to spam email.
- tag
Type 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
. - local
Override string - Enable/disable local filter to override SMTP remote check result. Valid values:
disable
,enable
. - log string
- Enable/disable logging. Valid values:
enable
,disable
. - log
All string - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg string - Subject text or header added to spam email.
- tag
Type 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
. - local
Override String - Enable/disable local filter to override SMTP remote check result. Valid values:
disable
,enable
. - log String
- Enable/disable logging. Valid values:
enable
,disable
. - log
All String - Enable/disable logging of all email traffic. Valid values:
disable
,enable
. - tag
Msg String - Subject text or header added to spam email.
- tag
Type 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
fortios
Terraform Provider.