Package cn.ucloud.unet.client
Class UNetClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.unet.client.UNetClient
-
- All Implemented Interfaces:
Client,UNetClientInterface
public class UNetClient extends DefaultClient implements UNetClientInterface
This client is used to call actions of **UNet** service
-
-
Constructor Summary
Constructors Constructor Description UNetClient(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
-
UNetClient
public UNetClient(Config config, Credential credential)
-
-
Method Detail
-
allocateEIP
public AllocateEIPResponse allocateEIP(AllocateEIPRequest request) throws UCloudException
AllocateEIP - 申请弹性IP- Specified by:
allocateEIPin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
allocateShareBandwidth
public AllocateShareBandwidthResponse allocateShareBandwidth(AllocateShareBandwidthRequest request) throws UCloudException
AllocateShareBandwidth - 开通共享带宽- Specified by:
allocateShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
associateEIPWithShareBandwidth
public AssociateEIPWithShareBandwidthResponse associateEIPWithShareBandwidth(AssociateEIPWithShareBandwidthRequest request) throws UCloudException
AssociateEIPWithShareBandwidth - 将EIP加入共享带宽- Specified by:
associateEIPWithShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
bindEIP
public BindEIPResponse bindEIP(BindEIPRequest request) throws UCloudException
BindEIP - 绑定弹性IP- Specified by:
bindEIPin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createBandwidthPackage
public CreateBandwidthPackageResponse createBandwidthPackage(CreateBandwidthPackageRequest request) throws UCloudException
CreateBandwidthPackage - 创建带宽包- Specified by:
createBandwidthPackagein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createFirewall
public CreateFirewallResponse createFirewall(CreateFirewallRequest request) throws UCloudException
CreateFirewall - 创建防火墙- Specified by:
createFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteBandwidthPackage
public DeleteBandwidthPackageResponse deleteBandwidthPackage(DeleteBandwidthPackageRequest request) throws UCloudException
DeleteBandwidthPackage - 删除带宽包- Specified by:
deleteBandwidthPackagein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteFirewall
public DeleteFirewallResponse deleteFirewall(DeleteFirewallRequest request) throws UCloudException
DeleteFirewall - 删除防火墙- Specified by:
deleteFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeBandwidthPackage
public DescribeBandwidthPackageResponse describeBandwidthPackage(DescribeBandwidthPackageRequest request) throws UCloudException
DescribeBandwidthPackage - 获取带宽包信息- Specified by:
describeBandwidthPackagein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeBandwidthUsage
public DescribeBandwidthUsageResponse describeBandwidthUsage(DescribeBandwidthUsageRequest request) throws UCloudException
DescribeBandwidthUsage - 获取带宽用量- Specified by:
describeBandwidthUsagein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeEIP
public DescribeEIPResponse describeEIP(DescribeEIPRequest request) throws UCloudException
DescribeEIP - 获取弹性IP信息- Specified by:
describeEIPin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeFirewall
public DescribeFirewallResponse describeFirewall(DescribeFirewallRequest request) throws UCloudException
DescribeFirewall - 获取防火墙信息- Specified by:
describeFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeFirewallResource
public DescribeFirewallResourceResponse describeFirewallResource(DescribeFirewallResourceRequest request) throws UCloudException
DescribeFirewallResource - 获取防火墙绑定资源- Specified by:
describeFirewallResourcein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeShareBandwidth
public DescribeShareBandwidthResponse describeShareBandwidth(DescribeShareBandwidthRequest request) throws UCloudException
DescribeShareBandwidth - 获取共享带宽信息- Specified by:
describeShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeShareBandwidthPrice
public DescribeShareBandwidthPriceResponse describeShareBandwidthPrice(DescribeShareBandwidthPriceRequest request) throws UCloudException
DescribeShareBandwidthPrice - 获取共享带宽价格- Specified by:
describeShareBandwidthPricein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeShareBandwidthUpdatePrice
public DescribeShareBandwidthUpdatePriceResponse describeShareBandwidthUpdatePrice(DescribeShareBandwidthUpdatePriceRequest request) throws UCloudException
DescribeShareBandwidthUpdatePrice - 获取共享带宽升级价格- Specified by:
describeShareBandwidthUpdatePricein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
disassociateEIPWithShareBandwidth
public DisassociateEIPWithShareBandwidthResponse disassociateEIPWithShareBandwidth(DisassociateEIPWithShareBandwidthRequest request) throws UCloudException
DisassociateEIPWithShareBandwidth - 将EIP移出共享带宽- Specified by:
disassociateEIPWithShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
disassociateFirewall
public DisassociateFirewallResponse disassociateFirewall(DisassociateFirewallRequest request) throws UCloudException
DisassociateFirewall - 解绑防火墙- Specified by:
disassociateFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getEIPPayMode
public GetEIPPayModeResponse getEIPPayMode(GetEIPPayModeRequest request) throws UCloudException
GetEIPPayMode - 获取弹性IP计费方式- Specified by:
getEIPPayModein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getEIPPrice
public GetEIPPriceResponse getEIPPrice(GetEIPPriceRequest request) throws UCloudException
GetEIPPrice - 获取弹性IP价格- Specified by:
getEIPPricein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getEIPUpgradePrice
public GetEIPUpgradePriceResponse getEIPUpgradePrice(GetEIPUpgradePriceRequest request) throws UCloudException
GetEIPUpgradePrice - 获取弹性IP带宽改动价格- Specified by:
getEIPUpgradePricein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getThroughputDailyBillingInfo
public GetThroughputDailyBillingInfoResponse getThroughputDailyBillingInfo(GetThroughputDailyBillingInfoRequest request) throws UCloudException
GetThroughputDailyBillingInfo - 获取流量计费EIP每日流量计费信息- Specified by:
getThroughputDailyBillingInfoin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
grantFirewall
public GrantFirewallResponse grantFirewall(GrantFirewallRequest request) throws UCloudException
GrantFirewall - 应用防火墙- Specified by:
grantFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyEIPBandwidth
public ModifyEIPBandwidthResponse modifyEIPBandwidth(ModifyEIPBandwidthRequest request) throws UCloudException
ModifyEIPBandwidth - 调整弹性IP带宽- Specified by:
modifyEIPBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyEIPWeight
public ModifyEIPWeightResponse modifyEIPWeight(ModifyEIPWeightRequest request) throws UCloudException
ModifyEIPWeight - 修改弹性IP出口权重- Specified by:
modifyEIPWeightin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
releaseEIP
public ReleaseEIPResponse releaseEIP(ReleaseEIPRequest request) throws UCloudException
ReleaseEIP - 释放弹性IP- Specified by:
releaseEIPin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
releaseShareBandwidth
public ReleaseShareBandwidthResponse releaseShareBandwidth(ReleaseShareBandwidthRequest request) throws UCloudException
ReleaseShareBandwidth - 关闭共享带宽- Specified by:
releaseShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeShareBandwidth
public ResizeShareBandwidthResponse resizeShareBandwidth(ResizeShareBandwidthRequest request) throws UCloudException
ResizeShareBandwidth - 调整共享带宽- Specified by:
resizeShareBandwidthin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setEIPPayMode
public SetEIPPayModeResponse setEIPPayMode(SetEIPPayModeRequest request) throws UCloudException
SetEIPPayMode - 设置弹性IP计费方式- Specified by:
setEIPPayModein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unBindEIP
public UnBindEIPResponse unBindEIP(UnBindEIPRequest request) throws UCloudException
UnBindEIP - 解绑弹性IP- Specified by:
unBindEIPin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateEIPAttribute
public UpdateEIPAttributeResponse updateEIPAttribute(UpdateEIPAttributeRequest request) throws UCloudException
UpdateEIPAttribute - 更新弹性IP属性- Specified by:
updateEIPAttributein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateFirewall
public UpdateFirewallResponse updateFirewall(UpdateFirewallRequest request) throws UCloudException
UpdateFirewall - 更新防火墙规则- Specified by:
updateFirewallin interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateFirewallAttribute
public UpdateFirewallAttributeResponse updateFirewallAttribute(UpdateFirewallAttributeRequest request) throws UCloudException
UpdateFirewallAttribute - 更新防火墙属性- Specified by:
updateFirewallAttributein interfaceUNetClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-