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

"A WebService annotation is not present on class:...

Hi,We have a vSphere HTML SDK plugin developed using vSphere 6.5 SDK. One of the dependencies for our plugin is vim25.jar (from the libs folder of vSphere 6.5 HTML SDK).Our plugin gets loaded...

View Article


How to wait a task after cloning VM with VMWare.vim.dll ?

Hello everybody, I work on a web interface which manage virtual machines on vsphere Esx 5.5. My interface is based on .net web forms (not MVC)I followed jeffpaton posts (using VMware.Vim  ) which...

View Article


How to get IP address of vCenter Server?

I want to get IP address of vCenter Server from my plugin. But from vimObjectReferenceService, I only can get host name of vCenter Server (something like vc01.example.local). Is there anyway to get IP...

View Article

lock vsepehe

Hello we used vcenter server lock it We removed it vcenter but not unlock server on vcenter now we can not login to vSphere it massage locked please help me

View Article

Image may be NSFW.
Clik here to view.

Can i upload a file in DataStoreBrower with vSphere Web Service Api For Java?

View Article


VSphere Java SDK: How to get the time when Virtual Machine was powered off

VSphere Java SDK: How to get the time when Virtual Machine was powered off For getting Powered on Time, I am using vm.getRuntime().getBootTime().getTime(); Problem is as per VM docs bootTime property...

View Article

Image may be NSFW.
Clik here to view.

How to get VirtualMachine moid

I just started working with the MOB and learning about MOID's. I was hoping to get the VirtualMachine MOID. We have ESXi hosts with free license. Any way to get this? I just want to execute...

View Article

Image may be NSFW.
Clik here to view.

Get specific folder when there are multiple folders with the same name

Hi. I'm trying to resolve a similar issue as described here:Folder by Path - LucD notes However, I'm trying to use the vSphere API to resolve the issue. Trying to run the following code will display...

View Article


Image may be NSFW.
Clik here to view.

Map vSphere API privileges to vSphere Web Client UI

Developers who work with the vSphere API (usually in Java or C#) ask how they can map privileges in the API to privilege strings in the vSphere Client. In the table below, up-arrows represent...

View Article


How to create a VI 2.5 client plugin

This is not a replacement for the white paper I am writing that describes VI client plugin development. Consider this a "BSG: Razor" tactic. Yes, the real product is coming, this is just to tide you...

View Article

Image may be NSFW.
Clik here to view.

AlarmManager.createAlarm() API changes since 6.0

Hi All, UpdateIs there any mandatory property of AlarmSpec that I must supply in vsphere client SDK 6.0+? Looks like the SDK has enforced some validation against null value since 6.0+.The API document...

View Article

Hello, I have a question about creating users or groups in vCenter Server

Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...

View Article

I have some question about creating users or groups in vSphere Center Server

Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...

View Article


Image may be NSFW.
Clik here to view.

AlarmManager.createAlarm() API changes since 6.0

I'm working with vsphere client SDK to integrate functionalities into our management plugin for vmware, recently I find a compatibility issues with API version 6.0 or above:  Just noticed some changes...

View Article

How can I control the vSphere API version?

We have recently upgraded to vSphere 6.0I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to configure for enabling/disabling vSphere HA VM...

View Article


Image may be NSFW.
Clik here to view.

C# Using Single SignOn (SSPI) for Virtual Center 2.5.0.119598

I am trying to use passthru authentication using SSPI to work in my c# application. Here is a snippet of the code I am trying to get to work. returns a reference for VMware.Vim.SessionManager...

View Article

Image may be NSFW.
Clik here to view.

How can I control the vSphere Web Services SDK/API version?

We have recently upgraded to vSphere 6.0I'm using the Web Services SDK for .Net.I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to...

View Article


How can I create a user in VCenter Server, using vim25?

I can create a user account through the web client.But I want to create users, using vim25 SDK(JAVA).I can retrieve user information from UserDirectory(retriveUserGroups method) but I couldn't find the...

View Article

How can I bypath the Root CA when using HTML Console?

I want users to see their HTML console directly without installing root CA on their computers. I have been using vim25(JAVA) for developing.Is there a way to bypath the Root CA when using HTML...

View Article

Is PerformanceManager thread safe?

Hi all,Is this ManagedObject thread-safe? If multiple threads are sharing it, is it ok to make it...

View Article
Browsing all 1860 articles
Browse latest View live


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