Class SslVpnServer
Inherited Members
Namespace: Pulumi.AliCloud.Vpn
Assembly: Pulumi.AliCloud.dll
Syntax
public class SslVpnServer : CustomResource
Constructors
View SourceSslVpnServer(String, SslVpnServerArgs, CustomResourceOptions)
Create a SslVpnServer resource with the given unique name, arguments, and options.
Declaration
public SslVpnServer(string name, SslVpnServerArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SslVpnServerArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCipher
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
Declaration
public Output<string> Cipher { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientIpPool
The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
Declaration
public Output<string> ClientIpPool { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Compress
Specify whether to compress the communication. Valid value: true (default) | false
Declaration
public Output<bool?> Compress { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Connections
The number of current connections.
Declaration
public Output<int> Connections { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
InternetIp
The internet IP of the SSL-VPN server.
Declaration
public Output<string> InternetIp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LocalSubnet
The CIDR block to be accessed by the client through the SSL-VPN connection. It supports to set multi CIDRs by comma join ways, like 10.0.1.0/24,10.0.2.0/24,10.0.3.0/24.
Declaration
public Output<string> LocalSubnet { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxConnections
The maximum number of connections.
Declaration
public Output<int> MaxConnections { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Name
The name of the SSL-VPN server.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Port
The port used by the SSL-VPN server. The default value is 1194.The following ports cannot be used: [22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, 4500].
Declaration
public Output<int?> Port { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Protocol
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
Declaration
public Output<string> Protocol { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VpnGatewayId
The ID of the VPN gateway.
Declaration
public Output<string> VpnGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SslVpnServerState, CustomResourceOptions)
Get an existing SslVpnServer resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SslVpnServer Get(string name, Input<string> id, SslVpnServerState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SslVpnServerState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SslVpnServer |