Connection to vCloud Director 5.1 with the REST api plugin

vco3.PNGI can't get this to work.

I'm following part of the manual, I found here: http://blogs.vmware.com/orchestrator/2011/07/vcloud-director-twitter-yahoo-and-foursquarecom-http-rest-plug-in-use-case-examples.html

So I install the plugin and run the workflow to add a host:

vco1.PNG

And set the authentication with the workflow "Set vCloud to authenticate a host REMAINS:

vco2.PNG

And run the supplied workflow "show a vCloud, Director of the Organization:

vco3.PNG

And get the error: "no valid API version can be selected.

I also tried with version 1.0 and 1.5 of putting in the URL, but cannot make it work. What Miss me?

Thank you.

Hello

It is a problem with you REST plugin does not support the vCloud 5.1 authentication correctly.

I created the following work around to fill the gap until a new version of the plugin REST solves this problem.

Please find here.

Christophe.

Tags: VMware

Similar Questions

  • vCloud Director 5.1 with vco 5.5 plugin configuration

    I installed the plugin for vCloud director 5.1 in vCenter Orchestrator 5.5, the plug-in installed very well with the certificate that I imported from the url. However, configure the plug-in is another story, when I go to set up the plug-in of the customer or in the page web configuration, I get "failed to connect with the user name. My authorization of vco is configured with LDAP, so is my vCloud Director. In the client workflow 'Add link' vco for vCloud director, my selections are the url to vCloud, port 443, active, max 600 connections, the connection times out 20000 ms, session mode by user, the use and organization system SAML authentication Session. I followed the instructions of the Plugin VMware vCenter Orchestrator Documentation Centre . I tried to configure the plug-in as a shared user and I get the same error. I tried to configure the plugin in the web configuration page and it excludes the host that is the url to vCloud, but I do not see an inventory after that restart services vco and vco customer return logging. My vCloud infrastructure is set up with 2 cells and her sitting behind a vShield load balancing.  If I try to configure the plugin to go directly to one of my cells the workflow times out. I have a request of service opened with vmware, but I hope someone else has experienced this problem or might have a few suggestions that will point me in the right direction.

    Thank you

    J

    Changing the IP of my vco did the trick. When I set up the server of vco, I put it on the same subnet as my vcd cells. While my load balancer was on a separate subnet. Assigning the vco server an ip address on a different subnet allowed transmitted traffic of the vco through the load balancer, solve my problem of time-out.

  • Add vNIC PortGroup scope with the REST API security group

    I created a security group within the reach of a PortGroup via the REST API. Now, I'm trying to add a vNIC, also via the REST API.

    To help illustrate, I have a JMTest1 VM with 1 vNIC connected to the PortGroup which is the scope of the security group. When I change this group the first item in the list that could be added to the security group is the first (and only) JMTest1 vNIC.

    AddvNICToSecurityGroup.PNG

    To add it via the REST API, I need to provide the following:

    https://192.168.x.x/API/2.0/services/SecurityGroup/SecurityGroup-XX/members/ < member-moref >

    for example I need to understand what the < member-moref > for the vNIC to JMTest1 and this is what I have a problem with.

    If I add the vNIC through the user interface and then interrogate the security group it gives me below the answer:

    < securitygroup >

    < objectIdobjectId > securitygroup-xx < / objectId >

    < type >

    < typeName > SecurityGroup < / typeName >

    < / type >

    < name > JMTest7 < / name >

    < description / >

    < revision > 9 < / revision >

    < objectTypeName > SecurityGroup < / objectTypeName >

    < scope >

    < id > dvportgroup-xxxxx / < ID >

    < objectTypeName > DistributedVirtualPortgroup < / objectTypeName >

    < name > dv-xxxxx < / name >

    < / scope >

    < extendedAttributes / >

    < inheritanceAllowed > false < / inheritanceAllowed >

    < member >

    500758f6-b97b - 7A 79 - 0c < objectId > 04 - 996f53edf3f0.000 < / objectId >

    < type >

    Vnic < typeName > < / typeName >

    < / type >

    < name > JMTest1 - NIC 1 < / name >

    < revision > 6 < / revision >

    < objectTypeName > Vnic < / objectTypeName >

    < scope >

    < id > vm-xxxxx / < ID >

    < objectTypeName > VirtualMachine < / objectTypeName >

    < name > JMTest1 < / name >

    < / scope >

    < extendedAttributes / >

    < / member >

    < / securitygroup >

    It seems that the < member-moref > for the JMTest1 vNIC is < objectId > 500758f6-b97b - a 7, 79 - 0c 04 - 996f53edf3f0.000 < / objectId >

    If I run now:

    https://192.168.x.x/API/2.0/services/SecurityGroup/SecurityGroup-XX/members/500758f6-b97b-7a79-0c04-996f53edf3f0.000

    then the vNIC is successfully added to the security group. (yay!) So I am now left with the task of how to get

    500758f6-b97b - 7A 79 - 0c < objectId > 04 - 996f53edf3f0.000 < / objectId >

    of a vNIC?

    I have looked at the object in the Mob vCenter and via PowerCLI, but cannot see how to derive from it.

    Anyone know the answer to that?

    The uuid vnic is created by concatenating the vm instanceUuid + '. ' + the last three digits of the vnic device key.  (The vnic is located in the area of the config.hardware.device of the virtual machine and the key will be to shape 4xxx, where xxx represents the 3 numbers you need).

  • Can not do a query with the REST api

    Hello

    After discovering that the use of the standard SOAP API what is like poking yourself in the eye with a sharp stick, I try to use the REST API. At first, I tried to exercise it through the extension of POSTMAN on Chrome. But I have no joy.

    Can I use caller ID to get the URL, so I know that my authentication is OK. But all other calls give me:

    Failure of 403 XSRF Protection


    Is an example of a call, that I'm trying:

    https://secure.Eloqua.com/API/rest/1.0/data/[email protected] & Count = 1

    I can't find any reference anywhere to this error 403.

    Help!

    Thank you

    Simon

    Hi Simon,.

    Looks like you're client (web browser) might have stored credentials for Eloqua, probably in the cookies collection. If you try to delete your cookies and rerun the query API with basic authentication, it should work.

    Hope this helps and please let us know if you need more information.

    Thank you

    Fred

  • Get complete information of Contact with the REST API with Ruby

    Hello

    I'm trying to find information from a contact using the REST API from Ruby. I followed the example posted here and I was able to get good contact with Eloqua, but information are the basis and the FieldValues table is very long with fieldValues can only be and no label field.

    I don't know I asked for complete = depth, and I verified that the contact even on the side of Eloqua seen so many other areas.

    It's the URL that I use: https://secure.eloqua.com/API/REST/1.0/data/contacts?search= < emailAddress > & depth = full & count = 1

    and I don't get like this field in the fieldValues can only be: {'type': 'FieldValue', 'id': "100175"}

    With respect to the main information, they are basic.

    Is it possible to obtain all the contact fields, the same than the one I see on the site of Eloqua?

    Thank you

    Hi Theyaa,

    You can use the following endpoint to retrieve a list of all fields with their unique identifier and metadata:

    • GET /API/REST/1.0/assets/contact/fields?depth=complete&search=*&page=1&count=250

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • QUESTION: Can't create a firewall rule to (edge) with the REST API

    Dear Sir

    I am trying to create a firewall rule for simple and basic edge using the REST API.

    I use the REST API guide as a reference on page 158.


    edge-fw-rule.png

    I use the following code (single) in my client REST API (with good content Type (application/xml)):

    < rule >

    < ruleTag > < / ruleTag >

    < name > edge5-rest-rule < / name >

    all < source > < / source >

    < destination > all < / destination >

    < application > all < / application >

    < matchTranslated > true < / matchTranslated >

    < management > in < / direction >

    < action > deny < / action >

    < enabled > false < / enabled >

    < loggingEnabled > true < / loggingEnabled >

    rest-api-rule of the < description > < / description >

    < / rule >

    The error message that I receive is the following:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < error >

    request details invalid <>. Found no match for item rule. < / details >

    < > 223 errorCode < / errorCode >

    < / error >

    The full screenshot of my action REST API is in the screenshot below:

    full-request.png

    Anyone know what I'm doing wrong here?

    Thank you!

    Try this as the body...

    rest-rule

    user

    true

    in

    deny

    fake

    true

    rest-api-rule

  • How to configure Hostname of the node with the REST API?

    I tried the value of hostname of the virtual machine when I deploy an application, but were unsuccessful.  The application consists of all the operating system - there is no installed service but an example here that I used when I deployed the application.  It is based on the release of the REST API "node info": for the particular deployment profile.

    {

    'node': [{}

    "name': 'VM1."

    "properties": [{}

    "hostname": "joe".

    }],

    ["nodeComponent":]

    }]

    }

    But when you use this application I get the error message: "the node 'VM1' does not exist in the current 'deployment profile'. ' even if 'VM1' is the only node in the deployment profile.  I tried other variations and still get the same error message.

    Does anyone have suggestions for how I can configure the hostname of the node when you deploy the application?  Thank you.

    Apparently, the REST API for planning a deployment is designed after characteristic GUI Application Director "rapid deployment". Rapid deployment does not allow the substitution of properties of node as hostname. Idea being the deployment profile once defined and prepared, each individual call of it must change some subset of the properties of the component. We can always create several profiles of deployment to account for changes in node.

    Nevertheless, it seems that property of node specifications would help your situation... so that your comments reached the product team.

    Thank you rags

    This posting is provided as is and confers no rights.

  • Error in creating a category with the REST API

    vRO 7.0.1

    I am trying to create a category in the folder root of Workflow using the REST API.

    URL = https://vroserver.fqdn:8281 / vco/api/categories

    Method = POST

    The API documentation suggests that the body should be like this:

    {

    "categoryType": "WorkflowCategory",

    'name': "Test5",.

    'description': 'Testing '.

    }

    However, I always get a 400 response: the request sent by the client is syntactically incorrect.

    reflecting the docs by: category name must be specified

    Can anyone help?

    Body of the request should be:

    {
       "type":"WorkflowCategory",
       "name":"Test5",
       "description":"Testing"
    }
    
  • To access the vCOPs with the RESTful API

    VCOPs can be used such as the information it provides are accessible via the RESTful API?

    RV Ops 6.x see this thread:

    Integration of vCO and vCOps

  • ELQ-00107 errors during the export of the activity with the REST API data in bulk (2.0)

    I'm following the flow described in bulk API Documentation v2.0

    I POST to https://secure.Eloqua.com/API/bulk/2.0/activities/exports and back (note: I work in python, so it's all the deserialized json)

    {u 'createdAt': u'2014 - 08-14T 07: 05:17.6413979Z',}

    u 'createdBy': u'P of,

    u 'fields': {u 'ActivityDate': u'{{Activity.CreatedAt}} ',}

    u 'ActivityId': u'{{Activity.Id}} "},"

    u 'filter': u "('{{Activity.CreatedAt}}' > ' 2014-07-31T23:43:02.080971Z' ET '{{Activity.Type}}' = 'EmailOpen') ',"

    u 'name': u 'blarg3 ',.

    u 'updatedAt': u'2014 - 08-14T 07: 05:17.6413979Z',.

    u 'updatedBy': u'P of,

    u 'uri': u ' {/ activities/exports/275 '} '.

    Then I POST on /syncs and get back

    {u 'createdAt': u'2014 - 08-14T 07: 05:31.6571126Z',}

    u 'createdBy': u'P of,

    u 'status': u 'pending',

    u 'syncedInstanceUri': u ' / activities/exports/275 ', '.

    {u 'uri': u'/ synchronization/17790 '}

    Now (unfortunately) I GET/synchronization/17790 and/syncs/17790/logs

    {u 'createdAt': u'2014 - 08-14T 07: 05:31.9330000Z',}

    u 'createdBy': u'P of,

    u 'status': u 'error',

    u 'syncStartedAt': u'2014 - 08-14T 07: 05:32.6570000Z',.

    u 'syncedInstanceUri': u ' / activities/exports/275 ', '.

    {u 'uri': u'/ synchronization/17790 '}

    {u 'count': 2}

    u 'hasMore': false,

    u 'items': [{u 'count': 0}]

    u 'createdAt': u'2014 - 08-14T 07: 05:33.3770000Z',.

    u 'message': u 'There was an error in processing of export.',

    u 'severity': u 'error',

    u 'statusCode': u 'ELQ-00107',.

    {u 'syncUri': u'/ synchronization/17790 '},

    {u 'count': 0,}

    u 'createdAt': u'2014 - 08-14T 07: 05:33.3930000Z',.

    u 'message': u 'Sync to sync 17790, resulting from the error status.',

    u 'severity': u 'information',

    u 'statusCode': u 'ELQ-00101',.

    [{u 'syncUri': u'/ synchronization/17790 '}],

    u 'limit': 1000,.

    'offset' u: 0,

    {'u' totalResults: 2}

    All that I can find ELQ-00107 is "ELQ-00107: there was an error in processing the {type}."

    Any thoughts on what I can hurt? Pointers on how I can further debug?

    Thank you!

    Joel Rothman-Oracle Allison.Moore Christopher Campbell-Oracle Ryan Wheler-Oracle

    Hi pod.

    Try to remove all the void second precision of the elements in date filter.  '{{Activity.CreatedAt}}' > ' 2014 - 07-31T 23: 43:02.080971Z' becomes '{{Activity.CreatedAt}}' > ' 2014 - 07-31 T 23: 43:02Z'.  The second precision is not supported for export activity.

  • Updated filter shared via the REST API

    Hello I'm trying to update a shared API filter. I'm using PHP and client fredsakr/eloqua-php-application · GitHub.

    So far, I was able to retrieve the filter with the following call:

    <?php
    require('./eloquaRequest.php');
    $eloquaRequest = new EloquaRequest('site', 'User.Name', 'password', 'https://secure.eloqua.com/API/REST/1.0');
    $response = $eloquaRequest->get('assets/contact/filters?search=TheFilterName&depth=complete');
    print_r($response);
    ?>
    

    I can see the filter in the answer below:

    (
        [type] => ContactFilter
        [currentStatus] => Active
        [id] => 100761
        [createdAt] => 1380137168
        [createdBy] => 48
        [depth] => complete
        [folderId] => 1036
        [name] => TheFilterName
        [updatedAt] => 1383589417
        [updatedBy] => 48
        [count] => 254382
        [criteria] => Array
            (
                [0] => stdClass Object
                    (
                        [type] => ContactFieldCriterion
                        [id] => 1912
                        [condition] => stdClass Object
                            (
                                [type] => TextSetCondition
                                [operator] => in
                                [optionListId] => 193
                            )
    
                        [fieldId] => 100012
                    )
    
            )
    
        [lastCalculatedAt] => 1380137190
        [scope] => global
      statement] => 1912
    

    What I want to do is update that corresponds to the values of 'Compare the Contact fields' in the GUI Eloqua under Contact = > Shared Library = > Contact filters.

    Looks like he has the "[type] = ContactFieldCriterion" under the [criteria] field in the response.

    I'd get how this value in a call to REST, and also how I would update it.

    Please let me know if you need more details on this issue. Please help and thank you.

    After some research I found what I wanted to do has been updated the list of options for this filter. See http://topliners.eloqua.com/docs/DOC-3588 for documentation on the base object. But I had difficulty in updating an OptionList with the Rest API using PUT. If you can help, please visit http://topliners.eloqua.com/message/36739#36739 . Thank you.

  • Issue of SDRS to vCloud Director after you add the new data store to the Cluster of DTS

    Hi people,

    We use vCloud Director 5.5 in a vSphere full 5.5 environment.

    We have several DTS Cluster in vSphere and connected to vCloud Director.

    Following problem.

    When I add a data store to a Cluster of DTS and connect this to the corresponding storage profile data store, the storage profile is not available to vCloud Director more.

    After removing the new store data in the cluster of DTS, the profile becomes available again.

    Any ideas?

    Concerning

    Jean

    How did you the storage profile associated with the data store?  via c# client or vSphere web client?

    If you did the wrong way (c#) there no storage class label appropriate against it.

    A data cluster store has the storage class who would have all preparations of data contained inside.

    I think that you should check the service class is associated properly in vSphere web client (before adding to the DS Cluster).  Once it displays correctly, and then add the data store to the cluster.

  • INS-06003: failure of connectivity SSH without password for installation with the following

    Dear all,

    I am in the process of installing Oracle 11 g on Redhat Linux 2 grid Infrastructure.
    I have installed ssh on both RAC nodes and when I run

    SSH - p7547 racnode1 "date; hostname ".
    SSH - p7547 racnode2 "date; hostname ".

    I get the date and the hostname without error on both nodes.

    But during the installation of the grid, I get this error message:

    INS-06003: failure of connectivity SSH without password for installation with the following nodes: [racnode1, racnode2]

    My thought is that it is because of the port has changed 22: 7547 but where them specify this port in the configuration of the CARS?

    I also get this information in the Setup log:

    WARNING: Could not establish a SSH connectivity with node racnode1. Reason: java.net.ConnectException: connection refused

    Kindly help on that.

    Kind regards
    Imran

    misterimran wrote:
    Dear all,

    I am in the process of installing Oracle 11 g on Redhat Linux 2 grid Infrastructure.
    I have installed ssh on both RAC nodes and when I run

    SSH - p7547 racnode1 "date; hostname ".
    SSH - p7547 racnode2 "date; hostname ".

    I get the date and the hostname without error on both nodes.

    But during the installation of the grid, I get this error message:

    INS-06003: failure of connectivity SSH without password for installation with the following nodes: [racnode1, racnode2]

    My thought is that it is because of the port has changed 22: 7547 but where them specify this port in the configuration of the CARS?

    I also get this information in the Setup log:

    WARNING: Could not establish a SSH connectivity with node racnode1. Reason: java.net.ConnectException: connection refused

    Kindly help on that.

    Kind regards
    Imran

    You can have the file/etc/ssh/ssh_config, where the default port is set at 22. Replace with 7547 and try ssh racnode1 "date; hostname". If it works, then it contains the definition, you may need to perform.

    Kind regards
    Julien

  • Update the price of the products with the v3 API

    So I try to update all the prices of my product in my product catalog programmatically. I have gone through the documentation to the product price | Catalyst of business support
    and I see that there is no end point of update of the prices of the products.  I tried also just do a PUT option with an AJAX call and is not no longer works.  Can't BC really have a way to update the prices of the products via an application?  I did a lot of things with the API v3, so I assumed that any of this would be a given, but maybe I'm wrong.

    var myurl = "/ webresources/api/v3/sites/current/products / ' + myproductid + ' / price";
    var requestC = $.ajax({)
    URL: myurl
    type: "PUT."
    connection: "keep-alive"
    contentType: "application/json",
    MIME type: ' application/json ',.
    headers: {'Authorization': $.cookie ('access_token')},
    processData: false,
    data: JSON.stringify ({}
    "retailPrice': '533.00."
    'Flags': '533.00'
    })
    });

    You can't do that. The API of POSITION for the products had not been with the rest of the update of the POST API on the products. I already talked to the engineers on this subject. No update on when it will be executed has been given.

  • I don't want flash cookies removed with the rest of the cookies.

    Either an update with firefox or adobe flash player now couples cookies flash with the rest. I like to have my associate internet cookies clear after closing the browser to help save space and destroy what is malicious, but do not want to have my flash game data get allowed in the process. I checked the Security tab in the options, but he doesn't seem to be a way to specify for cookies flash to stay safe and sound; There delete all cookies or delete cookies. Is it possible to have my cookie and eat, too?

    Let the cookies expire when you close Firefox instead of using Delete browsing, search and download history on Firefox.

Maybe you are looking for

  • K

    How can I remove the links I saved in Safari on my iPad 2?

  • iPhone 5 (bought in South America) and get a credit at an Apple store us?

    Hello! I have an Iphone 5 and I m of the Uruguay. It's i´mplnning a trip to the United States and want to trade in my phone for an Iphone 6s. I can directly exchange (same s of South America)? Alternatively, may obtain a credit of the estimated value

  • Satellite L40 - cannot start Windows

    Hello hope you can help, my computer Toshibal L40 laptop on commissioning began by displaying the following error message: * "Cannot start Windows. a recent change in the software hardware might be causing... » * It offers the possibility of:"* Launc

  • HP Pro series 3300 MT - I need XP drivers

    Hello We just bought 5 x Pro HP 3300 series MT and I need to put XP on them but can't find the XP drivers. Can you advise where I can find them Thank you Juli

  • How can I send mail to my request an identification number given by e-mail using adobe AIR?

    Hello can someone tell me how I can send emails from my application? var variables: URLVariables = new URLVariables();variables.to = emailTxt.text;variables. Subject = emailsubTxt.text;variables.message = msgtext.text;                 the object of t