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

fortios.firewall.Address6template

Explore with Pulumi AI

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

    Configure IPv6 address templates.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.firewall.Address6template("trname", {
        ip6: "2001:db8:0:b::/64",
        subnetSegments: [
            {
                bits: 4,
                exclusive: "disable",
                id: 1,
                name: "country",
            },
            {
                bits: 4,
                exclusive: "disable",
                id: 2,
                name: "state",
            },
        ],
        subnetSegmentCount: 2,
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.firewall.Address6template("trname",
        ip6="2001:db8:0:b::/64",
        subnet_segments=[
            fortios.firewall.Address6templateSubnetSegmentArgs(
                bits=4,
                exclusive="disable",
                id=1,
                name="country",
            ),
            fortios.firewall.Address6templateSubnetSegmentArgs(
                bits=4,
                exclusive="disable",
                id=2,
                name="state",
            ),
        ],
        subnet_segment_count=2)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/firewall"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := firewall.NewAddress6template(ctx, "trname", &firewall.Address6templateArgs{
    			Ip6: pulumi.String("2001:db8:0:b::/64"),
    			SubnetSegments: firewall.Address6templateSubnetSegmentArray{
    				&firewall.Address6templateSubnetSegmentArgs{
    					Bits:      pulumi.Int(4),
    					Exclusive: pulumi.String("disable"),
    					Id:        pulumi.Int(1),
    					Name:      pulumi.String("country"),
    				},
    				&firewall.Address6templateSubnetSegmentArgs{
    					Bits:      pulumi.Int(4),
    					Exclusive: pulumi.String("disable"),
    					Id:        pulumi.Int(2),
    					Name:      pulumi.String("state"),
    				},
    			},
    			SubnetSegmentCount: pulumi.Int(2),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.Firewall.Address6template("trname", new()
        {
            Ip6 = "2001:db8:0:b::/64",
            SubnetSegments = new[]
            {
                new Fortios.Firewall.Inputs.Address6templateSubnetSegmentArgs
                {
                    Bits = 4,
                    Exclusive = "disable",
                    Id = 1,
                    Name = "country",
                },
                new Fortios.Firewall.Inputs.Address6templateSubnetSegmentArgs
                {
                    Bits = 4,
                    Exclusive = "disable",
                    Id = 2,
                    Name = "state",
                },
            },
            SubnetSegmentCount = 2,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.firewall.Address6template;
    import com.pulumi.fortios.firewall.Address6templateArgs;
    import com.pulumi.fortios.firewall.inputs.Address6templateSubnetSegmentArgs;
    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 Address6template("trname", Address6templateArgs.builder()        
                .ip6("2001:db8:0:b::/64")
                .subnetSegments(            
                    Address6templateSubnetSegmentArgs.builder()
                        .bits(4)
                        .exclusive("disable")
                        .id(1)
                        .name("country")
                        .build(),
                    Address6templateSubnetSegmentArgs.builder()
                        .bits(4)
                        .exclusive("disable")
                        .id(2)
                        .name("state")
                        .build())
                .subnetSegmentCount(2)
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:firewall:Address6template
        properties:
          ip6: 2001:db8:0:b::/64
          subnetSegments:
            - bits: 4
              exclusive: disable
              id: 1
              name: country
            - bits: 4
              exclusive: disable
              id: 2
              name: state
          subnetSegmentCount: 2
    

    Create Address6template Resource

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

    Constructor syntax

    new Address6template(name: string, args: Address6templateArgs, opts?: CustomResourceOptions);
    @overload
    def Address6template(resource_name: str,
                         args: Address6templateArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Address6template(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         ip6: Optional[str] = None,
                         subnet_segment_count: Optional[int] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         fabric_object: Optional[str] = None,
                         get_all_tables: Optional[str] = None,
                         name: Optional[str] = None,
                         subnet_segments: Optional[Sequence[Address6templateSubnetSegmentArgs]] = None,
                         vdomparam: Optional[str] = None)
    func NewAddress6template(ctx *Context, name string, args Address6templateArgs, opts ...ResourceOption) (*Address6template, error)
    public Address6template(string name, Address6templateArgs args, CustomResourceOptions? opts = null)
    public Address6template(String name, Address6templateArgs args)
    public Address6template(String name, Address6templateArgs args, CustomResourceOptions options)
    
    type: fortios:firewall:Address6template
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args Address6templateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args Address6templateArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args Address6templateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Address6templateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Address6templateArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var address6templateResource = new Fortios.Firewall.Address6template("address6templateResource", new()
    {
        Ip6 = "string",
        SubnetSegmentCount = 0,
        DynamicSortSubtable = "string",
        FabricObject = "string",
        GetAllTables = "string",
        Name = "string",
        SubnetSegments = new[]
        {
            new Fortios.Firewall.Inputs.Address6templateSubnetSegmentArgs
            {
                Bits = 0,
                Exclusive = "string",
                Id = 0,
                Name = "string",
                Values = new[]
                {
                    new Fortios.Firewall.Inputs.Address6templateSubnetSegmentValueArgs
                    {
                        Name = "string",
                        Value = "string",
                    },
                },
            },
        },
        Vdomparam = "string",
    });
    
    example, err := firewall.NewAddress6template(ctx, "address6templateResource", &firewall.Address6templateArgs{
    	Ip6:                 pulumi.String("string"),
    	SubnetSegmentCount:  pulumi.Int(0),
    	DynamicSortSubtable: pulumi.String("string"),
    	FabricObject:        pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	SubnetSegments: firewall.Address6templateSubnetSegmentArray{
    		&firewall.Address6templateSubnetSegmentArgs{
    			Bits:      pulumi.Int(0),
    			Exclusive: pulumi.String("string"),
    			Id:        pulumi.Int(0),
    			Name:      pulumi.String("string"),
    			Values: firewall.Address6templateSubnetSegmentValueArray{
    				&firewall.Address6templateSubnetSegmentValueArgs{
    					Name:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var address6templateResource = new Address6template("address6templateResource", Address6templateArgs.builder()        
        .ip6("string")
        .subnetSegmentCount(0)
        .dynamicSortSubtable("string")
        .fabricObject("string")
        .getAllTables("string")
        .name("string")
        .subnetSegments(Address6templateSubnetSegmentArgs.builder()
            .bits(0)
            .exclusive("string")
            .id(0)
            .name("string")
            .values(Address6templateSubnetSegmentValueArgs.builder()
                .name("string")
                .value("string")
                .build())
            .build())
        .vdomparam("string")
        .build());
    
    address6template_resource = fortios.firewall.Address6template("address6templateResource",
        ip6="string",
        subnet_segment_count=0,
        dynamic_sort_subtable="string",
        fabric_object="string",
        get_all_tables="string",
        name="string",
        subnet_segments=[fortios.firewall.Address6templateSubnetSegmentArgs(
            bits=0,
            exclusive="string",
            id=0,
            name="string",
            values=[fortios.firewall.Address6templateSubnetSegmentValueArgs(
                name="string",
                value="string",
            )],
        )],
        vdomparam="string")
    
    const address6templateResource = new fortios.firewall.Address6template("address6templateResource", {
        ip6: "string",
        subnetSegmentCount: 0,
        dynamicSortSubtable: "string",
        fabricObject: "string",
        getAllTables: "string",
        name: "string",
        subnetSegments: [{
            bits: 0,
            exclusive: "string",
            id: 0,
            name: "string",
            values: [{
                name: "string",
                value: "string",
            }],
        }],
        vdomparam: "string",
    });
    
    type: fortios:firewall:Address6template
    properties:
        dynamicSortSubtable: string
        fabricObject: string
        getAllTables: string
        ip6: string
        name: string
        subnetSegmentCount: 0
        subnetSegments:
            - bits: 0
              exclusive: string
              id: 0
              name: string
              values:
                - name: string
                  value: string
        vdomparam: string
    

    Address6template Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Address6template resource accepts the following input properties:

    Ip6 string
    IPv6 address prefix.
    SubnetSegmentCount int
    Number of IPv6 subnet segments.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    IPv6 address template name.
    SubnetSegments List<Pulumiverse.Fortios.Firewall.Inputs.Address6templateSubnetSegment>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Ip6 string
    IPv6 address prefix.
    SubnetSegmentCount int
    Number of IPv6 subnet segments.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Name string
    IPv6 address template name.
    SubnetSegments []Address6templateSubnetSegmentArgs
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ip6 String
    IPv6 address prefix.
    subnetSegmentCount Integer
    Number of IPv6 subnet segments.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject String
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    IPv6 address template name.
    subnetSegments List<Address6templateSubnetSegment>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ip6 string
    IPv6 address prefix.
    subnetSegmentCount number
    Number of IPv6 subnet segments.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name string
    IPv6 address template name.
    subnetSegments Address6templateSubnetSegment[]
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ip6 str
    IPv6 address prefix.
    subnet_segment_count int
    Number of IPv6 subnet segments.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabric_object str
    Security Fabric global object setting. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name str
    IPv6 address template name.
    subnet_segments Sequence[Address6templateSubnetSegmentArgs]
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    ip6 String
    IPv6 address prefix.
    subnetSegmentCount Number
    Number of IPv6 subnet segments.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject String
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    name String
    IPv6 address template name.
    subnetSegments List<Property Map>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

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

    Get an existing Address6template 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?: Address6templateState, opts?: CustomResourceOptions): Address6template
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dynamic_sort_subtable: Optional[str] = None,
            fabric_object: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            ip6: Optional[str] = None,
            name: Optional[str] = None,
            subnet_segment_count: Optional[int] = None,
            subnet_segments: Optional[Sequence[Address6templateSubnetSegmentArgs]] = None,
            vdomparam: Optional[str] = None) -> Address6template
    func GetAddress6template(ctx *Context, name string, id IDInput, state *Address6templateState, opts ...ResourceOption) (*Address6template, error)
    public static Address6template Get(string name, Input<string> id, Address6templateState? state, CustomResourceOptions? opts = null)
    public static Address6template get(String name, Output<String> id, Address6templateState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6 string
    IPv6 address prefix.
    Name string
    IPv6 address template name.
    SubnetSegmentCount int
    Number of IPv6 subnet segments.
    SubnetSegments List<Pulumiverse.Fortios.Firewall.Inputs.Address6templateSubnetSegment>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    FabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6 string
    IPv6 address prefix.
    Name string
    IPv6 address template name.
    SubnetSegmentCount int
    Number of IPv6 subnet segments.
    SubnetSegments []Address6templateSubnetSegmentArgs
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject String
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6 String
    IPv6 address prefix.
    name String
    IPv6 address template name.
    subnetSegmentCount Integer
    Number of IPv6 subnet segments.
    subnetSegments List<Address6templateSubnetSegment>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject string
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6 string
    IPv6 address prefix.
    name string
    IPv6 address template name.
    subnetSegmentCount number
    Number of IPv6 subnet segments.
    subnetSegments Address6templateSubnetSegment[]
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabric_object str
    Security Fabric global object setting. Valid values: enable, disable.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6 str
    IPv6 address prefix.
    name str
    IPv6 address template name.
    subnet_segment_count int
    Number of IPv6 subnet segments.
    subnet_segments Sequence[Address6templateSubnetSegmentArgs]
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    fabricObject String
    Security Fabric global object setting. Valid values: enable, disable.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6 String
    IPv6 address prefix.
    name String
    IPv6 address template name.
    subnetSegmentCount Number
    Number of IPv6 subnet segments.
    subnetSegments List<Property Map>
    IPv6 subnet segments. The structure of subnet_segment block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    Address6templateSubnetSegment, Address6templateSubnetSegmentArgs

    Bits int
    Number of bits.
    Exclusive string
    Enable/disable exclusive value. Valid values: enable, disable.
    Id int
    Subnet segment ID.
    Name string
    Subnet segment name.
    Values List<Pulumiverse.Fortios.Firewall.Inputs.Address6templateSubnetSegmentValue>
    Subnet segment values. The structure of values block is documented below.
    Bits int
    Number of bits.
    Exclusive string
    Enable/disable exclusive value. Valid values: enable, disable.
    Id int
    Subnet segment ID.
    Name string
    Subnet segment name.
    Values []Address6templateSubnetSegmentValue
    Subnet segment values. The structure of values block is documented below.
    bits Integer
    Number of bits.
    exclusive String
    Enable/disable exclusive value. Valid values: enable, disable.
    id Integer
    Subnet segment ID.
    name String
    Subnet segment name.
    values List<Address6templateSubnetSegmentValue>
    Subnet segment values. The structure of values block is documented below.
    bits number
    Number of bits.
    exclusive string
    Enable/disable exclusive value. Valid values: enable, disable.
    id number
    Subnet segment ID.
    name string
    Subnet segment name.
    values Address6templateSubnetSegmentValue[]
    Subnet segment values. The structure of values block is documented below.
    bits int
    Number of bits.
    exclusive str
    Enable/disable exclusive value. Valid values: enable, disable.
    id int
    Subnet segment ID.
    name str
    Subnet segment name.
    values Sequence[Address6templateSubnetSegmentValue]
    Subnet segment values. The structure of values block is documented below.
    bits Number
    Number of bits.
    exclusive String
    Enable/disable exclusive value. Valid values: enable, disable.
    id Number
    Subnet segment ID.
    name String
    Subnet segment name.
    values List<Property Map>
    Subnet segment values. The structure of values block is documented below.

    Address6templateSubnetSegmentValue, Address6templateSubnetSegmentValueArgs

    Name string
    Subnet segment value name.
    Value string
    Subnet segment value.
    Name string
    Subnet segment value name.
    Value string
    Subnet segment value.
    name String
    Subnet segment value name.
    value String
    Subnet segment value.
    name string
    Subnet segment value name.
    value string
    Subnet segment value.
    name str
    Subnet segment value name.
    value str
    Subnet segment value.
    name String
    Subnet segment value name.
    value String
    Subnet segment value.

    Import

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

    $ pulumi import fortios:firewall/address6template:Address6template labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:firewall/address6template:Address6template labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse