Package cn.ucloud.udisk.client
Class UDiskClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.udisk.client.UDiskClient
-
- All Implemented Interfaces:
Client,UDiskClientInterface
public class UDiskClient extends DefaultClient implements UDiskClientInterface
This client is used to call actions of **UDisk** service
-
-
Constructor Summary
Constructors Constructor Description UDiskClient(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
-
UDiskClient
public UDiskClient(Config config, Credential credential)
-
-
Method Detail
-
attachUDisk
public AttachUDiskResponse attachUDisk(AttachUDiskRequest request) throws UCloudException
AttachUDisk - 挂载云硬盘- Specified by:
attachUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
cloneUDisk
public CloneUDiskResponse cloneUDisk(CloneUDiskRequest request) throws UCloudException
CloneUDisk - 克隆云硬盘- Specified by:
cloneUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
cloneUDiskSnapshot
public CloneUDiskSnapshotResponse cloneUDiskSnapshot(CloneUDiskSnapshotRequest request) throws UCloudException
CloneUDiskSnapshot - 克隆快照- Specified by:
cloneUDiskSnapshotin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
cloneUDiskUDataArk
public CloneUDiskUDataArkResponse cloneUDiskUDataArk(CloneUDiskUDataArkRequest request) throws UCloudException
CloneUDiskUDataArk - 从数据方舟的备份创建UDisk- Specified by:
cloneUDiskUDataArkin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createAttachUDisk
public CreateAttachUDiskResponse createAttachUDisk(CreateAttachUDiskRequest request) throws UCloudException
CreateAttachUDisk - 创建并挂载云硬盘- Specified by:
createAttachUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDisk
public CreateUDiskResponse createUDisk(CreateUDiskRequest request) throws UCloudException
CreateUDisk - 创建云硬盘- Specified by:
createUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDiskSnapshot
public CreateUDiskSnapshotResponse createUDiskSnapshot(CreateUDiskSnapshotRequest request) throws UCloudException
CreateUDiskSnapshot - 创建快照- Specified by:
createUDiskSnapshotin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDisk
public DeleteUDiskResponse deleteUDisk(DeleteUDiskRequest request) throws UCloudException
DeleteUDisk - 删除云硬盘- Specified by:
deleteUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDiskSnapshot
public DeleteUDiskSnapshotResponse deleteUDiskSnapshot(DeleteUDiskSnapshotRequest request) throws UCloudException
DeleteUDiskSnapshot - 删除快照- Specified by:
deleteUDiskSnapshotin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeRecycleUDisk
public DescribeRecycleUDiskResponse describeRecycleUDisk(DescribeRecycleUDiskRequest request) throws UCloudException
DescribeRecycleUDisk - 【已废弃】拉取回收站中云硬盘列表- Specified by:
describeRecycleUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDisk
public DescribeUDiskResponse describeUDisk(DescribeUDiskRequest request) throws UCloudException
DescribeUDisk - 获取云硬盘列表- Specified by:
describeUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDiskPrice
public DescribeUDiskPriceResponse describeUDiskPrice(DescribeUDiskPriceRequest request) throws UCloudException
DescribeUDiskPrice - 获取云硬盘价格- Specified by:
describeUDiskPricein interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDiskSnapshot
public DescribeUDiskSnapshotResponse describeUDiskSnapshot(DescribeUDiskSnapshotRequest request) throws UCloudException
DescribeUDiskSnapshot - 获取快照列表- Specified by:
describeUDiskSnapshotin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDiskUpgradePrice
public DescribeUDiskUpgradePriceResponse describeUDiskUpgradePrice(DescribeUDiskUpgradePriceRequest request) throws UCloudException
DescribeUDiskUpgradePrice - 获取云硬盘升级价格- Specified by:
describeUDiskUpgradePricein interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
detachUDisk
public DetachUDiskResponse detachUDisk(DetachUDiskRequest request) throws UCloudException
DetachUDisk - 卸载云硬盘- Specified by:
detachUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
recoverUDisk
public RecoverUDiskResponse recoverUDisk(RecoverUDiskRequest request) throws UCloudException
RecoverUDisk - 【已废弃】恢复云硬盘- Specified by:
recoverUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
renameUDisk
public RenameUDiskResponse renameUDisk(RenameUDiskRequest request) throws UCloudException
RenameUDisk - 重命名云硬盘- Specified by:
renameUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeUDisk
public ResizeUDiskResponse resizeUDisk(ResizeUDiskRequest request) throws UCloudException
ResizeUDisk - 调整云硬盘- Specified by:
resizeUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restoreUDisk
public RestoreUDiskResponse restoreUDisk(RestoreUDiskRequest request) throws UCloudException
RestoreUDisk - 从备份恢复数据至UDisk- Specified by:
restoreUDiskin interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUDiskUDataArkMode
public SetUDiskUDataArkModeResponse setUDiskUDataArkMode(SetUDiskUDataArkModeRequest request) throws UCloudException
SetUDiskUDataArkMode - 设置UDisk数据方舟的状态- Specified by:
setUDiskUDataArkModein interfaceUDiskClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-