Should what API I use to get items in the inventory of VCServer tree?
Hello
I create the inventory tree (VCServer = > data center = > file = > Cluster) within a standalone dialog in my plugin. The view is ready and it works on an XML string that represents the hierarchy of objects (tested with simulated data) tree. Now I need objects real vSphere appears in my tree, and I was wondering what I should look for it's API. I found this utility class really handy that I think could help me achieve what I want
ServiceUtil (VMware vSphere Web Services SDK Java samples Documentation)
and here's a great example that does things I like (find Morefs in the tree of inventory by type) = > http://vlab-vwa.googlecode.com/svn/trunk/backend/apputils/vim25/VMUtils.java
Here's something I tried not working
/////////////////////////////////////////////////////////////////
UserSessionService service;
USession UserSession = service.getUserSession ();
ServerInfo [] info = uSession.serversInfo;
String sessionCookie = info [0] .sessionCookie;
ServiceUtil util = new ServiceUtil();
util.clientLoadSession (sessionCookie);
REF ManagedObjectReference = util.getDecendentMoRef (null, "Cluster", "C - 2");
/////////////////////////////////////////////////////////////////
The thing I don't understand is how to create a 'authenticated' version of ServiceUtil which will help me to call the methods getDescendentMoref() and similar calls. I have a reference to a UserSessionService and VimObjectReferenceService (authenticated) and I was wondering if I can retrieve an instance of a ServiceUtil that I can use.
Thank you
Concerning
See com.vmware.vise.usersession.UserSession, which has the property of serversInfo which is an array of ServerInfo.
Tags: VMware
Similar Questions
-
Should what action I use to get back into the time line?
Hello guys.
I have this slide containing a video, and I wish have a button that brings the student to the point 0 of the chronology of the slide.
Should what action I use? I read something about Javascript, but was hoping that might be an easier way.
Can someone help me pls:
To replay a blade, I use this tip action:
Expression cpCmndGotoSlide = cpInfoCurrentSlide-1
Finally, you must add the command continue, depends on the configuration of the slide.
-
Should what procedure I use to replace a secondary storage SATA?
Should what procedure I use to replace a secondary storage SATA?
I have a SATA secondary drive that is too small. There nothing critical in this regard. If I'm asking the domain controller to replace it with a larger, they shut down the server, remove the small drive, put in the largest and start the server up. My questions are:
1 how the ESXi 4 will react when he sees the missing original disc and a vacuum?
2. How can I get the new drive back under the control of ESXi 4?
Thank you!
1 how the ESXi 4 will react when he sees the missing original disc and a vacuum?
You must just rescan the HBAS and set up a new store of data on this drive.
2. How can I get the new drive back under the control of ESXi 4?
Even as before it should appear after a restart.
-
Should what format I use for my external hard drive?
I have an external drive that I wish I could use (writing) from my Mac and my PC, but without the limitations of + 4 GB files.
Is this possible or am I pasted with limiting the size? If so should what format I use on my external hard drive? and it has all the other notes aside I should know?
Thank you!
Hi Filabaca:
If you want to use a hard drive external Mac and PC options are:
1. format the drive in Mac as exFat
2. format the drive to NTFS on a Windows PC and use a program like Paragon NTFS for Mac. https://www.Paragon-Software.com/home/NTFS-Mac/
Paragon NTFS for Mac allows you to use a disc formatted in NTFS by a Windows PC.
Here is an article showing the difference between FAT32, exFAT and NTFS. http://www.howtogeek.com/235596/whats-the-difference-between-fat32-exfat-and-ntf s /
Kim
-
Should what format I use for my external drive for time machine? I have a WD 2 TB that is formatted for PC new drive. When I got to disk utilities to erase, and then reformat the options are
1 mac OS extended (journaled)
2 mac OS extended (journaled, encrypted)
3 mac OS Extended (respect for case-sensitive, journaled)
4 mac OS extended (case-sensitive, journaled, encrypted)
See the information below If you can not back up or restore your Mac with the help of Time Machine - Apple Support
When you select a drive to use with Time Machine, your Mac automatically prompts you if you need to reformat the drive.
- If you are using an external drive connected to your Mac, use disk utility to make sure that your backup disk is formatted in HFS + extended (journaled) and is the partition type GUID Partition Table (GPT).
- If you use a time Capsule, formatting the drive for Time Machine preferences automatically formats the drive as HFS + Extended (respect for case-sensitive, journaled) with a GUID Partition Table (GPT).
-
should what software I use to burn the iso file of windows xp?
should what software I use to burn the iso file of windows xp?
I like ImgBurn.
-
In CS3, I used command * to place an image in color on top a text. In trying to do the same thing in CS6, nothing happens. Should what command I use?
Hi lennarta,
Please refer to place an Image in text with Photoshop CS6 and follow the process.
Let us know if that helps.
Kind regards
Assani
-
Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?
I think you could use DW, but it would be browser based and you need to understand a lot about html, css and javascript to do. Adobe Captivate seems closer to what you want: http://www.adobe.com/cfusion/search/index.cfm?term=buy+captivate&loc=en_us
Is not part of the subscription of cloud creative and is 1000 US $ or $29.99 / month on its own...
-
I have Photoshop CS5 in my old Macbook (2007) and want to have it in my new Macbook Pro (2012). What is ways options to get it in the new?
You can download CS 5 below the link:
https://helpx.Adobe.com/Creative-Suite/KB/CS5-product-downloads.html
Just in case, if you get an error when installing CS 5 as Setup is damaged, you shud eject a disc, see link below:
-
I have just replaced my computer and now need to reinstall Dreamweaver. I can't for the life of me find anywhere on the Adobe site to download again. Should what steps I take to download and reinstall the software I pay for every month?
Download/install the desktop application, connect and install applications subscription.
Creative cloud to desktop
https://helpx.Adobe.com/creative-cloud/help/creative-cloud-desktop.htmlSign out, sign in | Creative office cloud app
http://helpx.Adobe.com/creative-cloud/KB/sign-in-out-creative-cloud-desktop-app.htmlHelp of activation & deactivation
https://helpx.Adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to'sInstall, update, or uninstall applications
http://helpx.Adobe.com/creative-cloud/help/install-apps.htmlInstall creative Cloud applications
http://TV.Adobe.com/watch/CS6-creative-cloud-feature-tour-for-video/installing-desktop-app s-of-creative-cloud. -
Thin client Orchestrator - do a right-click on the item in the inventory to run the workflow
I have workflows that X type as a parameter. Workflows are those that I wrote and the type of X is an object I created. I have X type items in the inventory. I right click on the item and select 'run the workflow... '. ». I get the error "NoSuchElementException. I tried to turn the journal level and research in newspapers, but I don't see any useful information on why it's a failure. I can't find documentation that says explicitly that everything needed to run the workflow of the inventory. I looked through the vso.xml for the vSphere plugin and can see nothing special here that I do not. I can't find anything in the workflow that controls this behavior. I put breakpoints in find(), findAll() findRelation() and can see no call there during the attempt.
Any ideas?
In your presentation of workflow for your type of object that is an input, specify the property 'display in the inventory?
-
is it possible to add items to the inventory of dyn admin?
Hello
I know that I can update the items in the inventory of dyn admin via the below URL, but using this URL, I can only update of existing items in the inventory, so is there a way to add new items?
http://localhost:7003/dyn/Admin/ATG/Commerce/Admin/en/inventory/index.jhtml
You can create new inventory of the items in the repository by using poor to http://localhost:7003 / dyn/admin/kernel/atg/commerce/inventory/InventoryRepository /.
-
Method of the API to use to get the userlist provided to an object
Hello
What is the method of the API of the IOM to used to get the userlist which is provisoned for a particular object. ?
Must, I'll input the name of the resource to say "DIO" and status of so-called resources ' set up ' and I want to get the users.
can someone specify the method of the API to use.
Thank you
NaveenUse the following tcObjectOperationsIntf API method:
getAssociatedUsers
Thor.API.tcResultSet getAssociatedUsers (long objectKey,
attributeMap java.util.Map)
throws tcObjectNotFoundException,
tcAPIException,
tcAPIExceptionThis method is used to get the list of users who are associated with a specified object (implemented, off, on, etc.). If no filter is specified, it returns all the users who are associated with this object.
Parameters:
objectKey - this is the key of the resource object
attributeList - a map of key-value pairs in which the result set should be filtered. -
Can what tools I use to get rid of a virus?
Original title: need a simple answer of Windows professionals only... So please help! Its driving me crazy!
Hi there, if you are a Geek of MS Tec, I hope I get this response has you :) cos I look on the net and if you don't find an answer. My Question is... I also like to know what tools do a computer expertise use too find and get rid of the virus? Thank you. Dion ;)
Hello
If you need search malware here's my recommendations - they will allow you to
scrutiny and the withdrawal without ending up with a load of spyware programs running
resident who can cause as many questions as the malware and may be more difficult to detect as the
cause.No one program cannot be used to detect and remove any malware. Added that often easy
to detect malicious software often comes with a much harder to detect and remove the payload. Then
its best to be thorough than paying the high price later now too. Check with them to one
extreme overkill point and then run the cleaning only when you are sure that the system is clean.It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
the regular windows when you can.TDSSKiller.exe. - Download the desktop - so go ahead and right-click on it - RUN AS ADMIN
It will display all the infections in the report after you run - if it will not run changed the name of
TDSSKiller.exe to tdsskiller.com. If she finds something or not does not mean that you should not
check with the other methods below.
http://support.Kaspersky.com/viruses/solutions?QID=208280684Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
(If Rootkits run UnHackMe)Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
Malwarebytes - free
http://www.Malwarebytes.org/Run the malware removal tool from Microsoft
Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.
You should get this tool and its updates via Windows updates - if necessary, you can
Download it here.Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
(Then run MRT as shown above.)Microsoft Malicious - 32-bit removal tool
http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=enMicrosoft Malicious removal tool - 64 bit
http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=enalso install Prevx to be sure that it is all gone.
Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
here or use Google to see how to remove.
http://www.prevx.com/ <-->-->
http://info.prevx.com/downloadcsi.asp <-->-->Choice of PCmag editor - Prevx-
http://www.PCMag.com/Article2/0, 2817,2346862,00.aspTry the demo version of Hitman Pro:
Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
(viruses, Trojans, rootkits, etc.). who infected your computer despite safe
what you have done (such as antivirus, firewall, etc.).
http://www.SurfRight.nl/en/hitmanpro--------------------------------------------------------
If necessary here are some free online scanners to help the
http://www.eset.com/onlinescan/
New Vista and Windows 7 version
http://OneCare.live.com/site/en-us/Center/whatsnew.htmOriginal version
http://OneCare.live.com/site/en-us/default.htmhttp://www.Kaspersky.com/virusscanner
Other tests free online
http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1--------------------------------------------------------
Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing
system files.Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup
Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
RUN AS ADMINEnter this at the command prompt - sfc/scannow
How to analyze the log file entries that the Microsoft Windows Resource Checker
(SFC.exe) program generates in Windows Vista cbs.log
http://support.Microsoft.com/kb/928228Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.
How to run the check disk at startup in Vista
http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html-----------------------------------------------------------------------
If we find Rootkits use this thread and other suggestions. (Run UnHackMe)
I hope this helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
I can't insert working links in my emails. Should what procedure I use?
Every effort to include a link to Web site fail. I use the link function, type the address of the Web site and paste it into the email.
However, recipients cannot use the link to open the site Web connected.
What I am doing wrong?Thank you
If what you link is a Web page that is accessible to anyone, I would NOT select the checkbox "bind the source."
When you save a Web page in your browser, usually an HTML document is created, as well as a file in which are written the graphic elements and possibly other related documents. You can see if any of the elements themselves contain links, there is a theoretical possibility of a complex hierarchy and at several levels, documents and records being generated.
Now, if we choose "attach" option, then it seems to me that Thunderbird needs to do something similar to what the browser only when you save a page, and frankly, I don't think that Thunderbird is - this smart.
You don't need to send the contents of the page; the correspondent from your browser or email client can get to them.
I think the appropriate time to use this option is when the link points to an element that is not visible via the Internet, such as a document or a file on your own local computer or network, and ideally, it would be a simple, self-contained, stand-alone document with no links to external resources. If a Word document which pulled in images or Excel spreadsheets would be inappropriate. But make it a PDF, and it is more likely to succeed. But in this situation, I would be sent as an attachment, in any case.
Maybe you are looking for
-
HP envy 5530: E print app on my phone says this printer does not exist.
I am trying to add my printer to my application on my phone and I get the error "this printer does not exist or you do not have access to him." I went on HP Connect site and it shows that my printer is online and ready to use. I checked to make sure
-
I can put Satellite 5200 801 view to the Satellite 5200 903
My 5200-801 killed the graphics adapter.Now I wonder if I can by a 5200-903 eBay; the 801 seems to be quite rare and put the screen 1600 * 1200 the 801 the 903. Or is it possible to get an another Mainbord for the 801 at a reasonable price? Have a ni
-
iMac spinning Rainbow wheel appears each time I click on something and running extremely slow
My iMac (27 inch, mid 2011) is gel/loading every time I click on something. This occurs on the simplest tasks such as the opening of the finder window, open system preferences, right-click on desktop etc. It happened all of a sudden a few days ago an
-
PID regulator takes advantage of the transfer function of the model sys
Hello I need to find a controller for my system... I have my system as transfer function model and I want to find the pid of the gains of this system by using its transfer function! All block in labview 8.5 to do this step? Concerning
-
I am constantly getting this message any browser that I try to open when I turn on pc, im on Windows vista, can anyone help me, it happens some time I log on,I get going in tools and get a way back.Do not think of security problem, he doesn't know wh