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

fortios.firewall.Internetservicecustom

Explore with Pulumi AI

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

    Configure custom Internet Services.

    Create Internetservicecustom Resource

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

    Constructor syntax

    new Internetservicecustom(name: string, args?: InternetservicecustomArgs, opts?: CustomResourceOptions);
    @overload
    def Internetservicecustom(resource_name: str,
                              args: Optional[InternetservicecustomArgs] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Internetservicecustom(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              comment: Optional[str] = None,
                              dynamic_sort_subtable: Optional[str] = None,
                              entries: Optional[Sequence[InternetservicecustomEntryArgs]] = None,
                              get_all_tables: Optional[str] = None,
                              name: Optional[str] = None,
                              reputation: Optional[int] = None,
                              vdomparam: Optional[str] = None)
    func NewInternetservicecustom(ctx *Context, name string, args *InternetservicecustomArgs, opts ...ResourceOption) (*Internetservicecustom, error)
    public Internetservicecustom(string name, InternetservicecustomArgs? args = null, CustomResourceOptions? opts = null)
    public Internetservicecustom(String name, InternetservicecustomArgs args)
    public Internetservicecustom(String name, InternetservicecustomArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Internetservicecustom
    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 InternetservicecustomArgs
    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 InternetservicecustomArgs
    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 InternetservicecustomArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InternetservicecustomArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InternetservicecustomArgs
    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 internetservicecustomResource = new Fortios.Firewall.Internetservicecustom("internetservicecustomResource", new()
    {
        Comment = "string",
        DynamicSortSubtable = "string",
        Entries = new[]
        {
            new Fortios.Firewall.Inputs.InternetservicecustomEntryArgs
            {
                AddrMode = "string",
                Dst6s = new[]
                {
                    new Fortios.Firewall.Inputs.InternetservicecustomEntryDst6Args
                    {
                        Name = "string",
                    },
                },
                Dsts = new[]
                {
                    new Fortios.Firewall.Inputs.InternetservicecustomEntryDstArgs
                    {
                        Name = "string",
                    },
                },
                Id = 0,
                PortRanges = new[]
                {
                    new Fortios.Firewall.Inputs.InternetservicecustomEntryPortRangeArgs
                    {
                        EndPort = 0,
                        Id = 0,
                        StartPort = 0,
                    },
                },
                Protocol = 0,
            },
        },
        GetAllTables = "string",
        Name = "string",
        Reputation = 0,
        Vdomparam = "string",
    });
    
    example, err := firewall.NewInternetservicecustom(ctx, "internetservicecustomResource", &firewall.InternetservicecustomArgs{
    	Comment:             pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Entries: firewall.InternetservicecustomEntryArray{
    		&firewall.InternetservicecustomEntryArgs{
    			AddrMode: pulumi.String("string"),
    			Dst6s: firewall.InternetservicecustomEntryDst6Array{
    				&firewall.InternetservicecustomEntryDst6Args{
    					Name: pulumi.String("string"),
    				},
    			},
    			Dsts: firewall.InternetservicecustomEntryDstArray{
    				&firewall.InternetservicecustomEntryDstArgs{
    					Name: pulumi.String("string"),
    				},
    			},
    			Id: pulumi.Int(0),
    			PortRanges: firewall.InternetservicecustomEntryPortRangeArray{
    				&firewall.InternetservicecustomEntryPortRangeArgs{
    					EndPort:   pulumi.Int(0),
    					Id:        pulumi.Int(0),
    					StartPort: pulumi.Int(0),
    				},
    			},
    			Protocol: pulumi.Int(0),
    		},
    	},
    	GetAllTables: pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Reputation:   pulumi.Int(0),
    	Vdomparam:    pulumi.String("string"),
    })
    
    var internetservicecustomResource = new Internetservicecustom("internetservicecustomResource", InternetservicecustomArgs.builder()
        .comment("string")
        .dynamicSortSubtable("string")
        .entries(InternetservicecustomEntryArgs.builder()
            .addrMode("string")
            .dst6s(InternetservicecustomEntryDst6Args.builder()
                .name("string")
                .build())
            .dsts(InternetservicecustomEntryDstArgs.builder()
                .name("string")
                .build())
            .id(0)
            .portRanges(InternetservicecustomEntryPortRangeArgs.builder()
                .endPort(0)
                .id(0)
                .startPort(0)
                .build())
            .protocol(0)
            .build())
        .getAllTables("string")
        .name("string")
        .reputation(0)
        .vdomparam("string")
        .build());
    
    internetservicecustom_resource = fortios.firewall.Internetservicecustom("internetservicecustomResource",
        comment="string",
        dynamic_sort_subtable="string",
        entries=[fortios.firewall.InternetservicecustomEntryArgs(
            addr_mode="string",
            dst6s=[fortios.firewall.InternetservicecustomEntryDst6Args(
                name="string",
            )],
            dsts=[fortios.firewall.InternetservicecustomEntryDstArgs(
                name="string",
            )],
            id=0,
            port_ranges=[fortios.firewall.InternetservicecustomEntryPortRangeArgs(
                end_port=0,
                id=0,
                start_port=0,
            )],
            protocol=0,
        )],
        get_all_tables="string",
        name="string",
        reputation=0,
        vdomparam="string")
    
    const internetservicecustomResource = new fortios.firewall.Internetservicecustom("internetservicecustomResource", {
        comment: "string",
        dynamicSortSubtable: "string",
        entries: [{
            addrMode: "string",
            dst6s: [{
                name: "string",
            }],
            dsts: [{
                name: "string",
            }],
            id: 0,
            portRanges: [{
                endPort: 0,
                id: 0,
                startPort: 0,
            }],
            protocol: 0,
        }],
        getAllTables: "string",
        name: "string",
        reputation: 0,
        vdomparam: "string",
    });
    
    type: fortios:firewall:Internetservicecustom
    properties:
        comment: string
        dynamicSortSubtable: string
        entries:
            - addrMode: string
              dst6s:
                - name: string
              dsts:
                - name: string
              id: 0
              portRanges:
                - endPort: 0
                  id: 0
                  startPort: 0
              protocol: 0
        getAllTables: string
        name: string
        reputation: 0
        vdomparam: string
    

    Internetservicecustom Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Internetservicecustom resource accepts the following input properties:

    Comment string
    Comment.
    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.InternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    Name string
    Internet Service name.
    Reputation int
    Reputation level of the custom Internet Service.
    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.
    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 []InternetservicecustomEntryArgs
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    Name string
    Internet Service name.
    Reputation int
    Reputation level of the custom Internet Service.
    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.
    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<InternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name String
    Internet Service name.
    reputation Integer
    Reputation level of the custom Internet Service.
    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.
    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 InternetservicecustomEntry[]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name string
    Internet Service name.
    reputation number
    Reputation level of the custom Internet Service.
    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.
    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[InternetservicecustomEntryArgs]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name str
    Internet Service name.
    reputation int
    Reputation level of the custom Internet Service.
    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.
    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 database and custom database. The structure of entry block is documented below.
    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.
    name String
    Internet Service name.
    reputation Number
    Reputation level of the custom Internet Service.
    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 Internetservicecustom 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 Internetservicecustom Resource

    Get an existing Internetservicecustom 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?: InternetservicecustomState, opts?: CustomResourceOptions): Internetservicecustom
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            entries: Optional[Sequence[InternetservicecustomEntryArgs]] = None,
            get_all_tables: Optional[str] = None,
            name: Optional[str] = None,
            reputation: Optional[int] = None,
            vdomparam: Optional[str] = None) -> Internetservicecustom
    func GetInternetservicecustom(ctx *Context, name string, id IDInput, state *InternetservicecustomState, opts ...ResourceOption) (*Internetservicecustom, error)
    public static Internetservicecustom Get(string name, Input<string> id, InternetservicecustomState? state, CustomResourceOptions? opts = null)
    public static Internetservicecustom get(String name, Output<String> id, InternetservicecustomState 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.
    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.InternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    Name string
    Internet Service name.
    Reputation int
    Reputation level of the custom Internet Service.
    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.
    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 []InternetservicecustomEntryArgs
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    Name string
    Internet Service name.
    Reputation int
    Reputation level of the custom Internet Service.
    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.
    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<InternetservicecustomEntry>
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name String
    Internet Service name.
    reputation Integer
    Reputation level of the custom Internet Service.
    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.
    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 InternetservicecustomEntry[]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name string
    Internet Service name.
    reputation number
    Reputation level of the custom Internet Service.
    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.
    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[InternetservicecustomEntryArgs]
    Entries added to the Internet Service database and custom database. The structure of entry block is documented below.
    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.
    name str
    Internet Service name.
    reputation int
    Reputation level of the custom Internet Service.
    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.
    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 database and custom database. The structure of entry block is documented below.
    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.
    name String
    Internet Service name.
    reputation Number
    Reputation level of the custom Internet Service.
    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

    InternetservicecustomEntry, InternetservicecustomEntryArgs

    AddrMode string
    Address mode (IPv4 or IPv6) Valid values: ipv4, ipv6.
    Dst6s List<Pulumiverse.Fortios.Firewall.Inputs.InternetservicecustomEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts List<Pulumiverse.Fortios.Firewall.Inputs.InternetservicecustomEntryDst>
    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.InternetservicecustomEntryPortRange>
    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 []InternetservicecustomEntryDst6
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    Dsts []InternetservicecustomEntryDst
    Destination address or address group name. The structure of dst block is documented below.
    Id int
    Entry ID(1-255).
    PortRanges []InternetservicecustomEntryPortRange
    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<InternetservicecustomEntryDst6>
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts List<InternetservicecustomEntryDst>
    Destination address or address group name. The structure of dst block is documented below.
    id Integer
    Entry ID(1-255).
    portRanges List<InternetservicecustomEntryPortRange>
    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 InternetservicecustomEntryDst6[]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts InternetservicecustomEntryDst[]
    Destination address or address group name. The structure of dst block is documented below.
    id number
    Entry ID(1-255).
    portRanges InternetservicecustomEntryPortRange[]
    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[InternetservicecustomEntryDst6]
    Destination address6 or address6 group name. The structure of dst6 block is documented below.
    dsts Sequence[InternetservicecustomEntryDst]
    Destination address or address group name. The structure of dst block is documented below.
    id int
    Entry ID(1-255).
    port_ranges Sequence[InternetservicecustomEntryPortRange]
    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).

    InternetservicecustomEntryDst, InternetservicecustomEntryDstArgs

    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.

    InternetservicecustomEntryDst6, InternetservicecustomEntryDst6Args

    Name string
    Internet Service name.
    Name string
    Internet Service name.
    name String
    Internet Service name.
    name string
    Internet Service name.
    name str
    Internet Service name.
    name String
    Internet Service name.

    InternetservicecustomEntryPortRange, InternetservicecustomEntryPortRangeArgs

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

    Import

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

    $ pulumi import fortios:firewall/internetservicecustom:Internetservicecustom labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/internetservicecustom:Internetservicecustom labelname {{name}}
    

    $ 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