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

fortios.system.Ipsurlfilterdns

Explore with Pulumi AI

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

    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 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 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 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 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 String
    The unique name of the resource.
    args 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

    The Ipsurlfilterdns resource accepts the following input properties:

    Address string
    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 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.
    Address string
    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 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.
    address String
    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 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.
    address string
    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 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.
    address str
    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 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.
    address String
    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 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 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)
    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:
    Address string
    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 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.
    Address string
    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 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.
    address String
    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 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.
    address string
    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 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.
    address str
    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 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.
    address String
    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 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.

    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse