1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Geoipoverride
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.Geoipoverride

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure geographical location mapping for IP address(es) to override mappings from FortiGuard.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Geoipoverride("trname", {description: "TEST for country"});
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Geoipoverride("trname", description="TEST for country")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.NewGeoipoverride(ctx, "trname", &system.GeoipoverrideArgs{
    			Description: pulumi.String("TEST for country"),
    		})
    		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.System.Geoipoverride("trname", new()
        {
            Description = "TEST for country",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Geoipoverride;
    import com.pulumi.fortios.system.GeoipoverrideArgs;
    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 Geoipoverride("trname", GeoipoverrideArgs.builder()
                .description("TEST for country")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Geoipoverride
        properties:
          description: TEST for country
    

    Create Geoipoverride Resource

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

    Constructor syntax

    new Geoipoverride(name: string, args?: GeoipoverrideArgs, opts?: CustomResourceOptions);
    @overload
    def Geoipoverride(resource_name: str,
                      args: Optional[GeoipoverrideArgs] = None,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def Geoipoverride(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      country_id: Optional[str] = None,
                      description: Optional[str] = None,
                      dynamic_sort_subtable: Optional[str] = None,
                      get_all_tables: Optional[str] = None,
                      ip6_ranges: Optional[Sequence[GeoipoverrideIp6RangeArgs]] = None,
                      ip_ranges: Optional[Sequence[GeoipoverrideIpRangeArgs]] = None,
                      name: Optional[str] = None,
                      vdomparam: Optional[str] = None)
    func NewGeoipoverride(ctx *Context, name string, args *GeoipoverrideArgs, opts ...ResourceOption) (*Geoipoverride, error)
    public Geoipoverride(string name, GeoipoverrideArgs? args = null, CustomResourceOptions? opts = null)
    public Geoipoverride(String name, GeoipoverrideArgs args)
    public Geoipoverride(String name, GeoipoverrideArgs args, CustomResourceOptions options)
    
    type: fortios:system:Geoipoverride
    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 GeoipoverrideArgs
    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 GeoipoverrideArgs
    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 GeoipoverrideArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GeoipoverrideArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GeoipoverrideArgs
    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 geoipoverrideResource = new Fortios.System.Geoipoverride("geoipoverrideResource", new()
    {
        CountryId = "string",
        Description = "string",
        DynamicSortSubtable = "string",
        GetAllTables = "string",
        Ip6Ranges = new[]
        {
            new Fortios.System.Inputs.GeoipoverrideIp6RangeArgs
            {
                EndIp = "string",
                Id = 0,
                StartIp = "string",
            },
        },
        IpRanges = new[]
        {
            new Fortios.System.Inputs.GeoipoverrideIpRangeArgs
            {
                EndIp = "string",
                Id = 0,
                StartIp = "string",
            },
        },
        Name = "string",
        Vdomparam = "string",
    });
    
    example, err := system.NewGeoipoverride(ctx, "geoipoverrideResource", &system.GeoipoverrideArgs{
    	CountryId:           pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Ip6Ranges: system.GeoipoverrideIp6RangeArray{
    		&system.GeoipoverrideIp6RangeArgs{
    			EndIp:   pulumi.String("string"),
    			Id:      pulumi.Int(0),
    			StartIp: pulumi.String("string"),
    		},
    	},
    	IpRanges: system.GeoipoverrideIpRangeArray{
    		&system.GeoipoverrideIpRangeArgs{
    			EndIp:   pulumi.String("string"),
    			Id:      pulumi.Int(0),
    			StartIp: pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	Vdomparam: pulumi.String("string"),
    })
    
    var geoipoverrideResource = new Geoipoverride("geoipoverrideResource", GeoipoverrideArgs.builder()
        .countryId("string")
        .description("string")
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .ip6Ranges(GeoipoverrideIp6RangeArgs.builder()
            .endIp("string")
            .id(0)
            .startIp("string")
            .build())
        .ipRanges(GeoipoverrideIpRangeArgs.builder()
            .endIp("string")
            .id(0)
            .startIp("string")
            .build())
        .name("string")
        .vdomparam("string")
        .build());
    
    geoipoverride_resource = fortios.system.Geoipoverride("geoipoverrideResource",
        country_id="string",
        description="string",
        dynamic_sort_subtable="string",
        get_all_tables="string",
        ip6_ranges=[fortios.system.GeoipoverrideIp6RangeArgs(
            end_ip="string",
            id=0,
            start_ip="string",
        )],
        ip_ranges=[fortios.system.GeoipoverrideIpRangeArgs(
            end_ip="string",
            id=0,
            start_ip="string",
        )],
        name="string",
        vdomparam="string")
    
    const geoipoverrideResource = new fortios.system.Geoipoverride("geoipoverrideResource", {
        countryId: "string",
        description: "string",
        dynamicSortSubtable: "string",
        getAllTables: "string",
        ip6Ranges: [{
            endIp: "string",
            id: 0,
            startIp: "string",
        }],
        ipRanges: [{
            endIp: "string",
            id: 0,
            startIp: "string",
        }],
        name: "string",
        vdomparam: "string",
    });
    
    type: fortios:system:Geoipoverride
    properties:
        countryId: string
        description: string
        dynamicSortSubtable: string
        getAllTables: string
        ip6Ranges:
            - endIp: string
              id: 0
              startIp: string
        ipRanges:
            - endIp: string
              id: 0
              startIp: string
        name: string
        vdomparam: string
    

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

    CountryId string
    Two character Country ID code.
    Description string
    Description.
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6Ranges List<Pulumiverse.Fortios.System.Inputs.GeoipoverrideIp6Range>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    IpRanges List<Pulumiverse.Fortios.System.Inputs.GeoipoverrideIpRange>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    Name string
    Location name.
    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.
    CountryId string
    Two character Country ID code.
    Description string
    Description.
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6Ranges []GeoipoverrideIp6RangeArgs
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    IpRanges []GeoipoverrideIpRangeArgs
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    Name string
    Location name.
    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.
    countryId String
    Two character Country ID code.
    description String
    Description.
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges List<GeoipoverrideIp6Range>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges List<GeoipoverrideIpRange>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name String
    Location name.
    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.
    countryId string
    Two character Country ID code.
    description string
    Description.
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges GeoipoverrideIp6Range[]
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges GeoipoverrideIpRange[]
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name string
    Location name.
    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.
    country_id str
    Two character Country ID code.
    description str
    Description.
    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 ].
    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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6_ranges Sequence[GeoipoverrideIp6RangeArgs]
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ip_ranges Sequence[GeoipoverrideIpRangeArgs]
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name str
    Location name.
    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.
    countryId String
    Two character Country ID code.
    description String
    Description.
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges List<Property Map>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges List<Property Map>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name String
    Location name.
    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 Geoipoverride 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 Geoipoverride Resource

    Get an existing Geoipoverride 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?: GeoipoverrideState, opts?: CustomResourceOptions): Geoipoverride
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            country_id: Optional[str] = None,
            description: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            ip6_ranges: Optional[Sequence[GeoipoverrideIp6RangeArgs]] = None,
            ip_ranges: Optional[Sequence[GeoipoverrideIpRangeArgs]] = None,
            name: Optional[str] = None,
            vdomparam: Optional[str] = None) -> Geoipoverride
    func GetGeoipoverride(ctx *Context, name string, id IDInput, state *GeoipoverrideState, opts ...ResourceOption) (*Geoipoverride, error)
    public static Geoipoverride Get(string name, Input<string> id, GeoipoverrideState? state, CustomResourceOptions? opts = null)
    public static Geoipoverride get(String name, Output<String> id, GeoipoverrideState 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:
    CountryId string
    Two character Country ID code.
    Description string
    Description.
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6Ranges List<Pulumiverse.Fortios.System.Inputs.GeoipoverrideIp6Range>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    IpRanges List<Pulumiverse.Fortios.System.Inputs.GeoipoverrideIpRange>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    Name string
    Location name.
    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.
    CountryId string
    Two character Country ID code.
    Description string
    Description.
    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 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Ip6Ranges []GeoipoverrideIp6RangeArgs
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    IpRanges []GeoipoverrideIpRangeArgs
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    Name string
    Location name.
    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.
    countryId String
    Two character Country ID code.
    description String
    Description.
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges List<GeoipoverrideIp6Range>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges List<GeoipoverrideIpRange>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name String
    Location name.
    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.
    countryId string
    Two character Country ID code.
    description string
    Description.
    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 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges GeoipoverrideIp6Range[]
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges GeoipoverrideIpRange[]
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name string
    Location name.
    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.
    country_id str
    Two character Country ID code.
    description str
    Description.
    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 ].
    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, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6_ranges Sequence[GeoipoverrideIp6RangeArgs]
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ip_ranges Sequence[GeoipoverrideIpRangeArgs]
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name str
    Location name.
    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.
    countryId String
    Two character Country ID code.
    description String
    Description.
    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 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    ip6Ranges List<Property Map>
    Table of IPv6 ranges assigned to country. The structure of ip6_range block is documented below.
    ipRanges List<Property Map>
    Table of IP ranges assigned to country. The structure of ip_range block is documented below.
    name String
    Location name.
    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

    GeoipoverrideIp6Range, GeoipoverrideIp6RangeArgs

    EndIp string
    Id int
    an identifier for the resource with format {{name}}.
    StartIp string
    EndIp string
    Id int
    an identifier for the resource with format {{name}}.
    StartIp string
    endIp String
    id Integer
    an identifier for the resource with format {{name}}.
    startIp String
    endIp string
    id number
    an identifier for the resource with format {{name}}.
    startIp string
    end_ip str
    id int
    an identifier for the resource with format {{name}}.
    start_ip str
    endIp String
    id Number
    an identifier for the resource with format {{name}}.
    startIp String

    GeoipoverrideIpRange, GeoipoverrideIpRangeArgs

    EndIp string
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    Id int
    ID of individual entry in the IPv6 range table.
    StartIp string
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    EndIp string
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    Id int
    ID of individual entry in the IPv6 range table.
    StartIp string
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    endIp String
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    id Integer
    ID of individual entry in the IPv6 range table.
    startIp String
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    endIp string
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    id number
    ID of individual entry in the IPv6 range table.
    startIp string
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    end_ip str
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    id int
    ID of individual entry in the IPv6 range table.
    start_ip str
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    endIp String
    Ending IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).
    id Number
    ID of individual entry in the IPv6 range table.
    startIp String
    Starting IP address, inclusive, of the address range (format: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx).

    Import

    System GeoipOverride can be imported using any of these accepted formats:

    $ pulumi import fortios:system/geoipoverride:Geoipoverride labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/geoipoverride:Geoipoverride 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.6 published on Tuesday, Jul 9, 2024 by pulumiverse