Package cn.ucloud.ucompshare.client
Class UCompShareClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.ucompshare.client.UCompShareClient
-
- All Implemented Interfaces:
Client,UCompShareClientInterface,Closeable,AutoCloseable
public class UCompShareClient extends DefaultClient implements UCompShareClientInterface
This client is used to call actions of **UCompShare** service
-
-
Constructor Summary
Constructors Constructor Description UCompShareClient(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
-
UCompShareClient
public UCompShareClient(Config config, Credential credential)
-
-
Method Detail
-
createULHostInstance
public CreateULHostInstanceResponse createULHostInstance(CreateULHostInstanceRequest request) throws UCloudException
CreateULHostInstance - 创建轻量应用云主机- Specified by:
createULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeULHostBundles
public DescribeULHostBundlesResponse describeULHostBundles(DescribeULHostBundlesRequest request) throws UCloudException
DescribeULHostBundles - 获取轻量应用云主机套餐列表- Specified by:
describeULHostBundlesin interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeULHostInstance
public DescribeULHostInstanceResponse describeULHostInstance(DescribeULHostInstanceRequest request) throws UCloudException
DescribeULHostInstance - 获取轻量应用云主机列表- Specified by:
describeULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getULHostInstancePrice
public GetULHostInstancePriceResponse getULHostInstancePrice(GetULHostInstancePriceRequest request) throws UCloudException
GetULHostInstancePrice - 获取轻量应用云主机套餐价格- Specified by:
getULHostInstancePricein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getULHostRenewPrice
public GetULHostRenewPriceResponse getULHostRenewPrice(GetULHostRenewPriceRequest request) throws UCloudException
GetULHostRenewPrice - 获取主机续费价格- Specified by:
getULHostRenewPricein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyULHostAttribute
public ModifyULHostAttributeResponse modifyULHostAttribute(ModifyULHostAttributeRequest request) throws UCloudException
ModifyULHostAttribute - 修改轻量应用主机属性信息- Specified by:
modifyULHostAttributein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
poweroffULHostInstance
public PoweroffULHostInstanceResponse poweroffULHostInstance(PoweroffULHostInstanceRequest request) throws UCloudException
PoweroffULHostInstance - 模拟主机掉电- Specified by:
poweroffULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
rebootULHostInstance
public RebootULHostInstanceResponse rebootULHostInstance(RebootULHostInstanceRequest request) throws UCloudException
RebootULHostInstance - 重启轻量应用云主机- Specified by:
rebootULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
reinstallULHostInstance
public ReinstallULHostInstanceResponse reinstallULHostInstance(ReinstallULHostInstanceRequest request) throws UCloudException
ReinstallULHostInstance - 重装轻量应用云主机- Specified by:
reinstallULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resetULHostInstancePassword
public ResetULHostInstancePasswordResponse resetULHostInstancePassword(ResetULHostInstancePasswordRequest request) throws UCloudException
ResetULHostInstancePassword - 重置轻量应用云主机密码- Specified by:
resetULHostInstancePasswordin interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startULHostInstance
public StartULHostInstanceResponse startULHostInstance(StartULHostInstanceRequest request) throws UCloudException
StartULHostInstance - 启动轻量应用主机- Specified by:
startULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopULHostInstance
public StopULHostInstanceResponse stopULHostInstance(StopULHostInstanceRequest request) throws UCloudException
StopULHostInstance - 关闭轻量应用云主机- Specified by:
stopULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
terminateULHostInstance
public TerminateULHostInstanceResponse terminateULHostInstance(TerminateULHostInstanceRequest request) throws UCloudException
TerminateULHostInstance - 删除轻量应用云主机- Specified by:
terminateULHostInstancein interfaceUCompShareClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-