类 UPHostClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.uphost.client.UPHostClient
- 所有已实现的接口:
Client,UPHostClientInterface,Closeable,AutoCloseable
This client is used to call actions of **UPHost** service
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createPHost(CreatePHostRequest request) CreatePHost - 创建物理机createPHostImage(CreatePHostImageRequest request) CreatePHostImage - 创建裸金属2.0用户自定义镜像DescribeBaremetalMachineType - 获取裸金属机型的详细信息describePHost(DescribePHostRequest request) DescribePHost - 获取物理机信息DescribePHostImage - 获取物理机镜像DescribePHostMachineType - 获取物理云机型信息DescribePHostTags - 获取物理机业务组GetPHostDiskUpgradePrice - 获取物理云裸金属挂载云盘的升级价格getPHostPrice(GetPHostPriceRequest request) GetPHostPrice - 获取物理机价格ModifyPHostImageInfo - 修改物理云自定义镜像信息modifyPHostInfo(ModifyPHostInfoRequest request) ModifyPHostInfo - 更改物理机信息poweroffPHost(PoweroffPHostRequest request) PoweroffPHost - 断电物理机rebootPHost(RebootPHostRequest request) RebootPHost - 重启物理机reinstallPHost(ReinstallPHostRequest request) ReinstallPHost - 重装物理机ResetPHostPassword - 重置实例密码ResizePHostAttachedDisk - 修改挂载的磁盘大小startPHost(StartPHostRequest request) StartPHost - 启动物理机stopPHost(StopPHostRequest request) StopPHost - 关闭物理机terminatePHost(TerminatePHostRequest request) TerminatePHost - 删除物理机TerminatePHostImage - 删除裸金属2.0用户自定义镜像从类继承的方法 cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
构造器详细资料
-
UPHostClient
-
-
方法详细资料
-
createPHost
CreatePHost - 创建物理机- 指定者:
createPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
createPHostImage
public CreatePHostImageResponse createPHostImage(CreatePHostImageRequest request) throws UCloudException CreatePHostImage - 创建裸金属2.0用户自定义镜像- 指定者:
createPHostImage在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describeBaremetalMachineType
public DescribeBaremetalMachineTypeResponse describeBaremetalMachineType(DescribeBaremetalMachineTypeRequest request) throws UCloudException DescribeBaremetalMachineType - 获取裸金属机型的详细信息- 指定者:
describeBaremetalMachineType在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describePHost
DescribePHost - 获取物理机信息- 指定者:
describePHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describePHostImage
public DescribePHostImageResponse describePHostImage(DescribePHostImageRequest request) throws UCloudException DescribePHostImage - 获取物理机镜像- 指定者:
describePHostImage在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describePHostMachineType
public DescribePHostMachineTypeResponse describePHostMachineType(DescribePHostMachineTypeRequest request) throws UCloudException DescribePHostMachineType - 获取物理云机型信息- 指定者:
describePHostMachineType在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
describePHostTags
public DescribePHostTagsResponse describePHostTags(DescribePHostTagsRequest request) throws UCloudException DescribePHostTags - 获取物理机业务组- 指定者:
describePHostTags在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getPHostDiskUpgradePrice
public GetPHostDiskUpgradePriceResponse getPHostDiskUpgradePrice(GetPHostDiskUpgradePriceRequest request) throws UCloudException GetPHostDiskUpgradePrice - 获取物理云裸金属挂载云盘的升级价格- 指定者:
getPHostDiskUpgradePrice在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
getPHostPrice
GetPHostPrice - 获取物理机价格- 指定者:
getPHostPrice在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyPHostImageInfo
public ModifyPHostImageInfoResponse modifyPHostImageInfo(ModifyPHostImageInfoRequest request) throws UCloudException ModifyPHostImageInfo - 修改物理云自定义镜像信息- 指定者:
modifyPHostImageInfo在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
modifyPHostInfo
public ModifyPHostInfoResponse modifyPHostInfo(ModifyPHostInfoRequest request) throws UCloudException ModifyPHostInfo - 更改物理机信息- 指定者:
modifyPHostInfo在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
poweroffPHost
PoweroffPHost - 断电物理机- 指定者:
poweroffPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
rebootPHost
RebootPHost - 重启物理机- 指定者:
rebootPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
reinstallPHost
ReinstallPHost - 重装物理机- 指定者:
reinstallPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
resetPHostPassword
public ResetPHostPasswordResponse resetPHostPassword(ResetPHostPasswordRequest request) throws UCloudException ResetPHostPassword - 重置实例密码- 指定者:
resetPHostPassword在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
resizePHostAttachedDisk
public ResizePHostAttachedDiskResponse resizePHostAttachedDisk(ResizePHostAttachedDiskRequest request) throws UCloudException ResizePHostAttachedDisk - 修改挂载的磁盘大小- 指定者:
resizePHostAttachedDisk在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
startPHost
StartPHost - 启动物理机- 指定者:
startPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
stopPHost
StopPHost - 关闭物理机- 指定者:
stopPHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
terminatePHost
TerminatePHost - 删除物理机- 指定者:
terminatePHost在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-
terminatePHostImage
public TerminatePHostImageResponse terminatePHostImage(TerminatePHostImageRequest request) throws UCloudException TerminatePHostImage - 删除裸金属2.0用户自定义镜像- 指定者:
terminatePHostImage在接口中UPHostClientInterface- 参数:
request- Request object- 抛出:
UCloudException- Exception
-