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

fortios.firewall.Interfacepolicy6

Explore with Pulumi AI

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

    Configure IPv6 interface policies.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Interfacepolicy6("trname", {
        addressType: "ipv6",
        applicationListStatus: "disable",
        avProfileStatus: "disable",
        dlpSensorStatus: "disable",
        dsri: "disable",
        dstaddr6s: [{
            name: "all",
        }],
        "interface": "port4",
        ipsSensorStatus: "disable",
        logtraffic: "all",
        policyid: 1,
        scanBotnetConnections: "block",
        service6s: [{
            name: "ALL",
        }],
        spamfilterProfileStatus: "disable",
        srcaddr6s: [{
            name: "all",
        }],
        status: "enable",
        webfilterProfileStatus: "disable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Interfacepolicy6("trname",
        address_type="ipv6",
        application_list_status="disable",
        av_profile_status="disable",
        dlp_sensor_status="disable",
        dsri="disable",
        dstaddr6s=[fortios.firewall.Interfacepolicy6Dstaddr6Args(
            name="all",
        )],
        interface="port4",
        ips_sensor_status="disable",
        logtraffic="all",
        policyid=1,
        scan_botnet_connections="block",
        service6s=[fortios.firewall.Interfacepolicy6Service6Args(
            name="ALL",
        )],
        spamfilter_profile_status="disable",
        srcaddr6s=[fortios.firewall.Interfacepolicy6Srcaddr6Args(
            name="all",
        )],
        status="enable",
        webfilter_profile_status="disable")
    
    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.NewInterfacepolicy6(ctx, "trname", &firewall.Interfacepolicy6Args{
    			AddressType:           pulumi.String("ipv6"),
    			ApplicationListStatus: pulumi.String("disable"),
    			AvProfileStatus:       pulumi.String("disable"),
    			DlpSensorStatus:       pulumi.String("disable"),
    			Dsri:                  pulumi.String("disable"),
    			Dstaddr6s: firewall.Interfacepolicy6Dstaddr6Array{
    				&firewall.Interfacepolicy6Dstaddr6Args{
    					Name: pulumi.String("all"),
    				},
    			},
    			Interface:             pulumi.String("port4"),
    			IpsSensorStatus:       pulumi.String("disable"),
    			Logtraffic:            pulumi.String("all"),
    			Policyid:              pulumi.Int(1),
    			ScanBotnetConnections: pulumi.String("block"),
    			Service6s: firewall.Interfacepolicy6Service6Array{
    				&firewall.Interfacepolicy6Service6Args{
    					Name: pulumi.String("ALL"),
    				},
    			},
    			SpamfilterProfileStatus: pulumi.String("disable"),
    			Srcaddr6s: firewall.Interfacepolicy6Srcaddr6Array{
    				&firewall.Interfacepolicy6Srcaddr6Args{
    					Name: pulumi.String("all"),
    				},
    			},
    			Status:                 pulumi.String("enable"),
    			WebfilterProfileStatus: pulumi.String("disable"),
    		})
    		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.Interfacepolicy6("trname", new()
        {
            AddressType = "ipv6",
            ApplicationListStatus = "disable",
            AvProfileStatus = "disable",
            DlpSensorStatus = "disable",
            Dsri = "disable",
            Dstaddr6s = new[]
            {
                new Fortios.Firewall.Inputs.Interfacepolicy6Dstaddr6Args
                {
                    Name = "all",
                },
            },
            Interface = "port4",
            IpsSensorStatus = "disable",
            Logtraffic = "all",
            Policyid = 1,
            ScanBotnetConnections = "block",
            Service6s = new[]
            {
                new Fortios.Firewall.Inputs.Interfacepolicy6Service6Args
                {
                    Name = "ALL",
                },
            },
            SpamfilterProfileStatus = "disable",
            Srcaddr6s = new[]
            {
                new Fortios.Firewall.Inputs.Interfacepolicy6Srcaddr6Args
                {
                    Name = "all",
                },
            },
            Status = "enable",
            WebfilterProfileStatus = "disable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Interfacepolicy6;
    import com.pulumi.fortios.firewall.Interfacepolicy6Args;
    import com.pulumi.fortios.firewall.inputs.Interfacepolicy6Dstaddr6Args;
    import com.pulumi.fortios.firewall.inputs.Interfacepolicy6Service6Args;
    import com.pulumi.fortios.firewall.inputs.Interfacepolicy6Srcaddr6Args;
    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 Interfacepolicy6("trname", Interfacepolicy6Args.builder()
                .addressType("ipv6")
                .applicationListStatus("disable")
                .avProfileStatus("disable")
                .dlpSensorStatus("disable")
                .dsri("disable")
                .dstaddr6s(Interfacepolicy6Dstaddr6Args.builder()
                    .name("all")
                    .build())
                .interface_("port4")
                .ipsSensorStatus("disable")
                .logtraffic("all")
                .policyid(1)
                .scanBotnetConnections("block")
                .service6s(Interfacepolicy6Service6Args.builder()
                    .name("ALL")
                    .build())
                .spamfilterProfileStatus("disable")
                .srcaddr6s(Interfacepolicy6Srcaddr6Args.builder()
                    .name("all")
                    .build())
                .status("enable")
                .webfilterProfileStatus("disable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Interfacepolicy6
        properties:
          addressType: ipv6
          applicationListStatus: disable
          avProfileStatus: disable
          dlpSensorStatus: disable
          dsri: disable
          dstaddr6s:
            - name: all
          interface: port4
          ipsSensorStatus: disable
          logtraffic: all
          policyid: 1
          scanBotnetConnections: block
          service6s:
            - name: ALL
          spamfilterProfileStatus: disable
          srcaddr6s:
            - name: all
          status: enable
          webfilterProfileStatus: disable
    

    Create Interfacepolicy6 Resource

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

    Constructor syntax

    new Interfacepolicy6(name: string, args: Interfacepolicy6Args, opts?: CustomResourceOptions);
    @overload
    def Interfacepolicy6(resource_name: str,
                         args: Interfacepolicy6Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Interfacepolicy6(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         dstaddr6s: Optional[Sequence[Interfacepolicy6Dstaddr6Args]] = None,
                         srcaddr6s: Optional[Sequence[Interfacepolicy6Srcaddr6Args]] = None,
                         interface: Optional[str] = None,
                         emailfilter_profile_status: Optional[str] = None,
                         webfilter_profile_status: Optional[str] = None,
                         get_all_tables: Optional[str] = None,
                         casb_profile_status: Optional[str] = None,
                         comments: Optional[str] = None,
                         dlp_profile: Optional[str] = None,
                         dlp_profile_status: Optional[str] = None,
                         dlp_sensor: Optional[str] = None,
                         dlp_sensor_status: Optional[str] = None,
                         dsri: Optional[str] = None,
                         av_profile: Optional[str] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         emailfilter_profile: Optional[str] = None,
                         address_type: Optional[str] = None,
                         casb_profile: Optional[str] = None,
                         ips_sensor: Optional[str] = None,
                         av_profile_status: Optional[str] = None,
                         ips_sensor_status: Optional[str] = None,
                         label: Optional[str] = None,
                         logtraffic: Optional[str] = None,
                         policyid: Optional[int] = None,
                         scan_botnet_connections: Optional[str] = None,
                         service6s: Optional[Sequence[Interfacepolicy6Service6Args]] = None,
                         spamfilter_profile: Optional[str] = None,
                         spamfilter_profile_status: Optional[str] = None,
                         application_list: Optional[str] = None,
                         status: Optional[str] = None,
                         uuid: Optional[str] = None,
                         vdomparam: Optional[str] = None,
                         webfilter_profile: Optional[str] = None,
                         application_list_status: Optional[str] = None)
    func NewInterfacepolicy6(ctx *Context, name string, args Interfacepolicy6Args, opts ...ResourceOption) (*Interfacepolicy6, error)
    public Interfacepolicy6(string name, Interfacepolicy6Args args, CustomResourceOptions? opts = null)
    public Interfacepolicy6(String name, Interfacepolicy6Args args)
    public Interfacepolicy6(String name, Interfacepolicy6Args args, CustomResourceOptions options)
    
    type: fortios:firewall:Interfacepolicy6
    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 Interfacepolicy6Args
    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 Interfacepolicy6Args
    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 Interfacepolicy6Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Interfacepolicy6Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Interfacepolicy6Args
    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 interfacepolicy6Resource = new Fortios.Firewall.Interfacepolicy6("interfacepolicy6Resource", new()
    {
        Dstaddr6s = new[]
        {
            new Fortios.Firewall.Inputs.Interfacepolicy6Dstaddr6Args
            {
                Name = "string",
            },
        },
        Srcaddr6s = new[]
        {
            new Fortios.Firewall.Inputs.Interfacepolicy6Srcaddr6Args
            {
                Name = "string",
            },
        },
        Interface = "string",
        EmailfilterProfileStatus = "string",
        WebfilterProfileStatus = "string",
        GetAllTables = "string",
        CasbProfileStatus = "string",
        Comments = "string",
        DlpProfile = "string",
        DlpProfileStatus = "string",
        DlpSensor = "string",
        DlpSensorStatus = "string",
        Dsri = "string",
        AvProfile = "string",
        DynamicSortSubtable = "string",
        EmailfilterProfile = "string",
        AddressType = "string",
        CasbProfile = "string",
        IpsSensor = "string",
        AvProfileStatus = "string",
        IpsSensorStatus = "string",
        Label = "string",
        Logtraffic = "string",
        Policyid = 0,
        ScanBotnetConnections = "string",
        Service6s = new[]
        {
            new Fortios.Firewall.Inputs.Interfacepolicy6Service6Args
            {
                Name = "string",
            },
        },
        SpamfilterProfile = "string",
        SpamfilterProfileStatus = "string",
        ApplicationList = "string",
        Status = "string",
        Uuid = "string",
        Vdomparam = "string",
        WebfilterProfile = "string",
        ApplicationListStatus = "string",
    });
    
    example, err := firewall.NewInterfacepolicy6(ctx, "interfacepolicy6Resource", &firewall.Interfacepolicy6Args{
    	Dstaddr6s: firewall.Interfacepolicy6Dstaddr6Array{
    		&firewall.Interfacepolicy6Dstaddr6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	Srcaddr6s: firewall.Interfacepolicy6Srcaddr6Array{
    		&firewall.Interfacepolicy6Srcaddr6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	Interface:                pulumi.String("string"),
    	EmailfilterProfileStatus: pulumi.String("string"),
    	WebfilterProfileStatus:   pulumi.String("string"),
    	GetAllTables:             pulumi.String("string"),
    	CasbProfileStatus:        pulumi.String("string"),
    	Comments:                 pulumi.String("string"),
    	DlpProfile:               pulumi.String("string"),
    	DlpProfileStatus:         pulumi.String("string"),
    	DlpSensor:                pulumi.String("string"),
    	DlpSensorStatus:          pulumi.String("string"),
    	Dsri:                     pulumi.String("string"),
    	AvProfile:                pulumi.String("string"),
    	DynamicSortSubtable:      pulumi.String("string"),
    	EmailfilterProfile:       pulumi.String("string"),
    	AddressType:              pulumi.String("string"),
    	CasbProfile:              pulumi.String("string"),
    	IpsSensor:                pulumi.String("string"),
    	AvProfileStatus:          pulumi.String("string"),
    	IpsSensorStatus:          pulumi.String("string"),
    	Label:                    pulumi.String("string"),
    	Logtraffic:               pulumi.String("string"),
    	Policyid:                 pulumi.Int(0),
    	ScanBotnetConnections:    pulumi.String("string"),
    	Service6s: firewall.Interfacepolicy6Service6Array{
    		&firewall.Interfacepolicy6Service6Args{
    			Name: pulumi.String("string"),
    		},
    	},
    	SpamfilterProfile:       pulumi.String("string"),
    	SpamfilterProfileStatus: pulumi.String("string"),
    	ApplicationList:         pulumi.String("string"),
    	Status:                  pulumi.String("string"),
    	Uuid:                    pulumi.String("string"),
    	Vdomparam:               pulumi.String("string"),
    	WebfilterProfile:        pulumi.String("string"),
    	ApplicationListStatus:   pulumi.String("string"),
    })
    
    var interfacepolicy6Resource = new Interfacepolicy6("interfacepolicy6Resource", Interfacepolicy6Args.builder()
        .dstaddr6s(Interfacepolicy6Dstaddr6Args.builder()
            .name("string")
            .build())
        .srcaddr6s(Interfacepolicy6Srcaddr6Args.builder()
            .name("string")
            .build())
        .interface_("string")
        .emailfilterProfileStatus("string")
        .webfilterProfileStatus("string")
        .getAllTables("string")
        .casbProfileStatus("string")
        .comments("string")
        .dlpProfile("string")
        .dlpProfileStatus("string")
        .dlpSensor("string")
        .dlpSensorStatus("string")
        .dsri("string")
        .avProfile("string")
        .dynamicSortSubtable("string")
        .emailfilterProfile("string")
        .addressType("string")
        .casbProfile("string")
        .ipsSensor("string")
        .avProfileStatus("string")
        .ipsSensorStatus("string")
        .label("string")
        .logtraffic("string")
        .policyid(0)
        .scanBotnetConnections("string")
        .service6s(Interfacepolicy6Service6Args.builder()
            .name("string")
            .build())
        .spamfilterProfile("string")
        .spamfilterProfileStatus("string")
        .applicationList("string")
        .status("string")
        .uuid("string")
        .vdomparam("string")
        .webfilterProfile("string")
        .applicationListStatus("string")
        .build());
    
    interfacepolicy6_resource = fortios.firewall.Interfacepolicy6("interfacepolicy6Resource",
        dstaddr6s=[{
            "name": "string",
        }],
        srcaddr6s=[{
            "name": "string",
        }],
        interface="string",
        emailfilter_profile_status="string",
        webfilter_profile_status="string",
        get_all_tables="string",
        casb_profile_status="string",
        comments="string",
        dlp_profile="string",
        dlp_profile_status="string",
        dlp_sensor="string",
        dlp_sensor_status="string",
        dsri="string",
        av_profile="string",
        dynamic_sort_subtable="string",
        emailfilter_profile="string",
        address_type="string",
        casb_profile="string",
        ips_sensor="string",
        av_profile_status="string",
        ips_sensor_status="string",
        label="string",
        logtraffic="string",
        policyid=0,
        scan_botnet_connections="string",
        service6s=[{
            "name": "string",
        }],
        spamfilter_profile="string",
        spamfilter_profile_status="string",
        application_list="string",
        status="string",
        uuid="string",
        vdomparam="string",
        webfilter_profile="string",
        application_list_status="string")
    
    const interfacepolicy6Resource = new fortios.firewall.Interfacepolicy6("interfacepolicy6Resource", {
        dstaddr6s: [{
            name: "string",
        }],
        srcaddr6s: [{
            name: "string",
        }],
        "interface": "string",
        emailfilterProfileStatus: "string",
        webfilterProfileStatus: "string",
        getAllTables: "string",
        casbProfileStatus: "string",
        comments: "string",
        dlpProfile: "string",
        dlpProfileStatus: "string",
        dlpSensor: "string",
        dlpSensorStatus: "string",
        dsri: "string",
        avProfile: "string",
        dynamicSortSubtable: "string",
        emailfilterProfile: "string",
        addressType: "string",
        casbProfile: "string",
        ipsSensor: "string",
        avProfileStatus: "string",
        ipsSensorStatus: "string",
        label: "string",
        logtraffic: "string",
        policyid: 0,
        scanBotnetConnections: "string",
        service6s: [{
            name: "string",
        }],
        spamfilterProfile: "string",
        spamfilterProfileStatus: "string",
        applicationList: "string",
        status: "string",
        uuid: "string",
        vdomparam: "string",
        webfilterProfile: "string",
        applicationListStatus: "string",
    });
    
    type: fortios:firewall:Interfacepolicy6
    properties:
        addressType: string
        applicationList: string
        applicationListStatus: string
        avProfile: string
        avProfileStatus: string
        casbProfile: string
        casbProfileStatus: string
        comments: string
        dlpProfile: string
        dlpProfileStatus: string
        dlpSensor: string
        dlpSensorStatus: string
        dsri: string
        dstaddr6s:
            - name: string
        dynamicSortSubtable: string
        emailfilterProfile: string
        emailfilterProfileStatus: string
        getAllTables: string
        interface: string
        ipsSensor: string
        ipsSensorStatus: string
        label: string
        logtraffic: string
        policyid: 0
        scanBotnetConnections: string
        service6s:
            - name: string
        spamfilterProfile: string
        spamfilterProfileStatus: string
        srcaddr6s:
            - name: string
        status: string
        uuid: string
        vdomparam: string
        webfilterProfile: string
        webfilterProfileStatus: string
    

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

    Dstaddr6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Dstaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    Interface string
    Monitored interface name from available interfaces.
    Srcaddr6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Srcaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    AddressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    ApplicationList string
    Application list name.
    ApplicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    AvProfile string
    Antivirus profile.
    AvProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    CasbProfile string
    CASB profile.
    CasbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    Comments string
    Comments.
    DlpProfile string
    DLP profile name.
    DlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    DlpSensor string
    DLP sensor name.
    DlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    Dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    EmailfilterProfile string
    Email filter profile.
    EmailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IpsSensor string
    IPS sensor name.
    IpsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    Label string
    Label.
    Logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    Policyid int
    Policy ID.
    ScanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    Service6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Service6>
    Service name. The structure of service6 block is documented below.
    SpamfilterProfile string
    Antispam profile.
    SpamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    WebfilterProfile string
    Web filter profile.
    WebfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    Dstaddr6s []Interfacepolicy6Dstaddr6Args
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    Interface string
    Monitored interface name from available interfaces.
    Srcaddr6s []Interfacepolicy6Srcaddr6Args
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    AddressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    ApplicationList string
    Application list name.
    ApplicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    AvProfile string
    Antivirus profile.
    AvProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    CasbProfile string
    CASB profile.
    CasbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    Comments string
    Comments.
    DlpProfile string
    DLP profile name.
    DlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    DlpSensor string
    DLP sensor name.
    DlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    Dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    DynamicSortSubtable string
    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 ].
    EmailfilterProfile string
    Email filter profile.
    EmailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    IpsSensor string
    IPS sensor name.
    IpsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    Label string
    Label.
    Logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    Policyid int
    Policy ID.
    ScanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    Service6s []Interfacepolicy6Service6Args
    Service name. The structure of service6 block is documented below.
    SpamfilterProfile string
    Antispam profile.
    SpamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    WebfilterProfile string
    Web filter profile.
    WebfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    dstaddr6s List<Interfacepolicy6Dstaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    interface_ String
    Monitored interface name from available interfaces.
    srcaddr6s List<Interfacepolicy6Srcaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    addressType String
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList String
    Application list name.
    applicationListStatus String
    Enable/disable application control. Valid values: enable, disable.
    avProfile String
    Antivirus profile.
    avProfileStatus String
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile String
    CASB profile.
    casbProfileStatus String
    Enable/disable CASB. Valid values: enable, disable.
    comments String
    Comments.
    dlpProfile String
    DLP profile name.
    dlpProfileStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor String
    DLP sensor name.
    dlpSensorStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dsri String
    Enable/disable DSRI. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    emailfilterProfile String
    Email filter profile.
    emailfilterProfileStatus String
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ipsSensor String
    IPS sensor name.
    ipsSensorStatus String
    Enable/disable IPS. Valid values: enable, disable.
    label String
    Label.
    logtraffic String
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid Integer
    Policy ID.
    scanBotnetConnections String
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s List<Interfacepolicy6Service6>
    Service name. The structure of service6 block is documented below.
    spamfilterProfile String
    Antispam profile.
    spamfilterProfileStatus String
    Enable/disable antispam. Valid values: enable, disable.
    status String
    Enable/disable this policy. Valid values: enable, disable.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile String
    Web filter profile.
    webfilterProfileStatus String
    Enable/disable web filtering. Valid values: enable, disable.
    dstaddr6s Interfacepolicy6Dstaddr6[]
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    interface string
    Monitored interface name from available interfaces.
    srcaddr6s Interfacepolicy6Srcaddr6[]
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    addressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList string
    Application list name.
    applicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    avProfile string
    Antivirus profile.
    avProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile string
    CASB profile.
    casbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    comments string
    Comments.
    dlpProfile string
    DLP profile name.
    dlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor string
    DLP sensor name.
    dlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    dynamicSortSubtable string
    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 ].
    emailfilterProfile string
    Email filter profile.
    emailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ipsSensor string
    IPS sensor name.
    ipsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    label string
    Label.
    logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid number
    Policy ID.
    scanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s Interfacepolicy6Service6[]
    Service name. The structure of service6 block is documented below.
    spamfilterProfile string
    Antispam profile.
    spamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    status string
    Enable/disable this policy. Valid values: enable, disable.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile string
    Web filter profile.
    webfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    dstaddr6s Sequence[Interfacepolicy6Dstaddr6Args]
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    interface str
    Monitored interface name from available interfaces.
    srcaddr6s Sequence[Interfacepolicy6Srcaddr6Args]
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    address_type str
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    application_list str
    Application list name.
    application_list_status str
    Enable/disable application control. Valid values: enable, disable.
    av_profile str
    Antivirus profile.
    av_profile_status str
    Enable/disable antivirus. Valid values: enable, disable.
    casb_profile str
    CASB profile.
    casb_profile_status str
    Enable/disable CASB. Valid values: enable, disable.
    comments str
    Comments.
    dlp_profile str
    DLP profile name.
    dlp_profile_status str
    Enable/disable DLP. Valid values: enable, disable.
    dlp_sensor str
    DLP sensor name.
    dlp_sensor_status str
    Enable/disable DLP. Valid values: enable, disable.
    dsri str
    Enable/disable DSRI. Valid values: enable, disable.
    dynamic_sort_subtable str
    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 ].
    emailfilter_profile str
    Email filter profile.
    emailfilter_profile_status str
    Enable/disable email filter. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ips_sensor str
    IPS sensor name.
    ips_sensor_status str
    Enable/disable IPS. Valid values: enable, disable.
    label str
    Label.
    logtraffic str
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid int
    Policy ID.
    scan_botnet_connections str
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s Sequence[Interfacepolicy6Service6Args]
    Service name. The structure of service6 block is documented below.
    spamfilter_profile str
    Antispam profile.
    spamfilter_profile_status str
    Enable/disable antispam. Valid values: enable, disable.
    status str
    Enable/disable this policy. Valid values: enable, disable.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilter_profile str
    Web filter profile.
    webfilter_profile_status str
    Enable/disable web filtering. Valid values: enable, disable.
    dstaddr6s List<Property Map>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    interface String
    Monitored interface name from available interfaces.
    srcaddr6s List<Property Map>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    addressType String
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList String
    Application list name.
    applicationListStatus String
    Enable/disable application control. Valid values: enable, disable.
    avProfile String
    Antivirus profile.
    avProfileStatus String
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile String
    CASB profile.
    casbProfileStatus String
    Enable/disable CASB. Valid values: enable, disable.
    comments String
    Comments.
    dlpProfile String
    DLP profile name.
    dlpProfileStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor String
    DLP sensor name.
    dlpSensorStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dsri String
    Enable/disable DSRI. Valid values: enable, disable.
    dynamicSortSubtable String
    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 ].
    emailfilterProfile String
    Email filter profile.
    emailfilterProfileStatus String
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ipsSensor String
    IPS sensor name.
    ipsSensorStatus String
    Enable/disable IPS. Valid values: enable, disable.
    label String
    Label.
    logtraffic String
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid Number
    Policy ID.
    scanBotnetConnections String
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s List<Property Map>
    Service name. The structure of service6 block is documented below.
    spamfilterProfile String
    Antispam profile.
    spamfilterProfileStatus String
    Enable/disable antispam. Valid values: enable, disable.
    status String
    Enable/disable this policy. Valid values: enable, disable.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile String
    Web filter profile.
    webfilterProfileStatus String
    Enable/disable web filtering. Valid values: enable, disable.

    Outputs

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

    Get an existing Interfacepolicy6 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?: Interfacepolicy6State, opts?: CustomResourceOptions): Interfacepolicy6
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_type: Optional[str] = None,
            application_list: Optional[str] = None,
            application_list_status: Optional[str] = None,
            av_profile: Optional[str] = None,
            av_profile_status: Optional[str] = None,
            casb_profile: Optional[str] = None,
            casb_profile_status: Optional[str] = None,
            comments: Optional[str] = None,
            dlp_profile: Optional[str] = None,
            dlp_profile_status: Optional[str] = None,
            dlp_sensor: Optional[str] = None,
            dlp_sensor_status: Optional[str] = None,
            dsri: Optional[str] = None,
            dstaddr6s: Optional[Sequence[Interfacepolicy6Dstaddr6Args]] = None,
            dynamic_sort_subtable: Optional[str] = None,
            emailfilter_profile: Optional[str] = None,
            emailfilter_profile_status: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            interface: Optional[str] = None,
            ips_sensor: Optional[str] = None,
            ips_sensor_status: Optional[str] = None,
            label: Optional[str] = None,
            logtraffic: Optional[str] = None,
            policyid: Optional[int] = None,
            scan_botnet_connections: Optional[str] = None,
            service6s: Optional[Sequence[Interfacepolicy6Service6Args]] = None,
            spamfilter_profile: Optional[str] = None,
            spamfilter_profile_status: Optional[str] = None,
            srcaddr6s: Optional[Sequence[Interfacepolicy6Srcaddr6Args]] = None,
            status: Optional[str] = None,
            uuid: Optional[str] = None,
            vdomparam: Optional[str] = None,
            webfilter_profile: Optional[str] = None,
            webfilter_profile_status: Optional[str] = None) -> Interfacepolicy6
    func GetInterfacepolicy6(ctx *Context, name string, id IDInput, state *Interfacepolicy6State, opts ...ResourceOption) (*Interfacepolicy6, error)
    public static Interfacepolicy6 Get(string name, Input<string> id, Interfacepolicy6State? state, CustomResourceOptions? opts = null)
    public static Interfacepolicy6 get(String name, Output<String> id, Interfacepolicy6State 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:
    AddressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    ApplicationList string
    Application list name.
    ApplicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    AvProfile string
    Antivirus profile.
    AvProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    CasbProfile string
    CASB profile.
    CasbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    Comments string
    Comments.
    DlpProfile string
    DLP profile name.
    DlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    DlpSensor string
    DLP sensor name.
    DlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    Dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    Dstaddr6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Dstaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    DynamicSortSubtable string
    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 ].
    EmailfilterProfile string
    Email filter profile.
    EmailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Interface string
    Monitored interface name from available interfaces.
    IpsSensor string
    IPS sensor name.
    IpsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    Label string
    Label.
    Logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    Policyid int
    Policy ID.
    ScanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    Service6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Service6>
    Service name. The structure of service6 block is documented below.
    SpamfilterProfile string
    Antispam profile.
    SpamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    Srcaddr6s List<Pulumiverse.Fortios.Firewall.Inputs.Interfacepolicy6Srcaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    WebfilterProfile string
    Web filter profile.
    WebfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    AddressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    ApplicationList string
    Application list name.
    ApplicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    AvProfile string
    Antivirus profile.
    AvProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    CasbProfile string
    CASB profile.
    CasbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    Comments string
    Comments.
    DlpProfile string
    DLP profile name.
    DlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    DlpSensor string
    DLP sensor name.
    DlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    Dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    Dstaddr6s []Interfacepolicy6Dstaddr6Args
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    DynamicSortSubtable string
    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 ].
    EmailfilterProfile string
    Email filter profile.
    EmailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Interface string
    Monitored interface name from available interfaces.
    IpsSensor string
    IPS sensor name.
    IpsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    Label string
    Label.
    Logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    Policyid int
    Policy ID.
    ScanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    Service6s []Interfacepolicy6Service6Args
    Service name. The structure of service6 block is documented below.
    SpamfilterProfile string
    Antispam profile.
    SpamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    Srcaddr6s []Interfacepolicy6Srcaddr6Args
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    Uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    WebfilterProfile string
    Web filter profile.
    WebfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    addressType String
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList String
    Application list name.
    applicationListStatus String
    Enable/disable application control. Valid values: enable, disable.
    avProfile String
    Antivirus profile.
    avProfileStatus String
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile String
    CASB profile.
    casbProfileStatus String
    Enable/disable CASB. Valid values: enable, disable.
    comments String
    Comments.
    dlpProfile String
    DLP profile name.
    dlpProfileStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor String
    DLP sensor name.
    dlpSensorStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dsri String
    Enable/disable DSRI. Valid values: enable, disable.
    dstaddr6s List<Interfacepolicy6Dstaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    dynamicSortSubtable String
    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 ].
    emailfilterProfile String
    Email filter profile.
    emailfilterProfileStatus String
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    interface_ String
    Monitored interface name from available interfaces.
    ipsSensor String
    IPS sensor name.
    ipsSensorStatus String
    Enable/disable IPS. Valid values: enable, disable.
    label String
    Label.
    logtraffic String
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid Integer
    Policy ID.
    scanBotnetConnections String
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s List<Interfacepolicy6Service6>
    Service name. The structure of service6 block is documented below.
    spamfilterProfile String
    Antispam profile.
    spamfilterProfileStatus String
    Enable/disable antispam. Valid values: enable, disable.
    srcaddr6s List<Interfacepolicy6Srcaddr6>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    status String
    Enable/disable this policy. Valid values: enable, disable.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile String
    Web filter profile.
    webfilterProfileStatus String
    Enable/disable web filtering. Valid values: enable, disable.
    addressType string
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList string
    Application list name.
    applicationListStatus string
    Enable/disable application control. Valid values: enable, disable.
    avProfile string
    Antivirus profile.
    avProfileStatus string
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile string
    CASB profile.
    casbProfileStatus string
    Enable/disable CASB. Valid values: enable, disable.
    comments string
    Comments.
    dlpProfile string
    DLP profile name.
    dlpProfileStatus string
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor string
    DLP sensor name.
    dlpSensorStatus string
    Enable/disable DLP. Valid values: enable, disable.
    dsri string
    Enable/disable DSRI. Valid values: enable, disable.
    dstaddr6s Interfacepolicy6Dstaddr6[]
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    dynamicSortSubtable string
    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 ].
    emailfilterProfile string
    Email filter profile.
    emailfilterProfileStatus string
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    interface string
    Monitored interface name from available interfaces.
    ipsSensor string
    IPS sensor name.
    ipsSensorStatus string
    Enable/disable IPS. Valid values: enable, disable.
    label string
    Label.
    logtraffic string
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid number
    Policy ID.
    scanBotnetConnections string
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s Interfacepolicy6Service6[]
    Service name. The structure of service6 block is documented below.
    spamfilterProfile string
    Antispam profile.
    spamfilterProfileStatus string
    Enable/disable antispam. Valid values: enable, disable.
    srcaddr6s Interfacepolicy6Srcaddr6[]
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    status string
    Enable/disable this policy. Valid values: enable, disable.
    uuid string
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile string
    Web filter profile.
    webfilterProfileStatus string
    Enable/disable web filtering. Valid values: enable, disable.
    address_type str
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    application_list str
    Application list name.
    application_list_status str
    Enable/disable application control. Valid values: enable, disable.
    av_profile str
    Antivirus profile.
    av_profile_status str
    Enable/disable antivirus. Valid values: enable, disable.
    casb_profile str
    CASB profile.
    casb_profile_status str
    Enable/disable CASB. Valid values: enable, disable.
    comments str
    Comments.
    dlp_profile str
    DLP profile name.
    dlp_profile_status str
    Enable/disable DLP. Valid values: enable, disable.
    dlp_sensor str
    DLP sensor name.
    dlp_sensor_status str
    Enable/disable DLP. Valid values: enable, disable.
    dsri str
    Enable/disable DSRI. Valid values: enable, disable.
    dstaddr6s Sequence[Interfacepolicy6Dstaddr6Args]
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    dynamic_sort_subtable str
    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 ].
    emailfilter_profile str
    Email filter profile.
    emailfilter_profile_status str
    Enable/disable email filter. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    interface str
    Monitored interface name from available interfaces.
    ips_sensor str
    IPS sensor name.
    ips_sensor_status str
    Enable/disable IPS. Valid values: enable, disable.
    label str
    Label.
    logtraffic str
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid int
    Policy ID.
    scan_botnet_connections str
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s Sequence[Interfacepolicy6Service6Args]
    Service name. The structure of service6 block is documented below.
    spamfilter_profile str
    Antispam profile.
    spamfilter_profile_status str
    Enable/disable antispam. Valid values: enable, disable.
    srcaddr6s Sequence[Interfacepolicy6Srcaddr6Args]
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    status str
    Enable/disable this policy. Valid values: enable, disable.
    uuid str
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilter_profile str
    Web filter profile.
    webfilter_profile_status str
    Enable/disable web filtering. Valid values: enable, disable.
    addressType String
    Policy address type (IPv4 or IPv6). Valid values: ipv4, ipv6.
    applicationList String
    Application list name.
    applicationListStatus String
    Enable/disable application control. Valid values: enable, disable.
    avProfile String
    Antivirus profile.
    avProfileStatus String
    Enable/disable antivirus. Valid values: enable, disable.
    casbProfile String
    CASB profile.
    casbProfileStatus String
    Enable/disable CASB. Valid values: enable, disable.
    comments String
    Comments.
    dlpProfile String
    DLP profile name.
    dlpProfileStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dlpSensor String
    DLP sensor name.
    dlpSensorStatus String
    Enable/disable DLP. Valid values: enable, disable.
    dsri String
    Enable/disable DSRI. Valid values: enable, disable.
    dstaddr6s List<Property Map>
    IPv6 address object to limit traffic monitoring to network traffic sent to the specified address or range. The structure of dstaddr6 block is documented below.
    dynamicSortSubtable String
    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 ].
    emailfilterProfile String
    Email filter profile.
    emailfilterProfileStatus String
    Enable/disable email filter. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    interface String
    Monitored interface name from available interfaces.
    ipsSensor String
    IPS sensor name.
    ipsSensorStatus String
    Enable/disable IPS. Valid values: enable, disable.
    label String
    Label.
    logtraffic String
    Logging type to be used in this policy (Options: all | utm | disable, Default: utm). Valid values: all, utm, disable.
    policyid Number
    Policy ID.
    scanBotnetConnections String
    Enable/disable scanning for connections to Botnet servers. Valid values: disable, block, monitor.
    service6s List<Property Map>
    Service name. The structure of service6 block is documented below.
    spamfilterProfile String
    Antispam profile.
    spamfilterProfileStatus String
    Enable/disable antispam. Valid values: enable, disable.
    srcaddr6s List<Property Map>
    IPv6 address object to limit traffic monitoring to network traffic sent from the specified address or range. The structure of srcaddr6 block is documented below.
    status String
    Enable/disable this policy. Valid values: enable, disable.
    uuid String
    Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
    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.

    The srcaddr6 block supports:

    webfilterProfile String
    Web filter profile.
    webfilterProfileStatus String
    Enable/disable web filtering. Valid values: enable, disable.

    Supporting Types

    Interfacepolicy6Dstaddr6, Interfacepolicy6Dstaddr6Args

    Name string
    Address name.
    Name string
    Address name.
    name String
    Address name.
    name string
    Address name.
    name str
    Address name.
    name String
    Address name.

    Interfacepolicy6Service6, Interfacepolicy6Service6Args

    Name string
    Address name.
    Name string
    Address name.
    name String
    Address name.
    name string
    Address name.
    name str
    Address name.
    name String
    Address name.

    Interfacepolicy6Srcaddr6, Interfacepolicy6Srcaddr6Args

    Name string
    Address name.
    Name string
    Address name.
    name String
    Address name.
    name string
    Address name.
    name str
    Address name.
    name String
    Address name.

    Import

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

    $ pulumi import fortios:firewall/interfacepolicy6:Interfacepolicy6 labelname {{policyid}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/interfacepolicy6:Interfacepolicy6 labelname {{policyid}}
    

    $ 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