fortimanager.ObjectEmailfilterBlockallowlistEntries
Explore with Pulumi AI
Anti-spam block/allow entries.
This resource is a sub resource for variable
entries
of resourcefortimanager.ObjectEmailfilterBlockallowlist
. Conflict and overwrite may occur if use both of them.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";
const trnameObjectEmailfilterBlockallowlist = new fortimanager.ObjectEmailfilterBlockallowlist("trnameObjectEmailfilterBlockallowlist", {
comment: "This is a Terraform example",
fosid: 25,
});
const trnameObjectEmailfilterBlockallowlistEntries = new fortimanager.ObjectEmailfilterBlockallowlistEntries("trnameObjectEmailfilterBlockallowlistEntries", {
blockAllowList: trnameObjectEmailfilterBlockallowlist.fosid,
fosid: 1,
action: "reject",
}, {
dependsOn: [trnameObjectEmailfilterBlockallowlist],
});
import pulumi
import pulumi_fortimanager as fortimanager
trname_object_emailfilter_blockallowlist = fortimanager.ObjectEmailfilterBlockallowlist("trnameObjectEmailfilterBlockallowlist",
comment="This is a Terraform example",
fosid=25)
trname_object_emailfilter_blockallowlist_entries = fortimanager.ObjectEmailfilterBlockallowlistEntries("trnameObjectEmailfilterBlockallowlistEntries",
block_allow_list=trname_object_emailfilter_blockallowlist.fosid,
fosid=1,
action="reject",
opts = pulumi.ResourceOptions(depends_on=[trname_object_emailfilter_blockallowlist]))
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
trnameObjectEmailfilterBlockallowlist, err := fortimanager.NewObjectEmailfilterBlockallowlist(ctx, "trnameObjectEmailfilterBlockallowlist", &fortimanager.ObjectEmailfilterBlockallowlistArgs{
Comment: pulumi.String("This is a Terraform example"),
Fosid: pulumi.Float64(25),
})
if err != nil {
return err
}
_, err = fortimanager.NewObjectEmailfilterBlockallowlistEntries(ctx, "trnameObjectEmailfilterBlockallowlistEntries", &fortimanager.ObjectEmailfilterBlockallowlistEntriesArgs{
BlockAllowList: trnameObjectEmailfilterBlockallowlist.Fosid,
Fosid: pulumi.Float64(1),
Action: pulumi.String("reject"),
}, pulumi.DependsOn([]pulumi.Resource{
trnameObjectEmailfilterBlockallowlist,
}))
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;
return await Deployment.RunAsync(() =>
{
var trnameObjectEmailfilterBlockallowlist = new Fortimanager.ObjectEmailfilterBlockallowlist("trnameObjectEmailfilterBlockallowlist", new()
{
Comment = "This is a Terraform example",
Fosid = 25,
});
var trnameObjectEmailfilterBlockallowlistEntries = new Fortimanager.ObjectEmailfilterBlockallowlistEntries("trnameObjectEmailfilterBlockallowlistEntries", new()
{
BlockAllowList = trnameObjectEmailfilterBlockallowlist.Fosid,
Fosid = 1,
Action = "reject",
}, new CustomResourceOptions
{
DependsOn =
{
trnameObjectEmailfilterBlockallowlist,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectEmailfilterBlockallowlist;
import com.pulumi.fortimanager.ObjectEmailfilterBlockallowlistArgs;
import com.pulumi.fortimanager.ObjectEmailfilterBlockallowlistEntries;
import com.pulumi.fortimanager.ObjectEmailfilterBlockallowlistEntriesArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trnameObjectEmailfilterBlockallowlist = new ObjectEmailfilterBlockallowlist("trnameObjectEmailfilterBlockallowlist", ObjectEmailfilterBlockallowlistArgs.builder()
.comment("This is a Terraform example")
.fosid(25)
.build());
var trnameObjectEmailfilterBlockallowlistEntries = new ObjectEmailfilterBlockallowlistEntries("trnameObjectEmailfilterBlockallowlistEntries", ObjectEmailfilterBlockallowlistEntriesArgs.builder()
.blockAllowList(trnameObjectEmailfilterBlockallowlist.fosid())
.fosid(1)
.action("reject")
.build(), CustomResourceOptions.builder()
.dependsOn(trnameObjectEmailfilterBlockallowlist)
.build());
}
}
resources:
trnameObjectEmailfilterBlockallowlistEntries:
type: fortimanager:ObjectEmailfilterBlockallowlistEntries
properties:
blockAllowList: ${trnameObjectEmailfilterBlockallowlist.fosid}
fosid: 1
action: reject
options:
dependsOn:
- ${trnameObjectEmailfilterBlockallowlist}
trnameObjectEmailfilterBlockallowlist:
type: fortimanager:ObjectEmailfilterBlockallowlist
properties:
comment: This is a Terraform example
fosid: 25
Create ObjectEmailfilterBlockallowlistEntries Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectEmailfilterBlockallowlistEntries(name: string, args: ObjectEmailfilterBlockallowlistEntriesArgs, opts?: CustomResourceOptions);
@overload
def ObjectEmailfilterBlockallowlistEntries(resource_name: str,
args: ObjectEmailfilterBlockallowlistEntriesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectEmailfilterBlockallowlistEntries(resource_name: str,
opts: Optional[ResourceOptions] = None,
block_allow_list: Optional[str] = None,
ip4_subnet: Optional[str] = None,
adom: Optional[str] = None,
addr_type: Optional[str] = None,
email_pattern: Optional[str] = None,
fosid: Optional[float] = None,
action: Optional[str] = None,
ip6_subnet: Optional[str] = None,
object_emailfilter_blockallowlist_entries_id: Optional[str] = None,
pattern: Optional[str] = None,
pattern_type: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None)
func NewObjectEmailfilterBlockallowlistEntries(ctx *Context, name string, args ObjectEmailfilterBlockallowlistEntriesArgs, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlistEntries, error)
public ObjectEmailfilterBlockallowlistEntries(string name, ObjectEmailfilterBlockallowlistEntriesArgs args, CustomResourceOptions? opts = null)
public ObjectEmailfilterBlockallowlistEntries(String name, ObjectEmailfilterBlockallowlistEntriesArgs args)
public ObjectEmailfilterBlockallowlistEntries(String name, ObjectEmailfilterBlockallowlistEntriesArgs args, CustomResourceOptions options)
type: fortimanager:ObjectEmailfilterBlockallowlistEntries
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 ObjectEmailfilterBlockallowlistEntriesArgs
- 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 ObjectEmailfilterBlockallowlistEntriesArgs
- 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 ObjectEmailfilterBlockallowlistEntriesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectEmailfilterBlockallowlistEntriesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectEmailfilterBlockallowlistEntriesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var objectEmailfilterBlockallowlistEntriesResource = new Fortimanager.ObjectEmailfilterBlockallowlistEntries("objectEmailfilterBlockallowlistEntriesResource", new()
{
BlockAllowList = "string",
Ip4Subnet = "string",
Adom = "string",
AddrType = "string",
EmailPattern = "string",
Fosid = 0,
Action = "string",
Ip6Subnet = "string",
ObjectEmailfilterBlockallowlistEntriesId = "string",
Pattern = "string",
PatternType = "string",
Scopetype = "string",
Status = "string",
Type = "string",
});
example, err := fortimanager.NewObjectEmailfilterBlockallowlistEntries(ctx, "objectEmailfilterBlockallowlistEntriesResource", &fortimanager.ObjectEmailfilterBlockallowlistEntriesArgs{
BlockAllowList: pulumi.String("string"),
Ip4Subnet: pulumi.String("string"),
Adom: pulumi.String("string"),
AddrType: pulumi.String("string"),
EmailPattern: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Action: pulumi.String("string"),
Ip6Subnet: pulumi.String("string"),
ObjectEmailfilterBlockallowlistEntriesId: pulumi.String("string"),
Pattern: pulumi.String("string"),
PatternType: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
})
var objectEmailfilterBlockallowlistEntriesResource = new ObjectEmailfilterBlockallowlistEntries("objectEmailfilterBlockallowlistEntriesResource", ObjectEmailfilterBlockallowlistEntriesArgs.builder()
.blockAllowList("string")
.ip4Subnet("string")
.adom("string")
.addrType("string")
.emailPattern("string")
.fosid(0.0)
.action("string")
.ip6Subnet("string")
.objectEmailfilterBlockallowlistEntriesId("string")
.pattern("string")
.patternType("string")
.scopetype("string")
.status("string")
.type("string")
.build());
object_emailfilter_blockallowlist_entries_resource = fortimanager.ObjectEmailfilterBlockallowlistEntries("objectEmailfilterBlockallowlistEntriesResource",
block_allow_list="string",
ip4_subnet="string",
adom="string",
addr_type="string",
email_pattern="string",
fosid=0,
action="string",
ip6_subnet="string",
object_emailfilter_blockallowlist_entries_id="string",
pattern="string",
pattern_type="string",
scopetype="string",
status="string",
type="string")
const objectEmailfilterBlockallowlistEntriesResource = new fortimanager.ObjectEmailfilterBlockallowlistEntries("objectEmailfilterBlockallowlistEntriesResource", {
blockAllowList: "string",
ip4Subnet: "string",
adom: "string",
addrType: "string",
emailPattern: "string",
fosid: 0,
action: "string",
ip6Subnet: "string",
objectEmailfilterBlockallowlistEntriesId: "string",
pattern: "string",
patternType: "string",
scopetype: "string",
status: "string",
type: "string",
});
type: fortimanager:ObjectEmailfilterBlockallowlistEntries
properties:
action: string
addrType: string
adom: string
blockAllowList: string
emailPattern: string
fosid: 0
ip4Subnet: string
ip6Subnet: string
objectEmailfilterBlockallowlistEntriesId: string
pattern: string
patternType: string
scopetype: string
status: string
type: string
ObjectEmailfilterBlockallowlistEntries 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 ObjectEmailfilterBlockallowlistEntries resource accepts the following input properties:
- Block
Allow stringList - Block Allow List.
- Action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - Addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Email
Pattern string - Email address pattern.
- Fosid double
- Entry ID.
- Ip4Subnet string
- IPv4 network address/subnet mask bits.
- Ip6Subnet string
- IPv6 network address/subnet mask bits.
- Object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- Pattern string
- Pattern to match.
- Pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Status string
- Enable/disable status. Valid values:
disable
,enable
. - Type string
- Entry type. Valid values:
ip
,email
.
- Block
Allow stringList - Block Allow List.
- Action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - Addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Email
Pattern string - Email address pattern.
- Fosid float64
- Entry ID.
- Ip4Subnet string
- IPv4 network address/subnet mask bits.
- Ip6Subnet string
- IPv6 network address/subnet mask bits.
- Object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- Pattern string
- Pattern to match.
- Pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Status string
- Enable/disable status. Valid values:
disable
,enable
. - Type string
- Entry type. Valid values:
ip
,email
.
- block
Allow StringList - Block Allow List.
- action String
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type String - IP address type. Valid values:
ipv4
,ipv6
. - adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - email
Pattern String - Email address pattern.
- fosid Double
- Entry ID.
- ip4Subnet String
- IPv4 network address/subnet mask bits.
- ip6Subnet String
- IPv6 network address/subnet mask bits.
- object
Emailfilter StringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern String
- Pattern to match.
- pattern
Type String - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status String
- Enable/disable status. Valid values:
disable
,enable
. - type String
- Entry type. Valid values:
ip
,email
.
- block
Allow stringList - Block Allow List.
- action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - email
Pattern string - Email address pattern.
- fosid number
- Entry ID.
- ip4Subnet string
- IPv4 network address/subnet mask bits.
- ip6Subnet string
- IPv6 network address/subnet mask bits.
- object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern string
- Pattern to match.
- pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status string
- Enable/disable status. Valid values:
disable
,enable
. - type string
- Entry type. Valid values:
ip
,email
.
- block_
allow_ strlist - Block Allow List.
- action str
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr_
type str - IP address type. Valid values:
ipv4
,ipv6
. - adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - email_
pattern str - Email address pattern.
- fosid float
- Entry ID.
- ip4_
subnet str - IPv4 network address/subnet mask bits.
- ip6_
subnet str - IPv6 network address/subnet mask bits.
- object_
emailfilter_ strblockallowlist_ entries_ id - an identifier for the resource with format {{fosid}}.
- pattern str
- Pattern to match.
- pattern_
type str - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status str
- Enable/disable status. Valid values:
disable
,enable
. - type str
- Entry type. Valid values:
ip
,email
.
- block
Allow StringList - Block Allow List.
- action String
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type String - IP address type. Valid values:
ipv4
,ipv6
. - adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - email
Pattern String - Email address pattern.
- fosid Number
- Entry ID.
- ip4Subnet String
- IPv4 network address/subnet mask bits.
- ip6Subnet String
- IPv6 network address/subnet mask bits.
- object
Emailfilter StringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern String
- Pattern to match.
- pattern
Type String - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status String
- Enable/disable status. Valid values:
disable
,enable
. - type String
- Entry type. Valid values:
ip
,email
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectEmailfilterBlockallowlistEntries 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 ObjectEmailfilterBlockallowlistEntries Resource
Get an existing ObjectEmailfilterBlockallowlistEntries 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?: ObjectEmailfilterBlockallowlistEntriesState, opts?: CustomResourceOptions): ObjectEmailfilterBlockallowlistEntries
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
addr_type: Optional[str] = None,
adom: Optional[str] = None,
block_allow_list: Optional[str] = None,
email_pattern: Optional[str] = None,
fosid: Optional[float] = None,
ip4_subnet: Optional[str] = None,
ip6_subnet: Optional[str] = None,
object_emailfilter_blockallowlist_entries_id: Optional[str] = None,
pattern: Optional[str] = None,
pattern_type: Optional[str] = None,
scopetype: Optional[str] = None,
status: Optional[str] = None,
type: Optional[str] = None) -> ObjectEmailfilterBlockallowlistEntries
func GetObjectEmailfilterBlockallowlistEntries(ctx *Context, name string, id IDInput, state *ObjectEmailfilterBlockallowlistEntriesState, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlistEntries, error)
public static ObjectEmailfilterBlockallowlistEntries Get(string name, Input<string> id, ObjectEmailfilterBlockallowlistEntriesState? state, CustomResourceOptions? opts = null)
public static ObjectEmailfilterBlockallowlistEntries get(String name, Output<String> id, ObjectEmailfilterBlockallowlistEntriesState state, CustomResourceOptions options)
resources: _: type: fortimanager:ObjectEmailfilterBlockallowlistEntries 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.
- Action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - Addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Block
Allow stringList - Block Allow List.
- Email
Pattern string - Email address pattern.
- Fosid double
- Entry ID.
- Ip4Subnet string
- IPv4 network address/subnet mask bits.
- Ip6Subnet string
- IPv6 network address/subnet mask bits.
- Object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- Pattern string
- Pattern to match.
- Pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Status string
- Enable/disable status. Valid values:
disable
,enable
. - Type string
- Entry type. Valid values:
ip
,email
.
- Action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - Addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Block
Allow stringList - Block Allow List.
- Email
Pattern string - Email address pattern.
- Fosid float64
- Entry ID.
- Ip4Subnet string
- IPv4 network address/subnet mask bits.
- Ip6Subnet string
- IPv6 network address/subnet mask bits.
- Object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- Pattern string
- Pattern to match.
- Pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Status string
- Enable/disable status. Valid values:
disable
,enable
. - Type string
- Entry type. Valid values:
ip
,email
.
- action String
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type String - IP address type. Valid values:
ipv4
,ipv6
. - adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - block
Allow StringList - Block Allow List.
- email
Pattern String - Email address pattern.
- fosid Double
- Entry ID.
- ip4Subnet String
- IPv4 network address/subnet mask bits.
- ip6Subnet String
- IPv6 network address/subnet mask bits.
- object
Emailfilter StringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern String
- Pattern to match.
- pattern
Type String - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status String
- Enable/disable status. Valid values:
disable
,enable
. - type String
- Entry type. Valid values:
ip
,email
.
- action string
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type string - IP address type. Valid values:
ipv4
,ipv6
. - adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - block
Allow stringList - Block Allow List.
- email
Pattern string - Email address pattern.
- fosid number
- Entry ID.
- ip4Subnet string
- IPv4 network address/subnet mask bits.
- ip6Subnet string
- IPv6 network address/subnet mask bits.
- object
Emailfilter stringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern string
- Pattern to match.
- pattern
Type string - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status string
- Enable/disable status. Valid values:
disable
,enable
. - type string
- Entry type. Valid values:
ip
,email
.
- action str
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr_
type str - IP address type. Valid values:
ipv4
,ipv6
. - adom str
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - block_
allow_ strlist - Block Allow List.
- email_
pattern str - Email address pattern.
- fosid float
- Entry ID.
- ip4_
subnet str - IPv4 network address/subnet mask bits.
- ip6_
subnet str - IPv6 network address/subnet mask bits.
- object_
emailfilter_ strblockallowlist_ entries_ id - an identifier for the resource with format {{fosid}}.
- pattern str
- Pattern to match.
- pattern_
type str - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status str
- Enable/disable status. Valid values:
disable
,enable
. - type str
- Entry type. Valid values:
ip
,email
.
- action String
- Reject, mark as spam or good email. Valid values:
spam
,clear
,reject
. - addr
Type String - IP address type. Valid values:
ipv4
,ipv6
. - adom String
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - block
Allow StringList - Block Allow List.
- email
Pattern String - Email address pattern.
- fosid Number
- Entry ID.
- ip4Subnet String
- IPv4 network address/subnet mask bits.
- ip6Subnet String
- IPv6 network address/subnet mask bits.
- object
Emailfilter StringBlockallowlist Entries Id - an identifier for the resource with format {{fosid}}.
- pattern String
- Pattern to match.
- pattern
Type String - Wildcard pattern or regular expression. Valid values:
wildcard
,regexp
. - scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - status String
- Enable/disable status. Valid values:
disable
,enable
. - type String
- Entry type. Valid values:
ip
,email
.
Import
ObjectEmailfilter BlockAllowListEntries can be imported using any of these accepted formats:
Set import_options = [“block_allow_list=YOUR_VALUE”] in the provider section.
$ export “FORTIMANAGER_IMPORT_TABLE”=“true”
$ pulumi import fortimanager:index/objectEmailfilterBlockallowlistEntries:ObjectEmailfilterBlockallowlistEntries labelname {{fosid}}
$ unset “FORTIMANAGER_IMPORT_TABLE”
-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortimanager fortinetdev/terraform-provider-fortimanager
- License
- Notes
- This Pulumi package is based on the
fortimanager
Terraform Provider.