Package cn.ucloud.uec.client
Class UECClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.uec.client.UECClient
-
- All Implemented Interfaces:
Client,UECClientInterface,Closeable,AutoCloseable
public class UECClient extends DefaultClient implements UECClientInterface
This client is used to call actions of **UEC** service
-
-
Constructor Summary
Constructors Constructor Description UECClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UECClient
public UECClient(Config config, Credential credential)
-
-
Method Detail
-
bindUEcFirewall
public BindUEcFirewallResponse bindUEcFirewall(BindUEcFirewallRequest request) throws UCloudException
BindUEcFirewall - 绑定防火墙- Specified by:
bindUEcFirewallin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUEcCustomImage
public CreateUEcCustomImageResponse createUEcCustomImage(CreateUEcCustomImageRequest request) throws UCloudException
CreateUEcCustomImage - 创建自制镜像- Specified by:
createUEcCustomImagein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUEcFirewall
public CreateUEcFirewallResponse createUEcFirewall(CreateUEcFirewallRequest request) throws UCloudException
CreateUEcFirewall - 创建外网防火墙- Specified by:
createUEcFirewallin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUEcHolder
public CreateUEcHolderResponse createUEcHolder(CreateUEcHolderRequest request) throws UCloudException
CreateUEcHolder - 创建容器组- Specified by:
createUEcHolderin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUEcSubnet
public CreateUEcSubnetResponse createUEcSubnet(CreateUEcSubnetRequest request) throws UCloudException
CreateUEcSubnet - 创建子网- Specified by:
createUEcSubnetin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUEcVHost
public CreateUEcVHostResponse createUEcVHost(CreateUEcVHostRequest request) throws UCloudException
CreateUEcVHost - 创建虚拟机- Specified by:
createUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUEcCustomImage
public DeleteUEcCustomImageResponse deleteUEcCustomImage(DeleteUEcCustomImageRequest request) throws UCloudException
DeleteUEcCustomImage - 删除UEC客户自定义镜像- Specified by:
deleteUEcCustomImagein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUEcHolder
public DeleteUEcHolderResponse deleteUEcHolder(DeleteUEcHolderRequest request) throws UCloudException
DeleteUEcHolder - 删除容器组- Specified by:
deleteUEcHolderin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUEcSubnet
public DeleteUEcSubnetResponse deleteUEcSubnet(DeleteUEcSubnetRequest request) throws UCloudException
DeleteUEcSubnet - 删除子网- Specified by:
deleteUEcSubnetin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUEcVHost
public DeleteUEcVHostResponse deleteUEcVHost(DeleteUEcVHostRequest request) throws UCloudException
DeleteUEcVHost - 删除vhost虚拟机- Specified by:
deleteUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcFirewall
public DescribeUEcFirewallResponse describeUEcFirewall(DescribeUEcFirewallRequest request) throws UCloudException
DescribeUEcFirewall - 获取防火墙信息- Specified by:
describeUEcFirewallin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcFirewallResource
public DescribeUEcFirewallResourceResponse describeUEcFirewallResource(DescribeUEcFirewallResourceRequest request) throws UCloudException
DescribeUEcFirewallResource - 防火墙绑定的资源列表- Specified by:
describeUEcFirewallResourcein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcHolder
public DescribeUEcHolderResponse describeUEcHolder(DescribeUEcHolderRequest request) throws UCloudException
DescribeUEcHolder - 获得容器组信息- Specified by:
describeUEcHolderin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcHolderIDC
public DescribeUEcHolderIDCResponse describeUEcHolderIDC(DescribeUEcHolderIDCRequest request) throws UCloudException
DescribeUEcHolderIDC - 获取容器组机房信息- Specified by:
describeUEcHolderIDCin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcIDC
public DescribeUEcIDCResponse describeUEcIDC(DescribeUEcIDCRequest request) throws UCloudException
DescribeUEcIDC - 获取IDC机房列表- Specified by:
describeUEcIDCin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcSubnet
public DescribeUEcSubnetResponse describeUEcSubnet(DescribeUEcSubnetRequest request) throws UCloudException
DescribeUEcSubnet - 获取子网列表- Specified by:
describeUEcSubnetin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcVHost
public DescribeUEcVHostResponse describeUEcVHost(DescribeUEcVHostRequest request) throws UCloudException
DescribeUEcVHost - 获取虚拟机列表- Specified by:
describeUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUEcVHostISP
public DescribeUEcVHostISPResponse describeUEcVHostISP(DescribeUEcVHostISPRequest request) throws UCloudException
DescribeUEcVHostISP - 获取虚拟机运营商信息- Specified by:
describeUEcVHostISPin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcHolderLog
public GetUEcHolderLogResponse getUEcHolderLog(GetUEcHolderLogRequest request) throws UCloudException
GetUEcHolderLog - 获取容器日志- Specified by:
getUEcHolderLogin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcHolderMetrics
public GetUEcHolderMetricsResponse getUEcHolderMetrics(GetUEcHolderMetricsRequest request) throws UCloudException
GetUEcHolderMetrics - 获取容器监控数据- Specified by:
getUEcHolderMetricsin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcIDCCutInfo
public GetUEcIDCCutInfoResponse getUEcIDCCutInfo(GetUEcIDCCutInfoRequest request) throws UCloudException
GetUEcIDCCutInfo - 获得机房割接信息- Specified by:
getUEcIDCCutInfoin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcIDCVHostData
public GetUEcIDCVHostDataResponse getUEcIDCVHostData(GetUEcIDCVHostDataRequest request) throws UCloudException
GetUEcIDCVHostData - 获取机房虚拟机监控数据- Specified by:
getUEcIDCVHostDatain interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcImage
public GetUEcImageResponse getUEcImage(GetUEcImageRequest request) throws UCloudException
GetUEcImage - 获取镜像列表- Specified by:
getUEcImagein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcPodPrice
public GetUEcPodPriceResponse getUEcPodPrice(GetUEcPodPriceRequest request) throws UCloudException
GetUEcPodPrice - 获得容器组价格- Specified by:
getUEcPodPricein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcUpgradePrice
public GetUEcUpgradePriceResponse getUEcUpgradePrice(GetUEcUpgradePriceRequest request) throws UCloudException
GetUEcUpgradePrice - 获取虚拟机调整差价- Specified by:
getUEcUpgradePricein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcVHostData
public GetUEcVHostDataResponse getUEcVHostData(GetUEcVHostDataRequest request) throws UCloudException
GetUEcVHostData - 获取虚拟机监控数据- Specified by:
getUEcVHostDatain interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUEcVHostPrice
public GetUEcVHostPriceResponse getUEcVHostPrice(GetUEcVHostPriceRequest request) throws UCloudException
GetUEcVHostPrice - 获取虚拟机价格- Specified by:
getUEcVHostPricein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
importUEcCustomImage
public ImportUEcCustomImageResponse importUEcCustomImage(ImportUEcCustomImageRequest request) throws UCloudException
ImportUEcCustomImage - 导入自定义镜像- Specified by:
importUEcCustomImagein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
loginUEcDocker
public LoginUEcDockerResponse loginUEcDocker(LoginUEcDockerRequest request) throws UCloudException
LoginUEcDocker - 登录容器- Specified by:
loginUEcDockerin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUEcBandwidth
public ModifyUEcBandwidthResponse modifyUEcBandwidth(ModifyUEcBandwidthRequest request) throws UCloudException
ModifyUEcBandwidth - 修改节点带宽限制- Specified by:
modifyUEcBandwidthin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUEcHolderName
public ModifyUEcHolderNameResponse modifyUEcHolderName(ModifyUEcHolderNameRequest request) throws UCloudException
ModifyUEcHolderName - 修改容器组名称- Specified by:
modifyUEcHolderNamein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUEcImageName
public ModifyUEcImageNameResponse modifyUEcImageName(ModifyUEcImageNameRequest request) throws UCloudException
ModifyUEcImageName - 修改镜像名称- Specified by:
modifyUEcImageNamein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
poweroffUEcVHost
public PoweroffUEcVHostResponse poweroffUEcVHost(PoweroffUEcVHostRequest request) throws UCloudException
PoweroffUEcVHost - 虚拟机断电- Specified by:
poweroffUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
reinstallUEcVHost
public ReinstallUEcVHostResponse reinstallUEcVHost(ReinstallUEcVHostRequest request) throws UCloudException
ReinstallUEcVHost - 虚拟机重装系统- Specified by:
reinstallUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUEcHolder
public RestartUEcHolderResponse restartUEcHolder(RestartUEcHolderRequest request) throws UCloudException
RestartUEcHolder - 重启容器组- Specified by:
restartUEcHolderin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUEcVHost
public RestartUEcVHostResponse restartUEcVHost(RestartUEcVHostRequest request) throws UCloudException
RestartUEcVHost - 重启虚拟机- Specified by:
restartUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startUEcVHost
public StartUEcVHostResponse startUEcVHost(StartUEcVHostRequest request) throws UCloudException
StartUEcVHost - 启动UEC虚拟机- Specified by:
startUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopUEcVHost
public StopUEcVHostResponse stopUEcVHost(StopUEcVHostRequest request) throws UCloudException
StopUEcVHost - 停止UEC虚拟机- Specified by:
stopUEcVHostin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unBindUEcFirewall
public UnBindUEcFirewallResponse unBindUEcFirewall(UnBindUEcFirewallRequest request) throws UCloudException
UnBindUEcFirewall - 解绑防火墙- Specified by:
unBindUEcFirewallin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUEcFirewall
public UpdateUEcFirewallResponse updateUEcFirewall(UpdateUEcFirewallRequest request) throws UCloudException
UpdateUEcFirewall - 更新防火墙信息- Specified by:
updateUEcFirewallin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUEcFirewallAttribute
public UpdateUEcFirewallAttributeResponse updateUEcFirewallAttribute(UpdateUEcFirewallAttributeRequest request) throws UCloudException
UpdateUEcFirewallAttribute - 更新防火墙属性- Specified by:
updateUEcFirewallAttributein interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUEcSubnet
public UpdateUEcSubnetResponse updateUEcSubnet(UpdateUEcSubnetRequest request) throws UCloudException
UpdateUEcSubnet - 更新子网信息- Specified by:
updateUEcSubnetin interfaceUECClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-