fortios.system.Ipsurlfilterdns
Explore with Pulumi AI
Configure IPS URL filter DNS servers.
Create Ipsurlfilterdns Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ipsurlfilterdns(name: string, args?: IpsurlfilterdnsArgs, opts?: CustomResourceOptions);
@overload
def Ipsurlfilterdns(resource_name: str,
args: Optional[IpsurlfilterdnsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Ipsurlfilterdns(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
ipv6_capability: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewIpsurlfilterdns(ctx *Context, name string, args *IpsurlfilterdnsArgs, opts ...ResourceOption) (*Ipsurlfilterdns, error)
public Ipsurlfilterdns(string name, IpsurlfilterdnsArgs? args = null, CustomResourceOptions? opts = null)
public Ipsurlfilterdns(String name, IpsurlfilterdnsArgs args)
public Ipsurlfilterdns(String name, IpsurlfilterdnsArgs args, CustomResourceOptions options)
type: fortios:system:Ipsurlfilterdns
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args IpsurlfilterdnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args IpsurlfilterdnsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args IpsurlfilterdnsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args IpsurlfilterdnsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. IpsurlfilterdnsArgs - 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 ipsurlfilterdnsResource = new Fortios.System.Ipsurlfilterdns("ipsurlfilterdnsResource", new()
{
Address = "string",
Ipv6Capability = "string",
Status = "string",
Vdomparam = "string",
});
example, err := system.NewIpsurlfilterdns(ctx, "ipsurlfilterdnsResource", &system.IpsurlfilterdnsArgs{
Address: pulumi.String("string"),
Ipv6Capability: pulumi.String("string"),
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var ipsurlfilterdnsResource = new Ipsurlfilterdns("ipsurlfilterdnsResource", IpsurlfilterdnsArgs.builder()
.address("string")
.ipv6Capability("string")
.status("string")
.vdomparam("string")
.build());
ipsurlfilterdns_resource = fortios.system.Ipsurlfilterdns("ipsurlfilterdnsResource",
address="string",
ipv6_capability="string",
status="string",
vdomparam="string")
const ipsurlfilterdnsResource = new fortios.system.Ipsurlfilterdns("ipsurlfilterdnsResource", {
address: "string",
ipv6Capability: "string",
status: "string",
vdomparam: "string",
});
type: fortios:system:Ipsurlfilterdns
properties:
address: string
ipv6Capability: string
status: string
vdomparam: string
Ipsurlfilterdns 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 Ipsurlfilterdns resource accepts the following input properties:
- Address
Changes to this property will trigger replacement.
- DNS server IP address.
- Ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - Status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - Vdomparam
Changes to this property will trigger replacement.
- 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.
- Address
Changes to this property will trigger replacement.
- DNS server IP address.
- Ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - Status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - Vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability String
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status String
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6_
capability str - Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status str
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability String
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status String
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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 Ipsurlfilterdns 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 Ipsurlfilterdns Resource
Get an existing Ipsurlfilterdns 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?: IpsurlfilterdnsState, opts?: CustomResourceOptions): Ipsurlfilterdns
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
ipv6_capability: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None) -> Ipsurlfilterdns
func GetIpsurlfilterdns(ctx *Context, name string, id IDInput, state *IpsurlfilterdnsState, opts ...ResourceOption) (*Ipsurlfilterdns, error)
public static Ipsurlfilterdns Get(string name, Input<string> id, IpsurlfilterdnsState? state, CustomResourceOptions? opts = null)
public static Ipsurlfilterdns get(String name, Output<String> id, IpsurlfilterdnsState state, CustomResourceOptions options)
resources: _: type: fortios:system:Ipsurlfilterdns get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Address
Changes to this property will trigger replacement.
- DNS server IP address.
- Ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - Status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - Vdomparam
Changes to this property will trigger replacement.
- 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.
- Address
Changes to this property will trigger replacement.
- DNS server IP address.
- Ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - Status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - Vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability String
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status String
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability string
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status string
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6_
capability str - Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status str
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
- address
Changes to this property will trigger replacement.
- DNS server IP address.
- ipv6Capability String
- Enable/disable this server for IPv6 queries. Valid values:
enable
,disable
. - status String
- Enable/disable using this DNS server for IPS URL filter DNS queries. Valid values:
enable
,disable
. - vdomparam
Changes to this property will trigger replacement.
- 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.
Import
System IpsUrlfilterDns can be imported using any of these accepted formats:
$ pulumi import fortios:system/ipsurlfilterdns:Ipsurlfilterdns labelname {{address}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/ipsurlfilterdns:Ipsurlfilterdns labelname {{address}}
$ 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.