1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. Internetserviceextension
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.firewall.Internetserviceextension

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure Internet Services Extension.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Internetserviceextension("trname", {
        comment: "EIWE",
        fosid: 65536,
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Internetserviceextension("trname",
        comment="EIWE",
        fosid=65536)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firewall.NewInternetserviceextension(ctx, "trname", &firewall.InternetserviceextensionArgs{
    			Comment: pulumi.String("EIWE"),
    			Fosid:   pulumi.Int(65536),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Firewall.Internetserviceextension("trname", new()
        {
            Comment = "EIWE",
            Fosid = 65536,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Internetserviceextension;
    import com.pulumi.fortios.firewall.InternetserviceextensionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var trname = new Internetserviceextension("trname", InternetserviceextensionArgs.builder()
                .comment("EIWE")
                .fosid(65536)
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Internetserviceextension
        properties:
          comment: EIWE
          fosid: 65536
    

    Create Internetserviceextension Resource

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

    Constructor syntax

    new Internetserviceextension(name: string, args?: InternetserviceextensionArgs, opts?: CustomResourceOptions);
    @overload
    def Internetserviceextension(resource_name: str,
                                 args: Optional[InternetserviceextensionArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Internetserviceextension(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 comment: Optional[str] = None,
                                 disable_entries: Optional[Sequence[InternetserviceextensionDisableEntryArgs]] = None,
                                 dynamic_sort_subtable: Optional[str] = None,
                                 entries: Optional[Sequence[InternetserviceextensionEntryArgs]] = None,
                                 fosid: Optional[int] = None,
                                 get_all_tables: Optional[str] = None,
                                 vdomparam: Optional[str] = None)
    func NewInternetserviceextension(ctx *Context, name string, args *InternetserviceextensionArgs, opts ...ResourceOption) (*Internetserviceextension, error)
    public Internetserviceextension(string name, InternetserviceextensionArgs? args = null, CustomResourceOptions? opts = null)
    public Internetserviceextension(String name, InternetserviceextensionArgs args)
    public Internetserviceextension(String name, InternetserviceextensionArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Internetserviceextension
    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 InternetserviceextensionArgs
    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 InternetserviceextensionArgs
    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 InternetserviceextensionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InternetserviceextensionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InternetserviceextensionArgs
    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 internetserviceextensionResource = new Fortios.Firewall.Internetserviceextension("internetserviceextensionResource", new()
    {
        Comment = "string",
        DisableEntries = new[]
        {
            new Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryArgs
            {
                AddrMode = "string",
                Id = 0,
                Ip6Ranges = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryIp6RangeArgs
                    {
                        EndIp6 = "string",
                        Id = 0,
                        StartIp6 = "string",
                    },
                },
                IpRanges = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryIpRangeArgs
                    {
                        EndIp = "string",
                        Id = 0,
                        StartIp = "string",
                    },
                },
                Port = 0,
                PortRanges = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryPortRangeArgs
                    {
                        EndPort = 0,
                        Id = 0,
                        StartPort = 0,
                    },
                },
                Protocol = 0,
            },
        },
        DynamicSortSubtable = "string",
        Entries = new[]
        {
            new Fortios.Firewall.Inputs.InternetserviceextensionEntryArgs
            {
                AddrMode = "string",
                Dst6s = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionEntryDst6Args
                    {
                        Name = "string",
                    },
                },
                Dsts = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionEntryDstArgs
                    {
                        Name = "string",
                    },
                },
                Id = 0,
                PortRanges = new[]
                {
                    new Fortios.Firewall.Inputs.InternetserviceextensionEntryPortRangeArgs
                    {
                        EndPort = 0,
                        Id = 0,
                        StartPort = 0,
                    },
                },
                Protocol = 0,
            },
        },
        Fosid = 0,
        GetAllTables = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewInternetserviceextension(ctx, "internetserviceextensionResource", &firewall.InternetserviceextensionArgs{
    	Comment: pulumi.String("string"),
    	DisableEntries: firewall.InternetserviceextensionDisableEntryArray{
    		&firewall.InternetserviceextensionDisableEntryArgs{
    			AddrMode: pulumi.String("string"),
    			Id:       pulumi.Int(0),
    			Ip6Ranges: firewall.InternetserviceextensionDisableEntryIp6RangeArray{
    				&firewall.InternetserviceextensionDisableEntryIp6RangeArgs{
    					EndIp6:   pulumi.String("string"),
    					Id:       pulumi.Int(0),
    					StartIp6: pulumi.String("string"),
    				},
    			},
    			IpRanges: firewall.InternetserviceextensionDisableEntryIpRangeArray{
    				&firewall.InternetserviceextensionDisableEntryIpRangeArgs{
    					EndIp:   pulumi.String("string"),
    					Id:      pulumi.Int(0),
    					StartIp: pulumi.String("string"),
    				},
    			},
    			Port: pulumi.Int(0),
    			PortRanges: firewall.InternetserviceextensionDisableEntryPortRangeArray{
    				&firewall.InternetserviceextensionDisableEntryPortRangeArgs{
    					EndPort:   pulumi.Int(0),
    					Id:        pulumi.Int(0),
    					StartPort: pulumi.Int(0),
    				},
    			},
    			Protocol: pulumi.Int(0),
    		},
    	},
    	DynamicSortSubtable: pulumi.String("string"),
    	Entries: firewall.InternetserviceextensionEntryArray{
    		&firewall.InternetserviceextensionEntryArgs{
    			AddrMode: pulumi.String("string"),
    			Dst6s: firewall.InternetserviceextensionEntryDst6Array{
    				&firewall.InternetserviceextensionEntryDst6Args{
    					Name: pulumi.String("string"),
    				},
    			},
    			Dsts: firewall.InternetserviceextensionEntryDstArray{
    				&firewall.InternetserviceextensionEntryDstArgs{
    					Name: pulumi.String("string"),
    				},
    			},
    			Id: pulumi.Int(0),
    			PortRanges: firewall.InternetserviceextensionEntryPortRangeArray{
    				&firewall.InternetserviceextensionEntryPortRangeArgs{
    					EndPort:   pulumi.Int(0),
    					Id:        pulumi.Int(0),
    					StartPort: pulumi.Int(0),
    				},
    			},
    			Protocol: pulumi.Int(0),
    		},
    	},
    	Fosid:        pulumi.Int(0),
    	GetAllTables: pulumi.String("string"),
    	Vdomparam:    pulumi.String("string"),
    })
    
    var internetserviceextensionResource = new Internetserviceextension("internetserviceextensionResource", InternetserviceextensionArgs.builder()
        .comment("string")
        .disableEntries(InternetserviceextensionDisableEntryArgs.builder()
            .addrMode("string")
            .id(0)
            .ip6Ranges(InternetserviceextensionDisableEntryIp6RangeArgs.builder()
                .endIp6("string")
                .id(0)
                .startIp6("string")
                .build())
            .ipRanges(InternetserviceextensionDisableEntryIpRangeArgs.builder()
                .endIp("string")
                .id(0)
                .startIp("string")
                .build())
            .port(0)
            .portRanges(InternetserviceextensionDisableEntryPortRangeArgs.builder()
                .endPort(0)
                .id(0)
                .startPort(0)
                .build())
            .protocol(0)
            .build())
        .dynamicSortSubtable("string")
        .entries(InternetserviceextensionEntryArgs.builder()
            .addrMode("string")
            .dst6s(InternetserviceextensionEntryDst6Args.builder()
                .name("string")
                .build())
            .dsts(InternetserviceextensionEntryDstArgs.builder()
                .name("string")
                .build())
            .id(0)
            .portRanges(InternetserviceextensionEntryPortRangeArgs.builder()
                .endPort(0)
                .id(0)
                .startPort(0)
                .build())
            .protocol(0)
            .build())
        .fosid(0)
        .getAllTables("string")
        .vdomparam("string")
        .build());
    
    internetserviceextension_resource = fortios.firewall.Internetserviceextension("internetserviceextensionResource",
        comment="string",
        disable_entries=[{
            "addr_mode": "string",
            "id": 0,
            "ip6_ranges": [{
                "end_ip6": "string",
                "id": 0,
                "start_ip6": "string",
            }],
            "ip_ranges": [{
                "end_ip": "string",
                "id": 0,
                "start_ip": "string",
            }],
            "port": 0,
            "port_ranges": [{
                "end_port": 0,
                "id": 0,
                "start_port": 0,
            }],
            "protocol": 0,
        }],
        dynamic_sort_subtable="string",
        entries=[{
            "addr_mode": "string",
            "dst6s": [{
                "name": "string",
            }],
            "dsts": [{
                "name": "string",
            }],
            "id": 0,
            "port_ranges": [{
                "end_port": 0,
                "id": 0,
                "start_port": 0,
            }],
            "protocol": 0,
        }],
        fosid=0,
        get_all_tables="string",
        vdomparam="string")
    
    const internetserviceextensionResource = new fortios.firewall.Internetserviceextension("internetserviceextensionResource", {
        comment: "string",
        disableEntries: [{
            addrMode: "string",
            id: 0,
            ip6Ranges: [{
                endIp6: "string",
                id: 0,
                startIp6: "string",
            }],
            ipRanges: [{
                endIp: "string",
                id: 0,
                startIp: "string",
            }],
            port: 0,
            portRanges: [{
                endPort: 0,
                id: 0,
                startPort: 0,
            }],
            protocol: 0,
        }],
        dynamicSortSubtable: "string",
        entries: [{
            addrMode: "string",
            dst6s: [{
                name: "string",
            }],
            dsts: [{
                name: "string",
            }],
            id: 0,
            portRanges: [{
                endPort: 0,
                id: 0,
                startPort: 0,
            }],
            protocol: 0,
        }],
        fosid: 0,
        getAllTables: "string",
        vdomparam: "string",
    });
    
    type: fortios:firewall:Internetserviceextension
    properties:
        comment: string
        disableEntries:
            - addrMode: string
              id: 0
              ip6Ranges:
                - endIp6: string
                  id: 0
                  startIp6: string
              ipRanges:
                - endIp: string
                  id: 0
                  startIp: string
              port: 0
              portRanges:
                - endPort: 0
                  id: 0
                  startPort: 0
              protocol: 0
        dynamicSortSubtable: string
        entries:
            - addrMode: string
              dst6s:
                - name: string
              dsts:
                - name: string
              id: 0
              portRanges:
                - endPort: 0
                  id: 0
                  startPort: 0
              protocol: 0
        fosid: 0
        getAllTables: string
        vdomparam: string
    

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

    Comment string
    Comment.
    DisableEntries List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionDisableEntry>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Entries List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionEntry>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    Fosid int
    Internet Service ID in the Internet Service database.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    DisableEntries []InternetserviceextensionDisableEntryArgs
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Entries []InternetserviceextensionEntryArgs
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    Fosid int
    Internet Service ID in the Internet Service database.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    disableEntries List<InternetserviceextensionDisableEntry>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries List<InternetserviceextensionEntry>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid Integer
    Internet Service ID in the Internet Service database.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    disableEntries InternetserviceextensionDisableEntry[]
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries InternetserviceextensionEntry[]
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid number
    Internet Service ID in the Internet Service database.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    disable_entries Sequence[InternetserviceextensionDisableEntryArgs]
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries Sequence[InternetserviceextensionEntryArgs]
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid int
    Internet Service ID in the Internet Service database.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    disableEntries List<Property Map>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries List<Property Map>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid Number
    Internet Service ID in the Internet Service database.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

    Get an existing Internetserviceextension 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?: InternetserviceextensionState, opts?: CustomResourceOptions): Internetserviceextension
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            disable_entries: Optional[Sequence[InternetserviceextensionDisableEntryArgs]] = None,
            dynamic_sort_subtable: Optional[str] = None,
            entries: Optional[Sequence[InternetserviceextensionEntryArgs]] = None,
            fosid: Optional[int] = None,
            get_all_tables: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Internetserviceextension
    func GetInternetserviceextension(ctx *Context, name string, id IDInput, state *InternetserviceextensionState, opts ...ResourceOption) (*Internetserviceextension, error)
    public static Internetserviceextension Get(string name, Input<string> id, InternetserviceextensionState? state, CustomResourceOptions? opts = null)
    public static Internetserviceextension get(String name, Output<String> id, InternetserviceextensionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Comment string
    Comment.
    DisableEntries List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionDisableEntry>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Entries List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionEntry>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    Fosid int
    Internet Service ID in the Internet Service database.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    DisableEntries []InternetserviceextensionDisableEntryArgs
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    Entries []InternetserviceextensionEntryArgs
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    Fosid int
    Internet Service ID in the Internet Service database.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    disableEntries List<InternetserviceextensionDisableEntry>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries List<InternetserviceextensionEntry>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid Integer
    Internet Service ID in the Internet Service database.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    disableEntries InternetserviceextensionDisableEntry[]
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries InternetserviceextensionEntry[]
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid number
    Internet Service ID in the Internet Service database.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    disable_entries Sequence[InternetserviceextensionDisableEntryArgs]
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries Sequence[InternetserviceextensionEntryArgs]
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid int
    Internet Service ID in the Internet Service database.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    disableEntries List<Property Map>
    Disable entries in the Internet Service database. The structure of disable_entry block is documented below.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    entries List<Property Map>
    Entries added to the Internet Service extension database. The structure of entry block is documented below.
    fosid Number
    Internet Service ID in the Internet Service database.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    InternetserviceextensionDisableEntry, InternetserviceextensionDisableEntryArgs

    AddrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    Id int
    Disable entry ID.
    Ip6Ranges List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryIp6Range>
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    IpRanges List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryIpRange>
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    Port int
    Integer value for the TCP/IP port (0 - 65535).
    PortRanges List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionDisableEntryPortRange>
    Port ranges in the disable entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    AddrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    Id int
    Disable entry ID.
    Ip6Ranges []InternetserviceextensionDisableEntryIp6Range
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    IpRanges []InternetserviceextensionDisableEntryIpRange
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    Port int
    Integer value for the TCP/IP port (0 - 65535).
    PortRanges []InternetserviceextensionDisableEntryPortRange
    Port ranges in the disable entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    id Integer
    Disable entry ID.
    ip6Ranges List<InternetserviceextensionDisableEntryIp6Range>
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    ipRanges List<InternetserviceextensionDisableEntryIpRange>
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    port Integer
    Integer value for the TCP/IP port (0 - 65535).
    portRanges List<InternetserviceextensionDisableEntryPortRange>
    Port ranges in the disable entry. The structure of port_range block is documented below.
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    id number
    Disable entry ID.
    ip6Ranges InternetserviceextensionDisableEntryIp6Range[]
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    ipRanges InternetserviceextensionDisableEntryIpRange[]
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    port number
    Integer value for the TCP/IP port (0 - 65535).
    portRanges InternetserviceextensionDisableEntryPortRange[]
    Port ranges in the disable entry. The structure of port_range block is documented below.
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255).
    addr_mode str
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    id int
    Disable entry ID.
    ip6_ranges Sequence[InternetserviceextensionDisableEntryIp6Range]
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    ip_ranges Sequence[InternetserviceextensionDisableEntryIpRange]
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    port int
    Integer value for the TCP/IP port (0 - 65535).
    port_ranges Sequence[InternetserviceextensionDisableEntryPortRange]
    Port ranges in the disable entry. The structure of port_range block is documented below.
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    id Number
    Disable entry ID.
    ip6Ranges List<Property Map>
    IPv6 ranges in the disable entry. The structure of ip6_range block is documented below.
    ipRanges List<Property Map>
    IP ranges in the disable entry. The structure of ip_range block is documented below.
    port Number
    Integer value for the TCP/IP port (0 - 65535).
    portRanges List<Property Map>
    Port ranges in the disable entry. The structure of port_range block is documented below.
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255).

    InternetserviceextensionDisableEntryIp6Range, InternetserviceextensionDisableEntryIp6RangeArgs

    EndIp6 string
    Id int
    an identifier for the resource with format {{fosid}}.
    StartIp6 string
    EndIp6 string
    Id int
    an identifier for the resource with format {{fosid}}.
    StartIp6 string
    endIp6 String
    id Integer
    an identifier for the resource with format {{fosid}}.
    startIp6 String
    endIp6 string
    id number
    an identifier for the resource with format {{fosid}}.
    startIp6 string
    end_ip6 str
    id int
    an identifier for the resource with format {{fosid}}.
    start_ip6 str
    endIp6 String
    id Number
    an identifier for the resource with format {{fosid}}.
    startIp6 String

    InternetserviceextensionDisableEntryIpRange, InternetserviceextensionDisableEntryIpRangeArgs

    EndIp string

    End IP address.

    The ip6_range block supports:

    Id int
    Disable entry range ID.
    StartIp string
    Start IP address.
    EndIp string

    End IP address.

    The ip6_range block supports:

    Id int
    Disable entry range ID.
    StartIp string
    Start IP address.
    endIp String

    End IP address.

    The ip6_range block supports:

    id Integer
    Disable entry range ID.
    startIp String
    Start IP address.
    endIp string

    End IP address.

    The ip6_range block supports:

    id number
    Disable entry range ID.
    startIp string
    Start IP address.
    end_ip str

    End IP address.

    The ip6_range block supports:

    id int
    Disable entry range ID.
    start_ip str
    Start IP address.
    endIp String

    End IP address.

    The ip6_range block supports:

    id Number
    Disable entry range ID.
    startIp String
    Start IP address.

    InternetserviceextensionDisableEntryPortRange, InternetserviceextensionDisableEntryPortRangeArgs

    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort Integer
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Integer
    Custom entry port range ID.
    startPort Integer
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id number
    Custom entry port range ID.
    startPort number
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    end_port int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id int
    Custom entry port range ID.
    start_port int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort Number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Number
    Custom entry port range ID.
    startPort Number
    Starting TCP/UDP/SCTP destination port (1 to 65535).

    InternetserviceextensionEntry, InternetserviceextensionEntryArgs

    AddrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    Dst6s List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionEntryDst>
    Destination address or address group name. The structure of dst block is documented below.
    Id int
    Entry ID(1-255).
    PortRanges List<Pulumiverse.Fortios.Firewall.Inputs.InternetserviceextensionEntryPortRange>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    AddrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    Dst6s []InternetserviceextensionEntryDst6
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts []InternetserviceextensionEntryDst
    Destination address or address group name. The structure of dst block is documented below.
    Id int
    Entry ID(1-255).
    PortRanges []InternetserviceextensionEntryPortRange
    Port ranges in the custom entry. The structure of port_range block is documented below.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    dst6s List<InternetserviceextensionEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts List<InternetserviceextensionEntryDst>
    Destination address or address group name. The structure of dst block is documented below.
    id Integer
    Entry ID(1-255).
    portRanges List<InternetserviceextensionEntryPortRange>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    dst6s InternetserviceextensionEntryDst6[]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts InternetserviceextensionEntryDst[]
    Destination address or address group name. The structure of dst block is documented below.
    id number
    Entry ID(1-255).
    portRanges InternetserviceextensionEntryPortRange[]
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255).
    addr_mode str
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    dst6s Sequence[InternetserviceextensionEntryDst6]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts Sequence[InternetserviceextensionEntryDst]
    Destination address or address group name. The structure of dst block is documented below.
    id int
    Entry ID(1-255).
    port_ranges Sequence[InternetserviceextensionEntryPortRange]
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255).
    addrMode String
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    dst6s List<Property Map>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts List<Property Map>
    Destination address or address group name. The structure of dst block is documented below.
    id Number
    Entry ID(1-255).
    portRanges List<Property Map>
    Port ranges in the custom entry. The structure of port_range block is documented below.
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255).

    InternetserviceextensionEntryDst, InternetserviceextensionEntryDstArgs

    Name string
    Select the destination address6 or address group object from available options.
    Name string
    Select the destination address6 or address group object from available options.
    name String
    Select the destination address6 or address group object from available options.
    name string
    Select the destination address6 or address group object from available options.
    name str
    Select the destination address6 or address group object from available options.
    name String
    Select the destination address6 or address group object from available options.

    InternetserviceextensionEntryDst6, InternetserviceextensionEntryDst6Args

    Name string
    Name string
    name String
    name string
    name str
    name String

    InternetserviceextensionEntryPortRange, InternetserviceextensionEntryPortRangeArgs

    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    EndPort int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    Id int
    Custom entry port range ID.
    StartPort int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort Integer
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Integer
    Custom entry port range ID.
    startPort Integer
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id number
    Custom entry port range ID.
    startPort number
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    end_port int
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id int
    Custom entry port range ID.
    start_port int
    Starting TCP/UDP/SCTP destination port (1 to 65535).
    endPort Number
    Ending TCP/UDP/SCTP destination port (1 to 65535).
    id Number
    Custom entry port range ID.
    startPort Number
    Starting TCP/UDP/SCTP destination port (1 to 65535).

    Import

    Firewall InternetServiceExtension can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/internetserviceextension:Internetserviceextension labelname {{fosid}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/internetserviceextension:Internetserviceextension labelname {{fosid}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse