Vijava 学习笔记之(VirtualMachineCloneSpec)

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

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

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值