1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallInternetservicecustom
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectFirewallInternetservicecustom

Explore with Pulumi AI

Configure custom Internet Services.

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

  • disable_entry: fortimanager_object_firewall_internetservicecustom_disableentry
  • entry: fortimanager.ObjectFirewallInternetservicecustomEntry

Example Usage

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

const trname = new fortimanager.ObjectFirewallInternetservicecustom("trname", {comment: "terraform-comment"});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectFirewallInternetservicecustom("trname", comment="terraform-comment")
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.NewObjectFirewallInternetservicecustom(ctx, "trname", &fortimanager.ObjectFirewallInternetservicecustomArgs{
			Comment: pulumi.String("terraform-comment"),
		})
		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.ObjectFirewallInternetservicecustom("trname", new()
    {
        Comment = "terraform-comment",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectFirewallInternetservicecustom;
import com.pulumi.fortimanager.ObjectFirewallInternetservicecustomArgs;
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 ObjectFirewallInternetservicecustom("trname", ObjectFirewallInternetservicecustomArgs.builder()
            .comment("terraform-comment")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectFirewallInternetservicecustom
    properties:
      comment: terraform-comment
Copy

Create ObjectFirewallInternetservicecustom Resource

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

Constructor syntax

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

@overload
def ObjectFirewallInternetservicecustom(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        adom: Optional[str] = None,
                                        comment: Optional[str] = None,
                                        disable_entries: Optional[Sequence[ObjectFirewallInternetservicecustomDisableEntryArgs]] = None,
                                        dynamic_sort_subtable: Optional[str] = None,
                                        entries: Optional[Sequence[ObjectFirewallInternetservicecustomEntryArgs]] = None,
                                        fosid: Optional[float] = None,
                                        master_service_id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        object_firewall_internetservicecustom_id: Optional[str] = None,
                                        reputation: Optional[float] = None,
                                        scopetype: Optional[str] = None)
func NewObjectFirewallInternetservicecustom(ctx *Context, name string, args *ObjectFirewallInternetservicecustomArgs, opts ...ResourceOption) (*ObjectFirewallInternetservicecustom, error)
public ObjectFirewallInternetservicecustom(string name, ObjectFirewallInternetservicecustomArgs? args = null, CustomResourceOptions? opts = null)
public ObjectFirewallInternetservicecustom(String name, ObjectFirewallInternetservicecustomArgs args)
public ObjectFirewallInternetservicecustom(String name, ObjectFirewallInternetservicecustomArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallInternetservicecustom
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 ObjectFirewallInternetservicecustomArgs
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 ObjectFirewallInternetservicecustomArgs
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 ObjectFirewallInternetservicecustomArgs
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 ObjectFirewallInternetservicecustomArgs
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. ObjectFirewallInternetservicecustomArgs
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 objectFirewallInternetservicecustomResource = new Fortimanager.ObjectFirewallInternetservicecustom("objectFirewallInternetservicecustomResource", new()
{
    Adom = "string",
    Comment = "string",
    DisableEntries = new[]
    {
        new Fortimanager.Inputs.ObjectFirewallInternetservicecustomDisableEntryArgs
        {
            Id = 0,
            IpRanges = new[]
            {
                new Fortimanager.Inputs.ObjectFirewallInternetservicecustomDisableEntryIpRangeArgs
                {
                    EndIp = "string",
                    Id = 0,
                    StartIp = "string",
                },
            },
            Ports = new[]
            {
                0,
            },
            Protocol = 0,
        },
    },
    DynamicSortSubtable = "string",
    Entries = new[]
    {
        new Fortimanager.Inputs.ObjectFirewallInternetservicecustomEntryArgs
        {
            AddrMode = "string",
            Dst = "string",
            Dst6s = new[]
            {
                "string",
            },
            Id = 0,
            PortRanges = new[]
            {
                new Fortimanager.Inputs.ObjectFirewallInternetservicecustomEntryPortRangeArgs
                {
                    EndPort = 0,
                    Id = 0,
                    StartPort = 0,
                },
            },
            Protocol = 0,
        },
    },
    Fosid = 0,
    MasterServiceId = "string",
    Name = "string",
    ObjectFirewallInternetservicecustomId = "string",
    Reputation = 0,
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallInternetservicecustom(ctx, "objectFirewallInternetservicecustomResource", &fortimanager.ObjectFirewallInternetservicecustomArgs{
Adom: pulumi.String("string"),
Comment: pulumi.String("string"),
DisableEntries: .ObjectFirewallInternetservicecustomDisableEntryArray{
&.ObjectFirewallInternetservicecustomDisableEntryArgs{
Id: pulumi.Float64(0),
IpRanges: .ObjectFirewallInternetservicecustomDisableEntryIpRangeArray{
&.ObjectFirewallInternetservicecustomDisableEntryIpRangeArgs{
EndIp: pulumi.String("string"),
Id: pulumi.Float64(0),
StartIp: pulumi.String("string"),
},
},
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
Protocol: pulumi.Float64(0),
},
},
DynamicSortSubtable: pulumi.String("string"),
Entries: .ObjectFirewallInternetservicecustomEntryTypeArray{
&.ObjectFirewallInternetservicecustomEntryTypeArgs{
AddrMode: pulumi.String("string"),
Dst: pulumi.String("string"),
Dst6s: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.Float64(0),
PortRanges: .ObjectFirewallInternetservicecustomEntryPortRangeTypeArray{
&.ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs{
EndPort: pulumi.Float64(0),
Id: pulumi.Float64(0),
StartPort: pulumi.Float64(0),
},
},
Protocol: pulumi.Float64(0),
},
},
Fosid: pulumi.Float64(0),
MasterServiceId: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectFirewallInternetservicecustomId: pulumi.String("string"),
Reputation: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
})
Copy
var objectFirewallInternetservicecustomResource = new ObjectFirewallInternetservicecustom("objectFirewallInternetservicecustomResource", ObjectFirewallInternetservicecustomArgs.builder()
    .adom("string")
    .comment("string")
    .disableEntries(ObjectFirewallInternetservicecustomDisableEntryArgs.builder()
        .id(0)
        .ipRanges(ObjectFirewallInternetservicecustomDisableEntryIpRangeArgs.builder()
            .endIp("string")
            .id(0)
            .startIp("string")
            .build())
        .ports(0)
        .protocol(0)
        .build())
    .dynamicSortSubtable("string")
    .entries(ObjectFirewallInternetservicecustomEntryArgs.builder()
        .addrMode("string")
        .dst("string")
        .dst6s("string")
        .id(0)
        .portRanges(ObjectFirewallInternetservicecustomEntryPortRangeArgs.builder()
            .endPort(0)
            .id(0)
            .startPort(0)
            .build())
        .protocol(0)
        .build())
    .fosid(0)
    .masterServiceId("string")
    .name("string")
    .objectFirewallInternetservicecustomId("string")
    .reputation(0)
    .scopetype("string")
    .build());
Copy
object_firewall_internetservicecustom_resource = fortimanager.ObjectFirewallInternetservicecustom("objectFirewallInternetservicecustomResource",
    adom="string",
    comment="string",
    disable_entries=[{
        "id": 0,
        "ip_ranges": [{
            "end_ip": "string",
            "id": 0,
            "start_ip": "string",
        }],
        "ports": [0],
        "protocol": 0,
    }],
    dynamic_sort_subtable="string",
    entries=[{
        "addr_mode": "string",
        "dst": "string",
        "dst6s": ["string"],
        "id": 0,
        "port_ranges": [{
            "end_port": 0,
            "id": 0,
            "start_port": 0,
        }],
        "protocol": 0,
    }],
    fosid=0,
    master_service_id="string",
    name="string",
    object_firewall_internetservicecustom_id="string",
    reputation=0,
    scopetype="string")
Copy
const objectFirewallInternetservicecustomResource = new fortimanager.ObjectFirewallInternetservicecustom("objectFirewallInternetservicecustomResource", {
    adom: "string",
    comment: "string",
    disableEntries: [{
        id: 0,
        ipRanges: [{
            endIp: "string",
            id: 0,
            startIp: "string",
        }],
        ports: [0],
        protocol: 0,
    }],
    dynamicSortSubtable: "string",
    entries: [{
        addrMode: "string",
        dst: "string",
        dst6s: ["string"],
        id: 0,
        portRanges: [{
            endPort: 0,
            id: 0,
            startPort: 0,
        }],
        protocol: 0,
    }],
    fosid: 0,
    masterServiceId: "string",
    name: "string",
    objectFirewallInternetservicecustomId: "string",
    reputation: 0,
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFirewallInternetservicecustom
properties:
    adom: string
    comment: string
    disableEntries:
        - id: 0
          ipRanges:
            - endIp: string
              id: 0
              startIp: string
          ports:
            - 0
          protocol: 0
    dynamicSortSubtable: string
    entries:
        - addrMode: string
          dst: string
          dst6s:
            - string
          id: 0
          portRanges:
            - endPort: 0
              id: 0
              startPort: 0
          protocol: 0
    fosid: 0
    masterServiceId: string
    name: string
    objectFirewallInternetservicecustomId: string
    reputation: 0
    scopetype: string
Copy

ObjectFirewallInternetservicecustom 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 ObjectFirewallInternetservicecustom 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
Comment.
DisableEntries List<ObjectFirewallInternetservicecustomDisableEntry>
Disable-Entry. The structure of disable_entry block is documented below.
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<ObjectFirewallInternetservicecustomEntry>
Entry. The structure of entry block is documented below.
Fosid double
Internet Service ID.
MasterServiceId string
Internet Service ID in the Internet Service database.
Name string
Internet Service name.
ObjectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
Reputation double
Reputation level of the custom Internet Service.
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
Comment.
DisableEntries []ObjectFirewallInternetservicecustomDisableEntryArgs
Disable-Entry. The structure of disable_entry block is documented below.
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 []ObjectFirewallInternetservicecustomEntryTypeArgs
Entry. The structure of entry block is documented below.
Fosid float64
Internet Service ID.
MasterServiceId string
Internet Service ID in the Internet Service database.
Name string
Internet Service name.
ObjectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
Reputation float64
Reputation level of the custom Internet Service.
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
Comment.
disableEntries List<ObjectFirewallInternetservicecustomDisableEntry>
Disable-Entry. The structure of disable_entry block is documented below.
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<ObjectFirewallInternetservicecustomEntry>
Entry. The structure of entry block is documented below.
fosid Double
Internet Service ID.
masterServiceId String
Internet Service ID in the Internet Service database.
name String
Internet Service name.
objectFirewallInternetservicecustomId String
an identifier for the resource with format {{name}}.
reputation Double
Reputation level of the custom Internet Service.
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
Comment.
disableEntries ObjectFirewallInternetservicecustomDisableEntry[]
Disable-Entry. The structure of disable_entry block is documented below.
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 ObjectFirewallInternetservicecustomEntry[]
Entry. The structure of entry block is documented below.
fosid number
Internet Service ID.
masterServiceId string
Internet Service ID in the Internet Service database.
name string
Internet Service name.
objectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
reputation number
Reputation level of the custom Internet Service.
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
Comment.
disable_entries Sequence[ObjectFirewallInternetservicecustomDisableEntryArgs]
Disable-Entry. The structure of disable_entry block is documented below.
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[ObjectFirewallInternetservicecustomEntryArgs]
Entry. The structure of entry block is documented below.
fosid float
Internet Service ID.
master_service_id str
Internet Service ID in the Internet Service database.
name str
Internet Service name.
object_firewall_internetservicecustom_id str
an identifier for the resource with format {{name}}.
reputation float
Reputation level of the custom Internet Service.
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
Comment.
disableEntries List<Property Map>
Disable-Entry. The structure of disable_entry block is documented below.
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>
Entry. The structure of entry block is documented below.
fosid Number
Internet Service ID.
masterServiceId String
Internet Service ID in the Internet Service database.
name String
Internet Service name.
objectFirewallInternetservicecustomId String
an identifier for the resource with format {{name}}.
reputation Number
Reputation level of the custom Internet Service.
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 ObjectFirewallInternetservicecustom 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 ObjectFirewallInternetservicecustom Resource

Get an existing ObjectFirewallInternetservicecustom 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?: ObjectFirewallInternetservicecustomState, opts?: CustomResourceOptions): ObjectFirewallInternetservicecustom
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comment: Optional[str] = None,
        disable_entries: Optional[Sequence[ObjectFirewallInternetservicecustomDisableEntryArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        entries: Optional[Sequence[ObjectFirewallInternetservicecustomEntryArgs]] = None,
        fosid: Optional[float] = None,
        master_service_id: Optional[str] = None,
        name: Optional[str] = None,
        object_firewall_internetservicecustom_id: Optional[str] = None,
        reputation: Optional[float] = None,
        scopetype: Optional[str] = None) -> ObjectFirewallInternetservicecustom
func GetObjectFirewallInternetservicecustom(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetservicecustomState, opts ...ResourceOption) (*ObjectFirewallInternetservicecustom, error)
public static ObjectFirewallInternetservicecustom Get(string name, Input<string> id, ObjectFirewallInternetservicecustomState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallInternetservicecustom get(String name, Output<String> id, ObjectFirewallInternetservicecustomState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallInternetservicecustom    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
Comment.
DisableEntries List<ObjectFirewallInternetservicecustomDisableEntry>
Disable-Entry. The structure of disable_entry block is documented below.
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<ObjectFirewallInternetservicecustomEntry>
Entry. The structure of entry block is documented below.
Fosid double
Internet Service ID.
MasterServiceId string
Internet Service ID in the Internet Service database.
Name string
Internet Service name.
ObjectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
Reputation double
Reputation level of the custom Internet Service.
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
Comment.
DisableEntries []ObjectFirewallInternetservicecustomDisableEntryArgs
Disable-Entry. The structure of disable_entry block is documented below.
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 []ObjectFirewallInternetservicecustomEntryTypeArgs
Entry. The structure of entry block is documented below.
Fosid float64
Internet Service ID.
MasterServiceId string
Internet Service ID in the Internet Service database.
Name string
Internet Service name.
ObjectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
Reputation float64
Reputation level of the custom Internet Service.
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
Comment.
disableEntries List<ObjectFirewallInternetservicecustomDisableEntry>
Disable-Entry. The structure of disable_entry block is documented below.
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<ObjectFirewallInternetservicecustomEntry>
Entry. The structure of entry block is documented below.
fosid Double
Internet Service ID.
masterServiceId String
Internet Service ID in the Internet Service database.
name String
Internet Service name.
objectFirewallInternetservicecustomId String
an identifier for the resource with format {{name}}.
reputation Double
Reputation level of the custom Internet Service.
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
Comment.
disableEntries ObjectFirewallInternetservicecustomDisableEntry[]
Disable-Entry. The structure of disable_entry block is documented below.
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 ObjectFirewallInternetservicecustomEntry[]
Entry. The structure of entry block is documented below.
fosid number
Internet Service ID.
masterServiceId string
Internet Service ID in the Internet Service database.
name string
Internet Service name.
objectFirewallInternetservicecustomId string
an identifier for the resource with format {{name}}.
reputation number
Reputation level of the custom Internet Service.
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
Comment.
disable_entries Sequence[ObjectFirewallInternetservicecustomDisableEntryArgs]
Disable-Entry. The structure of disable_entry block is documented below.
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[ObjectFirewallInternetservicecustomEntryArgs]
Entry. The structure of entry block is documented below.
fosid float
Internet Service ID.
master_service_id str
Internet Service ID in the Internet Service database.
name str
Internet Service name.
object_firewall_internetservicecustom_id str
an identifier for the resource with format {{name}}.
reputation float
Reputation level of the custom Internet Service.
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
Comment.
disableEntries List<Property Map>
Disable-Entry. The structure of disable_entry block is documented below.
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>
Entry. The structure of entry block is documented below.
fosid Number
Internet Service ID.
masterServiceId String
Internet Service ID in the Internet Service database.
name String
Internet Service name.
objectFirewallInternetservicecustomId String
an identifier for the resource with format {{name}}.
reputation Number
Reputation level of the custom Internet Service.
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

ObjectFirewallInternetservicecustomDisableEntry
, ObjectFirewallInternetservicecustomDisableEntryArgs

Id double
Disable entry ID.
IpRanges List<ObjectFirewallInternetservicecustomDisableEntryIpRange>
Ip-Range. The structure of ip_range block is documented below.
Ports List<double>
Integer value for the TCP/IP port (0 - 65535).
Protocol double
Integer value for the protocol type as defined by IANA (0 - 255).
Id float64
Disable entry ID.
IpRanges []ObjectFirewallInternetservicecustomDisableEntryIpRange
Ip-Range. The structure of ip_range block is documented below.
Ports []float64
Integer value for the TCP/IP port (0 - 65535).
Protocol float64
Integer value for the protocol type as defined by IANA (0 - 255).
id Double
Disable entry ID.
ipRanges List<ObjectFirewallInternetservicecustomDisableEntryIpRange>
Ip-Range. The structure of ip_range block is documented below.
ports List<Double>
Integer value for the TCP/IP port (0 - 65535).
protocol Double
Integer value for the protocol type as defined by IANA (0 - 255).
id number
Disable entry ID.
ipRanges ObjectFirewallInternetservicecustomDisableEntryIpRange[]
Ip-Range. The structure of ip_range block is documented below.
ports number[]
Integer value for the TCP/IP port (0 - 65535).
protocol number
Integer value for the protocol type as defined by IANA (0 - 255).
id float
Disable entry ID.
ip_ranges Sequence[ObjectFirewallInternetservicecustomDisableEntryIpRange]
Ip-Range. The structure of ip_range block is documented below.
ports Sequence[float]
Integer value for the TCP/IP port (0 - 65535).
protocol float
Integer value for the protocol type as defined by IANA (0 - 255).
id Number
Disable entry ID.
ipRanges List<Property Map>
Ip-Range. The structure of ip_range block is documented below.
ports List<Number>
Integer value for the TCP/IP port (0 - 65535).
protocol Number
Integer value for the protocol type as defined by IANA (0 - 255).

ObjectFirewallInternetservicecustomDisableEntryIpRange
, ObjectFirewallInternetservicecustomDisableEntryIpRangeArgs

EndIp string
End IP address.
Id double
Disable entry range ID.
StartIp string
Start IP address.
EndIp string
End IP address.
Id float64
Disable entry range ID.
StartIp string
Start IP address.
endIp String
End IP address.
id Double
Disable entry range ID.
startIp String
Start IP address.
endIp string
End IP address.
id number
Disable entry range ID.
startIp string
Start IP address.
end_ip str
End IP address.
id float
Disable entry range ID.
start_ip str
Start IP address.
endIp String
End IP address.
id Number
Disable entry range ID.
startIp String
Start IP address.

ObjectFirewallInternetservicecustomEntry
, ObjectFirewallInternetservicecustomEntryArgs

AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Dst string
Destination address or address group name.
Dst6s List<string>
Destination address6 or address6 group name.
Id double
Entry ID(1-255).
PortRanges List<ObjectFirewallInternetservicecustomEntryPortRange>
Port-Range. The structure of port_range block is documented below.
Protocol double
Integer value for the protocol type as defined by IANA (0 - 255).
AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Dst string
Destination address or address group name.
Dst6s []string
Destination address6 or address6 group name.
Id float64
Entry ID(1-255).
PortRanges []ObjectFirewallInternetservicecustomEntryPortRangeType
Port-Range. The structure of port_range block is documented below.
Protocol float64
Integer value for the protocol type as defined by IANA (0 - 255).
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
id Double
Entry ID(1-255).
portRanges List<ObjectFirewallInternetservicecustomEntryPortRange>
Port-Range. The structure of port_range block is documented below.
protocol Double
Integer value for the protocol type as defined by IANA (0 - 255).
addrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
dst string
Destination address or address group name.
dst6s string[]
Destination address6 or address6 group name.
id number
Entry ID(1-255).
portRanges ObjectFirewallInternetservicecustomEntryPortRange[]
Port-Range. The structure of port_range block is documented below.
protocol number
Integer value for the protocol type as defined by IANA (0 - 255).
addr_mode str
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
dst str
Destination address or address group name.
dst6s Sequence[str]
Destination address6 or address6 group name.
id float
Entry ID(1-255).
port_ranges Sequence[ObjectFirewallInternetservicecustomEntryPortRange]
Port-Range. The structure of port_range block is documented below.
protocol float
Integer value for the protocol type as defined by IANA (0 - 255).
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
id Number
Entry ID(1-255).
portRanges List<Property Map>
Port-Range. The structure of port_range block is documented below.
protocol Number
Integer value for the protocol type as defined by IANA (0 - 255).

ObjectFirewallInternetservicecustomEntryPortRange
, ObjectFirewallInternetservicecustomEntryPortRangeArgs

EndPort double
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
Id double
Custom entry port range ID.
StartPort double
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
EndPort float64
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
Id float64
Custom entry port range ID.
StartPort float64
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
endPort Double
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
id Double
Custom entry port range ID.
startPort Double
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
endPort number
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
id number
Custom entry port range ID.
startPort number
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
end_port float
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
id float
Custom entry port range ID.
start_port float
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).
endPort Number
Integer value for ending TCP/UDP/SCTP destination port in range (1 to 65535).
id Number
Custom entry port range ID.
startPort Number
Integer value for starting TCP/UDP/SCTP destination port in range (1 to 65535).

Import

ObjectFirewall InternetServiceCustom can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallInternetservicecustom:ObjectFirewallInternetservicecustom labelname {{name}}
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.