1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectDnsfilterProfileFtgddns
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectDnsfilterProfileFtgddns

Explore with Pulumi AI

FortiGuard DNS Filter settings.

This resource is a sub resource for variable ftgd_dns of resource fortimanager.ObjectDnsfilterProfile. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • filters: fortimanager.ObjectDnsfilterProfileFtgddnsFilters

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectDnsfilterProfile = new fortimanager.ObjectDnsfilterProfile("trnameObjectDnsfilterProfile", {});
const trnameObjectDnsfilterProfileFtgddns = new fortimanager.ObjectDnsfilterProfileFtgddns("trnameObjectDnsfilterProfileFtgddns", {
    options: ["error-allow"],
    filters: [{
        category: "2",
        id: 1,
        log: "enable",
    }],
    profile: trnameObjectDnsfilterProfile.name,
}, {
    dependsOn: [trnameObjectDnsfilterProfile],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_dnsfilter_profile = fortimanager.ObjectDnsfilterProfile("trnameObjectDnsfilterProfile")
trname_object_dnsfilter_profile_ftgddns = fortimanager.ObjectDnsfilterProfileFtgddns("trnameObjectDnsfilterProfileFtgddns",
    options=["error-allow"],
    filters=[{
        "category": "2",
        "id": 1,
        "log": "enable",
    }],
    profile=trname_object_dnsfilter_profile.name,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_dnsfilter_profile]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectDnsfilterProfile, err := fortimanager.NewObjectDnsfilterProfile(ctx, "trnameObjectDnsfilterProfile", nil)
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectDnsfilterProfileFtgddns(ctx, "trnameObjectDnsfilterProfileFtgddns", &fortimanager.ObjectDnsfilterProfileFtgddnsArgs{
			Options: pulumi.StringArray{
				pulumi.String("error-allow"),
			},
			Filters: fortimanager.ObjectDnsfilterProfileFtgddnsFilterArray{
				&fortimanager.ObjectDnsfilterProfileFtgddnsFilterArgs{
					Category: pulumi.String("2"),
					Id:       pulumi.Float64(1),
					Log:      pulumi.String("enable"),
				},
			},
			Profile: trnameObjectDnsfilterProfile.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectDnsfilterProfile,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectDnsfilterProfile = new Fortimanager.ObjectDnsfilterProfile("trnameObjectDnsfilterProfile");

    var trnameObjectDnsfilterProfileFtgddns = new Fortimanager.ObjectDnsfilterProfileFtgddns("trnameObjectDnsfilterProfileFtgddns", new()
    {
        Options = new[]
        {
            "error-allow",
        },
        Filters = new[]
        {
            new Fortimanager.Inputs.ObjectDnsfilterProfileFtgddnsFilterArgs
            {
                Category = "2",
                Id = 1,
                Log = "enable",
            },
        },
        Profile = trnameObjectDnsfilterProfile.Name,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectDnsfilterProfile,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectDnsfilterProfile;
import com.pulumi.fortimanager.ObjectDnsfilterProfileFtgddns;
import com.pulumi.fortimanager.ObjectDnsfilterProfileFtgddnsArgs;
import com.pulumi.fortimanager.inputs.ObjectDnsfilterProfileFtgddnsFilterArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trnameObjectDnsfilterProfile = new ObjectDnsfilterProfile("trnameObjectDnsfilterProfile");

        var trnameObjectDnsfilterProfileFtgddns = new ObjectDnsfilterProfileFtgddns("trnameObjectDnsfilterProfileFtgddns", ObjectDnsfilterProfileFtgddnsArgs.builder()
            .options("error-allow")
            .filters(ObjectDnsfilterProfileFtgddnsFilterArgs.builder()
                .category(2)
                .id(1)
                .log("enable")
                .build())
            .profile(trnameObjectDnsfilterProfile.name())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectDnsfilterProfile)
                .build());

    }
}
Copy
resources:
  trnameObjectDnsfilterProfileFtgddns:
    type: fortimanager:ObjectDnsfilterProfileFtgddns
    properties:
      options:
        - error-allow
      filters:
        - category: 2
          id: 1
          log: enable
      profile: ${trnameObjectDnsfilterProfile.name}
    options:
      dependsOn:
        - ${trnameObjectDnsfilterProfile}
  trnameObjectDnsfilterProfile:
    type: fortimanager:ObjectDnsfilterProfile
Copy

Create ObjectDnsfilterProfileFtgddns Resource

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

Constructor syntax

new ObjectDnsfilterProfileFtgddns(name: string, args: ObjectDnsfilterProfileFtgddnsArgs, opts?: CustomResourceOptions);
@overload
def ObjectDnsfilterProfileFtgddns(resource_name: str,
                                  args: ObjectDnsfilterProfileFtgddnsArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def ObjectDnsfilterProfileFtgddns(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  profile: Optional[str] = None,
                                  adom: Optional[str] = None,
                                  dynamic_sort_subtable: Optional[str] = None,
                                  filters: Optional[Sequence[ObjectDnsfilterProfileFtgddnsFilterArgs]] = None,
                                  object_dnsfilter_profile_ftgddns_id: Optional[str] = None,
                                  options: Optional[Sequence[str]] = None,
                                  scopetype: Optional[str] = None)
func NewObjectDnsfilterProfileFtgddns(ctx *Context, name string, args ObjectDnsfilterProfileFtgddnsArgs, opts ...ResourceOption) (*ObjectDnsfilterProfileFtgddns, error)
public ObjectDnsfilterProfileFtgddns(string name, ObjectDnsfilterProfileFtgddnsArgs args, CustomResourceOptions? opts = null)
public ObjectDnsfilterProfileFtgddns(String name, ObjectDnsfilterProfileFtgddnsArgs args)
public ObjectDnsfilterProfileFtgddns(String name, ObjectDnsfilterProfileFtgddnsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectDnsfilterProfileFtgddns
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 This property is required. ObjectDnsfilterProfileFtgddnsArgs
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 This property is required. ObjectDnsfilterProfileFtgddnsArgs
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 This property is required. ObjectDnsfilterProfileFtgddnsArgs
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 This property is required. ObjectDnsfilterProfileFtgddnsArgs
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. ObjectDnsfilterProfileFtgddnsArgs
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 objectDnsfilterProfileFtgddnsResource = new Fortimanager.ObjectDnsfilterProfileFtgddns("objectDnsfilterProfileFtgddnsResource", new()
{
    Profile = "string",
    Adom = "string",
    DynamicSortSubtable = "string",
    Filters = new[]
    {
        new Fortimanager.Inputs.ObjectDnsfilterProfileFtgddnsFilterArgs
        {
            Action = "string",
            Category = "string",
            Id = 0,
            Log = "string",
        },
    },
    ObjectDnsfilterProfileFtgddnsId = "string",
    Options = new[]
    {
        "string",
    },
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectDnsfilterProfileFtgddns(ctx, "objectDnsfilterProfileFtgddnsResource", &fortimanager.ObjectDnsfilterProfileFtgddnsArgs{
	Profile:             pulumi.String("string"),
	Adom:                pulumi.String("string"),
	DynamicSortSubtable: pulumi.String("string"),
	Filters: fortimanager.ObjectDnsfilterProfileFtgddnsFilterArray{
		&fortimanager.ObjectDnsfilterProfileFtgddnsFilterArgs{
			Action:   pulumi.String("string"),
			Category: pulumi.String("string"),
			Id:       pulumi.Float64(0),
			Log:      pulumi.String("string"),
		},
	},
	ObjectDnsfilterProfileFtgddnsId: pulumi.String("string"),
	Options: pulumi.StringArray{
		pulumi.String("string"),
	},
	Scopetype: pulumi.String("string"),
})
Copy
var objectDnsfilterProfileFtgddnsResource = new ObjectDnsfilterProfileFtgddns("objectDnsfilterProfileFtgddnsResource", ObjectDnsfilterProfileFtgddnsArgs.builder()
    .profile("string")
    .adom("string")
    .dynamicSortSubtable("string")
    .filters(ObjectDnsfilterProfileFtgddnsFilterArgs.builder()
        .action("string")
        .category("string")
        .id(0)
        .log("string")
        .build())
    .objectDnsfilterProfileFtgddnsId("string")
    .options("string")
    .scopetype("string")
    .build());
Copy
object_dnsfilter_profile_ftgddns_resource = fortimanager.ObjectDnsfilterProfileFtgddns("objectDnsfilterProfileFtgddnsResource",
    profile="string",
    adom="string",
    dynamic_sort_subtable="string",
    filters=[{
        "action": "string",
        "category": "string",
        "id": 0,
        "log": "string",
    }],
    object_dnsfilter_profile_ftgddns_id="string",
    options=["string"],
    scopetype="string")
Copy
const objectDnsfilterProfileFtgddnsResource = new fortimanager.ObjectDnsfilterProfileFtgddns("objectDnsfilterProfileFtgddnsResource", {
    profile: "string",
    adom: "string",
    dynamicSortSubtable: "string",
    filters: [{
        action: "string",
        category: "string",
        id: 0,
        log: "string",
    }],
    objectDnsfilterProfileFtgddnsId: "string",
    options: ["string"],
    scopetype: "string",
});
Copy
type: fortimanager:ObjectDnsfilterProfileFtgddns
properties:
    adom: string
    dynamicSortSubtable: string
    filters:
        - action: string
          category: string
          id: 0
          log: string
    objectDnsfilterProfileFtgddnsId: string
    options:
        - string
    profile: string
    scopetype: string
Copy

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

Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Filters List<ObjectDnsfilterProfileFtgddnsFilter>
Filters. The structure of filters block is documented below.
ObjectDnsfilterProfileFtgddnsId string
an identifier for the resource.
Options List<string>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Profile This property is required. string
Profile.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Filters []ObjectDnsfilterProfileFtgddnsFilterArgs
Filters. The structure of filters block is documented below.
ObjectDnsfilterProfileFtgddnsId string
an identifier for the resource.
Options []string
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters List<ObjectDnsfilterProfileFtgddnsFilter>
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId String
an identifier for the resource.
options List<String>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. string
Profile.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters ObjectDnsfilterProfileFtgddnsFilter[]
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId string
an identifier for the resource.
options string[]
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. str
Profile.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters Sequence[ObjectDnsfilterProfileFtgddnsFilterArgs]
Filters. The structure of filters block is documented below.
object_dnsfilter_profile_ftgddns_id str
an identifier for the resource.
options Sequence[str]
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
profile This property is required. String
Profile.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters List<Property Map>
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId String
an identifier for the resource.
options List<String>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectDnsfilterProfileFtgddns 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?: ObjectDnsfilterProfileFtgddnsState, opts?: CustomResourceOptions): ObjectDnsfilterProfileFtgddns
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        filters: Optional[Sequence[ObjectDnsfilterProfileFtgddnsFilterArgs]] = None,
        object_dnsfilter_profile_ftgddns_id: Optional[str] = None,
        options: Optional[Sequence[str]] = None,
        profile: Optional[str] = None,
        scopetype: Optional[str] = None) -> ObjectDnsfilterProfileFtgddns
func GetObjectDnsfilterProfileFtgddns(ctx *Context, name string, id IDInput, state *ObjectDnsfilterProfileFtgddnsState, opts ...ResourceOption) (*ObjectDnsfilterProfileFtgddns, error)
public static ObjectDnsfilterProfileFtgddns Get(string name, Input<string> id, ObjectDnsfilterProfileFtgddnsState? state, CustomResourceOptions? opts = null)
public static ObjectDnsfilterProfileFtgddns get(String name, Output<String> id, ObjectDnsfilterProfileFtgddnsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectDnsfilterProfileFtgddns    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.
The following state arguments are supported:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Filters List<ObjectDnsfilterProfileFtgddnsFilter>
Filters. The structure of filters block is documented below.
ObjectDnsfilterProfileFtgddnsId string
an identifier for the resource.
Options List<string>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Filters []ObjectDnsfilterProfileFtgddnsFilterArgs
Filters. The structure of filters block is documented below.
ObjectDnsfilterProfileFtgddnsId string
an identifier for the resource.
Options []string
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
Profile string
Profile.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters List<ObjectDnsfilterProfileFtgddnsFilter>
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId String
an identifier for the resource.
options List<String>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters ObjectDnsfilterProfileFtgddnsFilter[]
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId string
an identifier for the resource.
options string[]
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
profile string
Profile.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters Sequence[ObjectDnsfilterProfileFtgddnsFilterArgs]
Filters. The structure of filters block is documented below.
object_dnsfilter_profile_ftgddns_id str
an identifier for the resource.
options Sequence[str]
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
profile str
Profile.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
filters List<Property Map>
Filters. The structure of filters block is documented below.
objectDnsfilterProfileFtgddnsId String
an identifier for the resource.
options List<String>
FortiGuard DNS filter options. Valid values: error-allow, ftgd-disable.
profile String
Profile.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectDnsfilterProfileFtgddnsFilter
, ObjectDnsfilterProfileFtgddnsFilterArgs

Action string
Action to take for DNS requests matching the category. Valid values: monitor, block.
Category string
Category number.
Id double
ID number.
Log string
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.
Action string
Action to take for DNS requests matching the category. Valid values: monitor, block.
Category string
Category number.
Id float64
ID number.
Log string
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.
action String
Action to take for DNS requests matching the category. Valid values: monitor, block.
category String
Category number.
id Double
ID number.
log String
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.
action string
Action to take for DNS requests matching the category. Valid values: monitor, block.
category string
Category number.
id number
ID number.
log string
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.
action str
Action to take for DNS requests matching the category. Valid values: monitor, block.
category str
Category number.
id float
ID number.
log str
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.
action String
Action to take for DNS requests matching the category. Valid values: monitor, block.
category String
Category number.
id Number
ID number.
log String
Enable/disable DNS filter logging for this DNS profile. Valid values: disable, enable.

Import

ObjectDnsfilter ProfileFtgdDns can be imported using any of these accepted formats:

Set import_options = [“profile=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectDnsfilterProfileFtgddns:ObjectDnsfilterProfileFtgddns labelname ObjectDnsfilterProfileFtgdDns
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.