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

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


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

Confusion about documentation regarding ReconfigVM_Task

In the vSphere docs (version 6.5 and earlier), in the section: vSphere API/SDK Documentation > vSphere Management SDK > vSphere Web Services SDK Documentation > vSphere Web Services SDK...

View Article


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, ¬ represents indentation for...

View Article

SSO Issue with C# .Net

I am trying to get my app to use the Web Services SDK with C# .NET and having issues with SSO. Using Holder of Key User Credentials authentication and following the LoginByToken example in the SDK...

View Article

how to connect/disconnect local usb device to the virtual machine by SDK

Hi, I have several usb devices plugged in my PC machine. By the remote console I can manually connect/disconnect the local usb device to the virtual machine one by one. I'm wondering if there is a way...

View Article
Browsing all 1860 articles
Browse latest View live