How to collect usage data in vCloud using the API

Hello

I am building an application that will configure the objects in vCloud using the RESTfull API. I hope that I will be able to provision vApps, org VDC and organizations to begin with.

I would also like to use an API to collect data on the use of these funds resources, as well as other resources (networks, firewall, VPN, etc.) that could be put into service by the users directly from the portal vCloud. If I just want to get the usage data daily for all objects that have been configured programmatically, which of them would be the appropriate way to do it:

  • VCloud API
  • Metering of VMWare
  • VMWare Server Chargeback

--

Thank you

Parag

vCloud API would allow you to see what is.  That's why you need to program something to track changes over time at given intervals.

Consumption meter track networks/barrier-lights/VPN, etc.  It follows the use license, not VM.  It is also only for VMware Virtualization Service Providers (VSPP).

Chargeback will track the consumption of calculation (pCPU, Landau, storage) in a general sense.  But will not be followed for the use of the network (bandwidth) in certain situations.  It is not tracking firewalls & VPN use last I checked.

Tags: VMware

Similar Questions

  • How to create VI execution asynchronous step using the API

    I want to create a "run way asynchronous step VI" using the API TestStand in LabVIEW.

    Navigation on the details of the step and the properties of the object, apparently, that it is a type of 'special' step that is actually a SequenceCall.  However, I don't see how to access the data contained in this type of step.  I enclose my current VI used to 'Browse' the data for reference.

    Please advise on how to create this step.

    Thank you

    Hey LVB,

    I'm sorry, I didn't know that you always wanted to use the "Use the Prototype sequence" checkbox option.  In this case the attached code should demonstrate how this can be accomplished.

    Thank you

  • What is the easiest way and automated to automatically remove data cards without using the API.

    We have a use case where you want to get a number of data cards in the last 30 days. I know that I can use the data card evaluator app to count, but not with additional limits to date created.  I was wondering if anyone has found a way to automatically remove data cards without using code API/custom just so I can get the correct number, I always desire or some other way to solve this puzzle.

    Thank you

    Amit Pandya

    OK never mind, just resolved using this day and form the connector to cloud, just a counter in the data card whenever a transaction occurs by product with combination of program generator.

    If anyone has any other simple approach, please share.

  • need to extend the end date of user using the API of the IOM

    Hello
    I have a requirement extension enddate to the user to some 30 days using IOM API-tcUserOperationsIntf. I know there is a Thor.API.Operations.tcUserOperationsIntf.updateUser (Thor.API.tcResultSet poUserResultSet, phAttributeList java.util.Map) method that can be used to update the data of the user in DB IOM.
    If someone has run this method then please let me know a procedure step by step to implement this method. I am new to using the API of the IOM.


    Thank you
    Kalpana.

    Try this:

    tcUserOperationsIntf userOperationsIntf = (tcUserOperationsIntf) getUtility ("Thor.API.Operations.tcUserOperationsIntf");

    protected void execute() {}
    try {}
    beginning of the custom code
    tcUserOperationsIntf oUserObj = (tcUserOperationsIntf) getUtility ("Thor.API.Operations.tcUserOperationsIntf");
                   
    System.out.println ("executing query");
    custom code starts
    tcUserOperationsIntf usrOps;
    The criteria map = new HashMap();
    Criteria.put ("Users.Key", "86821");
    System.out.println ("user key-86821");
                   
    tcResultSet users = oUserObj.findUsers (criteria);
    System.out.println (UsersList.getTotalRowCount ());
    Criteria.put ("Users.End Date 12:01:56.000000000 2012-06-24","" ");
    oUserObj.updateUser (users, criteria);
    } catch (Exception e) {}
                   
    }
    }

  • How to set system for Veristand mappings using the API

    Hello

    I'm doing a VI that would map the channels system for me within a Veristand system definition file. I have a certain mappings to do and many of the names of ports are repetitive, so this should be easy to implement. I have attached photos of my attempt below. The Panel displays the results. The indicators get Sources and Destinations show mappings that I did inside Veristand himself.

    I used the block of EEG channels in LabView to check the structure of the path and you can see on the indicators to get the Sources and Destinations is that they are correct.

    I intend to throw this in a loop and incrementing number to all my connections.

    Thanks in advance,

    Brent

    I wrote a very similar code and it seems to properly configure the mappings for system for me as long as I have the definition file closed during execution of the VI system.

  • vCD 5.1.2 - How can we suspend all vApps running using the API or a command?

    I can browse a list of deployed vApps, but is there a better way?  We must suspend all vApps running before kick off a backup using SAN snapshots.

    Is there a doc internal API, such as Lab Manager?

    Thank you!

    Here is my understanding... Right suspension does not release reserves... Suspend the needs to maintain the reserves there to make sure that a resume is successful. It's just for CPU/MB of the reserves on virtual machines / pools.

    Stop will also cancel the deployment, but disables the virtual machines... even as a 'stop' of the user interface.

    One of these should be good for you to perform, the aim being to turn the VMs to take a glance SAN, just that suspend which takes much more time off.

  • Re-opening a call using the API (v8)

    Hello world

    How can I re - open a call using the API?

    Klebert

    You can always call ExecuteQuery to execute the query "call to reopen it. Then call the CallForwardInt to get to the correct agent / group which will generate notifications.

  • Problem of collecting usage data with advanced BES application on the workspace

    Hi I have a bb10 application that collect usage data. It work propaply when it is on the store and my personal space of peripheral company.

    I used to get the use of the data as the sum of

    msm0, msm1, msm2, msm3, msm4, msm5, msm6, msm7 interfaces. And it was good.

    Now I push through BES application on my workspace. The problem is that I do not have access to these interface more.

    The interface only 3 I have now are lo0, lo2 and pflog

    LO2 give me the use of the data that consumed by the application running in the workspace, but it only gives me something on the use of the data consumed in personal space.

    How I verefied is playing a video in the workspace youyube, he loged in the use of the data. then I played the same video in personal space he connect anything.

    Any help please.

    I don't think that you can solve with a single application, as work and private space are separated.

  • How to remove a network of organization using the vCloud API?

    Hello

    I try to delete a network of internal organisation, using the java sdk:

    AdminOrgNetwork orgNetwork = getOrgNetwork("myNetwork"); // This will query vCloud and return a valid object
    orgNetwork.delete(); // This failes with: "com.vmware.vcloud.sdk.VCloudException: HTTP method not allowed"
    

    For some reason it isn't working and I get ""HTTP method not allowed ". "

    I also check the xml object returned by vCloud and I noticed that missing the link delete:

    <OrgNetwork xmlns="http://www.vmware.com/vcloud/v1.5" name="myNetwork" id="...">
        <Link rel="up" type="application/vnd.vmware.vcloud.org+xml" href="..."/>
        <Link rel="down" type="application/vnd.vmware.vcloud.metadata+xml" href="..."/>
        <!-- Onetwork details -->
    </OrgNetwork>
    
    

    Removal of network does not enjoy using the API? Or maybe I'm doing something wrong?

    No matter what support in how to actually remove the network (which btw is also created using the API) would be much appreciated.

    Thank you

    I think you are trying to delete a view of the user of the org network.

    You should try to suppress the display of the admin of the org network.

    What do you do under the getOrgNetwork ("myNetwork"). How do you get the org network. I think you found the network org user here.

    Get it from the VcloudAdmin-> AdminOrganization-> networks.

    Kind regards

    Rajesh Kamal.

  • How to associate the data store of the target for the newly created using the API Interface

    How to create a new Interface under project, need to associate the data store target for mappings for the interface by using APIs "."

    Able to get the associated interface created temporary data store. You need to associate a new database model. How to do this using the API

    My code is,

    String pCode = "DEVELOPMENT";
    Context OdiContext = (mgr.getFinder (OdiContext.class)) .findByCode (pCode) (IOdiContextFinder);
    System.out.println (Context.getLastDate ());

    OdiInterface pInterface = new OdiInterface ("toDeleted_Interface", pFolder, context);
    pFolder.addInterface (pInterface);

    The list of ds < DataSet > = pInterface.getDataSets ();
    < DataSet > iterator itr = ds.iterator ();
    DataSet ds_nxt = itr.next ();

    PAlias string = "HRA_TMPL_DEFNS_TL";
    pOrder int = 0;
    OdiModel pModel = (mgr.getFinder (OdiModel.class)) .findByCode ("FILE_PM_MODEL") (IOdiModelFinder);
    String pName = "HRA_TMPL_DEFNS_TL";
    OdiDataStore pUnderlyingOdiDataStore = new OdiDataStore (pModel, pName);
    SourceDataStore pSourceDataStore = new SourceDataStore (ds_nxt, false, pAlias, pOrder, pUnderlyingOdiDataStore);
    ds_nxt.addSourceDataStore (pSourceDataStore);

    TargetDataStore tdata = pInterface.getTargetDataStore ();

    If (tdata.isTemporaryDataStore ())
    {
    }

    http://odiexperts.com/creating-interface-for-single-source-and-target/
    http://odiexperts.com/creating-temporary-interface-using-ODI-SDK/

  • How to feed the DFF using the API fields

    Two new fields are need to be added to the employee assignment staging table to support the new design of the approval.

    So two new fields must be filled in HR Oracle using data in the assignment table.

    -> Finance employee id Manager needs to be filled in the FDF (assignment attribute 1)

    -> The agent code must be entered in the FDF (2 attribute assignment).

    How can I fill these two DFFs using an API. I mean how to feed the fields of DFF using the API?

    Use the API-

    hr_assignment_api.update_emp_asg

    Pass the values for the parameters as needed-

    p_ass_attribute1

    p_ass_attribute2

    See you soon,.

    Vignesh

  • How can we add lines by using the APIs in the Apex?

    Hi all

    In my application, I created the elements of text using the API like this:

    HTP.p ('< tr >');
    HTP.p ("< td width = 80px align =" center"> < b > ');
    HTP.p ("font color =" black"> ');
    HTP.p (APEX_ITEM. Text(1,c.empno,10,30,"','','"f01_'|| j||'"'));
    HTP.p ("< /b > < table > '");

    Now, I need to add a line button when you click on to insert a new row so that it can enter data...

    How do I do this?

    Thank you
    David...

    David,

    If the EMPNO is your primary key column, it cannot be changed. The update process identifies the line updated by EMPNO. If you want to allow users to change the EMPNO value, you will need to add another column to your tabular form that is used to store the primary key. In general, the primary key values must be meaningless, should not be exposed to the end user and only used for internal processing.

    Kind regards
    Marc

  • We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple ID

    We have 2 phones and 2 computers and they all sound when the phone rings. How to change that? they all use the same apple - ID we buy apps and music coming from the same account. It all works very well, but we don t like any other device to RING eveytime a phone rings.

    Thank you so much: D

    ON both phones, check the settings > phone > call on other devices > Off.

  • How can I register my product without using the online process?

    How can I register my product without using the online process?

    He scored finally got.

  • How do I cofigure my laptop to use the Virgin mobile mifi wireless card

    Wireless zero configuration

    How do I cofigure my laptop to use the Virgin mobile mifi wireless card

    See the instructions provided with the Virgin card 'wireless mifi mobile.'

    What version of Windows, including service pack that you have (if of course service pack, start > run > winver > OK)

    Your laptop has a wireless adapter?  Look in under 'Network adapters' Device Manager (start > run > devmgmt.msc > OK).

    Look in network connections (start > run > ncpa.cpl > OK).  What icons appear?

Maybe you are looking for