routeros.PppSecret
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const test = new routeros.PppSecret("test", {
password: "123",
profile: "default",
});
import pulumi
import pulumi_routeros as routeros
test = routeros.PppSecret("test",
password="123",
profile="default")
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.NewPppSecret(ctx, "test", &routeros.PppSecretArgs{
Password: pulumi.String("123"),
Profile: pulumi.String("default"),
})
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.PppSecret("test", new()
{
Password = "123",
Profile = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.PppSecret;
import com.pulumi.routeros.PppSecretArgs;
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 PppSecret("test", PppSecretArgs.builder()
.password("123")
.profile("default")
.build());
}
}
resources:
test:
type: routeros:PppSecret
properties:
password: '123'
profile: default
Create PppSecret Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PppSecret(name: string, args?: PppSecretArgs, opts?: CustomResourceOptions);
@overload
def PppSecret(resource_name: str,
args: Optional[PppSecretArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PppSecret(resource_name: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
caller_id: Optional[str] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
ipv6_routes: Optional[Sequence[str]] = None,
limit_bytes_in: Optional[float] = None,
limit_bytes_out: Optional[float] = None,
local_address: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
ppp_secret_id: Optional[str] = None,
profile: Optional[str] = None,
remote_address: Optional[str] = None,
remote_ipv6_prefix: Optional[str] = None,
routes: Optional[Sequence[str]] = None,
service: Optional[str] = None)
func NewPppSecret(ctx *Context, name string, args *PppSecretArgs, opts ...ResourceOption) (*PppSecret, error)
public PppSecret(string name, PppSecretArgs? args = null, CustomResourceOptions? opts = null)
public PppSecret(String name, PppSecretArgs args)
public PppSecret(String name, PppSecretArgs args, CustomResourceOptions options)
type: routeros:PppSecret
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 PppSecretArgs
- 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 PppSecretArgs
- 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 PppSecretArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PppSecretArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PppSecretArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PppSecret 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 PppSecret resource accepts the following input properties:
- Caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- Comment string
- Disabled bool
- Ipv6Routes List<string>
- IPv6 routes.
- Limit
Bytes doubleIn - Maximal amount of bytes for a session that client can upload.
- Limit
Bytes doubleOut - Maximal amount of bytes for a session that client can download.
- Local
Address string - IP address that will be set locally on ppp interface.
- Name string
- Name used for authentication.
- Password string
- Password used for authentication.
- Ppp
Secret stringId - The ID of this resource.
- Profile string
- Which user profile to use.
- Remote
Address string - IP address that will be assigned to remote ppp interface.
- Remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- Routes List<string>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- Service string
- Specifies the services that particular user will be able to use.
- ___
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.
- Caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- Comment string
- Disabled bool
- Ipv6Routes []string
- IPv6 routes.
- Limit
Bytes float64In - Maximal amount of bytes for a session that client can upload.
- Limit
Bytes float64Out - Maximal amount of bytes for a session that client can download.
- Local
Address string - IP address that will be set locally on ppp interface.
- Name string
- Name used for authentication.
- Password string
- Password used for authentication.
- Ppp
Secret stringId - The ID of this resource.
- Profile string
- Which user profile to use.
- Remote
Address string - IP address that will be assigned to remote ppp interface.
- Remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- Routes []string
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- Service string
- Specifies the services that particular user will be able to use.
- ___
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.
- ___
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.
- caller
Id String - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment String
- disabled Boolean
- ipv6Routes List<String>
- IPv6 routes.
- limit
Bytes DoubleIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes DoubleOut - Maximal amount of bytes for a session that client can download.
- local
Address String - IP address that will be set locally on ppp interface.
- name String
- Name used for authentication.
- password String
- Password used for authentication.
- ppp
Secret StringId - The ID of this resource.
- profile String
- Which user profile to use.
- remote
Address String - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix String - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes List<String>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service String
- Specifies the services that particular user will be able to use.
- ___
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.
- caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment string
- disabled boolean
- ipv6Routes string[]
- IPv6 routes.
- limit
Bytes numberIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes numberOut - Maximal amount of bytes for a session that client can download.
- local
Address string - IP address that will be set locally on ppp interface.
- name string
- Name used for authentication.
- password string
- Password used for authentication.
- ppp
Secret stringId - The ID of this resource.
- profile string
- Which user profile to use.
- remote
Address string - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes string[]
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service string
- Specifies the services that particular user will be able to use.
- ___
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.
- caller_
id str - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment str
- disabled bool
- ipv6_
routes Sequence[str] - IPv6 routes.
- limit_
bytes_ floatin - Maximal amount of bytes for a session that client can upload.
- limit_
bytes_ floatout - Maximal amount of bytes for a session that client can download.
- local_
address str - IP address that will be set locally on ppp interface.
- name str
- Name used for authentication.
- password str
- Password used for authentication.
- ppp_
secret_ strid - The ID of this resource.
- profile str
- Which user profile to use.
- remote_
address str - IP address that will be assigned to remote ppp interface.
- remote_
ipv6_ strprefix - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes Sequence[str]
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service str
- Specifies the services that particular user will be able to use.
- ___
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.
- caller
Id String - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment String
- disabled Boolean
- ipv6Routes List<String>
- IPv6 routes.
- limit
Bytes NumberIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes NumberOut - Maximal amount of bytes for a session that client can download.
- local
Address String - IP address that will be set locally on ppp interface.
- name String
- Name used for authentication.
- password String
- Password used for authentication.
- ppp
Secret StringId - The ID of this resource.
- profile String
- Which user profile to use.
- remote
Address String - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix String - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes List<String>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service String
- Specifies the services that particular user will be able to use.
Outputs
All input properties are implicitly available as output properties. Additionally, the PppSecret resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Caller stringId - Last
Disconnect stringReason - Last
Logged stringOut
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Caller stringId - Last
Disconnect stringReason - Last
Logged stringOut
- id String
- The provider-assigned unique ID for this managed resource.
- last
Caller StringId - last
Disconnect StringReason - last
Logged StringOut
- id string
- The provider-assigned unique ID for this managed resource.
- last
Caller stringId - last
Disconnect stringReason - last
Logged stringOut
- id str
- The provider-assigned unique ID for this managed resource.
- last_
caller_ strid - last_
disconnect_ strreason - last_
logged_ strout
- id String
- The provider-assigned unique ID for this managed resource.
- last
Caller StringId - last
Disconnect StringReason - last
Logged StringOut
Look up Existing PppSecret Resource
Get an existing PppSecret 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?: PppSecretState, opts?: CustomResourceOptions): PppSecret
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
caller_id: Optional[str] = None,
comment: Optional[str] = None,
disabled: Optional[bool] = None,
ipv6_routes: Optional[Sequence[str]] = None,
last_caller_id: Optional[str] = None,
last_disconnect_reason: Optional[str] = None,
last_logged_out: Optional[str] = None,
limit_bytes_in: Optional[float] = None,
limit_bytes_out: Optional[float] = None,
local_address: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
ppp_secret_id: Optional[str] = None,
profile: Optional[str] = None,
remote_address: Optional[str] = None,
remote_ipv6_prefix: Optional[str] = None,
routes: Optional[Sequence[str]] = None,
service: Optional[str] = None) -> PppSecret
func GetPppSecret(ctx *Context, name string, id IDInput, state *PppSecretState, opts ...ResourceOption) (*PppSecret, error)
public static PppSecret Get(string name, Input<string> id, PppSecretState? state, CustomResourceOptions? opts = null)
public static PppSecret get(String name, Output<String> id, PppSecretState state, CustomResourceOptions options)
resources: _: type: routeros:PppSecret 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.
- Caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- Comment string
- Disabled bool
- Ipv6Routes List<string>
- IPv6 routes.
- Last
Caller stringId - Last
Disconnect stringReason - Last
Logged stringOut - Limit
Bytes doubleIn - Maximal amount of bytes for a session that client can upload.
- Limit
Bytes doubleOut - Maximal amount of bytes for a session that client can download.
- Local
Address string - IP address that will be set locally on ppp interface.
- Name string
- Name used for authentication.
- Password string
- Password used for authentication.
- Ppp
Secret stringId - The ID of this resource.
- Profile string
- Which user profile to use.
- Remote
Address string - IP address that will be assigned to remote ppp interface.
- Remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- Routes List<string>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- Service string
- Specifies the services that particular user will be able to use.
- ___
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.
- Caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- Comment string
- Disabled bool
- Ipv6Routes []string
- IPv6 routes.
- Last
Caller stringId - Last
Disconnect stringReason - Last
Logged stringOut - Limit
Bytes float64In - Maximal amount of bytes for a session that client can upload.
- Limit
Bytes float64Out - Maximal amount of bytes for a session that client can download.
- Local
Address string - IP address that will be set locally on ppp interface.
- Name string
- Name used for authentication.
- Password string
- Password used for authentication.
- Ppp
Secret stringId - The ID of this resource.
- Profile string
- Which user profile to use.
- Remote
Address string - IP address that will be assigned to remote ppp interface.
- Remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- Routes []string
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- Service string
- Specifies the services that particular user will be able to use.
- ___
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.
- ___
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.
- caller
Id String - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment String
- disabled Boolean
- ipv6Routes List<String>
- IPv6 routes.
- last
Caller StringId - last
Disconnect StringReason - last
Logged StringOut - limit
Bytes DoubleIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes DoubleOut - Maximal amount of bytes for a session that client can download.
- local
Address String - IP address that will be set locally on ppp interface.
- name String
- Name used for authentication.
- password String
- Password used for authentication.
- ppp
Secret StringId - The ID of this resource.
- profile String
- Which user profile to use.
- remote
Address String - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix String - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes List<String>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service String
- Specifies the services that particular user will be able to use.
- ___
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.
- caller
Id string - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment string
- disabled boolean
- ipv6Routes string[]
- IPv6 routes.
- last
Caller stringId - last
Disconnect stringReason - last
Logged stringOut - limit
Bytes numberIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes numberOut - Maximal amount of bytes for a session that client can download.
- local
Address string - IP address that will be set locally on ppp interface.
- name string
- Name used for authentication.
- password string
- Password used for authentication.
- ppp
Secret stringId - The ID of this resource.
- profile string
- Which user profile to use.
- remote
Address string - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix string - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes string[]
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service string
- Specifies the services that particular user will be able to use.
- ___
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.
- caller_
id str - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment str
- disabled bool
- ipv6_
routes Sequence[str] - IPv6 routes.
- last_
caller_ strid - last_
disconnect_ strreason - last_
logged_ strout - limit_
bytes_ floatin - Maximal amount of bytes for a session that client can upload.
- limit_
bytes_ floatout - Maximal amount of bytes for a session that client can download.
- local_
address str - IP address that will be set locally on ppp interface.
- name str
- Name used for authentication.
- password str
- Password used for authentication.
- ppp_
secret_ strid - The ID of this resource.
- profile str
- Which user profile to use.
- remote_
address str - IP address that will be assigned to remote ppp interface.
- remote_
ipv6_ strprefix - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes Sequence[str]
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service str
- Specifies the services that particular user will be able to use.
- ___
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.
- caller
Id String - For PPTP and L2TP it is the IP address a client must connect from. For PPPoE it is the MAC address (written in CAPITAL letters) a client must connect from. For ISDN it is the caller's number (that may or may not be provided by the operator) the client may dial-in from.
- comment String
- disabled Boolean
- ipv6Routes List<String>
- IPv6 routes.
- last
Caller StringId - last
Disconnect StringReason - last
Logged StringOut - limit
Bytes NumberIn - Maximal amount of bytes for a session that client can upload.
- limit
Bytes NumberOut - Maximal amount of bytes for a session that client can download.
- local
Address String - IP address that will be set locally on ppp interface.
- name String
- Name used for authentication.
- password String
- Password used for authentication.
- ppp
Secret StringId - The ID of this resource.
- profile String
- Which user profile to use.
- remote
Address String - IP address that will be assigned to remote ppp interface.
- remote
Ipv6Prefix String - IPv6 prefix assigned to ppp client. Prefix is added to ND prefix list enabling stateless address auto-configuration on ppp interface.Available starting from v5.0.
- routes List<String>
- Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Other syntax is not acceptable since it can be represented in incorrect way. Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN.
- service String
- Specifies the services that particular user will be able to use.
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ppp/secret get [print show-ids]]
$ pulumi import routeros:index/pppSecret:PppSecret test *6
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.