Cannot use VmomiSupport.VmomiJSONEncoder on ComputeResource or...
Trying to use the VmomiJSONEncoder on ComputeResource or ClusterComputeResource objects. I have tried it two different ways but keep getting an InvalidProperty error from pyvmomi. Could you please...
View ArticleDeveloping remote plugin and found different JavaScript interfaces and...
Hi, We have developed a vCenter Html plugin two years back with technologies in UI like, Angular, Clarity design system .... There was also lot new developments on the backend. Now we are in the...
View ArticleClassCastException when registering plugin websocket endpoint
Our team is using SDK v6.7 update 3, and the following code: public void contextInitialized(ServletContextEvent sce) { final ServletContext servletContext = sce.getServletContext();...
View ArticleNeed command for removing one snapshot from multiple snapshots(using...
Event the RemoveAllSnapshots is taking bool parameter , it makes no difference.
View ArticleUnable to automate BGP Filters addition using Python
Hi All, I am using NSX v 6.4 with vSphere 6.7. While trying to automate the configuration of BGP Neighbors using python, I am unable to proceed with addition of 'BGP Filters' using python. I have...
View ArticleGetting Properties from a ManagedObjectReference
I am trying to figure out how to get a subset of properties from a ManagedObjectReference to HostSystem. My current use case is that I am using a property collector to retrieve all VirtualMachines. One...
View ArticleSearch Backup
Hi, Is there someone can help me where can i find the older logs on search backups function. Thanks.
View ArticleIs there rest API or SDK for to see the Esxi Host Performance data ?
Hi Guys, I am looking for rest API or SDK for to see performance data for CPU | memory | network of the Esxi host. below is the screenshot for vcenter & realtime CPU Graph.. Thanks
View Articleis there any rest api to check host advance setting
Hi All, I am looking for restapi to check host advance setting? I have checked the apiexplorer but no success. Please suggest..
View ArticleImporting 3rd party jar vcenter version incompatibility problem
Hello,I develop a vCenter plugin which imports 3rd party jar files. I've run into a vCenter version incompatibility. As of around either late 6.7u2 or 6.7u3, my plugin no longer registers successfully....
View ArticleHow to map VirtualMachine virtualDisk metric instance id like scsi0:0 to...
I am querying virtual machine and its virtual disk..later getting virtual disk metrics for VM but I am having problem in mapping between VirtualDisk objectId and Virtual machine virtualDisk metric...
View ArticleUsing Pyvmomi/API configure ESXi 'NTP Client Enabled' check box
Using the below code its possible to update the start up policy of ntpd service in an ESXi server, con = connect.SmartConnect(host=host, user=user, pwd=pwd) content = con.RetrieveContent() cv =...
View Articlevcenter disk usage is too much
I just did a install of VCenter 7 appliance and it is using 445GB of space!The default install was for a tiny environment, and my client only uses 2 virtualized servers Is there a way to adjust the...
View ArticleRunProgram missing "common" and "connection" packages
import common.annotations.Action;import common.annotations.Option;import common.annotations.Sample;import connection.ConnectedVimServiceBase; When trying to import these packages, it's unable to find...
View ArticleHow to get server install date with vSphere automation SDK for Java version 6.5
I've been searching around for a few days, and I can't find where to pull the server install date information. Any guidance is greatly appreciated.
View ArticleHow to use the Connection interface with ConnectedVimServiceBase class to...
Hello. I am able to connect to a host via a new ServiceInstance, but the Guest OS methods provided all work off of ServiceContent. When it tries to access ServiceContent, it is always null. Any help on...
View Articleusage for libgvmomi and libvim-types in virtual disk development kit
Hi,My objective is to find out if there is any documentation available to use QueryChangedDiskAreas() method by using vixdisk SDK.I understand its easier to use PYVMOMI SDK supported by vmware.Does...
View ArticleRC of next 7.0 update release is available in the Beta community
Hi folks, The RC bits of the next 7.0 update release can be downloaded from the Beta community.It contains quite some new features and improvements to the SDK and plugins. If you are not a beta partner...
View ArticleNot able to connect to vCenter via powerCLI
PowerShell: 5.1.17763.1007PowerCLI: 11.5.0.14912921.Net Framework: 4.7.2 release 461814- Not able to connect to vCenter via powerCLI- Get the following error:The 'Connect-VIServer' command was found in...
View ArticleFind hostsystem by findbyip
Hello,how to retrieve the information about hostsystem object by using searchindex.findbyip for ipv6,Findbyip works fine for ipv4. Is there any workaround to ger hostsystem object by using ipv6...
View ArticleExclude vAPPs with no VMs
Hi all, The following script is very good but we would like to know how to make it ignore the vAPPs with no VMs $ConfigFile = "$PSScriptRoot/Config.json"$Configs = Get-Content -Raw -Path $ConfigFile...
View ArticleNeed to get VM CreatedOn Timestamp
Is there any generic way we can leverage the modules to get the creation Date of the VM ? Going through the documentation I don't get any leads to see if this is available or not
View ArticlevSphere 7.0 htmlClientSdk.htmlClientSdk.app.getContextObjects()[0] is undefined
Hi,I used vsphere 6.7 sdk , like this: navigateToSummaryView(objectId): void { const selectedTarget = this.selectedTargets; this.storagepluginService.htmlClientSdk.app.navigateTo({...
View ArticlePerform some cleanup before plugin unregister
Hi _vladi_ and laurentsd, Is there any way to get an indication that plugin is going to be unregistered before, so that we can do some clean up?Suppose, we have a logs created for the plugin which we...
View ArticlevSAN Mob for Vcenter server
Hello Everyone, I am trying to access Managed Object for vSAN related through vCenter MOB link , But I am unable to find vSAN related API references. Could you please help me how to gets. I am using...
View ArticleProblem with local deployment of a vcenter plugin
Hi VMWare Community, In order to develop and debug our custom plugin (as a team), we need to deploy and run it on our local machines. Here are some details: What do we do: Local environment setup:We...
View ArticleFailed to create vsphere client by create_vsphere_client API with error...
I am trying to get the all VM list of VMWare vSphere 7 platform. but got failed with "Unknown interface: com.vmware.cis.session". Platform: VMWare vSphere 7 platform with Free licenseLanguage:...
View ArticleDocumentation for create_vsphere_client() function
I've been unable to find any documentation for the create_vsphere_client() function call.To be specific, I'm looking for the exception documentation to handle authentication errors.
View ArticleHow to use VI JAVA APIs to Import OVF and add ISO to CD-ROM
HI Can anyone help with the the relevant APIs to call for 1. importing OVF to deploy a new VM, and2. adding ISO to CD-ROM of a deployed VM ? TIA
View ArticleWhat is the API equivalent of "esxcli system process stats load get | grep...
I would like to get the global 15-minute load average of my ESXi server using the vSphere API and pyVmomi in particular. On the command line, I can do so as follows:# esxcli system process stats load...
View ArticleDoes vSphere 7.0 SDK Remote plugin sample support Singleton Plug-in pattern?
Hi Team, I'm trying to test Singleton Plug-in topology as mentioned in Remote plugin SDK documentation(vsphere-client-sdk-7.0.0.10100-15863815).In order to test that, I had registered same instance of...
View ArticlePlugin(local & remote HTML plugin) rendering issues with vCenter 7.0 and...
Hi Team, We are observing rending issues for our local plugin with vCenter client 7.0.0.10100 and Google chrome v70.0.3538.77. In order to reproduced i had used vCenter client SDK 7.0 remote plugin...
View ArticleNamespaces Management/vSphere with Kubernetes client initialisation
Hello All, Based on the documentation to create a client to vCenter server is done using create_vsphere_client helper function. The problem is that this Helper function doesn't seem to provide...
View Articlevapp not started
Hi all In our vmware structure, there are 2 vcenter, namely management and edge-resource pool.Management vcenter unfortunatly restarted.We have reactivated vcenter and VSAN and HA,NSX now look...
View ArticleVMware Site Recovery Manager API's don't appear to be functioning
Hello, I have a fully licensed vCenter Server 6 Std. I have an evaluation license of VMWare SRM 8 Enterprise that expires in 4 weeks. I am having trouble with the VMware SRM API's working. Based on...
View Articleobject related view is getting default height to 35px
vcsa system running 7.0 SDKThis is Host related viewAs you can see grid heght is default.All the related views are having same issue.Please let us know how i can fix it.
View ArticleCareer Advice - DevOps
Hello all, hope you are doing fine.This is kind of a easy question but I want to know what the community thinks.I've been around with tech since I was 16 years old, I know how to code but I don't...
View Article### Not able to capture VMware event Lost network connectivity for DVSPort
I tried the following code. I am able to see the event in vSphere but not able to capture with code.I am able to see the descriptions related to event on this particular vCenter. To my understanding...
View ArticleError - vim.fault.OvfNetworkMappingNotSupported
Hello, When using pyvmomi, we are trying to create an import spec to import an ovf into vcenter. We are creating a network mapping when using distributed switching.spec_params = None...
View ArticleProvide feedback to the VMware Design team tomorrow!
Hello! I hope everyone enjoyed VMworld. The Design team has Design Studio sessions where users can provide feedback, we have a few remaining slots for tomorrows sessions: UX0020 Centralized...
View ArticleFailing to register the local vsphere Client with vCenter
My development cloud recently moved from public to a private lan , after that I am failing to register my local vSphere Client with a new vCenter. I keep getting the Auth fail error.Pasting the error...
View ArticlevSphere Client SDK 7.0 Update 1 is GA!
Hi plugin developers, vSphere 7.0U1 is out. The new vSphere Client SDK contains cool new stuff for plugins, most notably: - Dynamic remote plugin extensions (ability to show/hide plugin items). -...
View ArticleQuery information from VCenter / Host / VMs
Hello friends, are you okay?I am working on a system that will read information from VCenter / Host / VMs. I identified some existing APIs, they are the API Rest and SOAP (vimService). However, I am...
View Articlelist vm and ip in vsphere 6.7.0 with python3
hi, i try to use python 3 to list all vm and ip in my vmware server, for this i use this script : vSphere-Python/pysphere-get-vm-ips.py at master · pdellaert/vSphere-Python · GitHub but i have error:...
View ArticleError with local deployment of a vcenter plugin using vSphere Client SDK 6.7.0
Hi all,I want to develop my custom vCenter plugin, so I deploy vSphere Client SDK in my development machine, but in the end, I failed to access https://localhost:9443/ui, it shows that "[400] An error...
View ArticleMove VM-Template from one Content Library to another
Im using packer to build server templates and automatically push them to content library. Packer has a content_library_destination config that lets you push a VM-Template or an OVF Template to Content...
View ArticleWill cluster level vSphere client extension/plugin work once cluster is...
We have a vSphere plugin for vSphere HTML client registered at cluster level. If a user wants to use kubernetes and turns a cluster to supervisor cluster, How will it affect an existing registered...
View Articlecreating reports from all clusters in Power BI
Hi VMWare Community,I need to create a reporting system from vSphere with data about all clusters in Power BI.How data can be transfered?Please help ASAP.
View ArticleNat source ip address not in API?
Dear all, I figured out that "Source IP Address" and "Source port" does not show up in API but does in the NAT tab of the WebUI.Any idea about where I could find them? API version=34.0 Best...
View Article