类 UHostClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.uhost.client.UHostClient
- 所有已实现的接口:
Client,UHostClientInterface,Closeable,AutoCloseable
This client is used to call actions of **UHost** service
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明copyCustomImage(CopyCustomImageRequest request) CopyCustomImage - 复制自制镜像CreateCustomImage - 创建自制镜像CreateIsolationGroup - 创建硬件隔离组CreateUHostInstance - 创建云主机CreateUHostKeyPair - 创建主机密钥对DeleteIsolationGroup - 删除硬件隔离组DeleteUHostKeyPairs - 删除主机密钥DescribeAvailableInstanceTypes - 获取某个地域下可售/售罄的所有机型信息describeImage(DescribeImageRequest request) DescribeImage - 获取镜像列表DescribeIsolationGroup - 查询硬件隔离组DescribeUHostInstance - 获取主机信息DescribeUHostKeyPairs - 查询主机密钥信息DescribeUHostTags - 获取主机业务组列表GetAttachedDiskUpgradePrice - 获取挂载磁盘的升级价格GetUHostInstancePrice - 获取主机价格GetUHostInstanceVncInfo - 获取VNC登录信息GetUHostRefundPrice - 获取主机删除扣除费用GetUHostRenewPrice - 获取主机续费价格GetUHostUpgradePrice - 获取主机规格调整差价ImportCustomImage - 导入镜像ImportUHostKeyPairs - 导入密钥对的公钥部分LeaveIsolationGroup - 移除硬件隔离组中的主机ModifyUHostInstanceName - 修改主机名ModifyUHostInstanceRemark - 修改主机备注ModifyUHostInstanceTag - 修改主机业务组modifyUHostIP(ModifyUHostIPRequest request) ModifyUHostIP - 修改云主机内部 IP 地址PoweroffUHostInstance - 模拟主机掉电RebootUHostInstance - 重启主机ReinstallUHostInstance - 重装系统ResetUHostInstancePassword - 重置主机密码ResizeAttachedDisk - 修改挂载的磁盘大小ResizeUHostInstance - 修改主机规格StartUHostInstance - 启动主机StopUHostInstance - 关闭主机TerminateCustomImage - 删除自制镜像TerminateUHostInstance - 删除云主机从类继承的方法 cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
构造器详细资料
-
UHostClient
-
-
方法详细资料
-
copyCustomImage
public CopyCustomImageResponse copyCustomImage(CopyCustomImageRequest request) throws UCloudException CopyCustomImage - 复制自制镜像- 指定者:
copyCustomImage在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
createCustomImage
public CreateCustomImageResponse createCustomImage(CreateCustomImageRequest request) throws UCloudException CreateCustomImage - 创建自制镜像- 指定者:
createCustomImage在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
createIsolationGroup
public CreateIsolationGroupResponse createIsolationGroup(CreateIsolationGroupRequest request) throws UCloudException CreateIsolationGroup - 创建硬件隔离组- 指定者:
createIsolationGroup在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
createUHostInstance
public CreateUHostInstanceResponse createUHostInstance(CreateUHostInstanceRequest request) throws UCloudException CreateUHostInstance - 创建云主机- 指定者:
createUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
createUHostKeyPair
public CreateUHostKeyPairResponse createUHostKeyPair(CreateUHostKeyPairRequest request) throws UCloudException CreateUHostKeyPair - 创建主机密钥对- 指定者:
createUHostKeyPair在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
deleteIsolationGroup
public DeleteIsolationGroupResponse deleteIsolationGroup(DeleteIsolationGroupRequest request) throws UCloudException DeleteIsolationGroup - 删除硬件隔离组- 指定者:
deleteIsolationGroup在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
deleteUHostKeyPairs
public DeleteUHostKeyPairsResponse deleteUHostKeyPairs(DeleteUHostKeyPairsRequest request) throws UCloudException DeleteUHostKeyPairs - 删除主机密钥- 指定者:
deleteUHostKeyPairs在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeAvailableInstanceTypes
public DescribeAvailableInstanceTypesResponse describeAvailableInstanceTypes(DescribeAvailableInstanceTypesRequest request) throws UCloudException DescribeAvailableInstanceTypes - 获取某个地域下可售/售罄的所有机型信息- 指定者:
describeAvailableInstanceTypes在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeImage
DescribeImage - 获取镜像列表- 指定者:
describeImage在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeIsolationGroup
public DescribeIsolationGroupResponse describeIsolationGroup(DescribeIsolationGroupRequest request) throws UCloudException DescribeIsolationGroup - 查询硬件隔离组- 指定者:
describeIsolationGroup在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeUHostInstance
public DescribeUHostInstanceResponse describeUHostInstance(DescribeUHostInstanceRequest request) throws UCloudException DescribeUHostInstance - 获取主机信息- 指定者:
describeUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeUHostKeyPairs
public DescribeUHostKeyPairsResponse describeUHostKeyPairs(DescribeUHostKeyPairsRequest request) throws UCloudException DescribeUHostKeyPairs - 查询主机密钥信息- 指定者:
describeUHostKeyPairs在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeUHostTags
public DescribeUHostTagsResponse describeUHostTags(DescribeUHostTagsRequest request) throws UCloudException DescribeUHostTags - 获取主机业务组列表- 指定者:
describeUHostTags在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getAttachedDiskUpgradePrice
public GetAttachedDiskUpgradePriceResponse getAttachedDiskUpgradePrice(GetAttachedDiskUpgradePriceRequest request) throws UCloudException GetAttachedDiskUpgradePrice - 获取挂载磁盘的升级价格- 指定者:
getAttachedDiskUpgradePrice在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getUHostInstancePrice
public GetUHostInstancePriceResponse getUHostInstancePrice(GetUHostInstancePriceRequest request) throws UCloudException GetUHostInstancePrice - 获取主机价格- 指定者:
getUHostInstancePrice在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getUHostInstanceVncInfo
public GetUHostInstanceVncInfoResponse getUHostInstanceVncInfo(GetUHostInstanceVncInfoRequest request) throws UCloudException GetUHostInstanceVncInfo - 获取VNC登录信息- 指定者:
getUHostInstanceVncInfo在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getUHostRefundPrice
public GetUHostRefundPriceResponse getUHostRefundPrice(GetUHostRefundPriceRequest request) throws UCloudException GetUHostRefundPrice - 获取主机删除扣除费用- 指定者:
getUHostRefundPrice在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getUHostRenewPrice
public GetUHostRenewPriceResponse getUHostRenewPrice(GetUHostRenewPriceRequest request) throws UCloudException GetUHostRenewPrice - 获取主机续费价格- 指定者:
getUHostRenewPrice在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getUHostUpgradePrice
public GetUHostUpgradePriceResponse getUHostUpgradePrice(GetUHostUpgradePriceRequest request) throws UCloudException GetUHostUpgradePrice - 获取主机规格调整差价- 指定者:
getUHostUpgradePrice在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
importCustomImage
public ImportCustomImageResponse importCustomImage(ImportCustomImageRequest request) throws UCloudException ImportCustomImage - 导入镜像- 指定者:
importCustomImage在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
importUHostKeyPairs
public ImportUHostKeyPairsResponse importUHostKeyPairs(ImportUHostKeyPairsRequest request) throws UCloudException ImportUHostKeyPairs - 导入密钥对的公钥部分- 指定者:
importUHostKeyPairs在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
leaveIsolationGroup
public LeaveIsolationGroupResponse leaveIsolationGroup(LeaveIsolationGroupRequest request) throws UCloudException LeaveIsolationGroup - 移除硬件隔离组中的主机- 指定者:
leaveIsolationGroup在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyUHostIP
ModifyUHostIP - 修改云主机内部 IP 地址- 指定者:
modifyUHostIP在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyUHostInstanceName
public ModifyUHostInstanceNameResponse modifyUHostInstanceName(ModifyUHostInstanceNameRequest request) throws UCloudException ModifyUHostInstanceName - 修改主机名- 指定者:
modifyUHostInstanceName在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyUHostInstanceRemark
public ModifyUHostInstanceRemarkResponse modifyUHostInstanceRemark(ModifyUHostInstanceRemarkRequest request) throws UCloudException ModifyUHostInstanceRemark - 修改主机备注- 指定者:
modifyUHostInstanceRemark在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyUHostInstanceTag
public ModifyUHostInstanceTagResponse modifyUHostInstanceTag(ModifyUHostInstanceTagRequest request) throws UCloudException ModifyUHostInstanceTag - 修改主机业务组- 指定者:
modifyUHostInstanceTag在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
poweroffUHostInstance
public PoweroffUHostInstanceResponse poweroffUHostInstance(PoweroffUHostInstanceRequest request) throws UCloudException PoweroffUHostInstance - 模拟主机掉电- 指定者:
poweroffUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
rebootUHostInstance
public RebootUHostInstanceResponse rebootUHostInstance(RebootUHostInstanceRequest request) throws UCloudException RebootUHostInstance - 重启主机- 指定者:
rebootUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
reinstallUHostInstance
public ReinstallUHostInstanceResponse reinstallUHostInstance(ReinstallUHostInstanceRequest request) throws UCloudException ReinstallUHostInstance - 重装系统- 指定者:
reinstallUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
resetUHostInstancePassword
public ResetUHostInstancePasswordResponse resetUHostInstancePassword(ResetUHostInstancePasswordRequest request) throws UCloudException ResetUHostInstancePassword - 重置主机密码- 指定者:
resetUHostInstancePassword在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
resizeAttachedDisk
public ResizeAttachedDiskResponse resizeAttachedDisk(ResizeAttachedDiskRequest request) throws UCloudException ResizeAttachedDisk - 修改挂载的磁盘大小- 指定者:
resizeAttachedDisk在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
resizeUHostInstance
public ResizeUHostInstanceResponse resizeUHostInstance(ResizeUHostInstanceRequest request) throws UCloudException ResizeUHostInstance - 修改主机规格- 指定者:
resizeUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
startUHostInstance
public StartUHostInstanceResponse startUHostInstance(StartUHostInstanceRequest request) throws UCloudException StartUHostInstance - 启动主机- 指定者:
startUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
stopUHostInstance
public StopUHostInstanceResponse stopUHostInstance(StopUHostInstanceRequest request) throws UCloudException StopUHostInstance - 关闭主机- 指定者:
stopUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
terminateCustomImage
public TerminateCustomImageResponse terminateCustomImage(TerminateCustomImageRequest request) throws UCloudException TerminateCustomImage - 删除自制镜像- 指定者:
terminateCustomImage在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
terminateUHostInstance
public TerminateUHostInstanceResponse terminateUHostInstance(TerminateUHostInstanceRequest request) throws UCloudException TerminateUHostInstance - 删除云主机- 指定者:
terminateUHostInstance在接口中UHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-