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

fortimanager.ObjectFirewallInternetservicecustomEntry

Explore with Pulumi AI

Entries added to the Internet Service database and custom database.

This resource is a sub resource for variable entry of resource fortimanager.ObjectFirewallInternetservicecustom. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • port_range: fortimanager.ObjectFirewallInternetservicecustomEntryPortrange

Example Usage

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

const trnameObjectFirewallInternetservicecustom = new fortimanager.ObjectFirewallInternetservicecustom("trnameObjectFirewallInternetservicecustom", {});
const trnameObjectFirewallInternetservicecustomEntry = new fortimanager.ObjectFirewallInternetservicecustomEntry("trnameObjectFirewallInternetservicecustomEntry", {
    internetServiceCustom: trnameObjectFirewallInternetservicecustom.name,
    fosid: 2,
    protocol: 26,
    portRanges: [{
        endPort: 600,
        id: 1,
        startPort: 500,
    }],
}, {
    dependsOn: [trnameObjectFirewallInternetservicecustom],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_firewall_internetservicecustom = fortimanager.ObjectFirewallInternetservicecustom("trnameObjectFirewallInternetservicecustom")
trname_object_firewall_internetservicecustom_entry = fortimanager.ObjectFirewallInternetservicecustomEntry("trnameObjectFirewallInternetservicecustomEntry",
    internet_service_custom=trname_object_firewall_internetservicecustom.name,
    fosid=2,
    protocol=26,
    port_ranges=[{
        "end_port": 600,
        "id": 1,
        "start_port": 500,
    }],
    opts = pulumi.ResourceOptions(depends_on=[trname_object_firewall_internetservicecustom]))
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 {
		trnameObjectFirewallInternetservicecustom, err := fortimanager.NewObjectFirewallInternetservicecustom(ctx, "trnameObjectFirewallInternetservicecustom", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectFirewallInternetservicecustomEntry(ctx, "trnameObjectFirewallInternetservicecustomEntry", &fortimanager.ObjectFirewallInternetservicecustomEntryArgs{
			InternetServiceCustom: trnameObjectFirewallInternetservicecustom.Name,
			Fosid:                 pulumi.Float64(2),
			Protocol:              pulumi.Float64(26),
			PortRanges: fortimanager.ObjectFirewallInternetservicecustomEntryPortRangeTypeArray{
				&fortimanager.ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs{
					EndPort:   pulumi.Float64(600),
					Id:        pulumi.Float64(1),
					StartPort: pulumi.Float64(500),
				},
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectFirewallInternetservicecustom,
		}))
		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 trnameObjectFirewallInternetservicecustom = new Fortimanager.ObjectFirewallInternetservicecustom("trnameObjectFirewallInternetservicecustom");

    var trnameObjectFirewallInternetservicecustomEntry = new Fortimanager.ObjectFirewallInternetservicecustomEntry("trnameObjectFirewallInternetservicecustomEntry", new()
    {
        InternetServiceCustom = trnameObjectFirewallInternetservicecustom.Name,
        Fosid = 2,
        Protocol = 26,
        PortRanges = new[]
        {
            new Fortimanager.Inputs.ObjectFirewallInternetservicecustomEntryPortRangeArgs
            {
                EndPort = 600,
                Id = 1,
                StartPort = 500,
            },
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectFirewallInternetservicecustom,
        },
    });

});
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.ObjectFirewallInternetservicecustomEntry;
import com.pulumi.fortimanager.ObjectFirewallInternetservicecustomEntryArgs;
import com.pulumi.fortimanager.inputs.ObjectFirewallInternetservicecustomEntryPortRangeArgs;
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 trnameObjectFirewallInternetservicecustom = new ObjectFirewallInternetservicecustom("trnameObjectFirewallInternetservicecustom");

        var trnameObjectFirewallInternetservicecustomEntry = new ObjectFirewallInternetservicecustomEntry("trnameObjectFirewallInternetservicecustomEntry", ObjectFirewallInternetservicecustomEntryArgs.builder()
            .internetServiceCustom(trnameObjectFirewallInternetservicecustom.name())
            .fosid(2)
            .protocol(26)
            .portRanges(ObjectFirewallInternetservicecustomEntryPortRangeArgs.builder()
                .endPort(600)
                .id(1)
                .startPort(500)
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectFirewallInternetservicecustom)
                .build());

    }
}
Copy
resources:
  trnameObjectFirewallInternetservicecustomEntry:
    type: fortimanager:ObjectFirewallInternetservicecustomEntry
    properties:
      internetServiceCustom: ${trnameObjectFirewallInternetservicecustom.name}
      fosid: 2
      protocol: 26
      portRanges:
        - endPort: 600
          id: 1
          startPort: 500
    options:
      dependsOn:
        - ${trnameObjectFirewallInternetservicecustom}
  trnameObjectFirewallInternetservicecustom:
    type: fortimanager:ObjectFirewallInternetservicecustom
Copy

Create ObjectFirewallInternetservicecustomEntry Resource

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

Constructor syntax

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

@overload
def ObjectFirewallInternetservicecustomEntry(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             internet_service_custom: Optional[str] = None,
                                             addr_mode: Optional[str] = None,
                                             adom: Optional[str] = None,
                                             dst: Optional[str] = None,
                                             dst6s: Optional[Sequence[str]] = None,
                                             dynamic_sort_subtable: Optional[str] = None,
                                             fosid: Optional[float] = None,
                                             object_firewall_internetservicecustom_entry_id: Optional[str] = None,
                                             port_ranges: Optional[Sequence[ObjectFirewallInternetservicecustomEntryPortRangeArgs]] = None,
                                             protocol: Optional[float] = None,
                                             scopetype: Optional[str] = None)
func NewObjectFirewallInternetservicecustomEntry(ctx *Context, name string, args ObjectFirewallInternetservicecustomEntryArgs, opts ...ResourceOption) (*ObjectFirewallInternetservicecustomEntry, error)
public ObjectFirewallInternetservicecustomEntry(string name, ObjectFirewallInternetservicecustomEntryArgs args, CustomResourceOptions? opts = null)
public ObjectFirewallInternetservicecustomEntry(String name, ObjectFirewallInternetservicecustomEntryArgs args)
public ObjectFirewallInternetservicecustomEntry(String name, ObjectFirewallInternetservicecustomEntryArgs args, CustomResourceOptions options)
type: fortimanager:ObjectFirewallInternetservicecustomEntry
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 This property is required. ObjectFirewallInternetservicecustomEntryArgs
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 This property is required. ObjectFirewallInternetservicecustomEntryInitArgs
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 This property is required. ObjectFirewallInternetservicecustomEntryArgs
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 This property is required. ObjectFirewallInternetservicecustomEntryArgs
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. ObjectFirewallInternetservicecustomEntryArgs
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 objectFirewallInternetservicecustomEntryResource = new Fortimanager.ObjectFirewallInternetservicecustomEntry("objectFirewallInternetservicecustomEntryResource", new()
{
    InternetServiceCustom = "string",
    AddrMode = "string",
    Adom = "string",
    Dst = "string",
    Dst6s = new[]
    {
        "string",
    },
    DynamicSortSubtable = "string",
    Fosid = 0,
    ObjectFirewallInternetservicecustomEntryId = "string",
    PortRanges = new[]
    {
        new Fortimanager.Inputs.ObjectFirewallInternetservicecustomEntryPortRangeArgs
        {
            EndPort = 0,
            Id = 0,
            StartPort = 0,
        },
    },
    Protocol = 0,
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectFirewallInternetservicecustomEntry(ctx, "objectFirewallInternetservicecustomEntryResource", &fortimanager.ObjectFirewallInternetservicecustomEntryArgs{
	InternetServiceCustom: pulumi.String("string"),
	AddrMode:              pulumi.String("string"),
	Adom:                  pulumi.String("string"),
	Dst:                   pulumi.String("string"),
	Dst6s: pulumi.StringArray{
		pulumi.String("string"),
	},
	DynamicSortSubtable: pulumi.String("string"),
	Fosid:               pulumi.Float64(0),
	ObjectFirewallInternetservicecustomEntryId: pulumi.String("string"),
	PortRanges: fortimanager.ObjectFirewallInternetservicecustomEntryPortRangeTypeArray{
		&fortimanager.ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs{
			EndPort:   pulumi.Float64(0),
			Id:        pulumi.Float64(0),
			StartPort: pulumi.Float64(0),
		},
	},
	Protocol:  pulumi.Float64(0),
	Scopetype: pulumi.String("string"),
})
Copy
var objectFirewallInternetservicecustomEntryResource = new ObjectFirewallInternetservicecustomEntry("objectFirewallInternetservicecustomEntryResource", ObjectFirewallInternetservicecustomEntryArgs.builder()
    .internetServiceCustom("string")
    .addrMode("string")
    .adom("string")
    .dst("string")
    .dst6s("string")
    .dynamicSortSubtable("string")
    .fosid(0)
    .objectFirewallInternetservicecustomEntryId("string")
    .portRanges(ObjectFirewallInternetservicecustomEntryPortRangeArgs.builder()
        .endPort(0)
        .id(0)
        .startPort(0)
        .build())
    .protocol(0)
    .scopetype("string")
    .build());
Copy
object_firewall_internetservicecustom_entry_resource = fortimanager.ObjectFirewallInternetservicecustomEntry("objectFirewallInternetservicecustomEntryResource",
    internet_service_custom="string",
    addr_mode="string",
    adom="string",
    dst="string",
    dst6s=["string"],
    dynamic_sort_subtable="string",
    fosid=0,
    object_firewall_internetservicecustom_entry_id="string",
    port_ranges=[{
        "end_port": 0,
        "id": 0,
        "start_port": 0,
    }],
    protocol=0,
    scopetype="string")
Copy
const objectFirewallInternetservicecustomEntryResource = new fortimanager.ObjectFirewallInternetservicecustomEntry("objectFirewallInternetservicecustomEntryResource", {
    internetServiceCustom: "string",
    addrMode: "string",
    adom: "string",
    dst: "string",
    dst6s: ["string"],
    dynamicSortSubtable: "string",
    fosid: 0,
    objectFirewallInternetservicecustomEntryId: "string",
    portRanges: [{
        endPort: 0,
        id: 0,
        startPort: 0,
    }],
    protocol: 0,
    scopetype: "string",
});
Copy
type: fortimanager:ObjectFirewallInternetservicecustomEntry
properties:
    addrMode: string
    adom: string
    dst: string
    dst6s:
        - string
    dynamicSortSubtable: string
    fosid: 0
    internetServiceCustom: string
    objectFirewallInternetservicecustomEntryId: string
    portRanges:
        - endPort: 0
          id: 0
          startPort: 0
    protocol: 0
    scopetype: string
Copy

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

InternetServiceCustom This property is required. string
Internet Service Custom.
AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dst string
Destination address or address group name.
Dst6s List<string>
Destination address6 or address6 group name.
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.
Fosid double
Entry ID(1-255).
ObjectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
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).
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.
InternetServiceCustom This property is required. string
Internet Service Custom.
AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dst string
Destination address or address group name.
Dst6s []string
Destination address6 or address6 group name.
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.
Fosid float64
Entry ID(1-255).
ObjectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
PortRanges []ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs
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).
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.
internetServiceCustom This property is required. String
Internet Service Custom.
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
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.
fosid Double
Entry ID(1-255).
objectFirewallInternetservicecustomEntryId String
an identifier for the resource with format {{fosid}}.
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).
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.
internetServiceCustom This property is required. string
Internet Service Custom.
addrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst string
Destination address or address group name.
dst6s string[]
Destination address6 or address6 group name.
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.
fosid number
Entry ID(1-255).
objectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
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).
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.
internet_service_custom This property is required. str
Internet Service Custom.
addr_mode str
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst str
Destination address or address group name.
dst6s Sequence[str]
Destination address6 or address6 group name.
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.
fosid float
Entry ID(1-255).
object_firewall_internetservicecustom_entry_id str
an identifier for the resource with format {{fosid}}.
port_ranges Sequence[ObjectFirewallInternetservicecustomEntryPortRangeArgs]
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).
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.
internetServiceCustom This property is required. String
Internet Service Custom.
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
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.
fosid Number
Entry ID(1-255).
objectFirewallInternetservicecustomEntryId String
an identifier for the resource with format {{fosid}}.
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).
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 ObjectFirewallInternetservicecustomEntry 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 ObjectFirewallInternetservicecustomEntry Resource

Get an existing ObjectFirewallInternetservicecustomEntry 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?: ObjectFirewallInternetservicecustomEntryState, opts?: CustomResourceOptions): ObjectFirewallInternetservicecustomEntry
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addr_mode: Optional[str] = None,
        adom: Optional[str] = None,
        dst: Optional[str] = None,
        dst6s: Optional[Sequence[str]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        fosid: Optional[float] = None,
        internet_service_custom: Optional[str] = None,
        object_firewall_internetservicecustom_entry_id: Optional[str] = None,
        port_ranges: Optional[Sequence[ObjectFirewallInternetservicecustomEntryPortRangeArgs]] = None,
        protocol: Optional[float] = None,
        scopetype: Optional[str] = None) -> ObjectFirewallInternetservicecustomEntry
func GetObjectFirewallInternetservicecustomEntry(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetservicecustomEntryState, opts ...ResourceOption) (*ObjectFirewallInternetservicecustomEntry, error)
public static ObjectFirewallInternetservicecustomEntry Get(string name, Input<string> id, ObjectFirewallInternetservicecustomEntryState? state, CustomResourceOptions? opts = null)
public static ObjectFirewallInternetservicecustomEntry get(String name, Output<String> id, ObjectFirewallInternetservicecustomEntryState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectFirewallInternetservicecustomEntry    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:
AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dst string
Destination address or address group name.
Dst6s List<string>
Destination address6 or address6 group name.
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.
Fosid double
Entry ID(1-255).
InternetServiceCustom string
Internet Service Custom.
ObjectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
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).
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.
AddrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Dst string
Destination address or address group name.
Dst6s []string
Destination address6 or address6 group name.
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.
Fosid float64
Entry ID(1-255).
InternetServiceCustom string
Internet Service Custom.
ObjectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
PortRanges []ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs
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).
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.
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
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.
fosid Double
Entry ID(1-255).
internetServiceCustom String
Internet Service Custom.
objectFirewallInternetservicecustomEntryId String
an identifier for the resource with format {{fosid}}.
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).
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.
addrMode string
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst string
Destination address or address group name.
dst6s string[]
Destination address6 or address6 group name.
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.
fosid number
Entry ID(1-255).
internetServiceCustom string
Internet Service Custom.
objectFirewallInternetservicecustomEntryId string
an identifier for the resource with format {{fosid}}.
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).
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.
addr_mode str
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst str
Destination address or address group name.
dst6s Sequence[str]
Destination address6 or address6 group name.
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.
fosid float
Entry ID(1-255).
internet_service_custom str
Internet Service Custom.
object_firewall_internetservicecustom_entry_id str
an identifier for the resource with format {{fosid}}.
port_ranges Sequence[ObjectFirewallInternetservicecustomEntryPortRangeArgs]
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).
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.
addrMode String
Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dst String
Destination address or address group name.
dst6s List<String>
Destination address6 or address6 group name.
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.
fosid Number
Entry ID(1-255).
internetServiceCustom String
Internet Service Custom.
objectFirewallInternetservicecustomEntryId String
an identifier for the resource with format {{fosid}}.
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).
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

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 InternetServiceCustomEntry can be imported using any of these accepted formats:

Set import_options = [“internet_service_custom=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectFirewallInternetservicecustomEntry:ObjectFirewallInternetservicecustomEntry 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.