Clone VM With Custom Settings operation


Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.


Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.


Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Sample adapter request for the Clone VM With Custom Settings operation when the <operation> element is "edit" within the <device-change> element

<vmware-infrastructure-request>
 <operation-type>Configure_Vm</operation-type>
 <operation-name>Clone_VM _With_Custom_Settings</operation-name>
 <soap-url></soap-url>
 <transport></transport>
 <user-name></user-name>
 <password></password>
 <parameters>
   <virtual-machine>win1</virtual-machine>
   <folder>TestVMFolder</folder>
   <datacenter>Development</datacenter>
   <name>win8</name>
   <spec>
     <power-on>false</power-on>
     <template>false</template>
     <location>
       <resource-pool>TestRP</resource-pool>
       <cluster-compute-resource>TestCluster</cluster-compute-resource>
       <host-system>xyz.abc.com</host-system>
       <datastore>storage1</datastore>
       <transform>flat</transform>
       <disk-list>
     <disk>
       <disk-name>Hard Disk 1</disk-name>
       <datastore>storage1</datastore>
     </disk>
   </disk-list>
     </location>
     <config>
       <name>win8</name>
   <version>vmx-04</version>
   <guest-id>rhel4Guest</guest-id>
   <annotation>Test Linux machine</annotation>
   <tools>
     <tools-version></tools-version>
     <after-power-on>true</after-power-on>
     <after-resume>false</after-resume>
     <before-guest-standby>true</before-guest-standby>
     <before-guest-shutdown>true</before-guest-shutdown>
     <before-guest-reboot>false</before-guest-reboot>
   </tools>
   <flags>
     <disable-acceleration>false</disable-acceleration>
     <enable-logging>false</enable-logging>
     <use-toe>false</use-toe>
     <run-with-debug-info>true</run-with-debug-info>
     <ht-sharing>any</ht-sharing>
   </flags>
   <console-preferences>
     <power-on-when-opened>true</power-on-when-opened>
     <enter-full-screen-on-power-on>false</enter-full-screen-on-power-on>
     <close-on-power-off-or-suspend>true</close-on-power-off-or-suspend>
   </console-preferences>
   <power-op-info>
     <power-off-type>soft</power-off-type>
     <suspend-type>soft</suspend-type>
     <reset-type>soft</reset-type>
     <default-power-off-type>soft</default-power-off-type>
     <default-suspend-type>soft</default-suspend-type>
     <default-reset-type>soft</default-reset-type>
     <standby-action>checkpoint</standby-action>
   </power-op-info>
   <num-cpus>1</num-cpus>
   <memory-mb>32</memory-mb>
   <device-change-list>
     <device-change>
           <operation>edit</operation>
       <device type="VirtualE1000">
         <key>4000</key>
         <backing type="VirtualEthernetCardNetworkBackingInfo">
         <device-name>VM Network 2</device-name>
         </backing>
         <connectable>
           <start-connected>false</start-connected>
           <allow-guest-control>false</allow-guest-control>
           <connected>false</connected>
         </connectable>
             <address-type>manual</address-type>
             <mac-address>00:50:56:9d:00:1f</mac-address>
             <wake-on-lan-enabled>true</wake-on-lan-enabled>
       </device>
     </device-change>
       </device-change-list>
   <cpu-allocation>
     <reservation>0</reservation>
     <limit>-1</limit>
     <shares>
       <shares>1862</shares>
       <level>custom</level>
     </shares>
   </cpu-allocation>
   <memory-allocation>
     <reservation>0</reservation>
     <limit>2048</limit>
     <shares>
       <shares>2048</shares>
       <level>custom</level>
     </shares>
   </memory-allocation>
   <cpu-affinity>
     <affinity-set-list>
       <affinity-set>1</affinity-set>
       <affinity-set>2</affinity-set>
     </affinity-set-list>
   </cpu-affinity>
   <memory-affinity>
     <affinity-set-list>
       <affinity-set>1</affinity-set>
       <affinity-set>2</affinity-set>
     </affinity-set-list>
   </memory-affinity>
   <network-shaper>
     <enabled>true</enabled>
     <peak-bps>10</peak-bps>
     <average-bps>5</average-bps>
     <burst-size>8</burst-size>
   </network-shaper>
   <cpu-feature-mask-list>
     <cpu-feature-mask>
       <operation>add</operation>
       <info>
         <level>-2147483648</level>
             <vendor>amd</vendor>
         <eax></eax>
         <ebx></ebx>
         <ecx></ecx>
         <edx></edx>
       </info>
     </cpu-feature-mask>
     <cpu-feature-mask>
       <operation>add</operation>
       <info>
         <level>-2147483647</level>
         <vendor></vendor>
         <eax></eax>
         <ebx></ebx>
         <ecx></ecx>
         <edx></edx>
       </info>
     </cpu-feature-mask>
   </cpu-feature-mask-list>
     </config>
     <customization>
   <identity type='CustomizationSysprep'>
   <gui-unattended>
         <password>
           <value>abc123</value>
           <plain-text>true</plain-text>
         </password>
         <time-zone>123</time-zone>
     <auto-logon>false</auto-logon>
     <auto-logon-count>1</auto-logon-count>
   </gui-unattended>
   <user-data>
     <full-name>User1</full-name>
     <org-name>BMC</org-name>
     <computer-name>
       <name>AdapterDev</name>
     </computer-name>
     <product-id></product-id>
   </user-data>
       <gui-run-once>
         <command>C:\run.bat</command>
         <command>cmd.exe /c mkdir test</command>
       </gui-run-once>
   <identification>
     <join-workgroup>WORKGROUP</join-workgroup>
   </identification>
   <license-file-print-data>
     <auto-mode></auto-mode>
     <auto-users></auto-users>
   </license-file-print-data>
   <host-name>
     <name></name>
   </host-name>
   <domain></domain>
   </identity>
   <globalIPSettings>
     <dns-server-list>
       <dns-server-list>10.254.1.10</dns-server-list>
       <dns-server-list>10.254.1.11</dns-server-list>
     </dns-server-list>
     <dns-suffix-list>
       <dns-suffix-list>abc.com</dns-suffix-list>
       <dns-suffix-list>vmware.com</dns-suffix-list>
     </dns-suffix-list>
   </globalIPSettings>
   <nic-setting-map>
     <adapter>
       <ip type="CustomizationDhcpIpGenerator">
       <ipAddress></ipAddress>
       </ip>
       <subnet-mask>255.255.255.0</subnet-mask>
       <gateway>172.1.114.1</gateway>
       <dns-domain>abc.com</dns-domain>
     </adapter>
   </nic-setting-map>
     </customization>
   </spec>
 </parameters>
</vmware-infrastructure-request>
Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.


Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.


Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

Warning

The macro unmigrated-inline-wiki-markup from Confluence is no longer available.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Atrium Orchestrator Content 20.14.01