ModifySslVpnServer
Description
call the ModifySslVpnServer interface to modify the configuration information of the SSL-VPN server.
Request Method
POST
Request Path
/apsara/route/Vpc/ModifySslVpnServer
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
LocalSubnet | BODY | string | No | 10.20.20.0/24 | the network segment of the local client. |
Compress | BODY | boolean | No | false | specifies whether to compress the communication, value: true: Compress the communication. false(default): communications are not compressed. |
ClientIpPool | BODY | string | No | 10.30.30.0/24 | client IP address pool. |
SslVpnServerId | BODY | string | Yes | vss-bp18q7hzj6largv4v**** | SSL-VPN server instance ID. |
Port | BODY | integer | No | 1194 | SSL-VPN the port used by the 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. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | test | SSL-VPN the name of the server. is 2 to 128 characters in length, must start with a letter or Chinese, and can contain numbers, half-width periods (.), underscores (_), and dashes (-). But you cannot use http:// or https:// start. |
Proto | BODY | string | No | UDP | SSL-VPN the protocol used by the server, value: TCP:TCP protocol. UDP(default):UDP protocol. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env66-d01 | the region ID where the VPN gateway is located. you can obtain the region by calling DescribeRegions interface ID. |
Cipher | BODY | string | No | AES-128-CBC | SSL-VPN used encryption algorithm, value: AES-128-CBC(default):AES-128-CBC algorithm. AES-192-CBC:AES-192-CBC algorithm. AES-256-CBC:AES-256-CBC algorithm. none: no encryption algorithm is used. |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-0016e04115b | client token, used to ensure the idempotence of the request. The parameter value is generated by the client. It must be unique between different requests, and the maximum value is not more than 64 ASCII characters. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}