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

Querying / configuring RAID-controlled drives using VIJava

I wonder if knowledgeable people can direct me to a write-up or a sample code which configures datasets on top of RAID controllers, and / or probes such datasets to enumerate the physical drives...

View Article


Error in SSOConnect method - 'Vim25Api.VimService' does not contain a...

Downloaded the latest build VMware-vSphere-SDK-5.5.0-1284541.zip from here Made sure vCenter server version is 5.5 and local vSphere Client 5.5 is connecting to host with no issues. Followed the...

View Article


vSphere Plugin Service

Hi, I have developed a vcenter Service plugin which calls the REST service running on some other server. I have developed a UI plugin in vsphere web client wherein the user will enter the login...

View Article

Vcenter Licence

HiI am using to add licence the AddLicense method from  the vmware api,and it works fine ,now when i want to assing in as current licence i am using UpdateAssignedLicense method from the vimware apiall...

View Article

About "View" role

What does the "View" role used for? id=-3, name=View, info=View:Visibility access (cannot be granted), privilege=[System.Anonymous, System.View] from description, it can't be granted, but from one of...

View Article


Cannot execute sampes for C# SDK 5.5

Hello Guys, I'm trying to execute SimpleClient or RealTime program but I get bunch of exeptions. For example when I run SimpleClient with this command:SimpleClient --url Https://192.168.xxx.xxx/sdk...

View Article

Help with XML Serialization

Guys I need help I have an ArrayList or Object full of managed-objects and I'm struggling to serialize it so I can layer the object into a XML document. I get an error: {"The type...

View Article

XmlSerializers doesn't seem to be loading

I'm in a .net  project and have gone through the steps to generate the VimService dll and XmlSerializers but I still get errors like System.InvalidCastException: Unable to cast object of type...

View Article


ExtendedFault message, variable substitution

I'm having trouble substituting strings in error messages that I've defined via ExtensionManager. I define a couple of tasks and faults and added the localization resources. I read documentation...

View Article


ListProcessesInGuest & StartProgramInGuest

I am trying to retrieve a list of processes from a Windows guest and also start a program in the guest using C#. I used the Java sample code in "RunProgram.java" in the SDK samples as a guide. The...

View Article

Storage Profile Programming

Hi, I've tried running the samples for policy based storage management provided with vSphere Management SDK but with no success. I've made sure URL's and credentials of vCenter Server are correct. I...

View Article

PHP nusoap - problems with WSDL and namespace

Hi all, I've finally decided to make an account and ask for help. First off, I am using php and nusoap to make calls to my vCenter to perform operations. I am working on automating clone vm via...

View Article

is there an easy way to schedule when to power on my virtual machine

Hi,I'm using vSphere 5.1 and ESXi 5.1 from what I gather. What's the easiest way to schedule power on/off a virtual machine? The goal here is to turn on once a week and get OS updates and then shut...

View Article


How to import an ova image using VISDK

I understand that ova is an archive format of the ovf image. Basically it's a tarball of the files in the ovf image. Is there any API in VISDK to take an ova file directly from a remote server? An ova...

View Article

managementServerIP returns null for vCenter

Hello, I am trying to retrieve the FQDN of VC name (eg. vCenter.companyName.com) and I got managermentServerIp from HostListSummary class. Then I used InetAddress class from Java API to convert the...

View Article


Why managementServerIp returns an empty value for a given host?

 Hello,  I have 2 hosts on 2 different datacenters.  I have a function called getHosts and I fetchs the HostListSummary from the host.  For one host I can get its name, UUID and IP address through...

View Article

Image may be NSFW.
Clik here to view.

Virtual Machine "Provisioned Space" and "Used Space"

I am trying to get the "Provisioned Space" and "Used Space" for a Virtual Machine, as reported by the vSphere Web Client in the following screenshot:  I am using the VirtualMachineStorageSummary data...

View Article


'managementServerIp' property in MOB returns 'Unset' for ESXi hosts managed...

Both vCenter and ESXi servers are 5.5 and it shows 'Unset' for 'managementServerIp' property in MOB. I believe it's something in the configuration, but not sure what to check, please advise where I can...

View Article

Vim25Api.VimService' does not contain a definition for 'SetPolicy

Hello. I'm trying to build samples from vsphere Management sdk but 'm stopped by this error. I checked [https://communities.vmware.com/message/2419363 | https://communities.vmware.com/message/2419363]...

View Article

Does ESXi 5.5 support Web Services SDK, or does it need to be installed

I am trying to learn/use the Web Services SDK, but have quite a learning curve ahead of me.  I want to use this for ESXi configuration for developing automaton to test our adapters. Anyway, while I...

View Article
Browsing all 1860 articles
Browse latest View live


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