Vijava 学习笔记之(VirtualMachineCloneSpec)

无情 阅读:761 2021-03-31 22:36:36 评论:0

VirtualMachineCloneSpec:指定虚拟机克隆规范。

NAME TYPE DESCRIPTION
config* VirtualMachineConfigSpec

指定虚拟机的配置信息
customization* CustomizationSpec

一个可选的操作系统定制规范。如果虚拟机创建可以忽略该属性值。

location VirtualMachineRelocateSpec


指定虚拟机创建位置。
powerOn xsd:boolean

 创建虚拟机完成是否打开电源。
snapshot* ManagedObjectReference 
to aVirtualMachineSnapshot

Snapshot reference from which to base the clone.

If this parameter is set, the clone is based off of the snapshot point. This means that the newly created virtual machine will have the same configuration as the virtual machine at the time the snapshot was taken.

If this property is not set then the clone is based off of the virtual machine's current configuration.

Setting this is only supported if the host this virtual machine is currently residing on supports cloning from a snapshot point. Such support does not need to exist on the destination host for the clone.

Setting this is only supported if the virtual machine supports reporting snapshot configuration information. See snapshotConfigSupported. Such support does not need to exist on the destination host for the clone.

Since vSphere API 4.0
template xsd:boolean

创建的虚拟机是否指定为模板。

声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

关注我们

一个IT知识分享的公众号