How 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 ArticleCan we get password of vCenter Server within vCenter Plugin?
I want to create a vCenter Plugin. In the plugin, I want to get password of vCenter Server and send it to another machine. I don't want user to input it manually. Can I get password of vCenter Server...
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 ArticleBuilding and Running Samples (vSphere Web Services SDK 6.0 and JDK 8...
What are the necessary actions in order to build and run vSphere Management SDK 6.0 samples using Java JDK 8 (1.8.0_x) I have followed the Developer's setup guide. Aparently samples and stubs are...
View ArticleVIX error codes equivalent API in vsphere SDK
While trying to migrate from VIX to guest operations of vsphere API, I see that there is an equivalent API for running a program on guest, ie, VixVM_RunProgramInGuest ~ StartProgramInGuest. With this...
View ArticleHow to generate credential file from SAML token
I want to create a vCenter Plugin using SDK 6.0 , in the vCenter Plugin I want to generate credentials file of vCenter Server to send to another machine and from this machine, it login vCenter...
View ArticleIs vSphere 5.0 SDK compatible with vCenter 6.0?
Our portal application is using the vSphere 5.0 SDK. When our application went live, it was making web service calls to vCenter 5.0. At the beginning of the year, vCenter was upgraded to 5.5 update 3b,...
View ArticlevSphere SDK which is compatible with both vCenter 5.5 and 6.0
Dear allI want to create a vCenter plugin, which supports both vCenter 5.5 and vCenter 6.0. Which version of vSphere SDK should I use for developping the plugin?
View ArticleUnable to apply profile to a VM programmatically at the time of configure and...
We are encountering an issue while asigning policy to a VM using vSphere SDK. Issue: at the time of un-registering a VM the VM loses its profile, while registering it again we wish to reapply the...
View ArticleIs it possible to use vSphere scheduled task to call my own script in vSphere...
I have written a script which can be called using command line, and i want it can be called when triggering vSphere scheduled task.The API to create scheduled task is "createScheduledTask" method of...
View Articlehow to authenticate for rest api with vCenter 6.5 appliance
Hello,vCenter Appliance 6.5 has a feature to create a backup that can be restored with the installer gui. To create this backup one must access the appliance portal at port 5480. I would like to...
View ArticleCan I invoke a specific method instead of a "*_Task" like operation when...
MethodAction action = new MethodAction();action.setName("PowerOffVM_Task"); Can I invoke my own method instead of "PowerOffVM_Task"?
View ArticleSOAP API Usage to Retrieve properties
Hello, I need to implement an automation integration with vSphere using SOAP HTTP API call. I am testing now each call I need using SoapUI interface, in order to implement later the call using an...
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 ArticleFSS_LookupPath & FSS_Readdir on Nutanix array
Hi When trying to use FSS_LookupPath & FSS_Readdir on a Nutanix array I am getting an empty answer although the VMDK is there when browse the folder
View ArticleInstantClone APi ??
Hello,From http://www.vmware.com/files/pdf/vsphere/VMware-vSphere-Whats-New.pdf, there is a new feature 'InstantClone'. Will there be any webservices API to perform the Instantclone ?Thanks,Balu
View ArticleCleanup files using vSphere SDK?
Hi experts, Is there a way that i can cleanup the files on vCenter/VCSA using the vSphere SDK ? Most of the vSphere SDK APIs are to work with the VMs/ESX and not for the vCenter Server or VCSA ?...
View ArticleSDK for Adding SCSI controller
Hello,I am trying to add a SCSI controller using MOB/SDK. The VM reconfigure is happening, but SCSI Controllers are not added. Following is the payload I am...
View ArticleExample code for adding to Recent Tasks
I would like to track action progress using the Recent Tasks view. I can't seem to find any sample code to help. I saw some other threads that suggested looking at the WSSDK, but I didn't find...
View Articlec# Simple CreateVM like PowerCLI command
Hello,Main-Problem:I need to dev a Webpage to create VMs in our vSphere. For Info: In the enviroment we have multiple clusters with multiple hosts with many VMs. We alrady have the following...
View Article