修改虚拟机磁盘datastore配置文件介绍

 

<disk-name>	 Specifies the name of the virtual disk to be moved	 Yes
<datacenter> Specifies the datacenter hosting the datastore	 Conditional
<transform>	 Specifies the transformation that is to be performed on the disks 
基本磁盘datastore修改配置属性

 

     <operation-type>Advanced_Vm</operation-type>
     <operation-name>Move_Virtual_Disk</operation-name>
     <user-name></user-name>
     <password></password>
     <soap-url></soap-url>
     <transport></transport>
     <parameters>
        <virtual-machine>win1</virtual-machine>
        <spec>
            <disk-list>
              <disk>
                <!--Moves Disk1 to storage1-->
                <disk-name>Disk1</disk-name>
               <datastore>storage1</datastore>
               </disk>
              <disk>
                <!--Moves Disk2 to storage2-->
                <disk-name>Disk2</disk-name>
                <datastore>storage2</datastore>
              </disk>
            </disk-list>
            <transform>flat</transform>
        </spec>
     </parameters>
</vmware-infrastructure-request>

你可能感兴趣的:(store)