1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectEmailfilterBlockallowlist
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectEmailfilterBlockallowlist

Explore with Pulumi AI

Configure anti-spam block/allow list.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • entries: fortimanager.ObjectEmailfilterBlockallowlistEntries

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.ObjectEmailfilterBlockallowlist("trname", {
    comment: "This is a Terraform example",
    fosid: 25,
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectEmailfilterBlockallowlist("trname",
    comment="This is a Terraform example",
    fosid=25)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewObjectEmailfilterBlockallowlist(ctx, "trname", &fortimanager.ObjectEmailfilterBlockallowlistArgs{
			Comment: pulumi.String("This is a Terraform example"),
			Fosid:   pulumi.Float64(25),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.ObjectEmailfilterBlockallowlist("trname", new()
    {
        Comment = "This is a Terraform example",
        Fosid = 25,
    });

});
Copy
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 java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trname = new ObjectEmailfilterBlockallowlist("trname", ObjectEmailfilterBlockallowlistArgs.builder()
            .comment("This is a Terraform example")
            .fosid(25)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectEmailfilterBlockallowlist
    properties:
      comment: This is a Terraform example
      fosid: 25
Copy

Create ObjectEmailfilterBlockallowlist Resource

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

Constructor syntax

new ObjectEmailfilterBlockallowlist(name: string, args?: ObjectEmailfilterBlockallowlistArgs, opts?: CustomResourceOptions);
@overload
def ObjectEmailfilterBlockallowlist(resource_name: str,
                                    args: Optional[ObjectEmailfilterBlockallowlistArgs] = None,
                                    opts: Optional[ResourceOptions] = None)

@overload
def ObjectEmailfilterBlockallowlist(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    adom: Optional[str] = None,
                                    comment: Optional[str] = None,
                                    dynamic_sort_subtable: Optional[str] = None,
                                    entries: Optional[Sequence[ObjectEmailfilterBlockallowlistEntryArgs]] = None,
                                    fosid: Optional[float] = None,
                                    name: Optional[str] = None,
                                    object_emailfilter_blockallowlist_id: Optional[str] = None,
                                    scopetype: Optional[str] = None)
func NewObjectEmailfilterBlockallowlist(ctx *Context, name string, args *ObjectEmailfilterBlockallowlistArgs, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlist, error)
public ObjectEmailfilterBlockallowlist(string name, ObjectEmailfilterBlockallowlistArgs? args = null, CustomResourceOptions? opts = null)
public ObjectEmailfilterBlockallowlist(String name, ObjectEmailfilterBlockallowlistArgs args)
public ObjectEmailfilterBlockallowlist(String name, ObjectEmailfilterBlockallowlistArgs args, CustomResourceOptions options)
type: fortimanager:ObjectEmailfilterBlockallowlist
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ObjectEmailfilterBlockallowlistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ObjectEmailfilterBlockallowlistArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ObjectEmailfilterBlockallowlistArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ObjectEmailfilterBlockallowlistArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectEmailfilterBlockallowlistArgs
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 objectEmailfilterBlockallowlistResource = new Fortimanager.ObjectEmailfilterBlockallowlist("objectEmailfilterBlockallowlistResource", new()
{
    Adom = "string",
    Comment = "string",
    DynamicSortSubtable = "string",
    Entries = new[]
    {
        new Fortimanager.Inputs.ObjectEmailfilterBlockallowlistEntryArgs
        {
            Action = "string",
            AddrType = "string",
            EmailPattern = "string",
            Id = 0,
            Ip4Subnet = "string",
            Ip6Subnet = "string",
            Pattern = "string",
            PatternType = "string",
            Status = "string",
            Type = "string",
        },
    },
    Fosid = 0,
    Name = "string",
    ObjectEmailfilterBlockallowlistId = "string",
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectEmailfilterBlockallowlist(ctx, "objectEmailfilterBlockallowlistResource", &fortimanager.ObjectEmailfilterBlockallowlistArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Entries: .ObjectEmailfilterBlockallowlistEntryArray{
&.ObjectEmailfilterBlockallowlistEntryArgs{
Action: pulumi.String("string"),
AddrType: pulumi.String("string"),
EmailPattern: pulumi.String("string"),
Id: pulumi.Float64(0),
Ip4Subnet: pulumi.String("string"),
Ip6Subnet: pulumi.String("string"),
Pattern: pulumi.String("string"),
PatternType: pulumi.String("string"),
Status: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Fosid: pulumi.Float64(0),
Name: pulumi.String("string"),
ObjectEmailfilterBlockallowlistId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
})
Copy
var objectEmailfilterBlockallowlistResource = new ObjectEmailfilterBlockallowlist("objectEmailfilterBlockallowlistResource", ObjectEmailfilterBlockallowlistArgs.builder()
    .adom("string")
    .comment("string")
    .dynamicSortSubtable("string")
    .entries(ObjectEmailfilterBlockallowlistEntryArgs.builder()
        .action("string")
        .addrType("string")
        .emailPattern("string")
        .id(0)
        .ip4Subnet("string")
        .ip6Subnet("string")
        .pattern("string")
        .patternType("string")
        .status("string")
        .type("string")
        .build())
    .fosid(0)
    .name("string")
    .objectEmailfilterBlockallowlistId("string")
    .scopetype("string")
    .build());
Copy
object_emailfilter_blockallowlist_resource = fortimanager.ObjectEmailfilterBlockallowlist("objectEmailfilterBlockallowlistResource",
    adom="string",
    comment="string",
    dynamic_sort_subtable="string",
    entries=[{
        "action": "string",
        "addr_type": "string",
        "email_pattern": "string",
        "id": 0,
        "ip4_subnet": "string",
        "ip6_subnet": "string",
        "pattern": "string",
        "pattern_type": "string",
        "status": "string",
        "type": "string",
    }],
    fosid=0,
    name="string",
    object_emailfilter_blockallowlist_id="string",
    scopetype="string")
Copy
const objectEmailfilterBlockallowlistResource = new fortimanager.ObjectEmailfilterBlockallowlist("objectEmailfilterBlockallowlistResource", {
    adom: "string",
    comment: "string",
    dynamicSortSubtable: "string",
    entries: [{
        action: "string",
        addrType: "string",
        emailPattern: "string",
        id: 0,
        ip4Subnet: "string",
        ip6Subnet: "string",
        pattern: "string",
        patternType: "string",
        status: "string",
        type: "string",
    }],
    fosid: 0,
    name: "string",
    objectEmailfilterBlockallowlistId: "string",
    scopetype: "string",
});
Copy
type: fortimanager:ObjectEmailfilterBlockallowlist
properties:
    adom: string
    comment: string
    dynamicSortSubtable: string
    entries:
        - action: string
          addrType: string
          emailPattern: string
          id: 0
          ip4Subnet: string
          ip6Subnet: string
          pattern: string
          patternType: string
          status: string
          type: string
    fosid: 0
    name: string
    objectEmailfilterBlockallowlistId: string
    scopetype: string
Copy

ObjectEmailfilterBlockallowlist 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 ObjectEmailfilterBlockallowlist resource accepts the following input properties:

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries List<ObjectEmailfilterBlockallowlistEntry>
Entries. The structure of entries block is documented below.
Fosid double
ID.
Name string
Name of table.
ObjectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries []ObjectEmailfilterBlockallowlistEntryArgs
Entries. The structure of entries block is documented below.
Fosid float64
ID.
Name string
Name of table.
ObjectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<ObjectEmailfilterBlockallowlistEntry>
Entries. The structure of entries block is documented below.
fosid Double
ID.
name String
Name of table.
objectEmailfilterBlockallowlistId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries ObjectEmailfilterBlockallowlistEntry[]
Entries. The structure of entries block is documented below.
fosid number
ID.
name string
Name of table.
objectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries Sequence[ObjectEmailfilterBlockallowlistEntryArgs]
Entries. The structure of entries block is documented below.
fosid float
ID.
name str
Name of table.
object_emailfilter_blockallowlist_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<Property Map>
Entries. The structure of entries block is documented below.
fosid Number
ID.
name String
Name of table.
objectEmailfilterBlockallowlistId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectEmailfilterBlockallowlist 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?: ObjectEmailfilterBlockallowlistState, opts?: CustomResourceOptions): ObjectEmailfilterBlockallowlist
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        entries: Optional[Sequence[ObjectEmailfilterBlockallowlistEntryArgs]] = None,
        fosid: Optional[float] = None,
        name: Optional[str] = None,
        object_emailfilter_blockallowlist_id: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectEmailfilterBlockallowlist
func GetObjectEmailfilterBlockallowlist(ctx *Context, name string, id IDInput, state *ObjectEmailfilterBlockallowlistState, opts ...ResourceOption) (*ObjectEmailfilterBlockallowlist, error)
public static ObjectEmailfilterBlockallowlist Get(string name, Input<string> id, ObjectEmailfilterBlockallowlistState? state, CustomResourceOptions? opts = null)
public static ObjectEmailfilterBlockallowlist get(String name, Output<String> id, ObjectEmailfilterBlockallowlistState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectEmailfilterBlockallowlist    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries List<ObjectEmailfilterBlockallowlistEntry>
Entries. The structure of entries block is documented below.
Fosid double
ID.
Name string
Name of table.
ObjectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comment string
Optional comments.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Entries []ObjectEmailfilterBlockallowlistEntryArgs
Entries. The structure of entries block is documented below.
Fosid float64
ID.
Name string
Name of table.
ObjectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<ObjectEmailfilterBlockallowlistEntry>
Entries. The structure of entries block is documented below.
fosid Double
ID.
name String
Name of table.
objectEmailfilterBlockallowlistId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment string
Optional comments.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries ObjectEmailfilterBlockallowlistEntry[]
Entries. The structure of entries block is documented below.
fosid number
ID.
name string
Name of table.
objectEmailfilterBlockallowlistId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment str
Optional comments.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries Sequence[ObjectEmailfilterBlockallowlistEntryArgs]
Entries. The structure of entries block is documented below.
fosid float
ID.
name str
Name of table.
object_emailfilter_blockallowlist_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comment String
Optional comments.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
entries List<Property Map>
Entries. The structure of entries block is documented below.
fosid Number
ID.
name String
Name of table.
objectEmailfilterBlockallowlistId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectEmailfilterBlockallowlistEntry
, ObjectEmailfilterBlockallowlistEntryArgs

Action string
Reject, mark as spam or good email. Valid values: spam, clear, reject.
AddrType string
IP address type. Valid values: ipv4, ipv6.
EmailPattern string
Email address pattern.
Id double
Entry ID.
Ip4Subnet string
IPv4 network address/subnet mask bits.
Ip6Subnet string
IPv6 network address/subnet mask bits.
Pattern string
Pattern to match.
PatternType string
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
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.
AddrType string
IP address type. Valid values: ipv4, ipv6.
EmailPattern string
Email address pattern.
Id float64
Entry ID.
Ip4Subnet string
IPv4 network address/subnet mask bits.
Ip6Subnet string
IPv6 network address/subnet mask bits.
Pattern string
Pattern to match.
PatternType string
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
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.
addrType String
IP address type. Valid values: ipv4, ipv6.
emailPattern String
Email address pattern.
id Double
Entry ID.
ip4Subnet String
IPv4 network address/subnet mask bits.
ip6Subnet String
IPv6 network address/subnet mask bits.
pattern String
Pattern to match.
patternType String
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
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.
addrType string
IP address type. Valid values: ipv4, ipv6.
emailPattern string
Email address pattern.
id number
Entry ID.
ip4Subnet string
IPv4 network address/subnet mask bits.
ip6Subnet string
IPv6 network address/subnet mask bits.
pattern string
Pattern to match.
patternType string
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
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.
email_pattern str
Email address pattern.
id float
Entry ID.
ip4_subnet str
IPv4 network address/subnet mask bits.
ip6_subnet str
IPv6 network address/subnet mask bits.
pattern str
Pattern to match.
pattern_type str
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
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.
addrType String
IP address type. Valid values: ipv4, ipv6.
emailPattern String
Email address pattern.
id Number
Entry ID.
ip4Subnet String
IPv4 network address/subnet mask bits.
ip6Subnet String
IPv6 network address/subnet mask bits.
pattern String
Pattern to match.
patternType String
Wildcard pattern or regular expression. Valid values: wildcard, regexp.
status String
Enable/disable status. Valid values: disable, enable.
type String
Entry type. Valid values: ip, email.

Import

ObjectEmailfilter BlockAllowList can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectEmailfilterBlockallowlist:ObjectEmailfilterBlockallowlist labelname {{fosid}}
Copy

$ 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.