fortios.vpn.Ocvpn
Explore with Pulumi AI
Configure Overlay Controller VPN settings. Applies to FortiOS Version 6.2.4,6.2.6,6.4.0,6.4.1,6.4.2,6.4.10,6.4.11,6.4.12,6.4.13,6.4.14,6.4.15,7.0.0,7.0.1,7.0.2,7.0.3,7.0.4,7.0.5,7.0.6,7.0.7,7.0.8,7.0.9,7.0.10,7.0.11,7.0.12,7.0.13,7.0.14,7.0.15,7.2.0,7.2.1,7.2.2,7.2.3,7.2.4,7.2.6,7.2.7,7.2.8
.
Create Ocvpn Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ocvpn(name: string, args?: OcvpnArgs, opts?: CustomResourceOptions);
@overload
def Ocvpn(resource_name: str,
args: Optional[OcvpnArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Ocvpn(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_discovery: Optional[str] = None,
auto_discovery_shortcut_mode: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
eap: Optional[str] = None,
eap_users: Optional[str] = None,
forticlient_access: Optional[OcvpnForticlientAccessArgs] = None,
get_all_tables: Optional[str] = None,
ip_allocation_block: Optional[str] = None,
multipath: Optional[str] = None,
nat: Optional[str] = None,
overlays: Optional[Sequence[OcvpnOverlayArgs]] = None,
poll_interval: Optional[int] = None,
role: Optional[str] = None,
sdwan: Optional[str] = None,
sdwan_zone: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None,
wan_interfaces: Optional[Sequence[OcvpnWanInterfaceArgs]] = None)
func NewOcvpn(ctx *Context, name string, args *OcvpnArgs, opts ...ResourceOption) (*Ocvpn, error)
public Ocvpn(string name, OcvpnArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:vpn:Ocvpn
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 OcvpnArgs
- 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 OcvpnArgs
- 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 OcvpnArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OcvpnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OcvpnArgs
- 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 ocvpnResource = new Fortios.Vpn.Ocvpn("ocvpnResource", new()
{
AutoDiscovery = "string",
AutoDiscoveryShortcutMode = "string",
DynamicSortSubtable = "string",
Eap = "string",
EapUsers = "string",
ForticlientAccess = new Fortios.Vpn.Inputs.OcvpnForticlientAccessArgs
{
AuthGroups = new[]
{
new Fortios.Vpn.Inputs.OcvpnForticlientAccessAuthGroupArgs
{
AuthGroup = "string",
Name = "string",
Overlays = new[]
{
new Fortios.Vpn.Inputs.OcvpnForticlientAccessAuthGroupOverlayArgs
{
OverlayName = "string",
},
},
},
},
Psksecret = "string",
Status = "string",
},
GetAllTables = "string",
IpAllocationBlock = "string",
Multipath = "string",
Nat = "string",
Overlays = new[]
{
new Fortios.Vpn.Inputs.OcvpnOverlayArgs
{
AssignIp = "string",
Id = 0,
InterOverlay = "string",
Ipv4EndIp = "string",
Ipv4StartIp = "string",
Name = "string",
OverlayName = "string",
Subnets = new[]
{
new Fortios.Vpn.Inputs.OcvpnOverlaySubnetArgs
{
Id = 0,
Interface = "string",
Subnet = "string",
Type = "string",
},
},
},
},
PollInterval = 0,
Role = "string",
Sdwan = "string",
SdwanZone = "string",
Status = "string",
Vdomparam = "string",
WanInterfaces = new[]
{
new Fortios.Vpn.Inputs.OcvpnWanInterfaceArgs
{
Name = "string",
},
},
});
example, err := vpn.NewOcvpn(ctx, "ocvpnResource", &vpn.OcvpnArgs{
AutoDiscovery: pulumi.String("string"),
AutoDiscoveryShortcutMode: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Eap: pulumi.String("string"),
EapUsers: pulumi.String("string"),
ForticlientAccess: &vpn.OcvpnForticlientAccessArgs{
AuthGroups: vpn.OcvpnForticlientAccessAuthGroupArray{
&vpn.OcvpnForticlientAccessAuthGroupArgs{
AuthGroup: pulumi.String("string"),
Name: pulumi.String("string"),
Overlays: vpn.OcvpnForticlientAccessAuthGroupOverlayArray{
&vpn.OcvpnForticlientAccessAuthGroupOverlayArgs{
OverlayName: pulumi.String("string"),
},
},
},
},
Psksecret: pulumi.String("string"),
Status: pulumi.String("string"),
},
GetAllTables: pulumi.String("string"),
IpAllocationBlock: pulumi.String("string"),
Multipath: pulumi.String("string"),
Nat: pulumi.String("string"),
Overlays: vpn.OcvpnOverlayArray{
&vpn.OcvpnOverlayArgs{
AssignIp: pulumi.String("string"),
Id: pulumi.Int(0),
InterOverlay: pulumi.String("string"),
Ipv4EndIp: pulumi.String("string"),
Ipv4StartIp: pulumi.String("string"),
Name: pulumi.String("string"),
OverlayName: pulumi.String("string"),
Subnets: vpn.OcvpnOverlaySubnetArray{
&vpn.OcvpnOverlaySubnetArgs{
Id: pulumi.Int(0),
Interface: pulumi.String("string"),
Subnet: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
PollInterval: pulumi.Int(0),
Role: pulumi.String("string"),
Sdwan: pulumi.String("string"),
SdwanZone: pulumi.String("string"),
Status: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
WanInterfaces: vpn.OcvpnWanInterfaceArray{
&vpn.OcvpnWanInterfaceArgs{
Name: pulumi.String("string"),
},
},
})
var ocvpnResource = new Ocvpn("ocvpnResource", OcvpnArgs.builder()
.autoDiscovery("string")
.autoDiscoveryShortcutMode("string")
.dynamicSortSubtable("string")
.eap("string")
.eapUsers("string")
.forticlientAccess(OcvpnForticlientAccessArgs.builder()
.authGroups(OcvpnForticlientAccessAuthGroupArgs.builder()
.authGroup("string")
.name("string")
.overlays(OcvpnForticlientAccessAuthGroupOverlayArgs.builder()
.overlayName("string")
.build())
.build())
.psksecret("string")
.status("string")
.build())
.getAllTables("string")
.ipAllocationBlock("string")
.multipath("string")
.nat("string")
.overlays(OcvpnOverlayArgs.builder()
.assignIp("string")
.id(0)
.interOverlay("string")
.ipv4EndIp("string")
.ipv4StartIp("string")
.name("string")
.overlayName("string")
.subnets(OcvpnOverlaySubnetArgs.builder()
.id(0)
.interface_("string")
.subnet("string")
.type("string")
.build())
.build())
.pollInterval(0)
.role("string")
.sdwan("string")
.sdwanZone("string")
.status("string")
.vdomparam("string")
.wanInterfaces(OcvpnWanInterfaceArgs.builder()
.name("string")
.build())
.build());
ocvpn_resource = fortios.vpn.Ocvpn("ocvpnResource",
auto_discovery="string",
auto_discovery_shortcut_mode="string",
dynamic_sort_subtable="string",
eap="string",
eap_users="string",
forticlient_access=fortios.vpn.OcvpnForticlientAccessArgs(
auth_groups=[fortios.vpn.OcvpnForticlientAccessAuthGroupArgs(
auth_group="string",
name="string",
overlays=[fortios.vpn.OcvpnForticlientAccessAuthGroupOverlayArgs(
overlay_name="string",
)],
)],
psksecret="string",
status="string",
),
get_all_tables="string",
ip_allocation_block="string",
multipath="string",
nat="string",
overlays=[fortios.vpn.OcvpnOverlayArgs(
assign_ip="string",
id=0,
inter_overlay="string",
ipv4_end_ip="string",
ipv4_start_ip="string",
name="string",
overlay_name="string",
subnets=[fortios.vpn.OcvpnOverlaySubnetArgs(
id=0,
interface="string",
subnet="string",
type="string",
)],
)],
poll_interval=0,
role="string",
sdwan="string",
sdwan_zone="string",
status="string",
vdomparam="string",
wan_interfaces=[fortios.vpn.OcvpnWanInterfaceArgs(
name="string",
)])
const ocvpnResource = new fortios.vpn.Ocvpn("ocvpnResource", {
autoDiscovery: "string",
autoDiscoveryShortcutMode: "string",
dynamicSortSubtable: "string",
eap: "string",
eapUsers: "string",
forticlientAccess: {
authGroups: [{
authGroup: "string",
name: "string",
overlays: [{
overlayName: "string",
}],
}],
psksecret: "string",
status: "string",
},
getAllTables: "string",
ipAllocationBlock: "string",
multipath: "string",
nat: "string",
overlays: [{
assignIp: "string",
id: 0,
interOverlay: "string",
ipv4EndIp: "string",
ipv4StartIp: "string",
name: "string",
overlayName: "string",
subnets: [{
id: 0,
"interface": "string",
subnet: "string",
type: "string",
}],
}],
pollInterval: 0,
role: "string",
sdwan: "string",
sdwanZone: "string",
status: "string",
vdomparam: "string",
wanInterfaces: [{
name: "string",
}],
});
type: fortios:vpn:Ocvpn
properties:
autoDiscovery: string
autoDiscoveryShortcutMode: string
dynamicSortSubtable: string
eap: string
eapUsers: string
forticlientAccess:
authGroups:
- authGroup: string
name: string
overlays:
- overlayName: string
psksecret: string
status: string
getAllTables: string
ipAllocationBlock: string
multipath: string
nat: string
overlays:
- assignIp: string
id: 0
interOverlay: string
ipv4EndIp: string
ipv4StartIp: string
name: string
overlayName: string
subnets:
- id: 0
interface: string
subnet: string
type: string
pollInterval: 0
role: string
sdwan: string
sdwanZone: string
status: string
vdomparam: string
wanInterfaces:
- name: string
Ocvpn 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 Ocvpn resource accepts the following input properties:
- Auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - Auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - Dynamic
Sort stringSubtable - 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 ].
- Eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - Eap
Users string - EAP authentication user group.
- Forticlient
Access Pulumiverse.Fortios. Vpn. Inputs. Ocvpn Forticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - Get
All stringTables - 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.
- Ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- Multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - Nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - Overlays
List<Pulumiverse.
Fortios. Vpn. Inputs. Ocvpn Overlay> - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - Poll
Interval int - Overlay Controller VPN polling interval.
- Role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - Sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - Sdwan
Zone string - Set SD-WAN zone.
- Status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- Wan
Interfaces List<Pulumiverse.Fortios. Vpn. Inputs. Ocvpn Wan Interface> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- Auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - Auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - Dynamic
Sort stringSubtable - 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 ].
- Eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - Eap
Users string - EAP authentication user group.
- Forticlient
Access OcvpnForticlient Access Args - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - Get
All stringTables - 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.
- Ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- Multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - Nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - Overlays
[]Ocvpn
Overlay Args - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - Poll
Interval int - Overlay Controller VPN polling interval.
- Role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - Sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - Sdwan
Zone string - Set SD-WAN zone.
- Status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- Wan
Interfaces []OcvpnWan Interface Args - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery String - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery StringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort StringSubtable - 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 ].
- eap String
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users String - EAP authentication user group.
- forticlient
Access OcForticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All StringTables - 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.
- ip
Allocation StringBlock - Class B subnet reserved for private IP address assignment.
- multipath String
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat String
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
List<Oc
Overlay> - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval Integer - Overlay Controller VPN polling interval.
- role String
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan String
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone String - Set SD-WAN zone.
- status String
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces List<OcWan Interface> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort stringSubtable - 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 ].
- eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users string - EAP authentication user group.
- forticlient
Access OcvpnForticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All stringTables - 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.
- ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
Ocvpn
Overlay[] - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval number - Overlay Controller VPN polling interval.
- role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone string - Set SD-WAN zone.
- status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces OcvpnWan Interface[] - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto_
discovery str - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto_
discovery_ strshortcut_ mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic_
sort_ strsubtable - 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 ].
- eap str
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap_
users str - EAP authentication user group.
- forticlient_
access OcvpnForticlient Access Args - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get_
all_ strtables - 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.
- ip_
allocation_ strblock - Class B subnet reserved for private IP address assignment.
- multipath str
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat str
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
Sequence[Ocvpn
Overlay Args] - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll_
interval int - Overlay Controller VPN polling interval.
- role str
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan str
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan_
zone str - Set SD-WAN zone.
- status str
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan_
interfaces Sequence[OcvpnWan Interface Args] - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery String - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery StringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort StringSubtable - 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 ].
- eap String
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users String - EAP authentication user group.
- forticlient
Access Property Map - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All StringTables - 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.
- ip
Allocation StringBlock - Class B subnet reserved for private IP address assignment.
- multipath String
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat String
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays List<Property Map>
- Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval Number - Overlay Controller VPN polling interval.
- role String
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan String
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone String - Set SD-WAN zone.
- status String
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces List<Property Map> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ocvpn 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 Ocvpn Resource
Get an existing Ocvpn 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?: OcvpnState, opts?: CustomResourceOptions): Ocvpn
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_discovery: Optional[str] = None,
auto_discovery_shortcut_mode: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
eap: Optional[str] = None,
eap_users: Optional[str] = None,
forticlient_access: Optional[OcvpnForticlientAccessArgs] = None,
get_all_tables: Optional[str] = None,
ip_allocation_block: Optional[str] = None,
multipath: Optional[str] = None,
nat: Optional[str] = None,
overlays: Optional[Sequence[OcvpnOverlayArgs]] = None,
poll_interval: Optional[int] = None,
role: Optional[str] = None,
sdwan: Optional[str] = None,
sdwan_zone: Optional[str] = None,
status: Optional[str] = None,
vdomparam: Optional[str] = None,
wan_interfaces: Optional[Sequence[OcvpnWanInterfaceArgs]] = None) -> Ocvpn
func GetOcvpn(ctx *Context, name string, id IDInput, state *OcvpnState, opts ...ResourceOption) (*Ocvpn, error)
public static Ocvpn Get(string name, Input<string> id, OcvpnState? state, CustomResourceOptions? opts = null)
public static Ocvpn get(String name, Output<String> id, OcvpnState 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.
- Auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - Auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - Dynamic
Sort stringSubtable - 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 ].
- Eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - Eap
Users string - EAP authentication user group.
- Forticlient
Access Pulumiverse.Fortios. Vpn. Inputs. Ocvpn Forticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - Get
All stringTables - 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.
- Ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- Multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - Nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - Overlays
List<Pulumiverse.
Fortios. Vpn. Inputs. Ocvpn Overlay> - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - Poll
Interval int - Overlay Controller VPN polling interval.
- Role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - Sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - Sdwan
Zone string - Set SD-WAN zone.
- Status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- Wan
Interfaces List<Pulumiverse.Fortios. Vpn. Inputs. Ocvpn Wan Interface> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- Auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - Auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - Dynamic
Sort stringSubtable - 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 ].
- Eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - Eap
Users string - EAP authentication user group.
- Forticlient
Access OcvpnForticlient Access Args - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - Get
All stringTables - 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.
- Ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- Multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - Nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - Overlays
[]Ocvpn
Overlay Args - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - Poll
Interval int - Overlay Controller VPN polling interval.
- Role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - Sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - Sdwan
Zone string - Set SD-WAN zone.
- Status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- Wan
Interfaces []OcvpnWan Interface Args - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery String - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery StringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort StringSubtable - 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 ].
- eap String
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users String - EAP authentication user group.
- forticlient
Access OcForticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All StringTables - 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.
- ip
Allocation StringBlock - Class B subnet reserved for private IP address assignment.
- multipath String
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat String
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
List<Oc
Overlay> - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval Integer - Overlay Controller VPN polling interval.
- role String
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan String
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone String - Set SD-WAN zone.
- status String
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces List<OcWan Interface> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery string - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery stringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort stringSubtable - 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 ].
- eap string
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users string - EAP authentication user group.
- forticlient
Access OcvpnForticlient Access - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All stringTables - 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.
- ip
Allocation stringBlock - Class B subnet reserved for private IP address assignment.
- multipath string
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat string
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
Ocvpn
Overlay[] - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval number - Overlay Controller VPN polling interval.
- role string
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan string
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone string - Set SD-WAN zone.
- status string
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces OcvpnWan Interface[] - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto_
discovery str - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto_
discovery_ strshortcut_ mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic_
sort_ strsubtable - 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 ].
- eap str
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap_
users str - EAP authentication user group.
- forticlient_
access OcvpnForticlient Access Args - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get_
all_ strtables - 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.
- ip_
allocation_ strblock - Class B subnet reserved for private IP address assignment.
- multipath str
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat str
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays
Sequence[Ocvpn
Overlay Args] - Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll_
interval int - Overlay Controller VPN polling interval.
- role str
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan str
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan_
zone str - Set SD-WAN zone.
- status str
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan_
interfaces Sequence[OcvpnWan Interface Args] - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
- auto
Discovery String - Enable/disable auto-discovery shortcuts. Valid values:
enable
,disable
. - auto
Discovery StringShortcut Mode - Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values:
independent
,dependent
. - dynamic
Sort StringSubtable - 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 ].
- eap String
- Enable/disable EAP client authentication. Valid values:
enable
,disable
. - eap
Users String - EAP authentication user group.
- forticlient
Access Property Map - Configure FortiClient settings. The structure of
forticlient_access
block is documented below. - get
All StringTables - 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.
- ip
Allocation StringBlock - Class B subnet reserved for private IP address assignment.
- multipath String
- Enable/disable multipath redundancy. Valid values:
enable
,disable
. - nat String
- Enable/disable inter-overlay source NAT. Valid values:
enable
,disable
. - overlays List<Property Map>
- Network overlays to register with Overlay Controller VPN service. The structure of
overlays
block is documented below. - poll
Interval Number - Overlay Controller VPN polling interval.
- role String
- Set device role. Valid values:
spoke
,primary-hub
,secondary-hub
. - sdwan String
- Enable/disable adding OCVPN tunnels to SDWAN. Valid values:
enable
,disable
. - sdwan
Zone String - Set SD-WAN zone.
- status String
- Enable/disable Overlay Controller cloud assisted VPN. Valid values:
enable
,disable
. - 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.
- wan
Interfaces List<Property Map> - FortiGate WAN interfaces to use with OCVPN. The structure of
wan_interface
block is documented below.
Supporting Types
OcvpnForticlientAccess, OcvpnForticlientAccessArgs
- Auth
Groups List<Pulumiverse.Fortios. Vpn. Inputs. Ocvpn Forticlient Access Auth Group> - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - Psksecret string
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- Status string
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
- Auth
Groups []OcvpnForticlient Access Auth Group - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - Psksecret string
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- Status string
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
- auth
Groups List<OcForticlient Access Auth Group> - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - psksecret String
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- status String
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
- auth
Groups OcvpnForticlient Access Auth Group[] - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - psksecret string
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- status string
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
- auth_
groups Sequence[OcvpnForticlient Access Auth Group] - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - psksecret str
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- status str
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
- auth
Groups List<Property Map> - FortiClient user authentication groups. The structure of
auth_groups
block is documented below. - psksecret String
- Pre-shared secret for FortiClient PSK authentication (ASCII string or hexadecimal encoded with a leading 0x).
- status String
- Enable/disable FortiClient to access OCVPN networks. Valid values:
enable
,disable
.
OcvpnForticlientAccessAuthGroup, OcvpnForticlientAccessAuthGroupArgs
- Auth
Group string - Authentication user group for FortiClient access.
- Name string
- Group name.
- Overlays
List<Pulumiverse.
Fortios. Vpn. Inputs. Ocvpn Forticlient Access Auth Group Overlay> - OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
- Auth
Group string - Authentication user group for FortiClient access.
- Name string
- Group name.
- Overlays
[]Ocvpn
Forticlient Access Auth Group Overlay - OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
- auth
Group String - Authentication user group for FortiClient access.
- name String
- Group name.
- overlays
List<Oc
Forticlient Access Auth Group Overlay> - OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
- auth
Group string - Authentication user group for FortiClient access.
- name string
- Group name.
- overlays
Ocvpn
Forticlient Access Auth Group Overlay[] - OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
- auth_
group str - Authentication user group for FortiClient access.
- name str
- Group name.
- overlays
Sequence[Ocvpn
Forticlient Access Auth Group Overlay] - OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
- auth
Group String - Authentication user group for FortiClient access.
- name String
- Group name.
- overlays List<Property Map>
- OCVPN overlays to allow access to. The structure of
overlays
block is documented below.
OcvpnForticlientAccessAuthGroupOverlay, OcvpnForticlientAccessAuthGroupOverlayArgs
- Overlay
Name string - Overlay name.
- Overlay
Name string - Overlay name.
- overlay
Name String - Overlay name.
- overlay
Name string - Overlay name.
- overlay_
name str - Overlay name.
- overlay
Name String - Overlay name.
OcvpnOverlay, OcvpnOverlayArgs
- Assign
Ip string - Enable/disable client address assignment. Valid values:
enable
,disable
. - Id int
- ID.
- Inter
Overlay string - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - Ipv4End
Ip string - End of client IPv4 range.
- Ipv4Start
Ip string - Start of client IPv4 range.
- Name string
- Overlay name.
- Overlay
Name string - Overlay name.
- Subnets
List<Pulumiverse.
Fortios. Vpn. Inputs. Ocvpn Overlay Subnet> - Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
- Assign
Ip string - Enable/disable client address assignment. Valid values:
enable
,disable
. - Id int
- ID.
- Inter
Overlay string - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - Ipv4End
Ip string - End of client IPv4 range.
- Ipv4Start
Ip string - Start of client IPv4 range.
- Name string
- Overlay name.
- Overlay
Name string - Overlay name.
- Subnets
[]Ocvpn
Overlay Subnet - Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
- assign
Ip String - Enable/disable client address assignment. Valid values:
enable
,disable
. - id Integer
- ID.
- inter
Overlay String - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - ipv4End
Ip String - End of client IPv4 range.
- ipv4Start
Ip String - Start of client IPv4 range.
- name String
- Overlay name.
- overlay
Name String - Overlay name.
- subnets
List<Oc
Overlay Subnet> - Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
- assign
Ip string - Enable/disable client address assignment. Valid values:
enable
,disable
. - id number
- ID.
- inter
Overlay string - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - ipv4End
Ip string - End of client IPv4 range.
- ipv4Start
Ip string - Start of client IPv4 range.
- name string
- Overlay name.
- overlay
Name string - Overlay name.
- subnets
Ocvpn
Overlay Subnet[] - Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
- assign_
ip str - Enable/disable client address assignment. Valid values:
enable
,disable
. - id int
- ID.
- inter_
overlay str - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - ipv4_
end_ strip - End of client IPv4 range.
- ipv4_
start_ strip - Start of client IPv4 range.
- name str
- Overlay name.
- overlay_
name str - Overlay name.
- subnets
Sequence[Ocvpn
Overlay Subnet] - Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
- assign
Ip String - Enable/disable client address assignment. Valid values:
enable
,disable
. - id Number
- ID.
- inter
Overlay String - Allow or deny traffic from other overlays. Valid values:
allow
,deny
. - ipv4End
Ip String - End of client IPv4 range.
- ipv4Start
Ip String - Start of client IPv4 range.
- name String
- Overlay name.
- overlay
Name String - Overlay name.
- subnets List<Property Map>
- Internal subnets to register with OCVPN service. The structure of
subnets
block is documented below.
OcvpnOverlaySubnet, OcvpnOverlaySubnetArgs
- id Integer
- ID.
- interface_ String
- LAN interface.
- subnet String
- IPv4 address and subnet mask.
- type String
- Subnet type. Valid values:
subnet
,interface
.
OcvpnWanInterface, OcvpnWanInterfaceArgs
- Name string
- Interface name.
- Name string
- Interface name.
- name String
- Interface name.
- name string
- Interface name.
- name str
- Interface name.
- name String
- Interface name.
Import
Vpn Ocvpn can be imported using any of these accepted formats:
$ pulumi import fortios:vpn/ocvpn:Ocvpn labelname VpnOcvpn
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:vpn/ocvpn:Ocvpn labelname VpnOcvpn
$ 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.