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

How can I get the "powered on" state history of VM's?

HI, How can I get the history of a VM's power state? Questions like "when was the VM last powered on?" Thanks, A

View Article


change the scsi controller type

Hi, Is it possible to change the scsi controller type (eg from buslogic to lsilogic) using Web Management SDK ?looking for something similar to PowerCLI's "Set-ScsiController" cmdlet. Thanks,Oz

View Article


How to create a alarm to trigger a script when a vm is deleted in a Specific...

I'd like to create an alarm that triggers a script which runs whenever a VM is deleted within  a specific vCenter server.  The trigger script is used to collect the "will be deleted Vm's detail info...

View Article

Will VimService be supported for future SDK Release?

We are planning to develop an application for monitoring the performance counters from various ESX servers. The two options available are vimService and esxtop. Esxtop may cause extra CPU consumption...

View Article

problem with creating ServiceInstance

My project Is C++ based JNI application to get the Esxiserver details, The C++ code sends the Request to JavaMethod(Through JNI) to get the Details of the EsxiServer, I'm able to get the...

View Article


Perfomance degradation with a shared connection/session to WebService

I am trying to implement a REST service via a C#, ASP.NET WebAPI application which retrieves information from vSphere via the vSphere Webservice API. When the WebAPI application is started a connection...

View Article

Finding a Host with a VM MoRef

In my current application I have a VM object and need to find the host object that it is on, so I can calculate the total Ghz allocated to the VM. I found a reference to Get-VMHost in the PowerCLI...

View Article

VM Storage policy and assign tags API

With vSphere 5.5 Vmware has introduced VM storage policy, but I am not able to find any specific API's in the vSphere web services SDK to find out any specific details about the Storage policy.Storage...

View Article


CIM numericSensorInfo

Hello!!  Everyone.         I coded the below  by C#.  But, the C# code cannot get the CIM sensors infomation.*CIM (Common Information Model) I found Numberofsensorsis different between vCenter and...

View Article


Modifying UUID of an existing disk (VMDK) while adding it to a VM using...

Hi, I am trying to add an existing VMDK to a virtual machine. The ReconfigVM_Task() API completes without issues and the virtual machine is added with the existing virtual disk as specified. However,...

View Article

Error in deleting the snapshots in ESXI 4.1

Hi , I'm having an issue with deleting the snapshots in Esxi server 4.1.While calling removeSnapshot_Task it throws exception as "InvalidRequest", but the same code working fine if the Esxi Server(4.1)...

View Article

VMware.Vim.Folder.CreateVM : restoring vm with VirtualIDEController disks

I've a Windows XP vm with a 10GB IDE disk backed up from a 4.1 vcenter. The config XML contains 2 VirtualIDEController and one of them is the virtual disk controller. I'm trying to restore it on a 5.1...

View Article

Pulling ESXi Host Information from VirtualMachine Object

Hello everyone, Not sure if this is the correct forum or not, but I am trying to pull all of the host information from a selected VM instance in C#. For example, I have the following code:...

View Article


c# - StartProgramInGuest

Hi, I'm very confused with VI API, I'm trying to set a startprogram in guest and I got stuck with diffrent object types, Can somebody please have a look on that.:   List<VirtualMachine>...

View Article

Reconfigure VM to modify SDRS

Is there not a way to set the SDRS rules for a VM using a ReconfigVM_Task?  I see some examples using ReconfigureComputeResource but I need to use the _Task version and don't know what cluster resource...

View Article


VMware.Vim.Folder.CreateVM : restoring vm with VirtualIDEController disks

I've a Windows XP vm with a 10GB IDE disk backed up from a 4.1 vcenter. The config XML contains 2 VirtualIDEController and one of them is the virtual disk controller. I'm trying to restore it on a 5.1...

View Article

Pulling ESXi Host Information from VirtualMachine Object

Hello everyone, Not sure if this is the correct forum or not, but I am trying to pull all of the host information from a selected VM instance in C#. For example, I have the following code:...

View Article


Data Object - VirtualSCSIController doesnt return initialized array for...

When iterating through a list of devices attached to a VM with the following perl loop, VirtualSCSIController objects instantiated by VirtualLsiLogicSASController, VirtualBusLogicController, or...

View Article

Urgent help needed: VMware-Vsphere SDK 5.1 java sample: failed to find wsdl...

I got a problem to make the java sample running properly. Any help will be really appreciated . 1. download VMware-vSphere-SDK-5.1.0-774886\SDK,2. set up javahome3. imported VMKEYSTORE, and setup in...

View Article

VirtualDiskManager > ExtendVirtualDisk_Task

Hello, i need help for this call: vSphere Documentation Center (ExtendVirtualDisk_Task) I'm unable to pass a correct value for parameter name.I'm trying the call from:...

View Article
Browsing all 1860 articles
Browse latest View live


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