We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
创建云主机(CreateVmInstance) 用户可以用CreateVmInstance来创建一台云主机
org.zstack.header.vm.APICreateVmInstanceMsg
管理员可以使用CreateVmInstance来创建一个云主机. 例如:
CreateVmInstance name=testvm imageUuid=c56c58d5a5954bcf89d574b29deac3be instanceOfferingUuid=fc676d3efa624afe9c0ba0e100ec7bb2 l3NetworkUuids=7c58161234074fe99d2094952fe63b6e
rootDiskOfferingUuid 如果云主机是从ISO镜像创建的, 用户必须指定一个rootDiskOfferingUuid,这样ZStack才能知道根云盘的磁盘大小; 如果云主机是从RootVolumeTemplate镜像创建的, 可以忽略这个域.
dataDiskOfferingUuids 通过在dataDiskOfferingUuids指定云盘规格的UUID列表, 用户可以创建一个挂载了多个数据云盘的云主机. 如果某个数据云盘创建失败了,整个云主机的创建也会失败.
rootPassword 使用rootPassword的话,创建后第一次启动会较慢,时间视image大小而定
The text was updated successfully, but these errors were encountered:
Duplicated with #67
Sorry, something went wrong.
xuexuemiao
No branches or pull requests
描述
创建云主机(CreateVmInstance)
用户可以用CreateVmInstance来创建一台云主机
API
org.zstack.header.vm.APICreateVmInstanceMsg
举例(Example)
管理员可以使用CreateVmInstance来创建一个云主机. 例如:
参数(Parameters)
备注
rootDiskOfferingUuid
如果云主机是从ISO镜像创建的, 用户必须指定一个rootDiskOfferingUuid,这样ZStack才能知道根云盘的磁盘大小; 如果云主机是从RootVolumeTemplate镜像创建的, 可以忽略这个域.
dataDiskOfferingUuids
通过在dataDiskOfferingUuids指定云盘规格的UUID列表, 用户可以创建一个挂载了多个数据云盘的云主机. 如果某个数据云盘创建失败了,整个云主机的创建也会失败.
rootPassword
使用rootPassword的话,创建后第一次启动会较慢,时间视image大小而定
The text was updated successfully, but these errors were encountered: