Quantcast
Channel: VMware Communities: Message List - vSphere Management SDK
Browsing index pages (2052 articles)
↧

Image may be NSFW.
Clik here to view.

Query information from VCenter / Host / VMs

Hello friends, are you okay?I am working on a system that will read information from VCenter / Host / VMs. I identified some existing APIs, they are the API Rest and SOAP (vimService). However, I am...

View Article


Image may be NSFW.
Clik here to view.

### Not able to capture VMware event Lost network connectivity for DVSPort

I tried the following code. I am able to see the event in vSphere but not able to capture with code.I am able to see the descriptions related to event on this particular vCenter. To my understanding...

View Article


Image may be NSFW.
Clik here to view.

Re: How to get VirtualMachine moid

Real paranoia greying out half of screen.. but answer to the point

View Article

Image may be NSFW.
Clik here to view.

Re: VIsdk with C++

Hi, you wrote the command wrong. In your case, the correct command will look like this: soapcpp2 -i -C -I C:\Usr\gsoap\import -d <path_to_generated_sources> vimService.hFor example: soapcpp2 -i...

View Article

Image may be NSFW.
Clik here to view.

Find hostsystem by findbyip

Hello,how to retrieve the information about hostsystem object  by using searchindex.findbyip for ipv6,Findbyip works fine for ipv4. Is there any workaround to ger hostsystem object by using ipv6...

View Article


Image may be NSFW.
Clik here to view.

How to map VirtualMachine virtualDisk metric instance id like scsi0:0 to...

I am querying virtual machine and its virtual disk..later getting virtual disk metrics for VM but I am having problem in mapping between VirtualDisk objectId and Virtual machine virtualDisk metric...

View Article

Image may be NSFW.
Clik here to view.

Re: Getting Properties from a ManagedObjectReference

I was able to figure this out. In the vSphere Web Services SDK Programming Guide - VMware vSphere 6.7 starting on page 75, there is an Example: Inventory Traversal in Java that shows how to extend the...

View Article

Image may be NSFW.
Clik here to view.

Getting Properties from a ManagedObjectReference

I am trying to figure out how to get a subset of properties from a ManagedObjectReference to HostSystem. My current use case is that I am using a property collector to retrieve all VirtualMachines. One...

View Article


Image may be NSFW.
Clik here to view.

Re: "vDS dvs port cannot be found" when deleting a port mirroring session

Try removing the offending VM from the inventory (make a note of it's location beforehand) and re-adding back. /Tim

View Article


Image may be NSFW.
Clik here to view.

Re: Session not Authenticated - Client received SOAP Fault from server

UPDATE I was able to retrieve the "Set-cookie" from the responseContext after using the _vimport.login() method and not before as the example code suggests. I am using the following code to add the...

View Article

Image may be NSFW.
Clik here to view.

Session not Authenticated - Client received SOAP Fault from server

Hello, I am attempting to retrieve HostSystem and VirtualMachine data with the web services API after using the vimport.login() method. I seem to be logging in just fine and retrieving the...

View Article

Image may be NSFW.
Clik here to view.

VM Folder Name

Greetings,Is there a simple way for me to get the folder name of a vm? I am using the https://github.com/vmware/vsphere-automation-sdk-restThanks!

View Article

Image may be NSFW.
Clik here to view.

Re: Refresh Network Information

Hi Doug,  Quesiton ,  I want to use your script but just to get the refresh information for 1 HOST, could you please make me a script where I can enter the host name please? thanks!! Call it on the...

View Article


Image may be NSFW.
Clik here to view.

Cannot extract VMs from VRealize with Api WeB

Hello,I have a PowerShell script that uses the Web API to extract data from host, cluster and VMs on VRealize but since I installed version 6.7 of VSphere, I have data from host, cluster but not those...

View Article

Image may be NSFW.
Clik here to view.

Re: Perl API Silent Install

Thank for figuring this out! And to complete the unattended install for Perl SDK, here's the one-liner to modify:perl -i -0pe 's/(?<a>\$gOption.*)(0;)(.*\n.*)(show)/$+{a}0;\3#\4/'...

View Article


Image may be NSFW.
Clik here to view.

Re: Account lockout on vsphere web client and ssh

Hi Asajm:  I was looking at the thread that you recommended, but I can't find any solution there. The server does not have session lock configured. As I mentioned before, the only problem is that I...

View Article

Image may be NSFW.
Clik here to view.

Re: Account lockout on vsphere web client and ssh

Hi splebdCheck Cannot Login to WebAccess but to ESXi console

View Article


Account lockout on vsphere web client and ssh

Hello friends:  I have the following concern: I have a stand alone esxi version 6.7 server; I had to manage via ssh on the server to set up a trust relationship, and after a while the session ended....

View Article

Image may be NSFW.
Clik here to view.

Re: How to get VirtualMachine moid

Assuming ssh access is enabled you can ssh into your esx server from a bash terminal i.e... ssh {ESX IP Address} Once logged you can run the following command... vim-cmd vmsvc/getallvms Which will...

View Article

Image may be NSFW.
Clik here to view.

Are there any maven repositories for vim25

Hi, Anyone knows which maven repository to use inorder to include vim25 jar the local project?Thanks in advance.

View Article
Browsing index pages (2052 articles)


Latest Images