<?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: Remote Plugin: How to get vCenters list with FQDN in Remote Plugin UI? in vSphere Client SDK Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2821924#M5878</link>
    <description>&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;There is no frontend API to get this but this is covered by the vSphere Web Services SDK (vim25).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe what you need is the &lt;STRONG&gt;VirtualCenter.InstanceName&lt;/STRONG&gt; setting that you can view in the following MOB location:&amp;nbsp;&lt;A href="https://VCENTER_IP/mob/?moid=VpxSettings&amp;amp;doPath=setting%5b%22VirtualCenter%2eInstanceName%22%5d" target="_blank"&gt;https://VCENTER_IP/mob/?moid=VpxSettings&amp;amp;doPath=setting%5b%22VirtualCenter%2eInstanceName%22%5d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this is not sufficient please ask in the vSphere Management SDK forum.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladi&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jan 2021 10:17:37 GMT</pubDate>
    <dc:creator>_vladi_</dc:creator>
    <dc:date>2021-01-11T10:17:37Z</dc:date>
    <item>
      <title>Remote Plugin: How to get vCenters list with FQDN in Remote Plugin UI?</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2821335#M5877</link>
      <description>&lt;P&gt;We are following &lt;A href="https://code.vmware.com/docs/11915/developing-remote-plug-ins-with-the-vsphere-client-sdk/GUID-85E2BE26-F6FC-4CD6-B995-0E0E2C132E2A.html" target="_self"&gt;singleton plugin topology&lt;/A&gt;&amp;nbsp;for our plugin. But need to have a custom vCenter selector dropdown as our views are specific to a vCenter as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kumar_t_0-1610015674126.png" style="width: 303px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/85983iC564B21B9BDD5470/image-dimensions/303x234/is-moderation-mode/true?v=v2" width="303" height="234" role="button" title="kumar_t_0-1610015674126.png" alt="kumar_t_0-1610015674126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically i'm looking to get the info Linkedmode vCenters which has my plugin registered. Expected data as below&lt;/P&gt;&lt;P&gt;[{&lt;/P&gt;&lt;P&gt;"vCenterFQDN": "10.60.6.64",&lt;/P&gt;&lt;P&gt;"vCenterGuid": "&lt;SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-value"&gt;44594890-e3db-43c6-befa-e236ba3114d9&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"vCenterFQDN": "10.60.6.74",&lt;/P&gt;&lt;P&gt;"vCenterGuid": "&lt;SPAN&gt;&lt;SPAN class="url-params"&gt;&lt;SPAN class="url-params-value"&gt;64594890-e3ba-43c6-bcfa-e236ba3114d9&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;}]&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The current JS API&amp;nbsp;&lt;SPAN&gt;getPluginBackendInfo() will not give vCenterFQDN. It just gives VC UUID's as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;allPluginBackendServers&lt;/STRONG&gt;: [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.150-8443",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"AUX_SERVER_1"},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.149-5432",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"COMMON_SERVER"},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.151-8443",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"AUX_SERVER_2"}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;backendServersPerVc&lt;/STRONG&gt;: {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;vc-guid-1: [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.150-8443",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"AUX_SERVER_1"},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.149-5432",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"COMMON_SERVER"}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;vc-guid-2: [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.151-8443",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"AUX_SERVER_2"},&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;STRONG&gt;proxiedBaseUrl:&lt;/STRONG&gt;&amp;nbsp;"/plugins/remote~1.0~8/10.30.198.149-5432",&amp;nbsp;&lt;STRONG&gt;type:&lt;/STRONG&gt;&amp;nbsp;"COMMON_SERVER"}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do I get vCenter FQDN with UUID? Is there a API available?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2021 04:52:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2821335#M5877</guid>
      <dc:creator>kumar_t</dc:creator>
      <dc:date>2021-01-08T04:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Plugin: How to get vCenters list with FQDN in Remote Plugin UI?</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2821924#M5878</link>
      <description>&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;There is no frontend API to get this but this is covered by the vSphere Web Services SDK (vim25).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe what you need is the &lt;STRONG&gt;VirtualCenter.InstanceName&lt;/STRONG&gt; setting that you can view in the following MOB location:&amp;nbsp;&lt;A href="https://VCENTER_IP/mob/?moid=VpxSettings&amp;amp;doPath=setting%5b%22VirtualCenter%2eInstanceName%22%5d" target="_blank"&gt;https://VCENTER_IP/mob/?moid=VpxSettings&amp;amp;doPath=setting%5b%22VirtualCenter%2eInstanceName%22%5d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If this is not sufficient please ask in the vSphere Management SDK forum.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vladi&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 10:17:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2821924#M5878</guid>
      <dc:creator>_vladi_</dc:creator>
      <dc:date>2021-01-11T10:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Plugin: How to get vCenters list with FQDN in Remote Plugin UI?</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2938713#M6123</link>
      <description>&lt;P&gt;Can i see how you have implemented getPluginBackednInfo().&lt;/P&gt;&lt;P&gt;Im trying to implement that function.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 08:06:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/Remote-Plugin-How-to-get-vCenters-list-with-FQDN-in-Remote/m-p/2938713#M6123</guid>
      <dc:creator>puneeth-sai</dc:creator>
      <dc:date>2022-11-17T08:06:43Z</dc:date>
    </item>
  </channel>
</rss>

