fortios.router/bgp.Network6
Explore with Pulumi AI
BGP IPv6 network table.
The provider supports the definition of Network6 in Router Bgp
fortios.router.Bgp
, and also allows the definition of separate Network6 resourcesfortios.router/bgp.Network6
, but do not use afortios.router.Bgp
with in-line Network6 in conjunction with anyfortios.router/bgp.Network6
resources, otherwise conflicts and overwrite will occur.
Create Network6 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Network6(name: string, args?: Network6Args, opts?: CustomResourceOptions);
@overload
def Network6(resource_name: str,
args: Optional[Network6Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Network6(resource_name: str,
opts: Optional[ResourceOptions] = None,
backdoor: Optional[str] = None,
fosid: Optional[int] = None,
network_import_check: Optional[str] = None,
prefix6: Optional[str] = None,
route_map: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewNetwork6(ctx *Context, name string, args *Network6Args, opts ...ResourceOption) (*Network6, error)
public Network6(string name, Network6Args? args = null, CustomResourceOptions? opts = null)
public Network6(String name, Network6Args args)
public Network6(String name, Network6Args args, CustomResourceOptions options)
type: fortios:router/bgp/network6:Network6
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 Network6Args
- 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 Network6Args
- 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 Network6Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Network6Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args Network6Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Network6 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 Network6 resource accepts the following input properties:
- Backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - Fosid int
- ID.
- Network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - Prefix6 string
- Network IPv6 prefix.
- Route
Map string - Route map to modify generated route.
- 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.
- Backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - Fosid int
- ID.
- Network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - Prefix6 string
- Network IPv6 prefix.
- Route
Map string - Route map to modify generated route.
- 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.
- backdoor String
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid Integer
- ID.
- network
Import StringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 String
- Network IPv6 prefix.
- route
Map String - Route map to modify generated route.
- 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.
- backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid number
- ID.
- network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 string
- Network IPv6 prefix.
- route
Map string - Route map to modify generated route.
- 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.
- backdoor str
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid int
- ID.
- network_
import_ strcheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 str
- Network IPv6 prefix.
- route_
map str - Route map to modify generated route.
- 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.
- backdoor String
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid Number
- ID.
- network
Import StringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 String
- Network IPv6 prefix.
- route
Map String - Route map to modify generated route.
- 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 Network6 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 Network6 Resource
Get an existing Network6 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?: Network6State, opts?: CustomResourceOptions): Network6
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backdoor: Optional[str] = None,
fosid: Optional[int] = None,
network_import_check: Optional[str] = None,
prefix6: Optional[str] = None,
route_map: Optional[str] = None,
vdomparam: Optional[str] = None) -> Network6
func GetNetwork6(ctx *Context, name string, id IDInput, state *Network6State, opts ...ResourceOption) (*Network6, error)
public static Network6 Get(string name, Input<string> id, Network6State? state, CustomResourceOptions? opts = null)
public static Network6 get(String name, Output<String> id, Network6State 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.
- Backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - Fosid int
- ID.
- Network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - Prefix6 string
- Network IPv6 prefix.
- Route
Map string - Route map to modify generated route.
- 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.
- Backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - Fosid int
- ID.
- Network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - Prefix6 string
- Network IPv6 prefix.
- Route
Map string - Route map to modify generated route.
- 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.
- backdoor String
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid Integer
- ID.
- network
Import StringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 String
- Network IPv6 prefix.
- route
Map String - Route map to modify generated route.
- 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.
- backdoor string
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid number
- ID.
- network
Import stringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 string
- Network IPv6 prefix.
- route
Map string - Route map to modify generated route.
- 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.
- backdoor str
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid int
- ID.
- network_
import_ strcheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 str
- Network IPv6 prefix.
- route_
map str - Route map to modify generated route.
- 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.
- backdoor String
- Enable/disable route as backdoor. Valid values:
enable
,disable
. - fosid Number
- ID.
- network
Import StringCheck - Configure insurance of BGP network route existence in IGP. Valid values:
global
,enable
,disable
. - prefix6 String
- Network IPv6 prefix.
- route
Map String - Route map to modify generated route.
- 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.
Import
Routerbgp Network6 can be imported using any of these accepted formats:
$ pulumi import fortios:router/bgp/network6:Network6 labelname {{fosid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:router/bgp/network6:Network6 labelname {{fosid}}
$ 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.