routeros.IpHotspotUser
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.IpHotspotUser("test", {});
import pulumi
import pulumi_routeros as routeros
test = routeros.IpHotspotUser("test")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := routeros.NewIpHotspotUser(ctx, "test", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;
return await Deployment.RunAsync(() =>
{
var test = new Routeros.IpHotspotUser("test");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.IpHotspotUser;
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 test = new IpHotspotUser("test");
}
}
resources:
test:
type: routeros:IpHotspotUser
Create IpHotspotUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpHotspotUser(name: string, args?: IpHotspotUserArgs, opts?: CustomResourceOptions);
@overload
def IpHotspotUser(resource_name: str,
args: Optional[IpHotspotUserArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def IpHotspotUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
address: Optional[float] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
email: Optional[str] = None,
ip_hotspot_user_id: Optional[str] = None,
limit_bytes_in: Optional[float] = None,
limit_bytes_out: Optional[float] = None,
limit_bytes_total: Optional[float] = None,
limit_uptime: Optional[float] = None,
mac_address: Optional[float] = None,
name: Optional[str] = None,
password: Optional[str] = None,
profile: Optional[str] = None,
routes: Optional[str] = None,
server: Optional[str] = None)
func NewIpHotspotUser(ctx *Context, name string, args *IpHotspotUserArgs, opts ...ResourceOption) (*IpHotspotUser, error)
public IpHotspotUser(string name, IpHotspotUserArgs? args = null, CustomResourceOptions? opts = null)
public IpHotspotUser(String name, IpHotspotUserArgs args)
public IpHotspotUser(String name, IpHotspotUserArgs args, CustomResourceOptions options)
type: routeros:IpHotspotUser
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 IpHotspotUserArgs
- 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 IpHotspotUserArgs
- 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 IpHotspotUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpHotspotUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpHotspotUserArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IpHotspotUser 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 IpHotspotUser resource accepts the following input properties:
- Address double
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- Comment string
- Disabled bool
- Email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- Ip
Hotspot stringUser Id - The ID of this resource.
- Limit
Bytes doubleIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes doubleOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes doubleTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- Limit
Uptime double - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- Mac
Address double - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- Name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- Password string
- User password.
- Profile string
- User profile configured in
/ip hotspot user profile
. - Routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - Server string
- HotSpot server's name to which user is allowed login.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Address float64
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- Comment string
- Disabled bool
- Email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- Ip
Hotspot stringUser Id - The ID of this resource.
- Limit
Bytes float64In - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes float64Out - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes float64Total - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- Limit
Uptime float64 - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- Mac
Address float64 - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- Name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- Password string
- User password.
- Profile string
- User profile configured in
/ip hotspot user profile
. - Routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - Server string
- HotSpot server's name to which user is allowed login.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address Double
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment String
- disabled Boolean
- email String
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot StringUser Id - The ID of this resource.
- limit
Bytes DoubleIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes DoubleOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes DoubleTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime Double - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address Double - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name String
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password String
- User password.
- profile String
- User profile configured in
/ip hotspot user profile
. - routes String
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server String
- HotSpot server's name to which user is allowed login.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address number
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment string
- disabled boolean
- email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot stringUser Id - The ID of this resource.
- limit
Bytes numberIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes numberOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes numberTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime number - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address number - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password string
- User password.
- profile string
- User profile configured in
/ip hotspot user profile
. - routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server string
- HotSpot server's name to which user is allowed login.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address float
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment str
- disabled bool
- email str
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip_
hotspot_ struser_ id - The ID of this resource.
- limit_
bytes_ floatin - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit_
bytes_ floatout - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit_
bytes_ floattotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit_
uptime float - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac_
address float - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name str
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password str
- User password.
- profile str
- User profile configured in
/ip hotspot user profile
. - routes str
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server str
- HotSpot server's name to which user is allowed login.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address Number
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment String
- disabled Boolean
- email String
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot StringUser Id - The ID of this resource.
- limit
Bytes NumberIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes NumberOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes NumberTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime Number - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address Number - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name String
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password String
- User password.
- profile String
- User profile configured in
/ip hotspot user profile
. - routes String
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server String
- HotSpot server's name to which user is allowed login.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpHotspotUser resource produces the following output properties:
Look up Existing IpHotspotUser Resource
Get an existing IpHotspotUser 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?: IpHotspotUserState, opts?: CustomResourceOptions): IpHotspotUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
___skip_: Optional[str] = None,
address: Optional[float] = None,
comment: Optional[str] = None,
default: Optional[bool] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
email: Optional[str] = None,
ip_hotspot_user_id: Optional[str] = None,
limit_bytes_in: Optional[float] = None,
limit_bytes_out: Optional[float] = None,
limit_bytes_total: Optional[float] = None,
limit_uptime: Optional[float] = None,
mac_address: Optional[float] = None,
name: Optional[str] = None,
password: Optional[str] = None,
profile: Optional[str] = None,
routes: Optional[str] = None,
server: Optional[str] = None) -> IpHotspotUser
func GetIpHotspotUser(ctx *Context, name string, id IDInput, state *IpHotspotUserState, opts ...ResourceOption) (*IpHotspotUser, error)
public static IpHotspotUser Get(string name, Input<string> id, IpHotspotUserState? state, CustomResourceOptions? opts = null)
public static IpHotspotUser get(String name, Output<String> id, IpHotspotUserState state, CustomResourceOptions options)
resources: _: type: routeros:IpHotspotUser get: id: ${id}
- 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.
- Address double
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- Comment string
- Default bool
- It's the default item.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- Ip
Hotspot stringUser Id - The ID of this resource.
- Limit
Bytes doubleIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes doubleOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes doubleTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- Limit
Uptime double - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- Mac
Address double - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- Name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- Password string
- User password.
- Profile string
- User profile configured in
/ip hotspot user profile
. - Routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - Server string
- HotSpot server's name to which user is allowed login.
- ___
id_ double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- Address float64
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- Comment string
- Default bool
- It's the default item.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- Ip
Hotspot stringUser Id - The ID of this resource.
- Limit
Bytes float64In - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes float64Out - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- Limit
Bytes float64Total - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- Limit
Uptime float64 - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- Mac
Address float64 - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- Name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- Password string
- User password.
- Profile string
- User profile configured in
/ip hotspot user profile
. - Routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - Server string
- HotSpot server's name to which user is allowed login.
- ___
id_ float64 - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- ___
id_ Double - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address Double
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment String
- default_ Boolean
- It's the default item.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- email String
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot StringUser Id - The ID of this resource.
- limit
Bytes DoubleIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes DoubleOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes DoubleTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime Double - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address Double - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name String
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password String
- User password.
- profile String
- User profile configured in
/ip hotspot user profile
. - routes String
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server String
- HotSpot server's name to which user is allowed login.
- ___
id_ number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ string - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ string - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address number
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment string
- default boolean
- It's the default item.
- disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- email string
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot stringUser Id - The ID of this resource.
- limit
Bytes numberIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes numberOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes numberTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime number - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address number - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name string
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password string
- User password.
- profile string
- User profile configured in
/ip hotspot user profile
. - routes string
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server string
- HotSpot server's name to which user is allowed login.
- ___
id_ float - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ str - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ str - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address float
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment str
- default bool
- It's the default item.
- disabled bool
- dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- email str
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip_
hotspot_ struser_ id - The ID of this resource.
- limit_
bytes_ floatin - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit_
bytes_ floatout - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit_
bytes_ floattotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit_
uptime float - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac_
address float - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name str
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password str
- User password.
- profile str
- User profile configured in
/ip hotspot user profile
. - routes str
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server str
- HotSpot server's name to which user is allowed login.
- ___
id_ Number - Resource ID type (.id / name). This is an internal service field, setting a value is not required.
- ___
path_ String - Resource path for CRUD operations. This is an internal service field, setting a value is not required.
- ___
skip_ String - A set of transformations for field names. This is an internal service field, setting a value is not required.
- address Number
- IP address, when specified client will get the address from the HotSpot one-to-one NAT translations. Address does not restrict HotSpot login only from this address.
- comment String
- default Boolean
- It's the default item.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- email String
- HotSpot client's e-mail, informational value for the HotSpot user.
- ip
Hotspot StringUser Id - The ID of this resource.
- limit
Bytes NumberIn - Maximal amount of bytes that can be received from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes NumberOut - Maximal amount of bytes that can be transmitted from the user. User is disconnected from HotSpot after the limit is reached.
- limit
Bytes NumberTotal - (limit-bytes-in+limit-bytes-out). User is disconnected from HotSpot after the limit is reached.
- limit
Uptime Number - Uptime limit for the HotSpot client, user is disconnected from HotSpot as soon as uptime is reached.
- mac
Address Number - Client is allowed to login only from the specified MAC-address. If value is 00:00:00:00:00:00, any mac address is allowed.
- name String
- HotSpot login page username, when MAC-address authentication is used name is configured as client's MAC-address.
- password String
- User password.
- profile String
- User profile configured in
/ip hotspot user profile
. - routes String
- Routes added to HotSpot gateway when client is connected. The route format dst-address gateway metric (for example,
192.168.1.0/24 192.168.0.1 1
). - server String
- HotSpot server's name to which user is allowed login.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/hotspot/user get [print show-ids]]
$ pulumi import routeros:index/ipHotspotUser:IpHotspotUser test *3
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.