fortimanager.ObjectFirewallInternetservicecustomEntry
Explore with Pulumi AI
Entries added to the Internet Service database and custom database.
This resource is a sub resource for variable
entryof resourcefortimanager.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],
});
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]))
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
	})
}
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,
        },
    });
});
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());
    }
}
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
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 string
- The unique name of the resource.
- args ObjectFirewallInternetservicecustomEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ObjectFirewallInternetservicecustomEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectFirewallInternetservicecustomEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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: .ObjectFirewallInternetservicecustomEntryPortRangeTypeArray{
&.ObjectFirewallInternetservicecustomEntryPortRangeTypeArgs{
EndPort: pulumi.Float64(0),
Id: pulumi.Float64(0),
StartPort: pulumi.Float64(0),
},
},
Protocol: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
})
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());
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")
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",
});
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
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:
- InternetService stringCustom 
- Internet Service Custom.
- AddrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- DynamicSort stringSubtable 
- 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).
- ObjectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- PortRanges List<ObjectFirewall Internetservicecustom Entry Port Range> 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- InternetService stringCustom 
- Internet Service Custom.
- AddrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- DynamicSort stringSubtable 
- 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).
- ObjectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- PortRanges []ObjectFirewall Internetservicecustom Entry Port Range Type Args 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- internetService StringCustom 
- Internet Service Custom.
- addrMode String
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom String
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort StringSubtable 
- 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).
- objectFirewall StringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges List<ObjectFirewall Internetservicecustom Entry Port Range> 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- internetService stringCustom 
- Internet Service Custom.
- addrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort stringSubtable 
- 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).
- objectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges ObjectFirewall Internetservicecustom Entry Port Range[] 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- internet_service_ strcustom 
- 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 scopetypeisadom, 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_ strsubtable 
- 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_ strinternetservicecustom_ entry_ id 
- an identifier for the resource with format {{fosid}}.
- port_ranges Sequence[ObjectFirewall Internetservicecustom Entry Port Range Args] 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- internetService StringCustom 
- Internet Service Custom.
- addrMode String
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom String
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort StringSubtable 
- 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).
- objectFirewall StringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges List<Property Map>
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
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) -> ObjectFirewallInternetservicecustomEntryfunc 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AddrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- DynamicSort stringSubtable 
- 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).
- InternetService stringCustom 
- Internet Service Custom.
- ObjectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- PortRanges List<ObjectFirewall Internetservicecustom Entry Port Range> 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- AddrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- Adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- DynamicSort stringSubtable 
- 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).
- InternetService stringCustom 
- Internet Service Custom.
- ObjectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- PortRanges []ObjectFirewall Internetservicecustom Entry Port Range Type Args 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- addrMode String
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom String
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort StringSubtable 
- 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).
- internetService StringCustom 
- Internet Service Custom.
- objectFirewall StringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges List<ObjectFirewall Internetservicecustom Entry Port Range> 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- addrMode string
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom string
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort stringSubtable 
- 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).
- internetService stringCustom 
- Internet Service Custom.
- objectFirewall stringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges ObjectFirewall Internetservicecustom Entry Port Range[] 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- addr_mode str
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom str
- Adom. This value is valid only when the scopetypeisadom, 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_ strsubtable 
- 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_ strcustom 
- Internet Service Custom.
- object_firewall_ strinternetservicecustom_ entry_ id 
- an identifier for the resource with format {{fosid}}.
- port_ranges Sequence[ObjectFirewall Internetservicecustom Entry Port Range Args] 
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
- addrMode String
- Address mode (IPv4 or IPv6) Valid values: ipv4,ipv6.
- adom String
- Adom. This value is valid only when the scopetypeisadom, 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.
- dynamicSort StringSubtable 
- 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).
- internetService StringCustom 
- Internet Service Custom.
- objectFirewall StringInternetservicecustom Entry Id 
- an identifier for the resource with format {{fosid}}.
- portRanges List<Property Map>
- Port-Range. The structure of port_rangeblock 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. Theinheritmeans that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit.
Supporting Types
ObjectFirewallInternetservicecustomEntryPortRange, ObjectFirewallInternetservicecustomEntryPortRangeArgs            
- 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).
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}}
$ 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 fortimanagerTerraform Provider.