Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.8][VM]org.zstack.header.storage.snapshot.APIReimageVmInstanceMsg #70

Open
xuexuemiao opened this issue Nov 7, 2016 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@xuexuemiao
Copy link

xuexuemiao commented Nov 7, 2016

描述

如果虚拟机是使用镜像创建的(区别于使用ISO安装创建的方式),使用该API可以重置虚拟机到创建时的状态。要求该虚拟机处于Stopped状态。

API

org.zstack.header.storage.snapshot.APIReimageVmInstanceMsg

举例(Example)

管理员和普通账户可以使用该API来重置一个虚拟机实例. 例如:

APIReimageVmInstanceMsg vmInstanceUuid=f995b4e3593c45fabeabd92185d33f91

返回结果:

{
    "success": true
}

参数(Parameters)

名字 描述 可选的参数 起始支持版本
vmInstanceUuid 虚拟机实例的Uuid 1.8

备注

Feature_link

https://github.com/zxwing/premium/issues/898

@xuexuemiao xuexuemiao self-assigned this Nov 7, 2016
@xuexuemiao xuexuemiao changed the title [1.8]ReInitVmInstance [1.8][VM]org.zstack.header.storage.snapshot.APIReInitVmInstanceMsg Nov 7, 2016
@xuexuemiao xuexuemiao added this to the 1.8 milestone Nov 7, 2016
@xuexuemiao xuexuemiao added the VM label Nov 7, 2016
@xuexuemiao xuexuemiao changed the title [1.8][VM]org.zstack.header.storage.snapshot.APIReInitVmInstanceMsg [1.8][VM]org.zstack.header.storage.snapshot.APIReimageVmInstanceMsg Nov 18, 2016
@newbiet newbiet added the API label Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants