1. Packages
  2. Fortios
  3. API Docs
  4. vpn
  5. vpn/ssl
  6. vpn/ssl/web
  7. Realm
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.vpn/ssl/web.Realm

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    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)
    public Realm(String name, RealmArgs args)
    public Realm(String name, RealmArgs args, CustomResourceOptions options)
    
    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

    The Realm resource accepts the following input properties:

    LoginPage string
    Replacement HTML for SSL-VPN login page.
    MaxConcurrentUser int
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    NasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    RadiusPort int
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    RadiusServer string
    RADIUS server associated with realm.
    UrlPath 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.
    VirtualHost string
    Virtual host name for realm.
    VirtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    VirtualHostServerCert string
    Name of the server certificate to used for this realm.
    LoginPage string
    Replacement HTML for SSL-VPN login page.
    MaxConcurrentUser int
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    NasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    RadiusPort int
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    RadiusServer string
    RADIUS server associated with realm.
    UrlPath 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.
    VirtualHost string
    Virtual host name for realm.
    VirtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    VirtualHostServerCert string
    Name of the server certificate to used for this realm.
    loginPage String
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser Integer
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp String
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort Integer
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer String
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost String
    Virtual host name for realm.
    virtualHostOnly String
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert String
    Name of the server certificate to used for this realm.
    loginPage string
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser number
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort number
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer string
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost string
    Virtual host name for realm.
    virtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert string
    Name of the server certificate to used for this realm.
    login_page str
    Replacement HTML for SSL-VPN login page.
    max_concurrent_user int
    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_only str
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtual_host_server_cert str
    Name of the server certificate to used for this realm.
    loginPage String
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser Number
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp String
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort Number
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer String
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost String
    Virtual host name for realm.
    virtualHostOnly String
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert String
    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.
    The following state arguments are supported:
    LoginPage string
    Replacement HTML for SSL-VPN login page.
    MaxConcurrentUser int
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    NasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    RadiusPort int
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    RadiusServer string
    RADIUS server associated with realm.
    UrlPath 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.
    VirtualHost string
    Virtual host name for realm.
    VirtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    VirtualHostServerCert string
    Name of the server certificate to used for this realm.
    LoginPage string
    Replacement HTML for SSL-VPN login page.
    MaxConcurrentUser int
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    NasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    RadiusPort int
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    RadiusServer string
    RADIUS server associated with realm.
    UrlPath 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.
    VirtualHost string
    Virtual host name for realm.
    VirtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    VirtualHostServerCert string
    Name of the server certificate to used for this realm.
    loginPage String
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser Integer
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp String
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort Integer
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer String
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost String
    Virtual host name for realm.
    virtualHostOnly String
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert String
    Name of the server certificate to used for this realm.
    loginPage string
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser number
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp string
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort number
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer string
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost string
    Virtual host name for realm.
    virtualHostOnly string
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert string
    Name of the server certificate to used for this realm.
    login_page str
    Replacement HTML for SSL-VPN login page.
    max_concurrent_user int
    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_only str
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtual_host_server_cert str
    Name of the server certificate to used for this realm.
    loginPage String
    Replacement HTML for SSL-VPN login page.
    maxConcurrentUser Number
    Maximum concurrent users (0 - 65535, 0 means unlimited).
    nasIp String
    IP address used as a NAS-IP to communicate with the RADIUS server.
    radiusPort Number
    RADIUS service port number (0 - 65535, 0 means user.radius.radius-port).
    radiusServer String
    RADIUS server associated with realm.
    urlPath 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.
    virtualHost String
    Virtual host name for realm.
    virtualHostOnly String
    Enable/disable enforcement of virtual host method for SSL-VPN client access. Valid values: enable, disable.
    virtualHostServerCert String
    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.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse