Package cn.ucloud.ipsecvpn.client
Class IPSecVPNClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.ipsecvpn.client.IPSecVPNClient
-
- All Implemented Interfaces:
Client,IPSecVPNClientInterface
public class IPSecVPNClient extends DefaultClient implements IPSecVPNClientInterface
This client is used to call actions of **IPSecVPN** service
-
-
Constructor Summary
Constructors Constructor Description IPSecVPNClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
IPSecVPNClient
public IPSecVPNClient(Config config, Credential credential)
-
-
Method Detail
-
createRemoteVPNGateway
public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(CreateRemoteVPNGatewayRequest request) throws UCloudException
CreateRemoteVPNGateway - 创建客户VPN网关- Specified by:
createRemoteVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createVPNGateway
public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request) throws UCloudException
CreateVPNGateway - 创建VPN网关- Specified by:
createVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createVPNTunnel
public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request) throws UCloudException
CreateVPNTunnel - 创建VPN隧道- Specified by:
createVPNTunnelin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteRemoteVPNGateway
public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(DeleteRemoteVPNGatewayRequest request) throws UCloudException
DeleteRemoteVPNGateway - 删除客户VPN网关- Specified by:
deleteRemoteVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteVPNGateway
public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request) throws UCloudException
DeleteVPNGateway - 删除VPN网关- Specified by:
deleteVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteVPNTunnel
public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request) throws UCloudException
DeleteVPNTunnel - 删除VPN隧道- Specified by:
deleteVPNTunnelin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeRemoteVPNGateway
public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(DescribeRemoteVPNGatewayRequest request) throws UCloudException
DescribeRemoteVPNGateway - 获取客户VPN网关信息- Specified by:
describeRemoteVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVPNGateway
public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request) throws UCloudException
DescribeVPNGateway - 获取VPN网关信息- Specified by:
describeVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeVPNTunnel
public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request) throws UCloudException
DescribeVPNTunnel - 获取VPN隧道信息- Specified by:
describeVPNTunnelin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getVPNGatewayPrice
public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request) throws UCloudException
GetVPNGatewayPrice - 获取VPN价格- Specified by:
getVPNGatewayPricein interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getVPNGatewayUpgradePrice
public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(GetVPNGatewayUpgradePriceRequest request) throws UCloudException
GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格- Specified by:
getVPNGatewayUpgradePricein interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateVPNGateway
public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request) throws UCloudException
UpdateVPNGateway - 更改VPN网关规格- Specified by:
updateVPNGatewayin interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateVPNTunnelAttribute
public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(UpdateVPNTunnelAttributeRequest request) throws UCloudException
UpdateVPNTunnelAttribute - 更新VPN隧道属性- Specified by:
updateVPNTunnelAttributein interfaceIPSecVPNClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-