<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using 8.4 REST to Onboard VMs in VMware Aria Automation Tools Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2941240#M24797</link>
    <description>&lt;P&gt;Excellent description&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/162194"&gt;@Windspirit&lt;/a&gt;&amp;nbsp;, thank you very much, it helped me a lot.&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@9096AC4BBA0718E6B18FDB51D30A5493/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 10:26:31 GMT</pubDate>
    <dc:creator>StefanSchnell</dc:creator>
    <dc:date>2022-11-29T10:26:31Z</dc:date>
    <item>
      <title>Using 8.4 REST to Onboard VMs</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2858706#M23495</link>
      <description>&lt;P&gt;I need to automate onboarding. However, the existing APIs for this looks geared towards pre 8.4 (where there were rules) and I tested the call, but Im not getting anything done.&lt;/P&gt;&lt;P&gt;&lt;A href="https://code.vmware.com/apis/707/vrealize-automation-cloud-relocation-rest?p=vrealize-automation-cloud" target="_blank"&gt;https://code.vmware.com/apis/707/vrealize-automation-cloud-relocation-rest?p=vrealize-automation-cloud&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I need to add an item to the onboarding List and execute the plan.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 05:15:54 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2858706#M23495</guid>
      <dc:creator>Windspirit</dc:creator>
      <dc:date>2021-07-22T05:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using 8.4 REST to Onboard VMs</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2858916#M23497</link>
      <description>&lt;P&gt;OK. after long and hard tries ...here is how this works:&lt;/P&gt;&lt;P&gt;1) Get the plan link...thats the onboarding plan you allready have.&lt;/P&gt;&lt;P&gt;GET /relocation/onboarding/plan&lt;/P&gt;&lt;P&gt;-&amp;gt; planLink&lt;/P&gt;&lt;P&gt;2) get VM details&lt;/P&gt;&lt;P&gt;GET /iaas/api/machines&lt;/P&gt;&lt;P&gt;-&amp;gt; find VM, get name and id (needs to be reconstructed to "/resources/compute/[ID]"&lt;/P&gt;&lt;P&gt;3) create an onboarding deployment. Thats the ones you have in the deployment plan where VMs are assosiated to. Two options there. Eitehr use an existing Deployment or a new one.&lt;/P&gt;&lt;P&gt;NEW DEPLOYMENT&lt;/P&gt;&lt;P&gt;POST ​/relocation/onboarding/deployment&lt;/P&gt;&lt;P&gt;{planLink,[name optional]} -&amp;gt; take the selflink that comes back.&lt;/P&gt;&lt;P&gt;USE EXISTING&lt;/P&gt;&lt;P&gt;GET&amp;nbsp; /relocation​/onboarding​/deployment&lt;/P&gt;&lt;P&gt;-&amp;gt; selfLink&lt;/P&gt;&lt;P&gt;4) add VM to Onboarding plan&lt;/P&gt;&lt;P&gt;POST /relocation/onboarding/resource&lt;/P&gt;&lt;P&gt;{planLink,deploymentLink,resourceLink,resourceName}&lt;/P&gt;&lt;P&gt;5) Execute onboarding plan&lt;/P&gt;&lt;P&gt;execute Plan&lt;/P&gt;&lt;P&gt;POST /relocation/api/wo/execute-plan&lt;/P&gt;&lt;P&gt;{planlink}&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:46:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2858916#M23497</guid>
      <dc:creator>Windspirit</dc:creator>
      <dc:date>2021-07-23T06:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using 8.4 REST to Onboard VMs</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2941240#M24797</link>
      <description>&lt;P&gt;Excellent description&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/162194"&gt;@Windspirit&lt;/a&gt;&amp;nbsp;, thank you very much, it helped me a lot.&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@9096AC4BBA0718E6B18FDB51D30A5493/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 10:26:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/Using-8-4-REST-to-Onboard-VMs/m-p/2941240#M24797</guid>
      <dc:creator>StefanSchnell</dc:creator>
      <dc:date>2022-11-29T10:26:31Z</dc:date>
    </item>
  </channel>
</rss>

