public class ModifySslVpnServerRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cipher
The encryption algorithm that is used in the SSL-VPN connection.
|
String |
clientIpPool
The client IP address pool.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
compress
Specifies whether to enable data compression.
|
Boolean |
enableMultiFactorAuth
Specifies whether to enable two-factor authentication.
|
String |
IDaaSApplicationId
example:
app_my6g4qmvnwxzj2f****
|
String |
IDaaSInstanceId
The ID of the Identity as a Service (IDaaS) instance.
|
String |
IDaaSRegionId
The ID of the region where the IDaaS instance is created.
|
String |
localSubnet
The CIDR block of the client.
|
String |
name
The name of the SSL server.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
port
The port that is used by the SSL server.
|
String |
proto
The protocol that is used by the SSL server.
|
String |
regionId
The region ID of the VPN gateway.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
sslVpnServerId
The ID of the SSL server.
|
构造器和说明 |
---|
ModifySslVpnServerRequest() |
@NameInMap(value="Cipher") public String cipher
The encryption algorithm that is used in the SSL-VPN connection. Valid values:
AES-128-CBC
@NameInMap(value="ClientIpPool") public String clientIpPool
The client IP address pool.
example:10.30.30.0/24
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID is different for each request.
02fb3da4-130e-11e9-8e44-0016e04115b
@NameInMap(value="Compress") public Boolean compress
Specifies whether to enable data compression. Valid values:
true
@NameInMap(value="EnableMultiFactorAuth") public Boolean enableMultiFactorAuth
Specifies whether to enable two-factor authentication. If you enable two-factor authentication, you must also specify an IDaaS instance ID. Valid values:
example:
- Two-factor authentication supports only IDaaS instances of earlier versions. If you do not have and cannot create IDaaS instances of earlier versions, you cannot enable two-factor authentication.
- For existing SSL servers, if two-factor authentication is already enabled, you can continue to use two-factor authentication.
false
@NameInMap(value="IDaaSApplicationId") public String IDaaSApplicationId
app_my6g4qmvnwxzj2f****
@NameInMap(value="IDaaSInstanceId") public String IDaaSInstanceId
The ID of the Identity as a Service (IDaaS) instance.
example:idaas-cn-hangzhou-****
@NameInMap(value="IDaaSRegionId") public String IDaaSRegionId
The ID of the region where the IDaaS instance is created.
example:cn-hangzhou
@NameInMap(value="LocalSubnet") public String localSubnet
The CIDR block of the client.
example:10.20.20.0/24
@NameInMap(value="Name") public String name
The name of the SSL server.
The name must be 1 to 100 characters in length and cannot start with http://
or https://
.
test
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Port") public Integer port
The port that is used by the SSL server. Valid values of port numbers: 1 to 65535. Default value: 1194.
The following ports are not supported: 22, 2222, 22222, 9000, 9001, 9002, 7505, 80, 443, 53, 68, 123, 4510, 4560, 500, and 4500.
example:1194
@NameInMap(value="Proto") public String proto
The protocol that is used by the SSL server. Valid values:
UDP
@NameInMap(value="RegionId") public String regionId
The region ID of the VPN gateway.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SslVpnServerId") public String sslVpnServerId
The ID of the SSL server.
This parameter is required.
example:vss-bp18q7hzj6largv4v****
public static ModifySslVpnServerRequest build(Map<String,?> map) throws Exception
Exception
public ModifySslVpnServerRequest setCipher(String cipher)
public String getCipher()
public ModifySslVpnServerRequest setClientIpPool(String clientIpPool)
public String getClientIpPool()
public ModifySslVpnServerRequest setClientToken(String clientToken)
public String getClientToken()
public ModifySslVpnServerRequest setCompress(Boolean compress)
public Boolean getCompress()
public ModifySslVpnServerRequest setEnableMultiFactorAuth(Boolean enableMultiFactorAuth)
public Boolean getEnableMultiFactorAuth()
public ModifySslVpnServerRequest setIDaaSApplicationId(String IDaaSApplicationId)
public String getIDaaSApplicationId()
public ModifySslVpnServerRequest setIDaaSInstanceId(String IDaaSInstanceId)
public String getIDaaSInstanceId()
public ModifySslVpnServerRequest setIDaaSRegionId(String IDaaSRegionId)
public String getIDaaSRegionId()
public ModifySslVpnServerRequest setLocalSubnet(String localSubnet)
public String getLocalSubnet()
public ModifySslVpnServerRequest setName(String name)
public String getName()
public ModifySslVpnServerRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifySslVpnServerRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifySslVpnServerRequest setPort(Integer port)
public Integer getPort()
public ModifySslVpnServerRequest setProto(String proto)
public String getProto()
public ModifySslVpnServerRequest setRegionId(String regionId)
public String getRegionId()
public ModifySslVpnServerRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifySslVpnServerRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifySslVpnServerRequest setSslVpnServerId(String sslVpnServerId)
public String getSslVpnServerId()
Copyright © 2024. All rights reserved.