SslVpnServer
Create a SslVpnServer Resource
new SslVpnServer(name: string, args: SslVpnServerArgs, opts?: CustomResourceOptions);def SslVpnServer(resource_name, opts=None, cipher=None, client_ip_pool=None, compress=None, local_subnet=None, name=None, port=None, protocol=None, vpn_gateway_id=None, __props__=None);func NewSslVpnServer(ctx *Context, name string, args SslVpnServerArgs, opts ...ResourceOption) (*SslVpnServer, error)public SslVpnServer(string name, SslVpnServerArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SslVpnServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SslVpnServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SslVpnServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SslVpnServer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SslVpnServer resource accepts the following input properties:
- Client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- Local
Subnet string 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.- Vpn
Gateway stringId The ID of the VPN gateway.
- Cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- Compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- Name string
The name of the SSL-VPN server.
- Port int
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].
- Protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- Client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- Local
Subnet string 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.- Vpn
Gateway stringId The ID of the VPN gateway.
- Cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- Compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- Name string
The name of the SSL-VPN server.
- Port int
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].
- Protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- local
Subnet string 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.- vpn
Gateway stringId The ID of the VPN gateway.
- cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- compress boolean
Specify whether to compress the communication. Valid value: true (default) | false
- name string
The name of the SSL-VPN server.
- port number
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].
- protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- client_
ip_ strpool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- local_
subnet str 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.- vpn_
gateway_ strid The ID of the VPN gateway.
- cipher str
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- name str
The name of the SSL-VPN server.
- port float
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].
- protocol str
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
Outputs
All input properties are implicitly available as output properties. Additionally, the SslVpnServer resource produces the following output properties:
- Connections int
The number of current connections.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internet
Ip string The internet IP of the SSL-VPN server.
- Max
Connections int The maximum number of connections.
- Connections int
The number of current connections.
- Id string
- The provider-assigned unique ID for this managed resource.
- Internet
Ip string The internet IP of the SSL-VPN server.
- Max
Connections int The maximum number of connections.
- connections number
The number of current connections.
- id string
- The provider-assigned unique ID for this managed resource.
- internet
Ip string The internet IP of the SSL-VPN server.
- max
Connections number The maximum number of connections.
- connections float
The number of current connections.
- id str
- The provider-assigned unique ID for this managed resource.
- internet_
ip str The internet IP of the SSL-VPN server.
- max_
connections float The maximum number of connections.
Look up an Existing SslVpnServer Resource
Get an existing SslVpnServer 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?: SslVpnServerState, opts?: CustomResourceOptions): SslVpnServerstatic get(resource_name, id, opts=None, cipher=None, client_ip_pool=None, compress=None, connections=None, internet_ip=None, local_subnet=None, max_connections=None, name=None, port=None, protocol=None, vpn_gateway_id=None, __props__=None);func GetSslVpnServer(ctx *Context, name string, id IDInput, state *SslVpnServerState, opts ...ResourceOption) (*SslVpnServer, error)public static SslVpnServer Get(string name, Input<string> id, SslVpnServerState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- Client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- Compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- Connections int
The number of current connections.
- Internet
Ip string The internet IP of the SSL-VPN server.
- Local
Subnet string 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.- Max
Connections int The maximum number of connections.
- Name string
The name of the SSL-VPN server.
- Port int
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].
- Protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- Vpn
Gateway stringId The ID of the VPN gateway.
- Cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- Client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- Compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- Connections int
The number of current connections.
- Internet
Ip string The internet IP of the SSL-VPN server.
- Local
Subnet string 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.- Max
Connections int The maximum number of connections.
- Name string
The name of the SSL-VPN server.
- Port int
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].
- Protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- Vpn
Gateway stringId The ID of the VPN gateway.
- cipher string
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- client
Ip stringPool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- compress boolean
Specify whether to compress the communication. Valid value: true (default) | false
- connections number
The number of current connections.
- internet
Ip string The internet IP of the SSL-VPN server.
- local
Subnet string 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.- max
Connections number The maximum number of connections.
- name string
The name of the SSL-VPN server.
- port number
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].
- protocol string
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- vpn
Gateway stringId The ID of the VPN gateway.
- cipher str
The encryption algorithm used by the SSL-VPN server. Valid value: AES-128-CBC (default)| AES-192-CBC | AES-256-CBC | none
- client_
ip_ strpool The CIDR block from which access addresses are allocated to the virtual network interface card of the client.
- compress bool
Specify whether to compress the communication. Valid value: true (default) | false
- connections float
The number of current connections.
- internet_
ip str The internet IP of the SSL-VPN server.
- local_
subnet str 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.- max_
connections float The maximum number of connections.
- name str
The name of the SSL-VPN server.
- port float
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].
- protocol str
The protocol used by the SSL-VPN server. Valid value: UDP(default) |TCP
- vpn_
gateway_ strid The ID of the VPN gateway.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.