<?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: vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO. in VMware Aria Automation Tools Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666268#M19294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working in MachineActivate phase as well. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 03:13:48 GMT</pubDate>
    <dc:creator>Venkatanagesh</dc:creator>
    <dc:date>2016-02-10T03:13:48Z</dc:date>
    <item>
      <title>vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO.</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666265#M19291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to use virtualMachineAddOrUpdateProperties&amp;nbsp; to update vRA VM Properties from vRO?&lt;/P&gt;&lt;P&gt;Example: I need to change the vmname to a custom name decided by vRO workflow at buildingmachine phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 11:09:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666265#M19291</guid>
      <dc:creator>Venkatanagesh</dc:creator>
      <dc:date>2016-02-09T11:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO.</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666266#M19292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Essentially, the&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;virtualMachineAddOrUpdateProperties property needs to be an output parameter of your vRO workflow. The workflow would be called via EBS during the BuildingMachine phase. As long as this parameter is an output of the workflow, vRA will pick it up and use it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of structure, the &lt;SPAN style="font-size: 13.3333px;"&gt;virtualMachineAddOrUpdateProperties property is a vRO 'properties' object. It holds a set of value key pairs. The code snippet below should help get you started. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1" style="font-size: 13.3333px;"&gt;&lt;SPAN class="s1"&gt;virtualMachineAddOrUpdateProperties = new Properties () ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1" style="font-size: 13.3333px;"&gt;&lt;SPAN class="s1"&gt;virtualMachineAddOrUpdateProperties.put(‘MyCloud.OU, 'dc=corp,dc-local') ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;In your case, the .put would look something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;virtualMachineAddOrUpdateProperties.put('hostname','&amp;lt;your host name&amp;gt;');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 22:30:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666266#M19292</guid>
      <dc:creator>AlexJudge</dc:creator>
      <dc:date>2016-02-09T22:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO.</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666267#M19293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect answer and works fine. Can this property be used in MachineActivate phase as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 02:33:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666267#M19293</guid>
      <dc:creator>Venkatanagesh</dc:creator>
      <dc:date>2016-02-10T02:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO.</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666268#M19294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working in MachineActivate phase as well. Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 03:13:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666268#M19294</guid>
      <dc:creator>Venkatanagesh</dc:creator>
      <dc:date>2016-02-10T03:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: vRA7 how to use virtualMachineAddOrUpdateProperties to update vRA VM Properties from vRO.</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666269#M19295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you use &lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;virtualMachineAddOrUpdateProperties in a day2 workflow as well? Just have a vRO workflow with input VC:Vir&lt;/SPAN&gt;tualMachine &amp;amp; custom property value to update the custom property whenever you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 10:41:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation-Tools/vRA7-how-to-use-virtualMachineAddOrUpdateProperties-to-update/m-p/2666269#M19295</guid>
      <dc:creator>Andre24680</dc:creator>
      <dc:date>2019-08-14T10:41:31Z</dc:date>
    </item>
  </channel>
</rss>

