1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallInternetserviceextensionEntryPortrange
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
fortimanager logo
fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev

    Port ranges in the custom entry.

    This resource is a sub resource for variable port_range of resource fortimanager.ObjectFirewallInternetserviceextensionEntry. Conflict and overwrite may occur if use both of them.

    Create ObjectFirewallInternetserviceextensionEntryPortrange Resource

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

    Constructor syntax

    new ObjectFirewallInternetserviceextensionEntryPortrange(name: string, args: ObjectFirewallInternetserviceextensionEntryPortrangeArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectFirewallInternetserviceextensionEntryPortrange(resource_name: str,
                                                             args: ObjectFirewallInternetserviceextensionEntryPortrangeArgs,
                                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectFirewallInternetserviceextensionEntryPortrange(resource_name: str,
                                                             opts: Optional[ResourceOptions] = None,
                                                             entry: Optional[str] = None,
                                                             internet_service_extension: Optional[str] = None,
                                                             adom: Optional[str] = None,
                                                             end_port: Optional[float] = None,
                                                             fosid: Optional[float] = None,
                                                             object_firewall_internetserviceextension_entry_portrange_id: Optional[str] = None,
                                                             scopetype: Optional[str] = None,
                                                             start_port: Optional[float] = None)
    func NewObjectFirewallInternetserviceextensionEntryPortrange(ctx *Context, name string, args ObjectFirewallInternetserviceextensionEntryPortrangeArgs, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionEntryPortrange, error)
    public ObjectFirewallInternetserviceextensionEntryPortrange(string name, ObjectFirewallInternetserviceextensionEntryPortrangeArgs args, CustomResourceOptions? opts = null)
    public ObjectFirewallInternetserviceextensionEntryPortrange(String name, ObjectFirewallInternetserviceextensionEntryPortrangeArgs args)
    public ObjectFirewallInternetserviceextensionEntryPortrange(String name, ObjectFirewallInternetserviceextensionEntryPortrangeArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectFirewallInternetserviceextensionEntryPortrange
    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 ObjectFirewallInternetserviceextensionEntryPortrangeArgs
    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 ObjectFirewallInternetserviceextensionEntryPortrangeArgs
    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 ObjectFirewallInternetserviceextensionEntryPortrangeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectFirewallInternetserviceextensionEntryPortrangeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectFirewallInternetserviceextensionEntryPortrangeArgs
    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 objectFirewallInternetserviceextensionEntryPortrangeResource = new Fortimanager.ObjectFirewallInternetserviceextensionEntryPortrange("objectFirewallInternetserviceextensionEntryPortrangeResource", new()
    {
        Entry = "string",
        InternetServiceExtension = "string",
        Adom = "string",
        EndPort = 0,
        Fosid = 0,
        ObjectFirewallInternetserviceextensionEntryPortrangeId = "string",
        Scopetype = "string",
        StartPort = 0,
    });
    
    example, err := fortimanager.NewObjectFirewallInternetserviceextensionEntryPortrange(ctx, "objectFirewallInternetserviceextensionEntryPortrangeResource", &fortimanager.ObjectFirewallInternetserviceextensionEntryPortrangeArgs{
    	Entry:                    pulumi.String("string"),
    	InternetServiceExtension: pulumi.String("string"),
    	Adom:                     pulumi.String("string"),
    	EndPort:                  pulumi.Float64(0),
    	Fosid:                    pulumi.Float64(0),
    	ObjectFirewallInternetserviceextensionEntryPortrangeId: pulumi.String("string"),
    	Scopetype: pulumi.String("string"),
    	StartPort: pulumi.Float64(0),
    })
    
    var objectFirewallInternetserviceextensionEntryPortrangeResource = new ObjectFirewallInternetserviceextensionEntryPortrange("objectFirewallInternetserviceextensionEntryPortrangeResource", ObjectFirewallInternetserviceextensionEntryPortrangeArgs.builder()
        .entry("string")
        .internetServiceExtension("string")
        .adom("string")
        .endPort(0.0)
        .fosid(0.0)
        .objectFirewallInternetserviceextensionEntryPortrangeId("string")
        .scopetype("string")
        .startPort(0.0)
        .build());
    
    object_firewall_internetserviceextension_entry_portrange_resource = fortimanager.ObjectFirewallInternetserviceextensionEntryPortrange("objectFirewallInternetserviceextensionEntryPortrangeResource",
        entry="string",
        internet_service_extension="string",
        adom="string",
        end_port=0,
        fosid=0,
        object_firewall_internetserviceextension_entry_portrange_id="string",
        scopetype="string",
        start_port=0)
    
    const objectFirewallInternetserviceextensionEntryPortrangeResource = new fortimanager.ObjectFirewallInternetserviceextensionEntryPortrange("objectFirewallInternetserviceextensionEntryPortrangeResource", {
        entry: "string",
        internetServiceExtension: "string",
        adom: "string",
        endPort: 0,
        fosid: 0,
        objectFirewallInternetserviceextensionEntryPortrangeId: "string",
        scopetype: "string",
        startPort: 0,
    });
    
    type: fortimanager:ObjectFirewallInternetserviceextensionEntryPortrange
    properties:
        adom: string
        endPort: 0
        entry: string
        fosid: 0
        internetServiceExtension: string
        objectFirewallInternetserviceextensionEntryPortrangeId: string
        scopetype: string
        startPort: 0
    

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

    Entry string
    Entry.
    InternetServiceExtension string
    Internet Service Extension.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    EndPort double
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    Fosid double
    Custom entry port range ID.
    ObjectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StartPort double
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    Entry string
    Entry.
    InternetServiceExtension string
    Internet Service Extension.
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    EndPort float64
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    Fosid float64
    Custom entry port range ID.
    ObjectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StartPort float64
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    entry String
    Entry.
    internetServiceExtension String
    Internet Service Extension.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort Double
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    fosid Double
    Custom entry port range ID.
    objectFirewallInternetserviceextensionEntryPortrangeId String
    an identifier for the resource with format {{fosid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort Double
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    entry string
    Entry.
    internetServiceExtension string
    Internet Service Extension.
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort number
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    fosid number
    Custom entry port range ID.
    objectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort number
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    entry str
    Entry.
    internet_service_extension str
    Internet Service Extension.
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    end_port float
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    fosid float
    Custom entry port range ID.
    object_firewall_internetserviceextension_entry_portrange_id str
    an identifier for the resource with format {{fosid}}.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    start_port float
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    entry String
    Entry.
    internetServiceExtension String
    Internet Service Extension.
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort Number
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    fosid Number
    Custom entry port range ID.
    objectFirewallInternetserviceextensionEntryPortrangeId String
    an identifier for the resource with format {{fosid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort Number
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).

    Outputs

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

    Get an existing ObjectFirewallInternetserviceextensionEntryPortrange 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?: ObjectFirewallInternetserviceextensionEntryPortrangeState, opts?: CustomResourceOptions): ObjectFirewallInternetserviceextensionEntryPortrange
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            end_port: Optional[float] = None,
            entry: Optional[str] = None,
            fosid: Optional[float] = None,
            internet_service_extension: Optional[str] = None,
            object_firewall_internetserviceextension_entry_portrange_id: Optional[str] = None,
            scopetype: Optional[str] = None,
            start_port: Optional[float] = None) -> ObjectFirewallInternetserviceextensionEntryPortrange
    func GetObjectFirewallInternetserviceextensionEntryPortrange(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetserviceextensionEntryPortrangeState, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionEntryPortrange, error)
    public static ObjectFirewallInternetserviceextensionEntryPortrange Get(string name, Input<string> id, ObjectFirewallInternetserviceextensionEntryPortrangeState? state, CustomResourceOptions? opts = null)
    public static ObjectFirewallInternetserviceextensionEntryPortrange get(String name, Output<String> id, ObjectFirewallInternetserviceextensionEntryPortrangeState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectFirewallInternetserviceextensionEntryPortrange    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.
    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.
    EndPort double
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    Entry string
    Entry.
    Fosid double
    Custom entry port range ID.
    InternetServiceExtension string
    Internet Service Extension.
    ObjectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StartPort double
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    Adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    EndPort float64
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    Entry string
    Entry.
    Fosid float64
    Custom entry port range ID.
    InternetServiceExtension string
    Internet Service Extension.
    ObjectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    Scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    StartPort float64
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort Double
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    entry String
    Entry.
    fosid Double
    Custom entry port range ID.
    internetServiceExtension String
    Internet Service Extension.
    objectFirewallInternetserviceextensionEntryPortrangeId String
    an identifier for the resource with format {{fosid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort Double
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    adom string
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort number
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    entry string
    Entry.
    fosid number
    Custom entry port range ID.
    internetServiceExtension string
    Internet Service Extension.
    objectFirewallInternetserviceextensionEntryPortrangeId string
    an identifier for the resource with format {{fosid}}.
    scopetype string
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort number
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    adom str
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    end_port float
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    entry str
    Entry.
    fosid float
    Custom entry port range ID.
    internet_service_extension str
    Internet Service Extension.
    object_firewall_internetserviceextension_entry_portrange_id str
    an identifier for the resource with format {{fosid}}.
    scopetype str
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    start_port float
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).
    adom String
    Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
    endPort Number
    Integer value for ending TCP/UDP/SCTP destination port in range (0 to 65535).
    entry String
    Entry.
    fosid Number
    Custom entry port range ID.
    internetServiceExtension String
    Internet Service Extension.
    objectFirewallInternetserviceextensionEntryPortrangeId String
    an identifier for the resource with format {{fosid}}.
    scopetype String
    The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
    startPort Number
    Integer value for starting TCP/UDP/SCTP destination port in range (0 to 65535).

    Import

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

    Set import_options = [“internet_service_extension=YOUR_VALUE”, “entry=YOUR_VALUE”] in the provider section.

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectFirewallInternetserviceextensionEntryPortrange:ObjectFirewallInternetserviceextensionEntryPortrange labelname {{fosid}}
    

    $ unset “FORTIMANAGER_IMPORT_TABLE”

    -> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortimanager fortinetdev/terraform-provider-fortimanager
    License
    Notes
    This Pulumi package is based on the fortimanager Terraform Provider.
    fortimanager logo
    fortimanager 1.15.0 published on Thursday, Nov 13, 2025 by fortinetdev
      Meet Neo: Your AI Platform Teammate