ZStack Logo

ZStack AIOS

主存储相关接口

完整平台用户手册,包含基础云平台能力与 AIOS 相关章节。

API 描述
DeletePrimaryStorage 删除主存储
QueryPrimaryStorage 查询主存储
AttachPrimaryStorageToCluster 向集群添加主存储
DetachPrimaryStorageFromCluster 从集群卸载主存储
ReconnectPrimaryStorage 重连主存储
GetPrimaryStorageCapacity 获取主存储容量
SyncPrimaryStorageCapacity 刷新主存储容量
ChangePrimaryStorageState 更改主存储状态
UpdatePrimaryStorage 更新主存储信息
CleanUpImageCacheOnPrimaryStorage 清除主存储镜像缓存
GetPrimaryStorageAllocatorStrategies 获取主存储分配策略清单
GetPrimaryStorageTypes 获取主存储类型列表
GetPrimaryStorageCandidatesForVolumeMigration 获取候选列表
PrimaryStorageMigrateVolume 跨主存储迁移云盘
PrimaryStorageMigrateVm 跨主存储迁移云主机
GetPrimaryStorageCandidatesForVmMigration 获取存储迁移候选列表
AddLocalPrimaryStorage 添加本地存储为主存储
QueryLocalStorageResourceRef 查询本地存储资源引用
LocalStorageMigrateVolume 迁移本地存储上存放的云盘
GetLocalStorageHostDiskCapacity 获取主机本地存储容量
LocalStorageGetVolumeMigratableHosts 获取迁移本地存储物理机
AddCephPrimaryStorage 添加Ceph主存储
QueryCephPrimaryStorage 查询Ceph主存储
AddMonToCephPrimaryStorage 为Ceph主存储添加mon节点
RemoveMonFromCephPrimaryStorage 从Ceph主存储删除mon节点
UpdateCephPrimaryStorageMon 更新Ceph主存储mon节点
AddCephPrimaryStoragePool 添加Ceph主存储池
DeleteCephPrimaryStoragePool 删除Ceph主存储池
QueryCephPrimaryStoragePool 查询Ceph主存储池
UpdateCephPrimaryStoragePool 更新Ceph主存储池
AddSharedBlockGroupPrimaryStorage 添加Shared Block主存储
QuerySharedBlockGroupPrimaryStorageHostRef 查询连接状态
QuerySharedBlockGroupPrimaryStorage 查询Shared Block主存储
AddSharedBlockToSharedBlockGroup 添加LUN到Shared Block主存储
GetSharedBlockCandidate 获取共享块设备候选清单
RefreshSharedblockDeviceCapacity 刷新共享块设备容量
QuerySharedBlock 查询共享块设备