1. Packages
  2. Fortios
  3. API Docs
  4. filter
  5. filter/web
  6. Urlfilter
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.filter/web.Urlfilter

Explore with Pulumi AI

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

    Configure URL filter lists.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.filter.web.Urlfilter("trname", {
        fosid: 1,
        ipAddrBlock: "enable",
        oneArmIpsUrlfilter: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.filter.web.Urlfilter("trname",
        fosid=1,
        ip_addr_block="enable",
        one_arm_ips_urlfilter="enable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/filter"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filter.NewUrlfilter(ctx, "trname", &filter.UrlfilterArgs{
    			Fosid:              pulumi.Int(1),
    			IpAddrBlock:        pulumi.String("enable"),
    			OneArmIpsUrlfilter: pulumi.String("enable"),
    		})
    		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.Filter.Web.Urlfilter("trname", new()
        {
            Fosid = 1,
            IpAddrBlock = "enable",
            OneArmIpsUrlfilter = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.filter.Urlfilter;
    import com.pulumi.fortios.filter.UrlfilterArgs;
    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 Urlfilter("trname", UrlfilterArgs.builder()
                .fosid(1)
                .ipAddrBlock("enable")
                .oneArmIpsUrlfilter("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:filter/web:Urlfilter
        properties:
          fosid: 1
          ipAddrBlock: enable
          oneArmIpsUrlfilter: enable
    

    Create Urlfilter Resource

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

    Constructor syntax

    new Urlfilter(name: string, args: UrlfilterArgs, opts?: CustomResourceOptions);
    @overload
    def Urlfilter(resource_name: str,
                  args: UrlfilterArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Urlfilter(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  fosid: Optional[int] = None,
                  comment: Optional[str] = None,
                  dynamic_sort_subtable: Optional[str] = None,
                  entries: Optional[Sequence[UrlfilterEntryArgs]] = None,
                  get_all_tables: Optional[str] = None,
                  ip4_mapped_ip6: Optional[str] = None,
                  ip_addr_block: Optional[str] = None,
                  name: Optional[str] = None,
                  one_arm_ips_urlfilter: Optional[str] = None,
                  vdomparam: Optional[str] = None)
    func NewUrlfilter(ctx *Context, name string, args UrlfilterArgs, opts ...ResourceOption) (*Urlfilter, error)
    public Urlfilter(string name, UrlfilterArgs args, CustomResourceOptions? opts = null)
    public Urlfilter(String name, UrlfilterArgs args)
    public Urlfilter(String name, UrlfilterArgs args, CustomResourceOptions options)
    
    type: fortios:filter/web/urlfilter:Urlfilter
    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 UrlfilterArgs
    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 UrlfilterArgs
    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 UrlfilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UrlfilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UrlfilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Fosid int
    ID.
    Comment string
    Optional comments.
    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.Filter.Web.Inputs.UrlfilterEntry>
    URL filter entries. The structure of entries 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.
    Ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    IpAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    Name string
    Name of URL filter list.
    OneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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.
    Fosid int
    ID.
    Comment string
    Optional comments.
    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 []UrlfilterEntryArgs
    URL filter entries. The structure of entries 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.
    Ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    IpAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    Name string
    Name of URL filter list.
    OneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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.
    fosid Integer
    ID.
    comment String
    Optional comments.
    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<UrlfilterEntry>
    URL filter entries. The structure of entries 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.
    ip4MappedIp6 String
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock String
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name String
    Name of URL filter list.
    oneArmIpsUrlfilter String
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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.
    fosid number
    ID.
    comment string
    Optional comments.
    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 UrlfilterEntry[]
    URL filter entries. The structure of entries 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.
    ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name string
    Name of URL filter list.
    oneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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.
    fosid int
    ID.
    comment str
    Optional comments.
    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[UrlfilterEntryArgs]
    URL filter entries. The structure of entries 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.
    ip4_mapped_ip6 str
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ip_addr_block str
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name str
    Name of URL filter list.
    one_arm_ips_urlfilter str
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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.
    fosid Number
    ID.
    comment String
    Optional comments.
    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>
    URL filter entries. The structure of entries 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.
    ip4MappedIp6 String
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock String
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name String
    Name of URL filter list.
    oneArmIpsUrlfilter String
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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 Urlfilter 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 Urlfilter Resource

    Get an existing Urlfilter 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?: UrlfilterState, opts?: CustomResourceOptions): Urlfilter
    @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[UrlfilterEntryArgs]] = None,
            fosid: Optional[int] = None,
            get_all_tables: Optional[str] = None,
            ip4_mapped_ip6: Optional[str] = None,
            ip_addr_block: Optional[str] = None,
            name: Optional[str] = None,
            one_arm_ips_urlfilter: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Urlfilter
    func GetUrlfilter(ctx *Context, name string, id IDInput, state *UrlfilterState, opts ...ResourceOption) (*Urlfilter, error)
    public static Urlfilter Get(string name, Input<string> id, UrlfilterState? state, CustomResourceOptions? opts = null)
    public static Urlfilter get(String name, Output<String> id, UrlfilterState 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
    Optional comments.
    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.Filter.Web.Inputs.UrlfilterEntry>
    URL filter entries. The structure of entries block is documented below.
    Fosid int
    ID.
    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.
    Ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    IpAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    Name string
    Name of URL filter list.
    OneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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
    Optional comments.
    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 []UrlfilterEntryArgs
    URL filter entries. The structure of entries block is documented below.
    Fosid int
    ID.
    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.
    Ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    IpAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    Name string
    Name of URL filter list.
    OneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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
    Optional comments.
    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<UrlfilterEntry>
    URL filter entries. The structure of entries block is documented below.
    fosid Integer
    ID.
    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.
    ip4MappedIp6 String
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock String
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name String
    Name of URL filter list.
    oneArmIpsUrlfilter String
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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
    Optional comments.
    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 UrlfilterEntry[]
    URL filter entries. The structure of entries block is documented below.
    fosid number
    ID.
    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.
    ip4MappedIp6 string
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock string
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name string
    Name of URL filter list.
    oneArmIpsUrlfilter string
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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
    Optional comments.
    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[UrlfilterEntryArgs]
    URL filter entries. The structure of entries block is documented below.
    fosid int
    ID.
    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.
    ip4_mapped_ip6 str
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ip_addr_block str
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name str
    Name of URL filter list.
    one_arm_ips_urlfilter str
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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
    Optional comments.
    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>
    URL filter entries. The structure of entries block is documented below.
    fosid Number
    ID.
    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.
    ip4MappedIp6 String
    Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values: enable, disable.
    ipAddrBlock String
    Enable/disable blocking URLs when the hostname appears as an IP address. Valid values: enable, disable.
    name String
    Name of URL filter list.
    oneArmIpsUrlfilter String
    Enable/disable DNS resolver for one-arm IPS URL filter operation. Valid values: enable, disable.
    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

    UrlfilterEntry, UrlfilterEntryArgs

    Action string
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    AntiphishAction string
    Action to take for AntiPhishing matches. Valid values: block, log.
    DnsAddressFamily string
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    Exempt string
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    Id int
    Id.
    ReferrerHost string
    Referrer host name.
    Status string
    Enable/disable this URL filter. Valid values: enable, disable.
    Type string
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    Url string
    URL to be filtered.
    WebProxyProfile string
    Web proxy profile.
    Action string
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    AntiphishAction string
    Action to take for AntiPhishing matches. Valid values: block, log.
    DnsAddressFamily string
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    Exempt string
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    Id int
    Id.
    ReferrerHost string
    Referrer host name.
    Status string
    Enable/disable this URL filter. Valid values: enable, disable.
    Type string
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    Url string
    URL to be filtered.
    WebProxyProfile string
    Web proxy profile.
    action String
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    antiphishAction String
    Action to take for AntiPhishing matches. Valid values: block, log.
    dnsAddressFamily String
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    exempt String
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    id Integer
    Id.
    referrerHost String
    Referrer host name.
    status String
    Enable/disable this URL filter. Valid values: enable, disable.
    type String
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    url String
    URL to be filtered.
    webProxyProfile String
    Web proxy profile.
    action string
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    antiphishAction string
    Action to take for AntiPhishing matches. Valid values: block, log.
    dnsAddressFamily string
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    exempt string
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    id number
    Id.
    referrerHost string
    Referrer host name.
    status string
    Enable/disable this URL filter. Valid values: enable, disable.
    type string
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    url string
    URL to be filtered.
    webProxyProfile string
    Web proxy profile.
    action str
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    antiphish_action str
    Action to take for AntiPhishing matches. Valid values: block, log.
    dns_address_family str
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    exempt str
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    id int
    Id.
    referrer_host str
    Referrer host name.
    status str
    Enable/disable this URL filter. Valid values: enable, disable.
    type str
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    url str
    URL to be filtered.
    web_proxy_profile str
    Web proxy profile.
    action String
    Action to take for URL filter matches. Valid values: exempt, block, allow, monitor.
    antiphishAction String
    Action to take for AntiPhishing matches. Valid values: block, log.
    dnsAddressFamily String
    Resolve IPv4 address, IPv6 address, or both from DNS server. Valid values: ipv4, ipv6, both.
    exempt String
    If action is set to exempt, select the security profile operations that exempt URLs skip. Separate multiple options with a space.
    id Number
    Id.
    referrerHost String
    Referrer host name.
    status String
    Enable/disable this URL filter. Valid values: enable, disable.
    type String
    Filter type (simple, regex, or wildcard). Valid values: simple, regex, wildcard.
    url String
    URL to be filtered.
    webProxyProfile String
    Web proxy profile.

    Import

    Webfilter Urlfilter can be imported using any of these accepted formats:

    $ pulumi import fortios:filter/web/urlfilter:Urlfilter labelname {{fosid}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:filter/web/urlfilter:Urlfilter 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