Re: HTML bridge and the Web Client SDK 5.5.1
Stephan,All the doc and samples are included in the Web Client SDK bits that you can download from dev center (current version is 5.5.2, and 6.0 is almost ready)In the future it's better to post your...
View ArticlePlease 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 ArticleRe: How to move a VirtualMachine from one Folder to another?
HI Kjellski I just don't get it... where do I say where the VM shall be moved to? I mean don't I have to specify a path of something?Can someone please make me a sample with names and everything? And...
View ArticleGet 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 ArticleRe: Get Virtual Machines into specific folder using c# or vb.net
You'll need to get an object reference of your destination folder, then call MoveIntoFolder_Task(). You can move multiple entities in this way, though some folders are specific to certain inventory...
View ArticleRe: FindAllByDnsName ==> general system error occurred: Missing non-optional...
Not entirely sure, but this error might just be thrown when the guest hostname cannot be found (via guest tools). I tried it with a VM hostname I know is not on a specific host and reproduced your...
View ArticleRe: FindAllByDnsName ==> general system error occurred: Missing non-optional...
Thanks a lot for your answer and your time.I will then use the propertyCollector. Reading the doc on it the first time gave me a headache ... this was the reason why I was intending to use the...
View ArticleFindAllByDnsName ==> 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 ArticleRe: FindAllByDnsName ==> general system error occurred: Missing non-optional...
Yeah, and gSOAP does a generic class generation, so you'll have some logic to parse out the results into objects (or some data structs since gSOAP doesn't include the entities like VirtualMachine,...
View ArticleRe: HowTo: Beginners Advice for using the vSphere APIs in C#
Thanks a *lot* !! You've done the hard work I was kind afraid to start. I was planning on building a small app that browses throught our various vCenters to inventory our VMs in the broad lines (disk...
View ArticleWhere to map a custom object to mark the datacenter.
Hello all,I need to attach some information to the datacenter object. In every time I log in to the system I will read this information from the selected datacenter and perform some actions. So what is...
View ArticlePossible to create my own "Open Console" feature?
Hi,I'm working on a tool in c# to request new VMs, edit them, etc. and the users won't have access to the VPXClient so I'm wondering if there's a possibility to create my own "Open Console" feature...
View ArticleVCSIM 2.0 does not simulate "raw data feed"?
Our application uses QueryPerf to fetch real time (20 second) performance stats as described in the vSphere 5.5 SDK docs. This specially constructed request reduces vCenter load by getting stats...
View ArticleWriting SOAP calls manually
I need to find a good reference or tool to help write SOAP calls. I am using SOAPUI to talk to vimService.wsdl. An example of a simple task that I'm trying to do: <soapenv:Envelope...
View ArticleCreating "Read-Only" Custom Roles
Hi,in our vSphere WebClient Plug-in, we want to create custom roles which contain the privileges needed to operate the plug-in correctly.We would like to have these roles "read-only", the user should...
View ArticleRe: Writing SOAP calls manually
You may be in for a world of pain Some of the calls are pretty deeply nested. But the first problem will be the ManagedObjectReference (_this) in your example. That is in the format of: <_this...
View ArticleRe: Writing SOAP calls manually
Thanks! I have done a lot of the work through PowerCLI which is not ideal as a middleware agent, hence transferring everything to use the API. So I'm quite familiar with using morefs, it's just that...
View ArticleNeed some help configuring LACP using PowerShell...
I am trying to script LACP and LAG creation. As of right now this can only be achieve via the web client. I manually enabled LACP on test-switch01, created a lag1 and trying to configure use that lag1...
View ArticleRe: Writing SOAP calls manually
Under the covers, all the SDKs (including PowerCLI) use the same calls, just wrap them for simplicity. You'll have to parse your SOAP responses. You can get your target MoRefs from a lot of sources -...
View ArticleRe: Writing SOAP calls manually
No, unfortunately I cannot get access to the inner workings of the platform I'm using, but I have put in a request for enhancement for our devs to add a vSphere API plugin. Is it possible to use those...
View Article