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

fortimanager.ObjectRouterAccesslist6

Explore with Pulumi AI

Configure IPv6 access lists.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • rule: fortimanager.ObjectRouterAccesslist6Rule

Example Usage

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

const trname = new fortimanager.ObjectRouterAccesslist6("trname", {rules: [{
    action: "permit",
    id: 1,
}]});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectRouterAccesslist6("trname", rules=[{
    "action": "permit",
    "id": 1,
}])
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.NewObjectRouterAccesslist6(ctx, "trname", &fortimanager.ObjectRouterAccesslist6Args{
			Rules: fortimanager.ObjectRouterAccesslist6RuleTypeArray{
				&fortimanager.ObjectRouterAccesslist6RuleTypeArgs{
					Action: pulumi.String("permit"),
					Id:     pulumi.Float64(1),
				},
			},
		})
		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.ObjectRouterAccesslist6("trname", new()
    {
        Rules = new[]
        {
            new Fortimanager.Inputs.ObjectRouterAccesslist6RuleArgs
            {
                Action = "permit",
                Id = 1,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectRouterAccesslist6;
import com.pulumi.fortimanager.ObjectRouterAccesslist6Args;
import com.pulumi.fortimanager.inputs.ObjectRouterAccesslist6RuleArgs;
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 ObjectRouterAccesslist6("trname", ObjectRouterAccesslist6Args.builder()
            .rules(ObjectRouterAccesslist6RuleArgs.builder()
                .action("permit")
                .id(1)
                .build())
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectRouterAccesslist6
    properties:
      rules:
        - action: permit
          id: 1
Copy

Create ObjectRouterAccesslist6 Resource

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

Constructor syntax

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

@overload
def ObjectRouterAccesslist6(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            adom: Optional[str] = None,
                            comments: Optional[str] = None,
                            dynamic_sort_subtable: Optional[str] = None,
                            name: Optional[str] = None,
                            object_router_accesslist6_id: Optional[str] = None,
                            rules: Optional[Sequence[ObjectRouterAccesslist6RuleArgs]] = None,
                            scopetype: Optional[str] = None)
func NewObjectRouterAccesslist6(ctx *Context, name string, args *ObjectRouterAccesslist6Args, opts ...ResourceOption) (*ObjectRouterAccesslist6, error)
public ObjectRouterAccesslist6(string name, ObjectRouterAccesslist6Args? args = null, CustomResourceOptions? opts = null)
public ObjectRouterAccesslist6(String name, ObjectRouterAccesslist6Args args)
public ObjectRouterAccesslist6(String name, ObjectRouterAccesslist6Args args, CustomResourceOptions options)
type: fortimanager:ObjectRouterAccesslist6
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 ObjectRouterAccesslist6Args
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 ObjectRouterAccesslist6Args
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 ObjectRouterAccesslist6Args
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 ObjectRouterAccesslist6Args
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. ObjectRouterAccesslist6Args
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 objectRouterAccesslist6Resource = new Fortimanager.ObjectRouterAccesslist6("objectRouterAccesslist6Resource", new()
{
    Adom = "string",
    Comments = "string",
    DynamicSortSubtable = "string",
    Name = "string",
    ObjectRouterAccesslist6Id = "string",
    Rules = new[]
    {
        new Fortimanager.Inputs.ObjectRouterAccesslist6RuleArgs
        {
            Action = "string",
            ExactMatch = "string",
            Flags = 0,
            Id = 0,
            Prefix6 = "string",
        },
    },
    Scopetype = "string",
});
Copy
example, err := fortimanager.NewObjectRouterAccesslist6(ctx, "objectRouterAccesslist6Resource", &fortimanager.ObjectRouterAccesslist6Args{
Adom: pulumi.String("string"),
Comments: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Name: pulumi.String("string"),
ObjectRouterAccesslist6Id: pulumi.String("string"),
Rules: .ObjectRouterAccesslist6RuleTypeArray{
&.ObjectRouterAccesslist6RuleTypeArgs{
Action: pulumi.String("string"),
ExactMatch: pulumi.String("string"),
Flags: pulumi.Float64(0),
Id: pulumi.Float64(0),
Prefix6: pulumi.String("string"),
},
},
Scopetype: pulumi.String("string"),
})
Copy
var objectRouterAccesslist6Resource = new ObjectRouterAccesslist6("objectRouterAccesslist6Resource", ObjectRouterAccesslist6Args.builder()
    .adom("string")
    .comments("string")
    .dynamicSortSubtable("string")
    .name("string")
    .objectRouterAccesslist6Id("string")
    .rules(ObjectRouterAccesslist6RuleArgs.builder()
        .action("string")
        .exactMatch("string")
        .flags(0)
        .id(0)
        .prefix6("string")
        .build())
    .scopetype("string")
    .build());
Copy
object_router_accesslist6_resource = fortimanager.ObjectRouterAccesslist6("objectRouterAccesslist6Resource",
    adom="string",
    comments="string",
    dynamic_sort_subtable="string",
    name="string",
    object_router_accesslist6_id="string",
    rules=[{
        "action": "string",
        "exact_match": "string",
        "flags": 0,
        "id": 0,
        "prefix6": "string",
    }],
    scopetype="string")
Copy
const objectRouterAccesslist6Resource = new fortimanager.ObjectRouterAccesslist6("objectRouterAccesslist6Resource", {
    adom: "string",
    comments: "string",
    dynamicSortSubtable: "string",
    name: "string",
    objectRouterAccesslist6Id: "string",
    rules: [{
        action: "string",
        exactMatch: "string",
        flags: 0,
        id: 0,
        prefix6: "string",
    }],
    scopetype: "string",
});
Copy
type: fortimanager:ObjectRouterAccesslist6
properties:
    adom: string
    comments: string
    dynamicSortSubtable: string
    name: string
    objectRouterAccesslist6Id: string
    rules:
        - action: string
          exactMatch: string
          flags: 0
          id: 0
          prefix6: string
    scopetype: string
Copy

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

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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
Rules List<ObjectRouterAccesslist6Rule>
Rule. The structure of rule block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
Rules []ObjectRouterAccesslist6RuleTypeArgs
Rule. The structure of rule block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectRouterAccesslist6Id String
an identifier for the resource with format {{name}}.
rules List<ObjectRouterAccesslist6Rule>
Rule. The structure of rule block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Name.
objectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
rules ObjectRouterAccesslist6Rule[]
Rule. The structure of rule block is documented below.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Name.
object_router_accesslist6_id str
an identifier for the resource with format {{name}}.
rules Sequence[ObjectRouterAccesslist6RuleArgs]
Rule. The structure of rule block is documented below.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectRouterAccesslist6Id String
an identifier for the resource with format {{name}}.
rules List<Property Map>
Rule. The structure of rule block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Outputs

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

Get an existing ObjectRouterAccesslist6 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?: ObjectRouterAccesslist6State, opts?: CustomResourceOptions): ObjectRouterAccesslist6
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        comments: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        name: Optional[str] = None,
        object_router_accesslist6_id: Optional[str] = None,
        rules: Optional[Sequence[ObjectRouterAccesslist6RuleArgs]] = None,
        scopetype: Optional[str] = None) -> ObjectRouterAccesslist6
func GetObjectRouterAccesslist6(ctx *Context, name string, id IDInput, state *ObjectRouterAccesslist6State, opts ...ResourceOption) (*ObjectRouterAccesslist6, error)
public static ObjectRouterAccesslist6 Get(string name, Input<string> id, ObjectRouterAccesslist6State? state, CustomResourceOptions? opts = null)
public static ObjectRouterAccesslist6 get(String name, Output<String> id, ObjectRouterAccesslist6State state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectRouterAccesslist6    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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
Rules List<ObjectRouterAccesslist6Rule>
Rule. The structure of rule block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Name string
Name.
ObjectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
Rules []ObjectRouterAccesslist6RuleTypeArgs
Rule. The structure of rule block is documented below.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectRouterAccesslist6Id String
an identifier for the resource with format {{name}}.
rules List<ObjectRouterAccesslist6Rule>
Rule. The structure of rule block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name string
Name.
objectRouterAccesslist6Id string
an identifier for the resource with format {{name}}.
rules ObjectRouterAccesslist6Rule[]
Rule. The structure of rule block is documented below.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name str
Name.
object_router_accesslist6_id str
an identifier for the resource with format {{name}}.
rules Sequence[ObjectRouterAccesslist6RuleArgs]
Rule. The structure of rule block is documented below.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
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.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
name String
Name.
objectRouterAccesslist6Id String
an identifier for the resource with format {{name}}.
rules List<Property Map>
Rule. The structure of rule block is documented below.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.

Supporting Types

ObjectRouterAccesslist6Rule
, ObjectRouterAccesslist6RuleArgs

Action string
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
ExactMatch string
Enable/disable exact prefix match. Valid values: disable, enable.
Flags double
Flags.
Id double
Rule ID.
Prefix6 string
IPv6 prefix to define regular filter criteria, such as "any" or subnets.
Action string
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
ExactMatch string
Enable/disable exact prefix match. Valid values: disable, enable.
Flags float64
Flags.
Id float64
Rule ID.
Prefix6 string
IPv6 prefix to define regular filter criteria, such as "any" or subnets.
action String
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
exactMatch String
Enable/disable exact prefix match. Valid values: disable, enable.
flags Double
Flags.
id Double
Rule ID.
prefix6 String
IPv6 prefix to define regular filter criteria, such as "any" or subnets.
action string
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
exactMatch string
Enable/disable exact prefix match. Valid values: disable, enable.
flags number
Flags.
id number
Rule ID.
prefix6 string
IPv6 prefix to define regular filter criteria, such as "any" or subnets.
action str
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
exact_match str
Enable/disable exact prefix match. Valid values: disable, enable.
flags float
Flags.
id float
Rule ID.
prefix6 str
IPv6 prefix to define regular filter criteria, such as "any" or subnets.
action String
Permit or deny this IP address and netmask prefix. Valid values: permit, deny.
exactMatch String
Enable/disable exact prefix match. Valid values: disable, enable.
flags Number
Flags.
id Number
Rule ID.
prefix6 String
IPv6 prefix to define regular filter criteria, such as "any" or subnets.

Import

ObjectRouter AccessList6 can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectRouterAccesslist6:ObjectRouterAccesslist6 labelname {{name}}
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.