vRA 6.2 API - is possible to ask a new virtual machine based on a machine of model using the API

Hello

Is this possible in version 6.2 API at the request of a new virtual machine based on a model of Machine catalog?

Thanks for the help in advance,

Pieter

Yes, you need to specify the new virtual machine in json format and publish it on/catalog-service/api/consumer/requests

Tags: VMware

Similar Questions

  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • Is it possible to power - off a virtual machine?

    Hello, I wonder if it is possible to power - off (no downtime) is a Virtual Machine with PowerCLI. I know cmdlet Shutdown-VMGuest but not a similar "Poweroff-VMGuest '...

    During the weekly virtual computer restarts, we see some test virtual machines by hanging the mode on the left (some Windows VM with gray screen without the mouse, etc...). Then I need strength and power - on those virtual machines because the case comments is not operational. Is it possible to make these Power-off with PowerCLtI?


    Thank you in advance.

    Best regards.

    You can use the Stop-VM cmdlet to turn off a virtual computer. If necessary you can even add the - Kill parameter to stop the virtual machines specified by ending their processes running on the ESX.

  • Possible to suspend a virtual machine, and then disconnect the SAN?

    I decided to do an interview on a small environment ESX 3.5 and I was wondering if its possible to suspend a VM and then disconnnect the SAN to maintain SAN.  If I record data suspends storage local would this work? Is it more fast and stop the virtual machine and the power save?  There is the performance of 6 virtual machines on a single host with a single iSCSI SAN.

    was wondering if its possible to suspend a VM and then disconnnect the SAN to maintain SAN.

    A suspension is identical to a power off, it shows just the guest to Hibernate.  So yes, it is safe.

    Is it more fast and stop the virtual machine and the power save? There is the performance of 6 virtual machines on a single host with a single iSCSI SAN.

    No its not faster, its more fast and more reliable to power off the virtual machine rather than suspend.  If you need to follow the process and suspend its critical use, otherwise a scheduled interruption is better.

  • Is it possible to add a new virtual drive as a hard drive?

    Is it possible to add a virtual machine to a new virtual hard disk in order to try the raid Server Win 2003 5?

    Thanks in advance

    Giuseppe

    Yes - simply create a with the '-news-Add Hardware Wizard. The rest is behaving like im real metal

    ___________________________________

    Description of the vmx settings: http://sanbarrow.com/vmx.html

    VMware-liveCD: http://sanbarrow.com/moa.html

  • Is he or she has never been possible to select several PDF files and print in a single print streams using the player

    We have several users who claim that they have been able to select several files PDF and select print. He would then send a single stream and end up in a single document. These are the users of reader.

    We have tested under 10.1.4 and 11.0.06 player and were not able to make it work. Is it still possible?

    Not possible with Acrobat Reader.

  • VMware Fusion 6 Professional - where is the possibility of locking VMware using a single virtual machine and do not allow the creation of new virtual machines?

    This is a quote from the VMware Fusion Professional 6 product page:

    VMware Fusion 6 Professional comes with IT administration tools to help you deploy VMware Fusion using Apple or a management solution third Mac as of JAMF's Casper Suite. Further reduce the cost of support of Windows desktop using the mode of single virtual machine that limits user access to the library of the Virtual Machine, the ability to create virtual machines or migrate PCs and reduces the options of the menu.

    Where can I find these IT administration tools?  I want to block my VMware users to a single virtual machine so that they can not blow by creating new virtual machines, etc.

    How can I do this?

    Thank you!

    Glitch004,

    You could follow the steps to activate the single mode of VM:

    1. turn power off all running VMS and out the merger.

    2. Add the following line to/Library/Preferences/VMware Fusion / config

    installerDefaults.simplifiedUI = 'TRUE '.

    3 restart merger and you will find:

    . VM library is hide in the VM menu.

    . only one virtual machine can be used, while click second VM Fusion of the reports ' Unable to open document. "

    Best regards

    Shanghai

  • Is it possible to add a hard drive to a VM running via a script or a program without using the user interface

    I'll try to ask this question clearly, but I ask that read you it carefully, because I can't do a great job of setting out clearly what I'm looking for.

    I know how to create a virtual disk in a batch file or a script.  I know how to have a running virtual machine to detect a newly added hard drive and format it in Linux, BACK, and NetWare. I do not have scripted this part, but I did it manually by adding records via the UI and then by doing the steps manually to make the operating system to detect and format the newly added drive. In each case, these steps are scriptable with the exception of the addition of the drive in the user interface.

    The only way I know to add a new hard disk to a virtual computer running is through the user interface. I don't know in a way that can contain script (for example vmrun or an API call) to make.

    I guess that maybe I can have the virtual machine to go into sleep mode and then add the HDD in the vmx file while the machine is in standby mode, then put the computer to sleep mode, although I have not tested this.

    My question is, ' can a virtual drive be added to a virtual machine running without using the user interface and without put the machine to sleep, or in other words in a script any?

    Have you tried VI SDK?

  • Object LVOOP read/write using the API TestStand

    Is it possible to read/write a LVOOP object to a variable TestStand from LabVIEW using the API of TestStand?

    SetPropertyObject() takes a green wire reference, which is incompatible with an LVOOP object.  SetValVariant(), SetValIDispatch(), and SetValInterface() seems to just write a value null of type variant.  I don't know if I use the wrong API function or if it's just not possible.

    Hi jsiegel,

    That's right, it is not quite possible to what I believe, it is your intention. As mentioned, TestStand cannot create the object of LabVIEW. To make and use references of LabVIEW with TestStand, you need LabVIEW out this reference, which may then store it TestStand as an object reference. For VI requiring the obeject LabVIEW as an input, the registered object reference can be passed in. To make calls to LabVIEW classes using the class member call with a step of the VI Action instead of the call to VI for the Type.

    Of course, you need both LabVIEW and TestStand 2012 or newer in order to use these functions.

    Kind regards

  • Labels security setting CLS using the API?

    Anyone know if it is possible to put a security label to an operating unit on a contact using the API or bulk import?

    For the moment, no. But what you can do is to do an import in bulk with a synchronization action to add to a contact group / shared list.

    This group can be your driver in a program that applies to different labels. The label is applied can be managed by certain values that you push in the contact fields. Once the labels have been applied in the program, then the program can remove them from the group until your next import.

    Best regards

    Bojan

  • The value of the PropFlags using the API

    Hello

    I created a new group using the c# API calls. I need to ensure that the new group is not deleted. So I tried using the SetFlag method to set these property flags.

    The code snippet is as

    userGroup = eng. NewUser (null);

    userGroup.LoginName = "Test";

    userGroup.AsPropertyObject (). Flags ("PropFlags_NotDeletable", 0x1, 0x400000);
    userGroup.AsPropertyObject (). Flags ("PropFlags_NameNotEditable", 0x1, 0x400000);

    However, the newly created group doesn't have these flags set.

    How can I go on the definition of these indicators?

    Thank you

    Arun

    You pass incorrect arguments to the function flags. The first parameter is the string to search for the property you want to set flags on. In this case, pass an empty string to reference the user object. The second parameter specifies the options for the function. In this case you need anything. The third parameter specifies the desired flags set on the property. You must pass the combination of indicators (PropFlags_NotDeletable |) PropFlags_NameNotEditable). If you remember the flags feature, it will overwrite the flags that you set in previous calls.

    userGroup.AsPropertyObject (). Flags ("", 0 x 0, PropFlags_NotDeletable |) PropFlags_NameNotEditable);

  • Is it possible to load the specific libraries about the version of BlackBerry model (NOT the software)?

    Hello world

    I know it's possible to load specific libraries about the version of the BlackBerry host software (using files .alx and .jad files), but it is also possible to do the same thing about the version of BlackBerry model?

    I know you can find something with download OTA by designing a specific download servlet that will check the version of the device model (using the HTTP for ie user agent) but how could you do the same thing with the files .alx file? Is it still possible?

    In regards to as you can only check the device software version, but you can't do it with the version of the device model... Is there a workaround here?

    Thanks in advance.

    Sorry for the inconvenience, I recalled an old article that I came across a couple of months:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800708/800651/How_To _...

  • I've set up the virtual machine in win 7 Ultimate and put some data. Now when I try to connect it asks password and does not accept any password.

    Default password Machine virtual XP Mode

    I've set up the virtual machine in win 7 Ultimate and put some data. Now when I try to connect it asks password and does not accept any password. Please giveme the default password

    If you're talking about XP Mode the default password is XPMUser.  In general you can not use Windows without a password in Windows Virtual PC that you can with Virtual PC 2007 and before.  XPMUser is used only with the XP Mode virtual machine.  All other virtual machines requires a user created password.  If you have changed the password in XP Mode and forgotten, then you have to start over.

    Windows Virtual PC is based on virtual server rather than VPC and all virtual machines need a password.  If necessary, uninstall the integration features, start the virtual machine and create a password for the admin user.  Restart the virtual machine, and then reinstall the integration features.  You will not be able to access a virtual machine created by the user that has no password, while the integration features are installed.  Once you have everything right, that a virtual machine will not be asked a password if you are the admin user in Windows 7.

    @george1009,.

    Everything got?  :)

  • How do to identify the documents called "models of library" using the RESTful API?

    How do to identify the documents called "models of library" using the RESTful API? Furthermore, what constitutes a document to be a "model of library"? I see nothing in the libraryDocuments RESTful documentation that describes this type of document, such as presented on the tab 'Manage' my developer account. Please see the screenshot below. There is a model of Document named "[DEMO ONLY] Test model" listed under "Library Templates" and I try to figure out which classifies that document to be included this way and how does produce a similar announcement by using the RESTful API.

    Screen Shot 2014-10-29 at 11.16.48 AM.png

    Thank you!

    Hello

    You can connect to access library models using the REST API, use 'GET /libraryDocuments' allowing to recover documents in library for a user. Models are created in the account of EchoSign, which later are accessible via the REST method mentioned above.

    Jat

  • How to use the vStorage API?

    Hi all

    I heard that vStorage is a feature of vSphere 4.0 that can take backup of the virtual machine directly without using a Proxy VCB.

    Does someone know how to use it? as far as I know only commercial 3rd party backup software can use it, do not use any script solution or freeware.

    Kind regards

    AWT

    I've heard both sides of the story (even from VMware peeps)

    (1) vStorage API is today essentially vSphere API + VDDK (e.g. change block tracking feature is in the new vSphere API, accessible using the SDK)

    (2) vStorage API is reserved for VMware partners to develop 3rd party applications (not 100% sure on this subject, but I know that some people have said this)

    Probably best to contact your VMware representative if you have any questions or interest in development on the vStorage API (probably why there not a forum on the vStorage API developers forum)

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for

  • MacBook pro fans

    I have problems with my macbook pro heater. I downloaded an app on the app store, which gives me the internal temperature of the motherboard and the battery. the battery temperature is read correctly, but the motherboard temp is reading 32 degrees fa

  • Convert ASCII characters in hexadecimal equivalent code

    Hello I'm trying to convert special ascii characters that are read from a serial port, a type of data that I can handle. To create this scenario, create an empty string constant, then make a right click on it and change the type of "Hex". Now, enter

  • Patching Server WCS

    Hi all I have a v4.2.62.11 WCS servers. This is a Windows server 2003 R2 standard edition service pack 2. I'm currently vulnerabilities of Microsoft patches patch on it. It's going to impact WCS? Someone met with installation of patches from Microsof

  • run my c# code without installing

    HelloI have a code in c# and I want to run it. but I don't want to install it on my PC.Is this possible?If it is please help me and tell me how to do it.

  • Activate windows 7 after the expiration date.

    I buy the new computer more than months ago. I thought that the manufacturer has already activated my W7 that I was wrong it just installed but not enabled. Now, after the holidays my W7 is expired and I just get a white screen on Normal Mode. I don'