Questions tagged [vmware-sdk]

vmware-sdk refers to the SDK sets (software development kit or devkit) for software provided by the software virtualization company VMware. Use this tag for questions related to the VMware SDKs.

vmware-sdk refers to the SDK sets (software development kit or devkit) for software provided by the software virtualization company VMware. Use this tag for questions related to the VMware SDKs.

26 questions
5
votes
2 answers

Building vSphere DLLs fails with CS8078: An expression is too long or complex to compile

I am following the documentation here Setting Up for Microsoft C# Development and at this step Building the C# vSphere DLLs I get the following in Developer Command…
Wilhelmina Lohan
  • 2,803
  • 2
  • 29
  • 58
5
votes
0 answers

How to set Locale before login in vmware api call for Non English vCenter

I am using VMware API to perform vCenter operation. Used suds to make SDK call. My vCenter is configure for Non English (Japanese) support. import suds client = suds.client.Client("http://localhost/sdk/vimService.wsdl",…
Nilesh
  • 20,521
  • 16
  • 92
  • 148
4
votes
2 answers

VMWare ESX/ESXi CPU usage

I'm using Visual studio 2010 and (native) C++ trying to extract the overall CPU usage of the VMWare host and then the CPU usage of each running VM. I've looked into VMWare Webservice SDK 4.1 using gSoap to build a C++ interface, but its to slow and…
ROAR
  • 1,304
  • 1
  • 11
  • 28
2
votes
0 answers

VMWare java SDK: When doesn't an available PerfMetricID report Data?

I'm trying to use vmware sdk for java to collect the perfomance data of each entity (cluster/datastore/Host/VM) in the vmware environment. The idea is to get the available PerfMetricIds for the target entity with queryAvailablePerfMetric, query…
DS_UNI
  • 2,600
  • 2
  • 11
  • 22
2
votes
1 answer

trigger host custom shell command using VMware SDK

I'm looking a method to run custom shell command on all ESXi host connected to vCenter using VMware Web service SDK e.g. Pyvmomi
2
votes
1 answer

Efficient way to traverse vcenter inventory and retrieve properties

I'm using yavijava and am required to traverse a vCenter and build a list of all hosts and VMs on it. For each host and VM, I need to retrieve a few properties such as the name, amount of RAM/CPU etc. My current code looks like this: ManagedEntity[]…
darkstar
  • 157
  • 9
2
votes
0 answers

Information about VSphere sdk Java Service export several objects.

At the moment I am trying to create a vsphere web service. I have exported all the necessary back - end class as well as some other parsers. The idea is that I need to extend DataProviderAdapter probably to send and receive information from the GUI.…
celeborn
  • 308
  • 2
  • 13
2
votes
2 answers

How can I get a VirtualMachine reference using VMware Java vSphere SDK?

I am familiar with using the VMware VIM API in C# using the VMware.Vim.dll provided in the PowerCLI. Now I want to be able to program with this API using Java, but I can't find an equivalent to it. The com.vmware.vim.jar in the vSphere SDK doesn't…
lehn0058
  • 19,977
  • 15
  • 69
  • 109
2
votes
1 answer

How to WaitForUpdates from VMs in a cluster?

I am using VMWare VSphere WS SDK in Python using the suds client. I want to wait for any changes to VMs. I am specifically interested in VMs of a particular cluster. Is there a way in the propertyfilterspec to say that? I tried setting the managed…
Litty
  • 305
  • 2
  • 16
1
vote
1 answer

Could not load file or assembly 'VMware.Binding.WsTrust'

I am trying work with the VMWare SDK to create a Windows service in C# & .NET that automates launching and stopping virtual machines in the VMWare Workstation. I have downloaded the SDK and referenced the necessary dll files in my project. …
zack
  • 85
  • 9
1
vote
1 answer

The application license check that is running on a virtual machine vmware

I'm sorry for my bad english. There is a application with license tied to the hardware. One computer - one license. Typically, a license check is as follows: The application scans hardware. The application collects information about the hardware…
Abradox
  • 117
  • 1
  • 7
0
votes
1 answer

VDDK API Mocking

We are using VDDK apis in our backend and require to mock the VDDK APIs for testing. As it is not a SOAP interface, would anyone know the protocol for used to help us mock the apis?
0
votes
1 answer

How to get data deduplication and data compression status for vSAN cluster using pyVmomi?

I want to fetch data deduplication and data compression status of vSAN cluster for running precheck disk format version upgrade.
0
votes
1 answer

Pyvmomi supported types

Background I am trying to extract all of the information from vmware that I can via its API and pyvmomi. I noticed from pyvmomi examples that this is how to get all of the vms on a vsphere instance: import yaml from pyVmomi import vim from…
Rorschach
  • 3,684
  • 7
  • 33
  • 77
0
votes
1 answer

Custom attribute to VM ware Vsphere using Java SDK

I am trying to add a new custom attribute to VM ware vSphere using VMware JAVA SDK but it is throwing "InvalidType" exception. com.vmware.vim25.InvalidType at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at…
Mayank Goyal
  • 87
  • 1
  • 11
1
2