1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectFirewallInternetserviceextensionDisableentryPortrange
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 disable entry.

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

    Create ObjectFirewallInternetserviceextensionDisableentryPortrange Resource

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

    Constructor syntax

    new ObjectFirewallInternetserviceextensionDisableentryPortrange(name: string, args: ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs, opts?: CustomResourceOptions);
    @overload
    def ObjectFirewallInternetserviceextensionDisableentryPortrange(resource_name: str,
                                                                    args: ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs,
                                                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ObjectFirewallInternetserviceextensionDisableentryPortrange(resource_name: str,
                                                                    opts: Optional[ResourceOptions] = None,
                                                                    disable_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_disableentry_portrange_id: Optional[str] = None,
                                                                    scopetype: Optional[str] = None,
                                                                    start_port: Optional[float] = None)
    func NewObjectFirewallInternetserviceextensionDisableentryPortrange(ctx *Context, name string, args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionDisableentryPortrange, error)
    public ObjectFirewallInternetserviceextensionDisableentryPortrange(string name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args, CustomResourceOptions? opts = null)
    public ObjectFirewallInternetserviceextensionDisableentryPortrange(String name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args)
    public ObjectFirewallInternetserviceextensionDisableentryPortrange(String name, ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs args, CustomResourceOptions options)
    
    type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange
    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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
    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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
    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 ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs
    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 objectFirewallInternetserviceextensionDisableentryPortrangeResource = new Fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", new()
    {
        DisableEntry = "string",
        InternetServiceExtension = "string",
        Adom = "string",
        EndPort = 0,
        Fosid = 0,
        ObjectFirewallInternetserviceextensionDisableentryPortrangeId = "string",
        Scopetype = "string",
        StartPort = 0,
    });
    
    example, err := fortimanager.NewObjectFirewallInternetserviceextensionDisableentryPortrange(ctx, "objectFirewallInternetserviceextensionDisableentryPortrangeResource", &fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs{
    	DisableEntry:             pulumi.String("string"),
    	InternetServiceExtension: pulumi.String("string"),
    	Adom:                     pulumi.String("string"),
    	EndPort:                  pulumi.Float64(0),
    	Fosid:                    pulumi.Float64(0),
    	ObjectFirewallInternetserviceextensionDisableentryPortrangeId: pulumi.String("string"),
    	Scopetype: pulumi.String("string"),
    	StartPort: pulumi.Float64(0),
    })
    
    var objectFirewallInternetserviceextensionDisableentryPortrangeResource = new ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", ObjectFirewallInternetserviceextensionDisableentryPortrangeArgs.builder()
        .disableEntry("string")
        .internetServiceExtension("string")
        .adom("string")
        .endPort(0.0)
        .fosid(0.0)
        .objectFirewallInternetserviceextensionDisableentryPortrangeId("string")
        .scopetype("string")
        .startPort(0.0)
        .build());
    
    object_firewall_internetserviceextension_disableentry_portrange_resource = fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource",
        disable_entry="string",
        internet_service_extension="string",
        adom="string",
        end_port=0,
        fosid=0,
        object_firewall_internetserviceextension_disableentry_portrange_id="string",
        scopetype="string",
        start_port=0)
    
    const objectFirewallInternetserviceextensionDisableentryPortrangeResource = new fortimanager.ObjectFirewallInternetserviceextensionDisableentryPortrange("objectFirewallInternetserviceextensionDisableentryPortrangeResource", {
        disableEntry: "string",
        internetServiceExtension: "string",
        adom: "string",
        endPort: 0,
        fosid: 0,
        objectFirewallInternetserviceextensionDisableentryPortrangeId: "string",
        scopetype: "string",
        startPort: 0,
    });
    
    type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange
    properties:
        adom: string
        disableEntry: string
        endPort: 0
        fosid: 0
        internetServiceExtension: string
        objectFirewallInternetserviceextensionDisableentryPortrangeId: string
        scopetype: string
        startPort: 0
    

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

    DisableEntry string
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    Fosid double
    Custom entry port range ID.
    ObjectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).
    DisableEntry string
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    Fosid float64
    Custom entry port range ID.
    ObjectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).
    disableEntry String
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid Double
    Custom entry port range ID.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).
    disableEntry string
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid number
    Custom entry port range ID.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).
    disable_entry str
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid float
    Custom entry port range ID.
    object_firewall_internetserviceextension_disableentry_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
    Starting TCP/UDP/SCTP destination port (0 to 65535).
    disableEntry String
    Disable 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
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid Number
    Custom entry port range ID.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).

    Outputs

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

    Get an existing ObjectFirewallInternetserviceextensionDisableentryPortrange 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?: ObjectFirewallInternetserviceextensionDisableentryPortrangeState, opts?: CustomResourceOptions): ObjectFirewallInternetserviceextensionDisableentryPortrange
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            adom: Optional[str] = None,
            disable_entry: Optional[str] = None,
            end_port: Optional[float] = None,
            fosid: Optional[float] = None,
            internet_service_extension: Optional[str] = None,
            object_firewall_internetserviceextension_disableentry_portrange_id: Optional[str] = None,
            scopetype: Optional[str] = None,
            start_port: Optional[float] = None) -> ObjectFirewallInternetserviceextensionDisableentryPortrange
    func GetObjectFirewallInternetserviceextensionDisableentryPortrange(ctx *Context, name string, id IDInput, state *ObjectFirewallInternetserviceextensionDisableentryPortrangeState, opts ...ResourceOption) (*ObjectFirewallInternetserviceextensionDisableentryPortrange, error)
    public static ObjectFirewallInternetserviceextensionDisableentryPortrange Get(string name, Input<string> id, ObjectFirewallInternetserviceextensionDisableentryPortrangeState? state, CustomResourceOptions? opts = null)
    public static ObjectFirewallInternetserviceextensionDisableentryPortrange get(String name, Output<String> id, ObjectFirewallInternetserviceextensionDisableentryPortrangeState state, CustomResourceOptions options)
    resources:  _:    type: fortimanager:ObjectFirewallInternetserviceextensionDisableentryPortrange    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.
    DisableEntry string
    Disable Entry.
    EndPort double
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    Fosid double
    Custom entry port range ID.
    InternetServiceExtension string
    Internet Service Extension.
    ObjectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (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.
    DisableEntry string
    Disable Entry.
    EndPort float64
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    Fosid float64
    Custom entry port range ID.
    InternetServiceExtension string
    Internet Service Extension.
    ObjectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (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.
    disableEntry String
    Disable Entry.
    endPort Double
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid Double
    Custom entry port range ID.
    internetServiceExtension String
    Internet Service Extension.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (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.
    disableEntry string
    Disable Entry.
    endPort number
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid number
    Custom entry port range ID.
    internetServiceExtension string
    Internet Service Extension.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (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.
    disable_entry str
    Disable Entry.
    end_port float
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid float
    Custom entry port range ID.
    internet_service_extension str
    Internet Service Extension.
    object_firewall_internetserviceextension_disableentry_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
    Starting TCP/UDP/SCTP destination port (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.
    disableEntry String
    Disable Entry.
    endPort Number
    Ending TCP/UDP/SCTP destination port (0 to 65535).
    fosid Number
    Custom entry port range ID.
    internetServiceExtension String
    Internet Service Extension.
    objectFirewallInternetserviceextensionDisableentryPortrangeId 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
    Starting TCP/UDP/SCTP destination port (0 to 65535).

    Import

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

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

    $ export “FORTIMANAGER_IMPORT_TABLE”=“true”

    $ pulumi import fortimanager:index/objectFirewallInternetserviceextensionDisableentryPortrange:ObjectFirewallInternetserviceextensionDisableentryPortrange 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