vSphere-WS SDK Packages and JavaDoc
Hello guys, I do have a bunch of question regarding to the java vsphere-ws sdk. I have build the vim25.jar and samples.jar following the instructions here:...
View ArticleSetting VM annotation/notes via SDK.
I'm interested in setting the annotation/notes property of a VM programatically via the Java/vSphere Web service SDK. It seems that the annotation field is available in the following types:...
View Articlepyvmomi - add disk - RecommendDatastores
I am trying to add a disk to an existing VM.if vm: for cluster in ds_cluster: print cluster.name spec = vim.vm.ConfigSpec() # get all disks on a VM, set unit_number to the next...
View ArticleNeed help in identifying right vmware API Property to check whether a...
Hi ,We are developing a datastore view screen where we need to bring in a column to check if "Hardware Accelearation" is Supported/Not Supported. Can someone help me in identifying the right vmware...
View Articlevim25.jar with Axis2's jar file can't be compatible
Does anyone use both Apache Axis2 and vim25.jar??Please tell me how to solve the problem..Thanks!!
View ArticlePowerCLI 6.3 changes with VimClient.Connect() for C# - SSL/TLS Error
I have been developing a c# app and was using the VMWare.Vim DLL from PowerCLI 6.0. I updated my PowerCLI and now i am unable to connect to the vCenter. The connection now throws an error of "The...
View ArticleHow to log in to SSO with SAML Token string
I'm trying to connect to vCloud Suite API via vSphere Web Client Plug-in and assign a tag to a datastore.But I want to avoid having users enter user name and password on vSphere Web Client Plug-in GUI...
View ArticleClone a VM with THIN disk type as FLAT
I'm trying to clone a VM from a template. For that, I have a code as below VirtualMachineRelocateSpec rSpec = new...
View ArticleCan't building the C# SSO DLL with Error: pvk2pfx command not found.
Visual Studio 2015 Community, Windows Driver Kit 10, Windows 10. I follow this doc...
View ArticleModifying virtual machine custom attributes values using pyvmomi
There is a discussion https://communities.vmware.com/thread/474322?start=0&tstart=0 which talks about creating virtual machine custom attribute using pyvmomi.I want to set and get virtual machine...
View ArticleIncompatible device backing error when editing network adapter
Hello Expert Developer,I am working on an automatic VM deployment project for vSphere. I am trying to reconfigure deployed VM and change the MAC address of its network adapter. Device type which is...
View ArticleClone VM from TPL, Change DVS Backing - Not allowed in current state
Hi all, having some issues with the cloning of a template and modifying the existing virtual network device on the way through. I am getting the error "The operation is not allowed in the current...
View ArticleHelp with creating baremetal VM on Storage DRS Cluster (vSphere SDK)
Hello, I would appreciate any help from anyone who has successfully built a baremetal VM on a Storage DRS Cluster in the vSphere SDK. I am using c#.I can clone vm's fine on the Storage DRS cluster,...
View ArticleIncompatible device backing error when changing network adapter address type
Hello Expert Developer,I am working on an automatic VM deployment project for vSphere. I am trying to reconfigure deployed VM and change the MAC address of its network adapter. Device type which is...
View Articlemount a volume always fail invoked by vmtools
Hi, I wrote a python script to execute command in guest OS by pyvmomi 6.0. The main function I used is "GuestProcessManager.StartProgramInGuest" to talk with vmtools in guest OS to execute specific...
View ArticleCreate a VM through CreateVM_Task and SOAP WebServices
Hello, I am facing a strange problem here, trying to create a VM with Php & SOAP ! I managed to connect to my vCenter, and creating an "empty" VM with no additional hardware (no deviceChange...
View ArticleIs there any way to call system calls(like ioctl) in the SDK?
I need send a message a vmk device driver in the Java service, but I don't know whether current SDK support this.In a local application, I can use system calls to open the device and call ioctl to...
View ArticleHow to get the uuid of a host system
Actually I want to add a PCIPassthrough device to a VM. In the VirtualPCIPassthroughDeviceBackingInfo, it need to set a systemId.systemId xsd:string The ID of the system the PCI device is...
View Article"vDS dvs port cannot be found" when deleting a port mirroring session
Hi,I have the following scenario:- create a distributed port mirroring session- add one source port and one destination port- delete the vm marked as destination together with the portgroup it belongs...
View ArticleAdding vGPU using pyVmomi
Hi Everyone I have been trying to add a vGPU using pyVmomi. I found a way of doing it in powershell from a blog which is as follows: Param ($VM, $vGPUProfile) $VM = Get-VM $VM $spec = New-Object...
View Article