fortios.vpn/ssl/web.Realm
Explore with Pulumi AI
Realm.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.vpn.ssl.web.Realm("trname", {
loginPage: "1.htm",
maxConcurrentUser: 33,
urlPath: "1",
virtualHost: "2.2.2.2",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.vpn.ssl.web.Realm("trname",
login_page="1.htm",
max_concurrent_user=33,
url_path="1",
virtual_host="2.2.2.2")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/vpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpn.NewRealm(ctx, "trname", &vpn.RealmArgs{
LoginPage: pulumi.String("1.htm"),
MaxConcurrentUser: pulumi.Int(33),
UrlPath: pulumi.String("1"),
VirtualHost: pulumi.String("2.2.2.2"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.Vpn.Ssl.Web.Realm("trname", new()
{
LoginPage = "1.htm",
MaxConcurrentUser = 33,
UrlPath = "1",
VirtualHost = "2.2.2.2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.vpn.Realm;
import com.pulumi.fortios.vpn.RealmArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var trname = new Realm("trname", RealmArgs.builder()
.loginPage("1.htm")
.maxConcurrentUser(33)
.urlPath("1")
.virtualHost("2.2.2.2")
.build());
}
}
resources:
trname:
type: fortios:vpn/ssl/web:Realm
properties:
loginPage: 1.htm
maxConcurrentUser: 33
urlPath: '1'
virtualHost: 2.2.2.2
Create Realm Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Realm(name: string, args?: RealmArgs, opts?: CustomResourceOptions);
@overload
def Realm(resource_name: str,
args: Optional[RealmArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Realm(resource_name: str,
opts: Optional[ResourceOptions] = None,
login_page: Optional[str] = None,
max_concurrent_user: Optional[int] = None,
nas_ip: Optional[str] = None,
radius_port: Optional[int] = None,
radius_server: Optional[str] = None,
url_path: Optional[str] = None,
vdomparam: Optional[str] = None,
virtual_host: Optional[str] = None,
virtual_host_only: Optional[str] = None,
virtual_host_server_cert: Optional[str] = None)
func NewRealm(ctx *Context, name string, args *RealmArgs, opts ...ResourceOption) (*Realm, error)
public Realm(string name, RealmArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:vpn/ssl/web/realm:Realm
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 RealmArgs
- 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 RealmArgs
- 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 RealmArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RealmArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RealmArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Realm Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Realm resource accepts the following input properties:
- Login
Page string - Replacement HTML for SSL-VPN login page.
- Max
Concurrent intUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- Nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- Radius
Port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- Radius
Server string - RADIUS server associated with realm.
- Url
Path string - URL path to access SSL-VPN login page.
- 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.
- Virtual
Host string - Virtual host name for realm.
- Virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - Virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- Login
Page string - Replacement HTML for SSL-VPN login page.
- Max
Concurrent intUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- Nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- Radius
Port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- Radius
Server string - RADIUS server associated with realm.
- Url
Path string - URL path to access SSL-VPN login page.
- 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.
- Virtual
Host string - Virtual host name for realm.
- Virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - Virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- login
Page String - Replacement HTML for SSL-VPN login page.
- max
Concurrent IntegerUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip String - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port Integer - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server String - RADIUS server associated with realm.
- url
Path String - URL path to access SSL-VPN login page.
- 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.
- virtual
Host String - Virtual host name for realm.
- virtual
Host StringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host StringServer Cert - Name of the server certificate to used for this realm.
- login
Page string - Replacement HTML for SSL-VPN login page.
- max
Concurrent numberUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port number - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server string - RADIUS server associated with realm.
- url
Path string - URL path to access SSL-VPN login page.
- 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.
- virtual
Host string - Virtual host name for realm.
- virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- login_
page str - Replacement HTML for SSL-VPN login page.
- max_
concurrent_ intuser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas_
ip str - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius_
port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius_
server str - RADIUS server associated with realm.
- url_
path str - URL path to access SSL-VPN login page.
- 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.
- virtual_
host str - Virtual host name for realm.
- virtual_
host_ stronly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual_
host_ strserver_ cert - Name of the server certificate to used for this realm.
- login
Page String - Replacement HTML for SSL-VPN login page.
- max
Concurrent NumberUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip String - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port Number - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server String - RADIUS server associated with realm.
- url
Path String - URL path to access SSL-VPN login page.
- 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.
- virtual
Host String - Virtual host name for realm.
- virtual
Host StringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host StringServer Cert - Name of the server certificate to used for this realm.
Outputs
All input properties are implicitly available as output properties. Additionally, the Realm 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 Realm Resource
Get an existing Realm 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?: RealmState, opts?: CustomResourceOptions): Realm
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
login_page: Optional[str] = None,
max_concurrent_user: Optional[int] = None,
nas_ip: Optional[str] = None,
radius_port: Optional[int] = None,
radius_server: Optional[str] = None,
url_path: Optional[str] = None,
vdomparam: Optional[str] = None,
virtual_host: Optional[str] = None,
virtual_host_only: Optional[str] = None,
virtual_host_server_cert: Optional[str] = None) -> Realm
func GetRealm(ctx *Context, name string, id IDInput, state *RealmState, opts ...ResourceOption) (*Realm, error)
public static Realm Get(string name, Input<string> id, RealmState? state, CustomResourceOptions? opts = null)
public static Realm get(String name, Output<String> id, RealmState 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.
- Login
Page string - Replacement HTML for SSL-VPN login page.
- Max
Concurrent intUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- Nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- Radius
Port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- Radius
Server string - RADIUS server associated with realm.
- Url
Path string - URL path to access SSL-VPN login page.
- 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.
- Virtual
Host string - Virtual host name for realm.
- Virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - Virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- Login
Page string - Replacement HTML for SSL-VPN login page.
- Max
Concurrent intUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- Nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- Radius
Port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- Radius
Server string - RADIUS server associated with realm.
- Url
Path string - URL path to access SSL-VPN login page.
- 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.
- Virtual
Host string - Virtual host name for realm.
- Virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - Virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- login
Page String - Replacement HTML for SSL-VPN login page.
- max
Concurrent IntegerUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip String - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port Integer - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server String - RADIUS server associated with realm.
- url
Path String - URL path to access SSL-VPN login page.
- 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.
- virtual
Host String - Virtual host name for realm.
- virtual
Host StringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host StringServer Cert - Name of the server certificate to used for this realm.
- login
Page string - Replacement HTML for SSL-VPN login page.
- max
Concurrent numberUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip string - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port number - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server string - RADIUS server associated with realm.
- url
Path string - URL path to access SSL-VPN login page.
- 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.
- virtual
Host string - Virtual host name for realm.
- virtual
Host stringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host stringServer Cert - Name of the server certificate to used for this realm.
- login_
page str - Replacement HTML for SSL-VPN login page.
- max_
concurrent_ intuser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas_
ip str - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius_
port int - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius_
server str - RADIUS server associated with realm.
- url_
path str - URL path to access SSL-VPN login page.
- 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.
- virtual_
host str - Virtual host name for realm.
- virtual_
host_ stronly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual_
host_ strserver_ cert - Name of the server certificate to used for this realm.
- login
Page String - Replacement HTML for SSL-VPN login page.
- max
Concurrent NumberUser - Maximum concurrent users (0 - 65535, 0 means unlimited).
- nas
Ip String - IP address used as a NAS-IP to communicate with the RADIUS server.
- radius
Port Number - RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
- radius
Server String - RADIUS server associated with realm.
- url
Path String - URL path to access SSL-VPN login page.
- 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.
- virtual
Host String - Virtual host name for realm.
- virtual
Host StringOnly - Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values:
enable
,disable
. - virtual
Host StringServer Cert - Name of the server certificate to used for this realm.
Import
VpnSslWeb Realm can be imported using any of these accepted formats:
$ pulumi import fortios:vpn/ssl/web/realm:Realm labelname {{url_path}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:vpn/ssl/web/realm:Realm labelname {{url_path}}
$ 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.