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

c# 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


How to add an item to "Tasks (Console)" of vSphere Web Client

Hi all, I am a total newbie in VMware SDK developing. I am trying to track action progress for my extension (plugin) using the Task Console but I could not find any sample code to help. I tried to...

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

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

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


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


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

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

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


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

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

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

Problem with host name setting when customize a Linux VM

 I am customizing an existing vm with Linux OS cloned by VC with VMWare SDK. In the customization, I want to set the host name of that vm in the form of FQDN. I can successfully set the host name as...

View Article
Browsing all 1860 articles
Browse latest View live


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