fortios.filter/web.Urlfilter
Explore with Pulumi AI
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
The Urlfilter resource accepts the following input properties:
- Fosid int
- ID.
- Comment string
- Optional comments.
- Dynamic
Sort stringSubtable - 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. Urlfilter Entry> - URL filter entries. The structure of
entries
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - Ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - Name string
- Name of URL filter list.
- One
Arm stringIps Urlfilter - 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.
- Dynamic
Sort stringSubtable - 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
[]Urlfilter
Entry Args - URL filter entries. The structure of
entries
block is documented below. - Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - Ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - Name string
- Name of URL filter list.
- One
Arm stringIps Urlfilter - 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.
- dynamic
Sort StringSubtable - 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<Urlfilter
Entry> - URL filter entries. The structure of
entries
block is documented below. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 String - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr StringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name String
- Name of URL filter list.
- one
Arm StringIps Urlfilter - 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.
- dynamic
Sort stringSubtable - 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
Urlfilter
Entry[] - URL filter entries. The structure of
entries
block is documented below. - get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name string
- Name of URL filter list.
- one
Arm stringIps Urlfilter - 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_ strsubtable - 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[Urlfilter
Entry Args] - URL filter entries. The structure of
entries
block is documented below. - get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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_ strip6 - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip_
addr_ strblock - 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_ strips_ urlfilter - 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.
- dynamic
Sort StringSubtable - 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. - get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 String - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr StringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name String
- Name of URL filter list.
- one
Arm StringIps Urlfilter - 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.
- Comment string
- Optional comments.
- Dynamic
Sort stringSubtable - 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. Urlfilter Entry> - URL filter entries. The structure of
entries
block is documented below. - Fosid int
- ID.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - Ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - Name string
- Name of URL filter list.
- One
Arm stringIps Urlfilter - 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.
- Dynamic
Sort stringSubtable - 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
[]Urlfilter
Entry Args - URL filter entries. The structure of
entries
block is documented below. - Fosid int
- ID.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - Ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - Name string
- Name of URL filter list.
- One
Arm stringIps Urlfilter - 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.
- dynamic
Sort StringSubtable - 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<Urlfilter
Entry> - URL filter entries. The structure of
entries
block is documented below. - fosid Integer
- ID.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 String - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr StringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name String
- Name of URL filter list.
- one
Arm StringIps Urlfilter - 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.
- dynamic
Sort stringSubtable - 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
Urlfilter
Entry[] - URL filter entries. The structure of
entries
block is documented below. - fosid number
- ID.
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 string - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr stringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name string
- Name of URL filter list.
- one
Arm stringIps Urlfilter - 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_ strsubtable - 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[Urlfilter
Entry Args] - URL filter entries. The structure of
entries
block is documented below. - fosid int
- ID.
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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_ strip6 - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip_
addr_ strblock - 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_ strips_ urlfilter - 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.
- dynamic
Sort StringSubtable - 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.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip4Mapped
Ip6 String - Enable/disable matching of IPv4 mapped IPv6 URLs. Valid values:
enable
,disable
. - ip
Addr StringBlock - Enable/disable blocking URLs when the hostname appears as an IP address. Valid values:
enable
,disable
. - name String
- Name of URL filter list.
- one
Arm StringIps Urlfilter - 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
. - Antiphish
Action string - Action to take for AntiPhishing matches. Valid values:
block
,log
. - Dns
Address stringFamily - 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.
- Referrer
Host 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.
- Web
Proxy stringProfile - Web proxy profile.
- Action string
- Action to take for URL filter matches. Valid values:
exempt
,block
,allow
,monitor
. - Antiphish
Action string - Action to take for AntiPhishing matches. Valid values:
block
,log
. - Dns
Address stringFamily - 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.
- Referrer
Host 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.
- Web
Proxy stringProfile - Web proxy profile.
- action String
- Action to take for URL filter matches. Valid values:
exempt
,block
,allow
,monitor
. - antiphish
Action String - Action to take for AntiPhishing matches. Valid values:
block
,log
. - dns
Address StringFamily - 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.
- referrer
Host 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.
- web
Proxy StringProfile - Web proxy profile.
- action string
- Action to take for URL filter matches. Valid values:
exempt
,block
,allow
,monitor
. - antiphish
Action string - Action to take for AntiPhishing matches. Valid values:
block
,log
. - dns
Address stringFamily - 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.
- referrer
Host 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.
- web
Proxy stringProfile - 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_ strfamily - 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_ strprofile - Web proxy profile.
- action String
- Action to take for URL filter matches. Valid values:
exempt
,block
,allow
,monitor
. - antiphish
Action String - Action to take for AntiPhishing matches. Valid values:
block
,log
. - dns
Address StringFamily - 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.
- referrer
Host 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.
- web
Proxy StringProfile - 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.