1. Packages
  2. Fortios
  3. API Docs
  4. firewall
  5. Ipv6ehfilter
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.firewall.Ipv6ehfilter

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Configure IPv6 extension header filter.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Ipv6ehfilter("trname", {
        auth: "disable",
        destOpt: "disable",
        fragment: "disable",
        hopOpt: "disable",
        noNext: "disable",
        routing: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Ipv6ehfilter("trname",
        auth="disable",
        dest_opt="disable",
        fragment="disable",
        hop_opt="disable",
        no_next="disable",
        routing="enable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firewall.NewIpv6ehfilter(ctx, "trname", &firewall.Ipv6ehfilterArgs{
    			Auth:     pulumi.String("disable"),
    			DestOpt:  pulumi.String("disable"),
    			Fragment: pulumi.String("disable"),
    			HopOpt:   pulumi.String("disable"),
    			NoNext:   pulumi.String("disable"),
    			Routing:  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.Firewall.Ipv6ehfilter("trname", new()
        {
            Auth = "disable",
            DestOpt = "disable",
            Fragment = "disable",
            HopOpt = "disable",
            NoNext = "disable",
            Routing = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Ipv6ehfilter;
    import com.pulumi.fortios.firewall.Ipv6ehfilterArgs;
    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 Ipv6ehfilter("trname", Ipv6ehfilterArgs.builder()        
                .auth("disable")
                .destOpt("disable")
                .fragment("disable")
                .hopOpt("disable")
                .noNext("disable")
                .routing("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Ipv6ehfilter
        properties:
          auth: disable
          destOpt: disable
          fragment: disable
          hopOpt: disable
          noNext: disable
          routing: enable
    

    Create Ipv6ehfilter Resource

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

    Constructor syntax

    new Ipv6ehfilter(name: string, args?: Ipv6ehfilterArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv6ehfilter(resource_name: str,
                     args: Optional[Ipv6ehfilterArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6ehfilter(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     auth: Optional[str] = None,
                     dest_opt: Optional[str] = None,
                     fragment: Optional[str] = None,
                     hdopt_type: Optional[int] = None,
                     hop_opt: Optional[str] = None,
                     no_next: Optional[str] = None,
                     routing: Optional[str] = None,
                     routing_type: Optional[int] = None,
                     vdomparam: Optional[str] = None)
    func NewIpv6ehfilter(ctx *Context, name string, args *Ipv6ehfilterArgs, opts ...ResourceOption) (*Ipv6ehfilter, error)
    public Ipv6ehfilter(string name, Ipv6ehfilterArgs? args = null, CustomResourceOptions? opts = null)
    public Ipv6ehfilter(String name, Ipv6ehfilterArgs args)
    public Ipv6ehfilter(String name, Ipv6ehfilterArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Ipv6ehfilter
    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 Ipv6ehfilterArgs
    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 Ipv6ehfilterArgs
    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 Ipv6ehfilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv6ehfilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv6ehfilterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var ipv6ehfilterResource = new Fortios.Firewall.Ipv6ehfilter("ipv6ehfilterResource", new()
    {
        Auth = "string",
        DestOpt = "string",
        Fragment = "string",
        HdoptType = 0,
        HopOpt = "string",
        NoNext = "string",
        Routing = "string",
        RoutingType = 0,
        Vdomparam = "string",
    });
    
    example, err := firewall.NewIpv6ehfilter(ctx, "ipv6ehfilterResource", &firewall.Ipv6ehfilterArgs{
    	Auth:        pulumi.String("string"),
    	DestOpt:     pulumi.String("string"),
    	Fragment:    pulumi.String("string"),
    	HdoptType:   pulumi.Int(0),
    	HopOpt:      pulumi.String("string"),
    	NoNext:      pulumi.String("string"),
    	Routing:     pulumi.String("string"),
    	RoutingType: pulumi.Int(0),
    	Vdomparam:   pulumi.String("string"),
    })
    
    var ipv6ehfilterResource = new Ipv6ehfilter("ipv6ehfilterResource", Ipv6ehfilterArgs.builder()
        .auth("string")
        .destOpt("string")
        .fragment("string")
        .hdoptType(0)
        .hopOpt("string")
        .noNext("string")
        .routing("string")
        .routingType(0)
        .vdomparam("string")
        .build());
    
    ipv6ehfilter_resource = fortios.firewall.Ipv6ehfilter("ipv6ehfilterResource",
        auth="string",
        dest_opt="string",
        fragment="string",
        hdopt_type=0,
        hop_opt="string",
        no_next="string",
        routing="string",
        routing_type=0,
        vdomparam="string")
    
    const ipv6ehfilterResource = new fortios.firewall.Ipv6ehfilter("ipv6ehfilterResource", {
        auth: "string",
        destOpt: "string",
        fragment: "string",
        hdoptType: 0,
        hopOpt: "string",
        noNext: "string",
        routing: "string",
        routingType: 0,
        vdomparam: "string",
    });
    
    type: fortios:firewall:Ipv6ehfilter
    properties:
        auth: string
        destOpt: string
        fragment: string
        hdoptType: 0
        hopOpt: string
        noNext: string
        routing: string
        routingType: 0
        vdomparam: string
    

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

    Auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    DestOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    Fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    HdoptType int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    HopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    NoNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    Routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    RoutingType int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    Auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    DestOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    Fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    HdoptType int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    HopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    NoNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    Routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    RoutingType int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth String
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt String
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment String
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType Integer
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt String
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext String
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing String
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType Integer
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType number
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType number
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth str
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    dest_opt str
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment str
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdopt_type int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hop_opt str
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    no_next str
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing str
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routing_type int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth String
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt String
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment String
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType Number
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt String
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext String
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing String
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType Number
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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 Ipv6ehfilter 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 Ipv6ehfilter Resource

    Get an existing Ipv6ehfilter 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?: Ipv6ehfilterState, opts?: CustomResourceOptions): Ipv6ehfilter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auth: Optional[str] = None,
            dest_opt: Optional[str] = None,
            fragment: Optional[str] = None,
            hdopt_type: Optional[int] = None,
            hop_opt: Optional[str] = None,
            no_next: Optional[str] = None,
            routing: Optional[str] = None,
            routing_type: Optional[int] = None,
            vdomparam: Optional[str] = None) -> Ipv6ehfilter
    func GetIpv6ehfilter(ctx *Context, name string, id IDInput, state *Ipv6ehfilterState, opts ...ResourceOption) (*Ipv6ehfilter, error)
    public static Ipv6ehfilter Get(string name, Input<string> id, Ipv6ehfilterState? state, CustomResourceOptions? opts = null)
    public static Ipv6ehfilter get(String name, Output<String> id, Ipv6ehfilterState 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:
    Auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    DestOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    Fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    HdoptType int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    HopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    NoNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    Routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    RoutingType int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    Auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    DestOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    Fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    HdoptType int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    HopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    NoNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    Routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    RoutingType int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth String
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt String
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment String
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType Integer
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt String
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext String
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing String
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType Integer
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth string
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt string
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment string
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType number
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt string
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext string
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing string
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType number
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth str
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    dest_opt str
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment str
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdopt_type int
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hop_opt str
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    no_next str
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing str
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routing_type int
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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.
    auth String
    Enable/disable blocking packets with the Authentication header (default = disable). Valid values: enable, disable.
    destOpt String
    Enable/disable blocking packets with Destination Options headers (default = disable). Valid values: enable, disable.
    fragment String
    Enable/disable blocking packets with the Fragment header (default = disable). Valid values: enable, disable.
    hdoptType Number
    Block specific Hop-by-Hop and/or Destination Option types (max. 7 types, each between 0 and 255).
    hopOpt String
    Enable/disable blocking packets with the Hop-by-Hop Options header (default = disable). Valid values: enable, disable.
    noNext String
    Enable/disable blocking packets with the No Next header (default = disable) Valid values: enable, disable.
    routing String
    Enable/disable blocking packets with Routing headers (default = enable). Valid values: enable, disable.
    routingType Number
    Block specific Routing header types (max. 7 types, each between 0 and 255, default = 0).
    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

    Firewall Ipv6EhFilter can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/ipv6ehfilter:Ipv6ehfilter labelname FirewallIpv6EhFilter
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/ipv6ehfilter:Ipv6ehfilter labelname FirewallIpv6EhFilter
    

    $ 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.5 published on Tuesday, Apr 9, 2024 by pulumiverse