1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. PackagesFirewallAcl6
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.PackagesFirewallAcl6

Explore with Pulumi AI

Configure IPv6 access control list.

Example Usage

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

const trname = new fortimanager.PackagesFirewallAcl6("trname", {
    dstaddrs: ["all"],
    "interface": "port4",
    pkg: "default",
    policyid: 1,
    services: ["ALL"],
    srcaddrs: ["all"],
    status: "enable",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.PackagesFirewallAcl6("trname",
    dstaddrs=["all"],
    interface="port4",
    pkg="default",
    policyid=1,
    services=["ALL"],
    srcaddrs=["all"],
    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.NewPackagesFirewallAcl6(ctx, "trname", &fortimanager.PackagesFirewallAcl6Args{
			Dstaddrs: pulumi.StringArray{
				pulumi.String("all"),
			},
			Interface: pulumi.String("port4"),
			Pkg:       pulumi.String("default"),
			Policyid:  pulumi.Float64(1),
			Services: pulumi.StringArray{
				pulumi.String("ALL"),
			},
			Srcaddrs: pulumi.StringArray{
				pulumi.String("all"),
			},
			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 trname = new Fortimanager.PackagesFirewallAcl6("trname", new()
    {
        Dstaddrs = new[]
        {
            "all",
        },
        Interface = "port4",
        Pkg = "default",
        Policyid = 1,
        Services = new[]
        {
            "ALL",
        },
        Srcaddrs = new[]
        {
            "all",
        },
        Status = "enable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.PackagesFirewallAcl6;
import com.pulumi.fortimanager.PackagesFirewallAcl6Args;
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 PackagesFirewallAcl6("trname", PackagesFirewallAcl6Args.builder()
            .dstaddrs("all")
            .interface_("port4")
            .pkg("default")
            .policyid(1)
            .services("ALL")
            .srcaddrs("all")
            .status("enable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:PackagesFirewallAcl6
    properties:
      dstaddrs:
        - all
      interface: port4
      pkg: default
      policyid: 1
      services:
        - ALL
      srcaddrs:
        - all
      status: enable
Copy

Create PackagesFirewallAcl6 Resource

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

Constructor syntax

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

@overload
def PackagesFirewallAcl6(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         pkg: Optional[str] = None,
                         packages_firewall_acl6_id: Optional[str] = None,
                         pkg_folder_path: Optional[str] = None,
                         fragment: Optional[str] = None,
                         interface: Optional[str] = None,
                         name: Optional[str] = None,
                         adom: Optional[str] = None,
                         comments: Optional[str] = None,
                         dstaddrs: Optional[Sequence[str]] = None,
                         policyid: Optional[float] = None,
                         scopetype: Optional[str] = None,
                         services: Optional[Sequence[str]] = None,
                         srcaddrs: Optional[Sequence[str]] = None,
                         status: Optional[str] = None,
                         uuid: Optional[str] = None)
func NewPackagesFirewallAcl6(ctx *Context, name string, args PackagesFirewallAcl6Args, opts ...ResourceOption) (*PackagesFirewallAcl6, error)
public PackagesFirewallAcl6(string name, PackagesFirewallAcl6Args args, CustomResourceOptions? opts = null)
public PackagesFirewallAcl6(String name, PackagesFirewallAcl6Args args)
public PackagesFirewallAcl6(String name, PackagesFirewallAcl6Args args, CustomResourceOptions options)
type: fortimanager:PackagesFirewallAcl6
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. PackagesFirewallAcl6Args
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. PackagesFirewallAcl6Args
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. PackagesFirewallAcl6Args
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. PackagesFirewallAcl6Args
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. PackagesFirewallAcl6Args
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 packagesFirewallAcl6Resource = new Fortimanager.PackagesFirewallAcl6("packagesFirewallAcl6Resource", new()
{
    Pkg = "string",
    PackagesFirewallAcl6Id = "string",
    PkgFolderPath = "string",
    Fragment = "string",
    Interface = "string",
    Name = "string",
    Adom = "string",
    Comments = "string",
    Dstaddrs = new[]
    {
        "string",
    },
    Policyid = 0,
    Scopetype = "string",
    Services = new[]
    {
        "string",
    },
    Srcaddrs = new[]
    {
        "string",
    },
    Status = "string",
    Uuid = "string",
});
Copy
example, err := fortimanager.NewPackagesFirewallAcl6(ctx, "packagesFirewallAcl6Resource", &fortimanager.PackagesFirewallAcl6Args{
Pkg: pulumi.String("string"),
PackagesFirewallAcl6Id: pulumi.String("string"),
PkgFolderPath: pulumi.String("string"),
Fragment: pulumi.String("string"),
Interface: pulumi.String("string"),
Name: pulumi.String("string"),
Adom: pulumi.String("string"),
Comments: pulumi.String("string"),
Dstaddrs: pulumi.StringArray{
pulumi.String("string"),
},
Policyid: pulumi.Float64(0),
Scopetype: pulumi.String("string"),
Services: pulumi.StringArray{
pulumi.String("string"),
},
Srcaddrs: pulumi.StringArray{
pulumi.String("string"),
},
Status: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
Copy
var packagesFirewallAcl6Resource = new PackagesFirewallAcl6("packagesFirewallAcl6Resource", PackagesFirewallAcl6Args.builder()
    .pkg("string")
    .packagesFirewallAcl6Id("string")
    .pkgFolderPath("string")
    .fragment("string")
    .interface_("string")
    .name("string")
    .adom("string")
    .comments("string")
    .dstaddrs("string")
    .policyid(0)
    .scopetype("string")
    .services("string")
    .srcaddrs("string")
    .status("string")
    .uuid("string")
    .build());
Copy
packages_firewall_acl6_resource = fortimanager.PackagesFirewallAcl6("packagesFirewallAcl6Resource",
    pkg="string",
    packages_firewall_acl6_id="string",
    pkg_folder_path="string",
    fragment="string",
    interface="string",
    name="string",
    adom="string",
    comments="string",
    dstaddrs=["string"],
    policyid=0,
    scopetype="string",
    services=["string"],
    srcaddrs=["string"],
    status="string",
    uuid="string")
Copy
const packagesFirewallAcl6Resource = new fortimanager.PackagesFirewallAcl6("packagesFirewallAcl6Resource", {
    pkg: "string",
    packagesFirewallAcl6Id: "string",
    pkgFolderPath: "string",
    fragment: "string",
    "interface": "string",
    name: "string",
    adom: "string",
    comments: "string",
    dstaddrs: ["string"],
    policyid: 0,
    scopetype: "string",
    services: ["string"],
    srcaddrs: ["string"],
    status: "string",
    uuid: "string",
});
Copy
type: fortimanager:PackagesFirewallAcl6
properties:
    adom: string
    comments: string
    dstaddrs:
        - string
    fragment: string
    interface: string
    name: string
    packagesFirewallAcl6Id: string
    pkg: string
    pkgFolderPath: string
    policyid: 0
    scopetype: string
    services:
        - string
    srcaddrs:
        - string
    status: string
    uuid: string
Copy

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

Pkg This property is required. string
Package.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comments string
Comment.
Dstaddrs List<string>
Destination address name.
Fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
Interface string
Interface name.
Name string
Policy name.
PackagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
PkgFolderPath string
Pkg Folder Path.
Policyid double
Policy ID.
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.
Services List<string>
Service name.
Srcaddrs List<string>
Source address name.
Status string
Enable/disable access control list status. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
Pkg This property is required. string
Package.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comments string
Comment.
Dstaddrs []string
Destination address name.
Fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
Interface string
Interface name.
Name string
Policy name.
PackagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
PkgFolderPath string
Pkg Folder Path.
Policyid float64
Policy ID.
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.
Services []string
Service name.
Srcaddrs []string
Source address name.
Status string
Enable/disable access control list status. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. String
Package.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments String
Comment.
dstaddrs List<String>
Destination address name.
fragment String
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface_ String
Interface name.
name String
Policy name.
packagesFirewallAcl6Id String
an identifier for the resource with format {{policyid}}.
pkgFolderPath String
Pkg Folder Path.
policyid Double
Policy ID.
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.
services List<String>
Service name.
srcaddrs List<String>
Source address name.
status String
Enable/disable access control list status. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. string
Package.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments string
Comment.
dstaddrs string[]
Destination address name.
fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface string
Interface name.
name string
Policy name.
packagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
pkgFolderPath string
Pkg Folder Path.
policyid number
Policy ID.
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.
services string[]
Service name.
srcaddrs string[]
Source address name.
status string
Enable/disable access control list status. Valid values: disable, enable.
uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. str
Package.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments str
Comment.
dstaddrs Sequence[str]
Destination address name.
fragment str
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface str
Interface name.
name str
Policy name.
packages_firewall_acl6_id str
an identifier for the resource with format {{policyid}}.
pkg_folder_path str
Pkg Folder Path.
policyid float
Policy ID.
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.
services Sequence[str]
Service name.
srcaddrs Sequence[str]
Source address name.
status str
Enable/disable access control list status. Valid values: disable, enable.
uuid str
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
pkg This property is required. String
Package.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments String
Comment.
dstaddrs List<String>
Destination address name.
fragment String
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface String
Interface name.
name String
Policy name.
packagesFirewallAcl6Id String
an identifier for the resource with format {{policyid}}.
pkgFolderPath String
Pkg Folder Path.
policyid Number
Policy ID.
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.
services List<String>
Service name.
srcaddrs List<String>
Source address name.
status String
Enable/disable access control list status. 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 PackagesFirewallAcl6 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 PackagesFirewallAcl6 Resource

Get an existing PackagesFirewallAcl6 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?: PackagesFirewallAcl6State, opts?: CustomResourceOptions): PackagesFirewallAcl6
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comments: Optional[str] = None,
        dstaddrs: Optional[Sequence[str]] = None,
        fragment: Optional[str] = None,
        interface: Optional[str] = None,
        name: Optional[str] = None,
        packages_firewall_acl6_id: Optional[str] = None,
        pkg: Optional[str] = None,
        pkg_folder_path: Optional[str] = None,
        policyid: Optional[float] = None,
        scopetype: Optional[str] = None,
        services: Optional[Sequence[str]] = None,
        srcaddrs: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        uuid: Optional[str] = None) -> PackagesFirewallAcl6
func GetPackagesFirewallAcl6(ctx *Context, name string, id IDInput, state *PackagesFirewallAcl6State, opts ...ResourceOption) (*PackagesFirewallAcl6, error)
public static PackagesFirewallAcl6 Get(string name, Input<string> id, PackagesFirewallAcl6State? state, CustomResourceOptions? opts = null)
public static PackagesFirewallAcl6 get(String name, Output<String> id, PackagesFirewallAcl6State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:PackagesFirewallAcl6    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comments string
Comment.
Dstaddrs List<string>
Destination address name.
Fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
Interface string
Interface name.
Name string
Policy name.
PackagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
Policyid double
Policy ID.
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.
Services List<string>
Service name.
Srcaddrs List<string>
Source address name.
Status string
Enable/disable access control list status. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Comments string
Comment.
Dstaddrs []string
Destination address name.
Fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
Interface string
Interface name.
Name string
Policy name.
PackagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
Pkg string
Package.
PkgFolderPath string
Pkg Folder Path.
Policyid float64
Policy ID.
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.
Services []string
Service name.
Srcaddrs []string
Source address name.
Status string
Enable/disable access control list status. Valid values: disable, enable.
Uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments String
Comment.
dstaddrs List<String>
Destination address name.
fragment String
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface_ String
Interface name.
name String
Policy name.
packagesFirewallAcl6Id String
an identifier for the resource with format {{policyid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
policyid Double
Policy ID.
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.
services List<String>
Service name.
srcaddrs List<String>
Source address name.
status String
Enable/disable access control list status. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments string
Comment.
dstaddrs string[]
Destination address name.
fragment string
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface string
Interface name.
name string
Policy name.
packagesFirewallAcl6Id string
an identifier for the resource with format {{policyid}}.
pkg string
Package.
pkgFolderPath string
Pkg Folder Path.
policyid number
Policy ID.
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.
services string[]
Service name.
srcaddrs string[]
Source address name.
status string
Enable/disable access control list status. Valid values: disable, enable.
uuid string
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments str
Comment.
dstaddrs Sequence[str]
Destination address name.
fragment str
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface str
Interface name.
name str
Policy name.
packages_firewall_acl6_id str
an identifier for the resource with format {{policyid}}.
pkg str
Package.
pkg_folder_path str
Pkg Folder Path.
policyid float
Policy ID.
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.
services Sequence[str]
Service name.
srcaddrs Sequence[str]
Source address name.
status str
Enable/disable access control list status. Valid values: disable, enable.
uuid str
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
comments String
Comment.
dstaddrs List<String>
Destination address name.
fragment String
Pass/drop fragments that match L3 information. Valid values: pass, drop.
interface String
Interface name.
name String
Policy name.
packagesFirewallAcl6Id String
an identifier for the resource with format {{policyid}}.
pkg String
Package.
pkgFolderPath String
Pkg Folder Path.
policyid Number
Policy ID.
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.
services List<String>
Service name.
srcaddrs List<String>
Source address name.
status String
Enable/disable access control list status. Valid values: disable, enable.
uuid String
Universally Unique Identifier (UUID; automatically assigned but can be manually reset).

Import

Packages FirewallAcl6 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/packagesFirewallAcl6:PackagesFirewallAcl6 labelname {{policyid}}
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.