Skip to main content

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

NameLocationTypeRequiredSample valueDescription
LocalSubnetBODYstringNo10.20.20.0/24the network segment of the local client.
CompressBODYbooleanNofalsespecifies whether to compress the communication, value: true: Compress the communication. false(default): communications are not compressed.
ClientIpPoolBODYstringNo10.30.30.0/24client IP address pool.
SslVpnServerIdBODYstringYesvss-bp18q7hzj6largv4v****SSL-VPN server instance ID.
PortBODYintegerNo1194SSL-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.
versionBODYstringNo2016-01-01version of api
NameBODYstringNotestSSL-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.
ProtoBODYstringNoUDPSSL-VPN the protocol used by the server, value: TCP:TCP protocol. UDP(default):UDP protocol.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env66-d01the region ID where the VPN gateway is located. you can obtain the region by calling DescribeRegions interface ID.
CipherBODYstringNoAES-128-CBCSSL-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.
ClientTokenBODYstringNo02fb3da4-130e-11e9-8e44-0016e04115bclient 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

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}