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

fortios.firewall.Multicastpolicy6

Explore with Pulumi AI

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

    Configure IPv6 multicast NAT policies.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Multicastpolicy6("trname", {
        action: "accept",
        dstaddrs: [{
            name: "all",
        }],
        dstintf: "port4",
        endPort: 65535,
        fosid: 1,
        logtraffic: "disable",
        protocol: 0,
        srcaddrs: [{
            name: "all",
        }],
        srcintf: "port3",
        startPort: 1,
        status: "enable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Multicastpolicy6("trname",
        action="accept",
        dstaddrs=[fortios.firewall.Multicastpolicy6DstaddrArgs(
            name="all",
        )],
        dstintf="port4",
        end_port=65535,
        fosid=1,
        logtraffic="disable",
        protocol=0,
        srcaddrs=[fortios.firewall.Multicastpolicy6SrcaddrArgs(
            name="all",
        )],
        srcintf="port3",
        start_port=1,
        status="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.NewMulticastpolicy6(ctx, "trname", &firewall.Multicastpolicy6Args{
    			Action: pulumi.String("accept"),
    			Dstaddrs: firewall.Multicastpolicy6DstaddrArray{
    				&firewall.Multicastpolicy6DstaddrArgs{
    					Name: pulumi.String("all"),
    				},
    			},
    			Dstintf:    pulumi.String("port4"),
    			EndPort:    pulumi.Int(65535),
    			Fosid:      pulumi.Int(1),
    			Logtraffic: pulumi.String("disable"),
    			Protocol:   pulumi.Int(0),
    			Srcaddrs: firewall.Multicastpolicy6SrcaddrArray{
    				&firewall.Multicastpolicy6SrcaddrArgs{
    					Name: pulumi.String("all"),
    				},
    			},
    			Srcintf:   pulumi.String("port3"),
    			StartPort: pulumi.Int(1),
    			Status:    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.Multicastpolicy6("trname", new()
        {
            Action = "accept",
            Dstaddrs = new[]
            {
                new Fortios.Firewall.Inputs.Multicastpolicy6DstaddrArgs
                {
                    Name = "all",
                },
            },
            Dstintf = "port4",
            EndPort = 65535,
            Fosid = 1,
            Logtraffic = "disable",
            Protocol = 0,
            Srcaddrs = new[]
            {
                new Fortios.Firewall.Inputs.Multicastpolicy6SrcaddrArgs
                {
                    Name = "all",
                },
            },
            Srcintf = "port3",
            StartPort = 1,
            Status = "enable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Multicastpolicy6;
    import com.pulumi.fortios.firewall.Multicastpolicy6Args;
    import com.pulumi.fortios.firewall.inputs.Multicastpolicy6DstaddrArgs;
    import com.pulumi.fortios.firewall.inputs.Multicastpolicy6SrcaddrArgs;
    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 Multicastpolicy6("trname", Multicastpolicy6Args.builder()        
                .action("accept")
                .dstaddrs(Multicastpolicy6DstaddrArgs.builder()
                    .name("all")
                    .build())
                .dstintf("port4")
                .endPort(65535)
                .fosid(1)
                .logtraffic("disable")
                .protocol(0)
                .srcaddrs(Multicastpolicy6SrcaddrArgs.builder()
                    .name("all")
                    .build())
                .srcintf("port3")
                .startPort(1)
                .status("enable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Multicastpolicy6
        properties:
          action: accept
          dstaddrs:
            - name: all
          dstintf: port4
          endPort: 65535
          fosid: 1
          logtraffic: disable
          protocol: 0
          srcaddrs:
            - name: all
          srcintf: port3
          startPort: 1
          status: enable
    

    Create Multicastpolicy6 Resource

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

    Constructor syntax

    new Multicastpolicy6(name: string, args: Multicastpolicy6Args, opts?: CustomResourceOptions);
    @overload
    def Multicastpolicy6(resource_name: str,
                         args: Multicastpolicy6Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Multicastpolicy6(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         dstintf: Optional[str] = None,
                         srcintf: Optional[str] = None,
                         srcaddrs: Optional[Sequence[Multicastpolicy6SrcaddrArgs]] = None,
                         dstaddrs: Optional[Sequence[Multicastpolicy6DstaddrArgs]] = None,
                         logtraffic: Optional[str] = None,
                         name: Optional[str] = None,
                         end_port: Optional[int] = None,
                         fosid: Optional[int] = None,
                         get_all_tables: Optional[str] = None,
                         ips_sensor: Optional[str] = None,
                         action: Optional[str] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         protocol: Optional[int] = None,
                         comments: Optional[str] = None,
                         auto_asic_offload: Optional[str] = None,
                         start_port: Optional[int] = None,
                         status: Optional[str] = None,
                         utm_status: Optional[str] = None,
                         uuid: Optional[str] = None,
                         vdomparam: Optional[str] = None)
    func NewMulticastpolicy6(ctx *Context, name string, args Multicastpolicy6Args, opts ...ResourceOption) (*Multicastpolicy6, error)
    public Multicastpolicy6(string name, Multicastpolicy6Args args, CustomResourceOptions? opts = null)
    public Multicastpolicy6(String name, Multicastpolicy6Args args)
    public Multicastpolicy6(String name, Multicastpolicy6Args args, CustomResourceOptions options)
    
    type: fortios:firewall:Multicastpolicy6
    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 Multicastpolicy6Args
    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 Multicastpolicy6Args
    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 Multicastpolicy6Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Multicastpolicy6Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Multicastpolicy6Args
    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 multicastpolicy6Resource = new Fortios.Firewall.Multicastpolicy6("multicastpolicy6Resource", new()
    {
        Dstintf = "string",
        Srcintf = "string",
        Srcaddrs = new[]
        {
            new Fortios.Firewall.Inputs.Multicastpolicy6SrcaddrArgs
            {
                Name = "string",
            },
        },
        Dstaddrs = new[]
        {
            new Fortios.Firewall.Inputs.Multicastpolicy6DstaddrArgs
            {
                Name = "string",
            },
        },
        Logtraffic = "string",
        Name = "string",
        EndPort = 0,
        Fosid = 0,
        GetAllTables = "string",
        IpsSensor = "string",
        Action = "string",
        DynamicSortSubtable = "string",
        Protocol = 0,
        Comments = "string",
        AutoAsicOffload = "string",
        StartPort = 0,
        Status = "string",
        UtmStatus = "string",
        Uuid = "string",
        Vdomparam = "string",
    });
    
    example, err := firewall.NewMulticastpolicy6(ctx, "multicastpolicy6Resource", &firewall.Multicastpolicy6Args{
    	Dstintf: pulumi.String("string"),
    	Srcintf: pulumi.String("string"),
    	Srcaddrs: firewall.Multicastpolicy6SrcaddrArray{
    		&firewall.Multicastpolicy6SrcaddrArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Dstaddrs: firewall.Multicastpolicy6DstaddrArray{
    		&firewall.Multicastpolicy6DstaddrArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Logtraffic:          pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	EndPort:             pulumi.Int(0),
    	Fosid:               pulumi.Int(0),
    	GetAllTables:        pulumi.String("string"),
    	IpsSensor:           pulumi.String("string"),
    	Action:              pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	Protocol:            pulumi.Int(0),
    	Comments:            pulumi.String("string"),
    	AutoAsicOffload:     pulumi.String("string"),
    	StartPort:           pulumi.Int(0),
    	Status:              pulumi.String("string"),
    	UtmStatus:           pulumi.String("string"),
    	Uuid:                pulumi.String("string"),
    	Vdomparam:           pulumi.String("string"),
    })
    
    var multicastpolicy6Resource = new Multicastpolicy6("multicastpolicy6Resource", Multicastpolicy6Args.builder()
        .dstintf("string")
        .srcintf("string")
        .srcaddrs(Multicastpolicy6SrcaddrArgs.builder()
            .name("string")
            .build())
        .dstaddrs(Multicastpolicy6DstaddrArgs.builder()
            .name("string")
            .build())
        .logtraffic("string")
        .name("string")
        .endPort(0)
        .fosid(0)
        .getAllTables("string")
        .ipsSensor("string")
        .action("string")
        .dynamicSortSubtable("string")
        .protocol(0)
        .comments("string")
        .autoAsicOffload("string")
        .startPort(0)
        .status("string")
        .utmStatus("string")
        .uuid("string")
        .vdomparam("string")
        .build());
    
    multicastpolicy6_resource = fortios.firewall.Multicastpolicy6("multicastpolicy6Resource",
        dstintf="string",
        srcintf="string",
        srcaddrs=[fortios.firewall.Multicastpolicy6SrcaddrArgs(
            name="string",
        )],
        dstaddrs=[fortios.firewall.Multicastpolicy6DstaddrArgs(
            name="string",
        )],
        logtraffic="string",
        name="string",
        end_port=0,
        fosid=0,
        get_all_tables="string",
        ips_sensor="string",
        action="string",
        dynamic_sort_subtable="string",
        protocol=0,
        comments="string",
        auto_asic_offload="string",
        start_port=0,
        status="string",
        utm_status="string",
        uuid="string",
        vdomparam="string")
    
    const multicastpolicy6Resource = new fortios.firewall.Multicastpolicy6("multicastpolicy6Resource", {
        dstintf: "string",
        srcintf: "string",
        srcaddrs: [{
            name: "string",
        }],
        dstaddrs: [{
            name: "string",
        }],
        logtraffic: "string",
        name: "string",
        endPort: 0,
        fosid: 0,
        getAllTables: "string",
        ipsSensor: "string",
        action: "string",
        dynamicSortSubtable: "string",
        protocol: 0,
        comments: "string",
        autoAsicOffload: "string",
        startPort: 0,
        status: "string",
        utmStatus: "string",
        uuid: "string",
        vdomparam: "string",
    });
    
    type: fortios:firewall:Multicastpolicy6
    properties:
        action: string
        autoAsicOffload: string
        comments: string
        dstaddrs:
            - name: string
        dstintf: string
        dynamicSortSubtable: string
        endPort: 0
        fosid: 0
        getAllTables: string
        ipsSensor: string
        logtraffic: string
        name: string
        protocol: 0
        srcaddrs:
            - name: string
        srcintf: string
        startPort: 0
        status: string
        utmStatus: string
        uuid: string
        vdomparam: string
    

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

    Dstaddrs List<Pulumiverse.Fortios.Firewall.Inputs.Multicastpolicy6Dstaddr>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    Dstintf string
    IPv6 destination interface name.
    Srcaddrs List<Pulumiverse.Fortios.Firewall.Inputs.Multicastpolicy6Srcaddr>
    IPv6 source address name. The structure of srcaddr block is documented below.
    Srcintf string
    IPv6 source interface name.
    Action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    AutoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    Comments string
    Comment.
    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 ].
    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    Fosid int
    Policy ID.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    Logtraffic string
    Enable/disable logging traffic accepted by this policy.
    Name string
    Policy name.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    UtmStatus string
    Enable to add an IPS security profile to the 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.
    Dstaddrs []Multicastpolicy6DstaddrArgs
    IPv6 destination address name. The structure of dstaddr block is documented below.
    Dstintf string
    IPv6 destination interface name.
    Srcaddrs []Multicastpolicy6SrcaddrArgs
    IPv6 source address name. The structure of srcaddr block is documented below.
    Srcintf string
    IPv6 source interface name.
    Action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    AutoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    Comments string
    Comment.
    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 ].
    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    Fosid int
    Policy ID.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    Logtraffic string
    Enable/disable logging traffic accepted by this policy.
    Name string
    Policy name.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    UtmStatus string
    Enable to add an IPS security profile to the 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.
    dstaddrs List<Multicastpolicy6Dstaddr>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf String
    IPv6 destination interface name.
    srcaddrs List<Multicastpolicy6Srcaddr>
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf String
    IPv6 source interface name.
    action String
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload String
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments String
    Comment.
    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 ].
    endPort Integer
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid Integer
    Policy ID.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic String
    Enable/disable logging traffic accepted by this policy.
    name String
    Policy name.
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    startPort Integer
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status String
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus String
    Enable to add an IPS security profile to the 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.
    dstaddrs Multicastpolicy6Dstaddr[]
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf string
    IPv6 destination interface name.
    srcaddrs Multicastpolicy6Srcaddr[]
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf string
    IPv6 source interface name.
    action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments string
    Comment.
    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 ].
    endPort number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid number
    Policy ID.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic string
    Enable/disable logging traffic accepted by this policy.
    name string
    Policy name.
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    startPort number
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status string
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus string
    Enable to add an IPS security profile to the 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.
    dstaddrs Sequence[Multicastpolicy6DstaddrArgs]
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf str
    IPv6 destination interface name.
    srcaddrs Sequence[Multicastpolicy6SrcaddrArgs]
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf str
    IPv6 source interface name.
    action str
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    auto_asic_offload str
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments str
    Comment.
    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 ].
    end_port int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid int
    Policy ID.
    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, otherwish 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
    Name of an existing IPS sensor.
    logtraffic str
    Enable/disable logging traffic accepted by this policy.
    name str
    Policy name.
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    start_port int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status str
    Enable/disable this policy. Valid values: enable, disable.
    utm_status str
    Enable to add an IPS security profile to the 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.
    dstaddrs List<Property Map>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf String
    IPv6 destination interface name.
    srcaddrs List<Property Map>
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf String
    IPv6 source interface name.
    action String
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload String
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments String
    Comment.
    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 ].
    endPort Number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid Number
    Policy ID.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic String
    Enable/disable logging traffic accepted by this policy.
    name String
    Policy name.
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    startPort Number
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status String
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus String
    Enable to add an IPS security profile to the 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.

    Outputs

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

    Get an existing Multicastpolicy6 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?: Multicastpolicy6State, opts?: CustomResourceOptions): Multicastpolicy6
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            auto_asic_offload: Optional[str] = None,
            comments: Optional[str] = None,
            dstaddrs: Optional[Sequence[Multicastpolicy6DstaddrArgs]] = None,
            dstintf: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            end_port: Optional[int] = None,
            fosid: Optional[int] = None,
            get_all_tables: Optional[str] = None,
            ips_sensor: Optional[str] = None,
            logtraffic: Optional[str] = None,
            name: Optional[str] = None,
            protocol: Optional[int] = None,
            srcaddrs: Optional[Sequence[Multicastpolicy6SrcaddrArgs]] = None,
            srcintf: Optional[str] = None,
            start_port: Optional[int] = None,
            status: Optional[str] = None,
            utm_status: Optional[str] = None,
            uuid: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Multicastpolicy6
    func GetMulticastpolicy6(ctx *Context, name string, id IDInput, state *Multicastpolicy6State, opts ...ResourceOption) (*Multicastpolicy6, error)
    public static Multicastpolicy6 Get(string name, Input<string> id, Multicastpolicy6State? state, CustomResourceOptions? opts = null)
    public static Multicastpolicy6 get(String name, Output<String> id, Multicastpolicy6State 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:
    Action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    AutoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    Comments string
    Comment.
    Dstaddrs List<Pulumiverse.Fortios.Firewall.Inputs.Multicastpolicy6Dstaddr>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    Dstintf string
    IPv6 destination interface name.
    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 ].
    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    Fosid int
    Policy ID.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    Logtraffic string
    Enable/disable logging traffic accepted by this policy.
    Name string
    Policy name.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    Srcaddrs List<Pulumiverse.Fortios.Firewall.Inputs.Multicastpolicy6Srcaddr>
    IPv6 source address name. The structure of srcaddr block is documented below.
    Srcintf string
    IPv6 source interface name.
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    UtmStatus string
    Enable to add an IPS security profile to the 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.
    Action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    AutoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    Comments string
    Comment.
    Dstaddrs []Multicastpolicy6DstaddrArgs
    IPv6 destination address name. The structure of dstaddr block is documented below.
    Dstintf string
    IPv6 destination interface name.
    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 ].
    EndPort int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    Fosid int
    Policy ID.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    Logtraffic string
    Enable/disable logging traffic accepted by this policy.
    Name string
    Policy name.
    Protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    Srcaddrs []Multicastpolicy6SrcaddrArgs
    IPv6 source address name. The structure of srcaddr block is documented below.
    Srcintf string
    IPv6 source interface name.
    StartPort int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    Status string
    Enable/disable this policy. Valid values: enable, disable.
    UtmStatus string
    Enable to add an IPS security profile to the 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.
    action String
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload String
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments String
    Comment.
    dstaddrs List<Multicastpolicy6Dstaddr>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf String
    IPv6 destination interface name.
    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 ].
    endPort Integer
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid Integer
    Policy ID.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic String
    Enable/disable logging traffic accepted by this policy.
    name String
    Policy name.
    protocol Integer
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    srcaddrs List<Multicastpolicy6Srcaddr>
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf String
    IPv6 source interface name.
    startPort Integer
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status String
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus String
    Enable to add an IPS security profile to the 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.
    action string
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload string
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments string
    Comment.
    dstaddrs Multicastpolicy6Dstaddr[]
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf string
    IPv6 destination interface name.
    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 ].
    endPort number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid number
    Policy ID.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic string
    Enable/disable logging traffic accepted by this policy.
    name string
    Policy name.
    protocol number
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    srcaddrs Multicastpolicy6Srcaddr[]
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf string
    IPv6 source interface name.
    startPort number
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status string
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus string
    Enable to add an IPS security profile to the 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.
    action str
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    auto_asic_offload str
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments str
    Comment.
    dstaddrs Sequence[Multicastpolicy6DstaddrArgs]
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf str
    IPv6 destination interface name.
    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 ].
    end_port int
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid int
    Policy ID.
    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, otherwish 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
    Name of an existing IPS sensor.
    logtraffic str
    Enable/disable logging traffic accepted by this policy.
    name str
    Policy name.
    protocol int
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    srcaddrs Sequence[Multicastpolicy6SrcaddrArgs]
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf str
    IPv6 source interface name.
    start_port int
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status str
    Enable/disable this policy. Valid values: enable, disable.
    utm_status str
    Enable to add an IPS security profile to the 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.
    action String
    Accept or deny traffic matching the policy. Valid values: accept, deny.
    autoAsicOffload String
    Enable/disable offloading policy traffic for hardware acceleration. Valid values: enable, disable.
    comments String
    Comment.
    dstaddrs List<Property Map>
    IPv6 destination address name. The structure of dstaddr block is documented below.
    dstintf String
    IPv6 destination interface name.
    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 ].
    endPort Number
    Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 65535).
    fosid Number
    Policy ID.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish 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
    Name of an existing IPS sensor.
    logtraffic String
    Enable/disable logging traffic accepted by this policy.
    name String
    Policy name.
    protocol Number
    Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
    srcaddrs List<Property Map>
    IPv6 source address name. The structure of srcaddr block is documented below.
    srcintf String
    IPv6 source interface name.
    startPort Number
    Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
    status String
    Enable/disable this policy. Valid values: enable, disable.
    utmStatus String
    Enable to add an IPS security profile to the 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.

    Supporting Types

    Multicastpolicy6Dstaddr, Multicastpolicy6DstaddrArgs

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

    Multicastpolicy6Srcaddr, Multicastpolicy6SrcaddrArgs

    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 MulticastPolicy6 can be imported using any of these accepted formats:

    $ pulumi import fortios:firewall/multicastpolicy6:Multicastpolicy6 labelname {{fosid}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/multicastpolicy6:Multicastpolicy6 labelname {{fosid}}
    

    $ 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