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

C# CloneVM_Task Network Not Connected

Ok, so I would like to be able to clone a vm and have it's network come up already connected, and I feel I'm missing something incredibly simple....

View Article


Image may be NSFW.
Clik here to view.

snmpSystem On vcenter

Hii am trying to reconfigure SNMP VIA vsphere api but the  ManagedObjectReference HostSnmpSystem  value is UNSET AND I AM HAVING NULL ERROR excpetion.Vcenter 5.1 update 1   Thx

View Article


Java API for Network Status of VSAN Cluster

There is a field called Network Status for a VSAN Cluster.The possible values which appear for this field seem to be "Normal" or "Misconfiguration detected" or "No hosts in this cluster" I need to...

View Article

Tracking guest os event?

Hello, I hope you all are well. My question this time is about tracking installed guest os. In a particular, is there any way to track when the OS is "completely ready". I know that the "powen on" is...

View Article

How to cast the (FileInfo) type to (VmDiskFileInfo) type objects? VI SDK Java

I am trying to get virtual disk size and type from datastore. After getting result, to get the size and type, I have to cast  (FileInfo) type to (VmDiskFileInfo) type objects but I got a casting error....

View Article


How to copy files in web client server to NFS Datastore

Hi, All For some reason, I need to copy some files in web client server to NFS Datastore(PDFS file system), Is there any vSphere API or method can help me ? Thank you

View Article

How to install bundle on ESXi 5 using VI SDK 4.0/5.0

Hi, I am trying to install a bundle on ESXi 5 machine remotely using vSphere SDK but it seems VMware no longer supports "esxupdate" command. VMware says to use esxcli instead of esxupdate but for...

View Article

Setting vCenter Server Managed IP via Powershell

Does anyone know to set the vCenter Server Managed IP address using Powershell? To set this manually with the vSphere client the option is under Administration | vCenter Server Settings | Runtime...

View Article


How can I determine the type of a Port Group via C# API

I need to determine the type (ex "Virtual Machine Port Group" vs "VMKernel Port" vs ... as shown in vSphere Client) via the published C# (Web Service facade) API.   It s obvious this type is available...

View Article


Getting Moref using VM Name

Is there is any fastest way to get the moref of a VM using its name?Instead of traversing each VM and comparing its name.Can we specify propertyfilter in any manner to achieve this?

View Article

vSphere WS interface for Node.JS

Hey all, I've begun to create a vSphere WS interface for Node.js that uses the node-soap and soap-cookie npm packages to connect to a vCenter or ESXi WSDL service instance. I'd like some feedback on...

View Article

InstantClone APi ??

Hello,From http://www.vmware.com/files/pdf/vsphere/VMware-vSphere-Whats-New.pdf, there is a new feature 'InstantClone'. Will there be any webservices API to perform the Instantclone ?Thanks,Balu

View Article

Harvest all ESX + VM's at Scale?

Using the pyvmomi bindings to the vSphere SDK I need to harvest all of the ESX servers and VM's in a given vCenter. The vCenter environment will be approaching the 5.5 documented maximums (1000 ESX...

View Article


CredentialStore getPassword returns unreadable string.

Clarification on “CredentialStore” password management: While retrieving the password stored in the credential store, using the “CredentialStoreAdmin tool”(using --showpw) i'm are getting...

View Article

HTML bridge and the Web Client SDK 5.5.1

Hello All, I do hope you are well. I would like to ask you about any information of the new and the future implementation of the UI HTML plugins. I couldn't find any document or guide as well as...

View Article


Please point me an example or api to programmatically delete distribute...

Please provide this answer to proceed further.For creation of portgroup,I use this:  DVPortgroupConfigSpec dvpgconfig = new DVPortgroupConfigSpec();String pgName="_"dvs.getName()strPortGroupName;...

View Article

How to move a VirtualMachine from one Folder to another?

Hi there, I'm trying to move a Vmware.Vim.VirtualMachine from one Vmware.Vim.Folder to another with the API Provided by the C# Vmware.Vim.dll from the PowerCLI in a VisualStudio 2010 Project. Please be...

View Article


Get Virtual Machines into specific folder using c# or vb.net

Hi, If you want get VirtualMachine into specific folder how? a lot of thanks

View Article

FindAllByDnsName ==> general system error occurred: Missing non-optional field

HelloI'm trying to use the SearchIndex.FindAllByDnsName method to retrieve a list of vms registered on my host.However, this methods always send me back a soap fault message : A general system error...

View Article

HowTo: Beginners Advice for using the vSphere APIs in C#

To be done: write about general structure and behavior of the API, e.g.: Folders(not "real" Folders, two points of view - ressource and organization)Hi there,in this thread I'll just let you know how 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>