1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. PackagesFirewallMulticastpolicy
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.PackagesFirewallMulticastpolicy

Explore with Pulumi AI

Configure multicast NAT policies.

Example Usage

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

const labelname = new fortimanager.PackagesFirewallMulticastpolicy("labelname", {
    action: "accept",
    autoAsicOffload: "enable",
    dnat: "0.0.0.0",
    dstaddrs: ["all"],
    dstintfs: ["any"],
    endPort: 0,
    fosid: 1,
    logtraffic: "disable",
    pkg: "default",
    protocol: 0,
    snat: "disable",
    srcaddrs: ["all"],
    srcintfs: ["any"],
    startPort: 0,
    status: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

labelname = fortimanager.PackagesFirewallMulticastpolicy("labelname",
    action="accept",
    auto_asic_offload="enable",
    dnat="0.0.0.0",
    dstaddrs=["all"],
    dstintfs=["any"],
    end_port=0,
    fosid=1,
    logtraffic="disable",
    pkg="default",
    protocol=0,
    snat="disable",
    srcaddrs=["all"],
    srcintfs=["any"],
    start_port=0,
    status="enable")
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewPackagesFirewallMulticastpolicy(ctx, "labelname", &fortimanager.PackagesFirewallMulticastpolicyArgs{
			Action:          pulumi.String("accept"),
			AutoAsicOffload: pulumi.String("enable"),
			Dnat:            pulumi.String("0.0.0.0"),
			Dstaddrs: pulumi.StringArray{
				pulumi.String("all"),
			},
			Dstintfs: pulumi.StringArray{
				pulumi.String("any"),
			},
			EndPort:    pulumi.Float64(0),
			Fosid:      pulumi.Float64(1),
			Logtraffic: pulumi.String("disable"),
			Pkg:        pulumi.String("default"),
			Protocol:   pulumi.Float64(0),
			Snat:       pulumi.String("disable"),
			Srcaddrs: pulumi.StringArray{
				pulumi.String("all"),
			},
			Srcintfs: pulumi.StringArray{
				pulumi.String("any"),
			},
			StartPort: pulumi.Float64(0),
			Status:    pulumi.String("enable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var labelname = new Fortimanager.PackagesFirewallMulticastpolicy("labelname", new()
    {
        Action = "accept",
        AutoAsicOffload = "enable",
        Dnat = "0.0.0.0",
        Dstaddrs = new[]
        {
            "all",
        },
        Dstintfs = new[]
        {
            "any",
        },
        EndPort = 0,
        Fosid = 1,
        Logtraffic = "disable",
        Pkg = "default",
        Protocol = 0,
        Snat = "disable",
        Srcaddrs = new[]
        {
            "all",
        },
        Srcintfs = new[]
        {
            "any",
        },
        StartPort = 0,
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.PackagesFirewallMulticastpolicy;
import com.pulumi.fortimanager.PackagesFirewallMulticastpolicyArgs;
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 labelname = new PackagesFirewallMulticastpolicy("labelname", PackagesFirewallMulticastpolicyArgs.builder()
            .action("accept")
            .autoAsicOffload("enable")
            .dnat("0.0.0.0")
            .dstaddrs("all")
            .dstintfs("any")
            .endPort(0)
            .fosid(1)
            .logtraffic("disable")
            .pkg("default")
            .protocol(0)
            .snat("disable")
            .srcaddrs("all")
            .srcintfs("any")
            .startPort(0)
            .status("enable")
            .build());

    }
}
Copy
resources:
  labelname:
    type: fortimanager:PackagesFirewallMulticastpolicy
    properties:
      action: accept
      autoAsicOffload: enable
      dnat: 0.0.0.0
      dstaddrs:
        - all
      dstintfs:
        - any
      endPort: 0
      fosid: 1
      logtraffic: disable
      pkg: default
      protocol: 0
      snat: disable
      srcaddrs:
        - all
      srcintfs:
        - any
      startPort: 0
      status: enable
Copy

Create PackagesFirewallMulticastpolicy Resource

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

Constructor syntax

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

@overload
def PackagesFirewallMulticastpolicy(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    pkg: Optional[str] = None,
                                    packages_firewall_multicastpolicy_id: Optional[str] = None,
                                    dstaddrs: Optional[Sequence[str]] = None,
                                    adom: Optional[str] = None,
                                    dnat: Optional[str] = None,
                                    pkg_folder_path: Optional[str] = None,
                                    dstintfs: Optional[Sequence[str]] = None,
                                    end_port: Optional[float] = None,
                                    protocol: Optional[float] = None,
                                    ips_sensor: Optional[str] = None,
                                    logtraffic: Optional[str] = None,
                                    name: Optional[str] = None,
                                    action: Optional[str] = None,
                                    comments: Optional[str] = None,
                                    auto_asic_offload: Optional[str] = None,
                                    fosid: Optional[float] = None,
                                    scopetype: Optional[str] = None,
                                    snat: Optional[str] = None,
                                    snat_ip: Optional[str] = None,
                                    srcaddrs: Optional[Sequence[str]] = None,
                                    srcintfs: Optional[Sequence[str]] = None,
                                    start_port: Optional[float] = None,
                                    status: Optional[str] = None,
                                    traffic_shaper: Optional[str] = None,
                                    utm_status: Optional[str] = None,
                                    uuid: Optional[str] = None)
func NewPackagesFirewallMulticastpolicy(ctx *Context, name string, args PackagesFirewallMulticastpolicyArgs, opts ...ResourceOption) (*PackagesFirewallMulticastpolicy, error)
public PackagesFirewallMulticastpolicy(string name, PackagesFirewallMulticastpolicyArgs args, CustomResourceOptions? opts = null)
public PackagesFirewallMulticastpolicy(String name, PackagesFirewallMulticastpolicyArgs args)
public PackagesFirewallMulticastpolicy(String name, PackagesFirewallMulticastpolicyArgs args, CustomResourceOptions options)
type: fortimanager:PackagesFirewallMulticastpolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PackagesFirewallMulticastpolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PackagesFirewallMulticastpolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PackagesFirewallMulticastpolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PackagesFirewallMulticastpolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PackagesFirewallMulticastpolicyArgs
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 packagesFirewallMulticastpolicyResource = new Fortimanager.PackagesFirewallMulticastpolicy("packagesFirewallMulticastpolicyResource", new()
{
    Pkg = "string",
    PackagesFirewallMulticastpolicyId = "string",
    Dstaddrs = new[]
    {
        "string",
    },
    Adom = "string",
    Dnat = "string",
    PkgFolderPath = "string",
    Dstintfs = new[]
    {
        "string",
    },
    EndPort = 0,
    Protocol = 0,
    IpsSensor = "string",
    Logtraffic = "string",
    Name = "string",
    Action = "string",
    Comments = "string",
    AutoAsicOffload = "string",
    Fosid = 0,
    Scopetype = "string",
    Snat = "string",
    SnatIp = "string",
    Srcaddrs = new[]
    {
        "string",
    },
    Srcintfs = new[]
    {
        "string",
    },
    StartPort = 0,
    Status = "string",
    TrafficShaper = "string",
    UtmStatus = "string",
    Uuid = "string",
});
Copy
example, err := fortimanager.NewPackagesFirewallMulticastpolicy(ctx, "packagesFirewallMulticastpolicyResource", &fortimanager.PackagesFirewallMulticastpolicyArgs{
Pkg: pulumi.String("string"),
PackagesFirewallMulticastpolicyId: pulumi.String("string"),
Dstaddrs: pulumi.StringArray{
pulumi.String("string"),
},
Adom: pulumi.String("string"),
Dnat: pulumi.String("string"),
PkgFolderPath: pulumi.String("string"),
Dstintfs: pulumi.StringArray{
pulumi.String("string"),
},
EndPort: pulumi.Float64(0),
Protocol: pulumi.Float64(0),
IpsSensor: pulumi.String("string"),
Logtraffic: pulumi.String("string"),
Name: pulumi.String("string"),
Action: pulumi.String("string"),
Comments: pulumi.String("string"),
AutoAsicOffload: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Snat: pulumi.String("string"),
SnatIp: pulumi.String("string"),
Srcaddrs: pulumi.StringArray{
pulumi.String("string"),
},
Srcintfs: pulumi.StringArray{
pulumi.String("string"),
},
StartPort: pulumi.Float64(0),
Status: pulumi.String("string"),
TrafficShaper: pulumi.String("string"),
UtmStatus: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
Copy
var packagesFirewallMulticastpolicyResource = new PackagesFirewallMulticastpolicy("packagesFirewallMulticastpolicyResource", PackagesFirewallMulticastpolicyArgs.builder()
    .pkg("string")
    .packagesFirewallMulticastpolicyId("string")
    .dstaddrs("string")
    .adom("string")
    .dnat("string")
    .pkgFolderPath("string")
    .dstintfs("string")
    .endPort(0)
    .protocol(0)
    .ipsSensor("string")
    .logtraffic("string")
    .name("string")
    .action("string")
    .comments("string")
    .autoAsicOffload("string")
    .fosid(0)
    .scopetype("string")
    .snat("string")
    .snatIp("string")
    .srcaddrs("string")
    .srcintfs("string")
    .startPort(0)
    .status("string")
    .trafficShaper("string")
    .utmStatus("string")
    .uuid("string")
    .build());
Copy
packages_firewall_multicastpolicy_resource = fortimanager.PackagesFirewallMulticastpolicy("packagesFirewallMulticastpolicyResource",
    pkg="string",
    packages_firewall_multicastpolicy_id="string",
    dstaddrs=["string"],
    adom="string",
    dnat="string",
    pkg_folder_path="string",
    dstintfs=["string"],
    end_port=0,
    protocol=0,
    ips_sensor="string",
    logtraffic="string",
    name="string",
    action="string",
    comments="string",
    auto_asic_offload="string",
    fosid=0,
    scopetype="string",
    snat="string",
    snat_ip="string",
    srcaddrs=["string"],
    srcintfs=["string"],
    start_port=0,
    status="string",
    traffic_shaper="string",
    utm_status="string",
    uuid="string")
Copy
const packagesFirewallMulticastpolicyResource = new fortimanager.PackagesFirewallMulticastpolicy("packagesFirewallMulticastpolicyResource", {
    pkg: "string",
    packagesFirewallMulticastpolicyId: "string",
    dstaddrs: ["string"],
    adom: "string",
    dnat: "string",
    pkgFolderPath: "string",
    dstintfs: ["string"],
    endPort: 0,
    protocol: 0,
    ipsSensor: "string",
    logtraffic: "string",
    name: "string",
    action: "string",
    comments: "string",
    autoAsicOffload: "string",
    fosid: 0,
    scopetype: "string",
    snat: "string",
    snatIp: "string",
    srcaddrs: ["string"],
    srcintfs: ["string"],
    startPort: 0,
    status: "string",
    trafficShaper: "string",
    utmStatus: "string",
    uuid: "string",
});
Copy
type: fortimanager:PackagesFirewallMulticastpolicy
properties:
    action: string
    adom: string
    autoAsicOffload: string
    comments: string
    dnat: string
    dstaddrs:
        - string
    dstintfs:
        - string
    endPort: 0
    fosid: 0
    ipsSensor: string
    logtraffic: string
    name: string
    packagesFirewallMulticastpolicyId: string
    pkg: string
    pkgFolderPath: string
    protocol: 0
    scopetype: string
    snat: string
    snatIp: string
    srcaddrs:
        - string
    srcintfs:
        - string
    startPort: 0
    status: string
    trafficShaper: string
    utmStatus: string
    uuid: string
Copy

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

Pkg This property is required. string
Package.
Action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AutoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
Comments string
Comment.
Dnat string
IPv4 DNAT address used for multicast destination addresses.
Dstaddrs List<string>
Destination address objects.
Dstintfs List<string>
Destination interface name.
EndPort double
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Fosid double
Policy ID ((0 - 4294967294).
IpsSensor string
Name of an existing IPS sensor.
Logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
Name string
Policy name.
PackagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
PkgFolderPath string
Pkg Folder Path.
Protocol double
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
SnatIp string
IPv4 address to be used as the source address for NATed traffic.
Srcaddrs List<string>
Source address objects.
Srcintfs List<string>
Source interface name.
StartPort double
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Status string
Enable/disable this policy. Valid values: disable, enable.
TrafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
UtmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
Pkg This property is required. string
Package.
Action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AutoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
Comments string
Comment.
Dnat string
IPv4 DNAT address used for multicast destination addresses.
Dstaddrs []string
Destination address objects.
Dstintfs []string
Destination interface name.
EndPort float64
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Fosid float64
Policy ID ((0 - 4294967294).
IpsSensor string
Name of an existing IPS sensor.
Logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
Name string
Policy name.
PackagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
PkgFolderPath string
Pkg Folder Path.
Protocol float64
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
SnatIp string
IPv4 address to be used as the source address for NATed traffic.
Srcaddrs []string
Source address objects.
Srcintfs []string
Source interface name.
StartPort float64
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Status string
Enable/disable this policy. Valid values: disable, enable.
TrafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
UtmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. String
Package.
action String
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload String
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments String
Comment.
dnat String
IPv4 DNAT address used for multicast destination addresses.
dstaddrs List<String>
Destination address objects.
dstintfs List<String>
Destination interface name.
endPort Double
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid Double
Policy ID ((0 - 4294967294).
ipsSensor String
Name of an existing IPS sensor.
logtraffic String
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name String
Policy name.
packagesFirewallMulticastpolicyId String
an identifier for the resource with format {{fosid}}.
pkgFolderPath String
Pkg Folder Path.
protocol Double
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat String
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp String
IPv4 address to be used as the source address for NATed traffic.
srcaddrs List<String>
Source address objects.
srcintfs List<String>
Source interface name.
startPort Double
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
status String
Enable/disable this policy. Valid values: disable, enable.
trafficShaper String
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus String
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. string
Package.
action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments string
Comment.
dnat string
IPv4 DNAT address used for multicast destination addresses.
dstaddrs string[]
Destination address objects.
dstintfs string[]
Destination interface name.
endPort number
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid number
Policy ID ((0 - 4294967294).
ipsSensor string
Name of an existing IPS sensor.
logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name string
Policy name.
packagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
pkgFolderPath string
Pkg Folder Path.
protocol number
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp string
IPv4 address to be used as the source address for NATed traffic.
srcaddrs string[]
Source address objects.
srcintfs string[]
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: disable, enable.
trafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. str
Package.
action str
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
auto_asic_offload str
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments str
Comment.
dnat str
IPv4 DNAT address used for multicast destination addresses.
dstaddrs Sequence[str]
Destination address objects.
dstintfs Sequence[str]
Destination interface name.
end_port float
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid float
Policy ID ((0 - 4294967294).
ips_sensor str
Name of an existing IPS sensor.
logtraffic str
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name str
Policy name.
packages_firewall_multicastpolicy_id str
an identifier for the resource with format {{fosid}}.
pkg_folder_path str
Pkg Folder Path.
protocol float
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat str
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snat_ip str
IPv4 address to be used as the source address for NATed traffic.
srcaddrs Sequence[str]
Source address objects.
srcintfs Sequence[str]
Source interface name.
start_port float
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
status str
Enable/disable this policy. Valid values: disable, enable.
traffic_shaper str
Traffic shaper to apply to traffic forwarded by the multicast policy.
utm_status str
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid str
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. String
Package.
action String
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload String
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments String
Comment.
dnat String
IPv4 DNAT address used for multicast destination addresses.
dstaddrs List<String>
Destination address objects.
dstintfs List<String>
Destination interface name.
endPort Number
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid Number
Policy ID ((0 - 4294967294).
ipsSensor String
Name of an existing IPS sensor.
logtraffic String
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name String
Policy name.
packagesFirewallMulticastpolicyId String
an identifier for the resource with format {{fosid}}.
pkgFolderPath String
Pkg Folder Path.
protocol Number
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat String
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp String
IPv4 address to be used as the source address for NATed traffic.
srcaddrs List<String>
Source address objects.
srcintfs List<String>
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: disable, enable.
trafficShaper String
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus String
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

Outputs

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

Get an existing PackagesFirewallMulticastpolicy 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?: PackagesFirewallMulticastpolicyState, opts?: CustomResourceOptions): PackagesFirewallMulticastpolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        adom: Optional[str] = None,
        auto_asic_offload: Optional[str] = None,
        comments: Optional[str] = None,
        dnat: Optional[str] = None,
        dstaddrs: Optional[Sequence[str]] = None,
        dstintfs: Optional[Sequence[str]] = None,
        end_port: Optional[float] = None,
        fosid: Optional[float] = None,
        ips_sensor: Optional[str] = None,
        logtraffic: Optional[str] = None,
        name: Optional[str] = None,
        packages_firewall_multicastpolicy_id: Optional[str] = None,
        pkg: Optional[str] = None,
        pkg_folder_path: Optional[str] = None,
        protocol: Optional[float] = None,
        scopetype: Optional[str] = None,
        snat: Optional[str] = None,
        snat_ip: Optional[str] = None,
        srcaddrs: Optional[Sequence[str]] = None,
        srcintfs: Optional[Sequence[str]] = None,
        start_port: Optional[float] = None,
        status: Optional[str] = None,
        traffic_shaper: Optional[str] = None,
        utm_status: Optional[str] = None,
        uuid: Optional[str] = None) -> PackagesFirewallMulticastpolicy
func GetPackagesFirewallMulticastpolicy(ctx *Context, name string, id IDInput, state *PackagesFirewallMulticastpolicyState, opts ...ResourceOption) (*PackagesFirewallMulticastpolicy, error)
public static PackagesFirewallMulticastpolicy Get(string name, Input<string> id, PackagesFirewallMulticastpolicyState? state, CustomResourceOptions? opts = null)
public static PackagesFirewallMulticastpolicy get(String name, Output<String> id, PackagesFirewallMulticastpolicyState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:PackagesFirewallMulticastpolicy    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AutoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
Comments string
Comment.
Dnat string
IPv4 DNAT address used for multicast destination addresses.
Dstaddrs List<string>
Destination address objects.
Dstintfs List<string>
Destination interface name.
EndPort double
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Fosid double
Policy ID ((0 - 4294967294).
IpsSensor string
Name of an existing IPS sensor.
Logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
Name string
Policy name.
PackagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
Protocol double
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
SnatIp string
IPv4 address to be used as the source address for NATed traffic.
Srcaddrs List<string>
Source address objects.
Srcintfs List<string>
Source interface name.
StartPort double
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Status string
Enable/disable this policy. Valid values: disable, enable.
TrafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
UtmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
Action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AutoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
Comments string
Comment.
Dnat string
IPv4 DNAT address used for multicast destination addresses.
Dstaddrs []string
Destination address objects.
Dstintfs []string
Destination interface name.
EndPort float64
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Fosid float64
Policy ID ((0 - 4294967294).
IpsSensor string
Name of an existing IPS sensor.
Logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
Name string
Policy name.
PackagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
Protocol float64
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
Scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
SnatIp string
IPv4 address to be used as the source address for NATed traffic.
Srcaddrs []string
Source address objects.
Srcintfs []string
Source interface name.
StartPort float64
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
Status string
Enable/disable this policy. Valid values: disable, enable.
TrafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
UtmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
action String
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload String
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments String
Comment.
dnat String
IPv4 DNAT address used for multicast destination addresses.
dstaddrs List<String>
Destination address objects.
dstintfs List<String>
Destination interface name.
endPort Double
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid Double
Policy ID ((0 - 4294967294).
ipsSensor String
Name of an existing IPS sensor.
logtraffic String
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name String
Policy name.
packagesFirewallMulticastpolicyId String
an identifier for the resource with format {{fosid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
protocol Double
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat String
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp String
IPv4 address to be used as the source address for NATed traffic.
srcaddrs List<String>
Source address objects.
srcintfs List<String>
Source interface name.
startPort Double
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
status String
Enable/disable this policy. Valid values: disable, enable.
trafficShaper String
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus String
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
action string
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload string
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments string
Comment.
dnat string
IPv4 DNAT address used for multicast destination addresses.
dstaddrs string[]
Destination address objects.
dstintfs string[]
Destination interface name.
endPort number
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid number
Policy ID ((0 - 4294967294).
ipsSensor string
Name of an existing IPS sensor.
logtraffic string
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name string
Policy name.
packagesFirewallMulticastpolicyId string
an identifier for the resource with format {{fosid}}.
pkg string
Package.
pkgFolderPath string
Pkg Folder Path.
protocol number
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype string
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat string
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp string
IPv4 address to be used as the source address for NATed traffic.
srcaddrs string[]
Source address objects.
srcintfs string[]
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: disable, enable.
trafficShaper string
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus string
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
action str
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
auto_asic_offload str
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments str
Comment.
dnat str
IPv4 DNAT address used for multicast destination addresses.
dstaddrs Sequence[str]
Destination address objects.
dstintfs Sequence[str]
Destination interface name.
end_port float
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid float
Policy ID ((0 - 4294967294).
ips_sensor str
Name of an existing IPS sensor.
logtraffic str
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name str
Policy name.
packages_firewall_multicastpolicy_id str
an identifier for the resource with format {{fosid}}.
pkg str
Package.
pkg_folder_path str
Pkg Folder Path.
protocol float
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype str
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat str
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snat_ip str
IPv4 address to be used as the source address for NATed traffic.
srcaddrs Sequence[str]
Source address objects.
srcintfs Sequence[str]
Source interface name.
start_port float
Integer value for starting TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
status str
Enable/disable this policy. Valid values: disable, enable.
traffic_shaper str
Traffic shaper to apply to traffic forwarded by the multicast policy.
utm_status str
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid str
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
action String
Accept or deny traffic matching the policy. Valid values: deny, accept.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
autoAsicOffload String
Enable/disable offloading policy traffic for hardware acceleration. Valid values: disable, enable.
comments String
Comment.
dnat String
IPv4 DNAT address used for multicast destination addresses.
dstaddrs List<String>
Destination address objects.
dstintfs List<String>
Destination interface name.
endPort Number
Integer value for ending TCP/UDP/SCTP destination port in range (1 - 65535, default = 1).
fosid Number
Policy ID ((0 - 4294967294).
ipsSensor String
Name of an existing IPS sensor.
logtraffic String
Enable/disable logging traffic accepted by this policy. Valid values: disable, enable.
name String
Policy name.
packagesFirewallMulticastpolicyId String
an identifier for the resource with format {{fosid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
protocol Number
Integer value for the protocol type as defined by IANA (0 - 255, default = 0).
scopetype String
The scope of application of the resource. Valid values: inherit, adom. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
snat String
Enable/disable substitution of the outgoing interface IP address for the original source IP address (called source NAT or SNAT). Valid values: disable, enable.
snatIp String
IPv4 address to be used as the source address for NATed traffic.
srcaddrs List<String>
Source address objects.
srcintfs List<String>
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: disable, enable.
trafficShaper String
Traffic shaper to apply to traffic forwarded by the multicast policy.
utmStatus String
Enable to add an IPS security profile to the policy. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

Import

Packages FirewallMulticastPolicy can be imported using any of these accepted formats:

Set import_options = [“pkg_folder_path=YOUR_VALUE”, “pkg=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/packagesFirewallMulticastpolicy:PackagesFirewallMulticastpolicy labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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

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

Package Details

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