Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Browsing all 1860 articles
Browse latest View live

Issue with retrieveProperties

Hi, I am using VMWare SDK Web Service API to monitor and collect the performance statistics. I am trying to retrieve performance statistics (Historical Intervals) from vCenter. Here is the piece of...

View Article


vpshere5 sdk: building vim25 dlls with VS2010 fails

I am trying to build sdk dlls with VS2010. Following part works for building vim dlls D:\vsphere5 sdk\SDK\vsphere-ws\dotnet\cs>wsdl /n:VimApi /o:VimService.cs ..\..\wsdl\vim\vim.wsdl...

View Article


duplicate TraversalSpec name (get MORef of host by its name)

Hi all,I am new to VMware and I was trying to understand and play with the Java SDK . th eSDK has getVMByVMname(string vmName) method that includes  getVMTraversalSpec() method and...

View Article

Adding hosts against 5.1 now failing due to SSL requirements

I have some WebServices C# code that used to switch off the vCenter Server advanced setting client.VerifySLLCertificates (set to false) then use the .AddStandaloneHost_Task to add a host. This was...

View Article

Which Api to use?Beginner

Hello and nice to meet you.After reading http://stackoverflow.com/questions/5493697/which-vmware-api-should-i-use i'm not quit sureif i have to use assembly Vmware.Vim or VimService51.Of course...

View Article


vmFolder Not listing all VMs

Hey Gang, this is my first post so please forgive me if I ask any obvious questions.  I'm currently developing an app that interfaces with a VC via the rbvmomi library (ruby), which uses the vsphere...

View Article

Browsing to https:///sdk gives blank page ?

We are running vCenter 5.1 (VCenter Server Appliance)  A programmer is attempting to utilize the API to pull information on ESXi hosts and VM's. When we point a web browser at...

View Article

Fault VimApi.InvalidArgument

Hello.I'm trying to run the example VMCreate2010 and i get this error.I'm using 5.1.I have tried to pass useroptions[8] = newOptionSpec("VimApi", "String", 0, "version...", "vmx-07");but i don't know...

View Article


Is any method really invoked when using CreateTaskAction and set a TaskTypeId

Hi All, I'm trying to create a task to invoke my own method/script and hoping it can show in the task list.  I add the taskInfo when register the extension like:        String myPkg =...

View Article


SRM Recoveryplan method issue please help

Hello all, We are using the SRM API 5.0 and trying to start a recovery plan in a disaster recovery mode. What we want to do is provide a button for the customer in our portal where he can push it and...

View Article

Binding with VMKernel network Adapter with the iSCSI Adapter

Hello, I'm trying to automate the flow for connecting the iSCSI initiator with the corresponding target server. The VISDK API doesn’t seems to provide the support for automating the “Binding with...

View Article

Issue with Data Object - GuestNicInfo

Hello everybody,  I am writing a script collecting data about virtual machines running our 32 ESXi 5.1 hosts. About 500 VMs are concerned. I have an issue with about 20 VMs when I access GuestNicInfo...

View Article

How can I perform the heartbeat functions enable, disable and markactive...

My company has an embedded system we would like to run within a virtual machine.  The system runs on FreeBSD 8.1 and has been extensively trimmed.  As an example, of this trimming, we only use the...

View Article


How to use DataByConstraintRequest?

Hi , I am new to the vSphere web client plugin development. I went through some samples specifically the helloworld sample and the views-properties-ui sample. I was then trying to retrieve list of...

View Article

Reading host files

Hello, Is there any way to list the contents of a host file (like: /etc/vmware/esx.conf) using the SDK? Actually I want to get the PSA claimrules for the host...

View Article


C# Proxy Class (Silverlight/Windows Phone)

Even though not supported I have been trying to generate a working proxyclass for Silverlight compatible C# for Windows Phone.Generating the proxy class, it creates an enormous file, but that is not an...

View Article

How does MO ID value get generated ?

Hi, I'd like to know if MO ID value get never changed once assigned. I think using the MO ID value like "vm-88" can help me to identify a certain virtual machine in the environment.But of cource there...

View Article


Java Sample CloneVM fails with "The server sent HTTP status code 200: OK"

Hi, I downloaded the SDK zip and copied the VMClone.java from "SDK\vsphere-ws\java\JAXWS\samples\com\vmware\vm" into a Eclipse project and started it by this code: String[] myargs = new...

View Article

create/change user on esx host in c#

Hello,since a few days I try to write a function in c# with VMWARE.VIM to create a user or change existing user password on an ESX host.For now, I have a function who enum all Hosts in a Datacenter and...

View Article

VSphere realtime stats: timestamp is 1 hour off

I have an app that pulls down the realtime stats of a vsphere install every 15 minutes, and it's been working like a champ for close to a year now.  Recently, we added a new vsphere install in the same...

View Article
Browsing all 1860 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>