修改虛擬機磁盤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>
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章