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

fortios.vpn.Ocvpn

Explore with Pulumi AI

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

    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)
    public Ocvpn(String name, OcvpnArgs args)
    public Ocvpn(String name, OcvpnArgs args, CustomResourceOptions options)
    
    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:

    AutoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    AutoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    Eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    EapUsers string
    EAP authentication user group.
    ForticlientAccess Pulumiverse.Fortios.Vpn.Inputs.OcvpnForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    IpAllocationBlock string
    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.OcvpnOverlay>
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    PollInterval 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.
    SdwanZone 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.
    WanInterfaces List<Pulumiverse.Fortios.Vpn.Inputs.OcvpnWanInterface>
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    AutoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    AutoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    Eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    EapUsers string
    EAP authentication user group.
    ForticlientAccess OcvpnForticlientAccessArgs
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    IpAllocationBlock string
    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 []OcvpnOverlayArgs
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    PollInterval 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.
    SdwanZone 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.
    WanInterfaces []OcvpnWanInterfaceArgs
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery String
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode String
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap String
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers String
    EAP authentication user group.
    forticlientAccess OcForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock String
    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<OcOverlay>
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces List<OcWanInterface>
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers string
    EAP authentication user group.
    forticlientAccess OcvpnForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock string
    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 OcvpnOverlay[]
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces OcvpnWanInterface[]
    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_shortcut_mode str
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap str
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eap_users str
    EAP authentication user group.
    forticlient_access OcvpnForticlientAccessArgs
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ip_allocation_block str
    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[OcvpnOverlayArgs]
    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[OcvpnWanInterfaceArgs]
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery String
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode String
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap String
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers String
    EAP authentication user group.
    forticlientAccess Property Map
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock String
    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.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces 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.
    The following state arguments are supported:
    AutoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    AutoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    Eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    EapUsers string
    EAP authentication user group.
    ForticlientAccess Pulumiverse.Fortios.Vpn.Inputs.OcvpnForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    IpAllocationBlock string
    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.OcvpnOverlay>
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    PollInterval 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.
    SdwanZone 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.
    WanInterfaces List<Pulumiverse.Fortios.Vpn.Inputs.OcvpnWanInterface>
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    AutoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    AutoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    Eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    EapUsers string
    EAP authentication user group.
    ForticlientAccess OcvpnForticlientAccessArgs
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    IpAllocationBlock string
    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 []OcvpnOverlayArgs
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    PollInterval 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.
    SdwanZone 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.
    WanInterfaces []OcvpnWanInterfaceArgs
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery String
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode String
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap String
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers String
    EAP authentication user group.
    forticlientAccess OcForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock String
    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<OcOverlay>
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces List<OcWanInterface>
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery string
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode string
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap string
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers string
    EAP authentication user group.
    forticlientAccess OcvpnForticlientAccess
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock string
    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 OcvpnOverlay[]
    Network overlays to register with Overlay Controller VPN service. The structure of overlays block is documented below.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces OcvpnWanInterface[]
    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_shortcut_mode str
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap str
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eap_users str
    EAP authentication user group.
    forticlient_access OcvpnForticlientAccessArgs
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ip_allocation_block str
    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[OcvpnOverlayArgs]
    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[OcvpnWanInterfaceArgs]
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.
    autoDiscovery String
    Enable/disable auto-discovery shortcuts. Valid values: enable, disable.
    autoDiscoveryShortcutMode String
    Control deletion of child short-cut tunnels when the parent tunnel goes down. Valid values: independent, dependent.
    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 ].
    eap String
    Enable/disable EAP client authentication. Valid values: enable, disable.
    eapUsers String
    EAP authentication user group.
    forticlientAccess Property Map
    Configure FortiClient settings. The structure of forticlient_access block is documented below.
    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.
    ipAllocationBlock String
    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.
    pollInterval 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.
    sdwanZone 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.
    wanInterfaces List<Property Map>
    FortiGate WAN interfaces to use with OCVPN. The structure of wan_interface block is documented below.

    Supporting Types

    OcvpnForticlientAccess, OcvpnForticlientAccessArgs

    AuthGroups List<Pulumiverse.Fortios.Vpn.Inputs.OcvpnForticlientAccessAuthGroup>
    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.
    AuthGroups []OcvpnForticlientAccessAuthGroup
    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.
    authGroups List<OcForticlientAccessAuthGroup>
    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.
    authGroups OcvpnForticlientAccessAuthGroup[]
    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[OcvpnForticlientAccessAuthGroup]
    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.
    authGroups 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

    AuthGroup string
    Authentication user group for FortiClient access.
    Name string
    Group name.
    Overlays List<Pulumiverse.Fortios.Vpn.Inputs.OcvpnForticlientAccessAuthGroupOverlay>
    OCVPN overlays to allow access to. The structure of overlays block is documented below.
    AuthGroup string
    Authentication user group for FortiClient access.
    Name string
    Group name.
    Overlays []OcvpnForticlientAccessAuthGroupOverlay
    OCVPN overlays to allow access to. The structure of overlays block is documented below.
    authGroup String
    Authentication user group for FortiClient access.
    name String
    Group name.
    overlays List<OcForticlientAccessAuthGroupOverlay>
    OCVPN overlays to allow access to. The structure of overlays block is documented below.
    authGroup string
    Authentication user group for FortiClient access.
    name string
    Group name.
    overlays OcvpnForticlientAccessAuthGroupOverlay[]
    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[OcvpnForticlientAccessAuthGroupOverlay]
    OCVPN overlays to allow access to. The structure of overlays block is documented below.
    authGroup 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

    OverlayName string
    Overlay name.
    OverlayName string
    Overlay name.
    overlayName String
    Overlay name.
    overlayName string
    Overlay name.
    overlay_name str
    Overlay name.
    overlayName String
    Overlay name.

    OcvpnOverlay, OcvpnOverlayArgs

    AssignIp string
    Enable/disable client address assignment. Valid values: enable, disable.
    Id int
    ID.
    InterOverlay string
    Allow or deny traffic from other overlays. Valid values: allow, deny.
    Ipv4EndIp string
    End of client IPv4 range.
    Ipv4StartIp string
    Start of client IPv4 range.
    Name string
    Overlay name.
    OverlayName string
    Overlay name.
    Subnets List<Pulumiverse.Fortios.Vpn.Inputs.OcvpnOverlaySubnet>
    Internal subnets to register with OCVPN service. The structure of subnets block is documented below.
    AssignIp string
    Enable/disable client address assignment. Valid values: enable, disable.
    Id int
    ID.
    InterOverlay string
    Allow or deny traffic from other overlays. Valid values: allow, deny.
    Ipv4EndIp string
    End of client IPv4 range.
    Ipv4StartIp string
    Start of client IPv4 range.
    Name string
    Overlay name.
    OverlayName string
    Overlay name.
    Subnets []OcvpnOverlaySubnet
    Internal subnets to register with OCVPN service. The structure of subnets block is documented below.
    assignIp String
    Enable/disable client address assignment. Valid values: enable, disable.
    id Integer
    ID.
    interOverlay String
    Allow or deny traffic from other overlays. Valid values: allow, deny.
    ipv4EndIp String
    End of client IPv4 range.
    ipv4StartIp String
    Start of client IPv4 range.
    name String
    Overlay name.
    overlayName String
    Overlay name.
    subnets List<OcOverlaySubnet>
    Internal subnets to register with OCVPN service. The structure of subnets block is documented below.
    assignIp string
    Enable/disable client address assignment. Valid values: enable, disable.
    id number
    ID.
    interOverlay string
    Allow or deny traffic from other overlays. Valid values: allow, deny.
    ipv4EndIp string
    End of client IPv4 range.
    ipv4StartIp string
    Start of client IPv4 range.
    name string
    Overlay name.
    overlayName string
    Overlay name.
    subnets OcvpnOverlaySubnet[]
    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_ip str
    End of client IPv4 range.
    ipv4_start_ip str
    Start of client IPv4 range.
    name str
    Overlay name.
    overlay_name str
    Overlay name.
    subnets Sequence[OcvpnOverlaySubnet]
    Internal subnets to register with OCVPN service. The structure of subnets block is documented below.
    assignIp String
    Enable/disable client address assignment. Valid values: enable, disable.
    id Number
    ID.
    interOverlay String
    Allow or deny traffic from other overlays. Valid values: allow, deny.
    ipv4EndIp String
    End of client IPv4 range.
    ipv4StartIp String
    Start of client IPv4 range.
    name String
    Overlay name.
    overlayName 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 int
    ID.
    Interface string
    LAN interface.
    Subnet string
    IPv4 address and subnet mask.
    Type string
    Subnet type. Valid values: subnet, interface.
    Id int
    ID.
    Interface string
    LAN interface.
    Subnet string
    IPv4 address and subnet mask.
    Type string
    Subnet type. Valid values: subnet, interface.
    id Integer
    ID.
    interface_ String
    LAN interface.
    subnet String
    IPv4 address and subnet mask.
    type String
    Subnet type. Valid values: subnet, interface.
    id number
    ID.
    interface string
    LAN interface.
    subnet string
    IPv4 address and subnet mask.
    type string
    Subnet type. Valid values: subnet, interface.
    id int
    ID.
    interface str
    LAN interface.
    subnet str
    IPv4 address and subnet mask.
    type str
    Subnet type. Valid values: subnet, interface.
    id Number
    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.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse