Questions tagged [vcloud-director-rest-api]

VMware vCloud Director provisions software-defined data center services as virtual data centers that provide virtualized compute, networking, storage and security.

VMware provides many different APIs and SDKs for applications and goals. This provides information about the vCloud API for developers who are interested in creating RESTful clients of VMware vCloud Director.

51 questions
4
votes
1 answer

VCloud Director Org user authentication for RestAPI in python

I have VMware setup for testing. I create one user abc/abc123 to access the Org url "http://localhost/cloud/org/MyOrg". I want to access the RestAPI of the VCloud. I tried with RestClient plugin in firefox. Its working fine. Now I tried with python…
Nilesh
  • 20,521
  • 16
  • 92
  • 148
3
votes
1 answer

Connect to VM using Websocket

This could also been treated as a JS question even I'm using a lot of VMware terms. I'm using Websocket to connect to a VM that is hosted by vSphere and is managed by vCloud Director. By vCloud Director API, I can have the security ticket, which is…
Bomin
  • 1,619
  • 5
  • 24
  • 39
3
votes
2 answers

vCloud: Create and configure a vm in vApp

I am trying to deploy Virtual Machines from a template into a vApp using the vCloud rest API. I feel that there should be a way to configure a vm as I am spawning it (Since the UI seems to do that) but haven't found a way. I've been focusing my…
TheRadRomulan
  • 31
  • 1
  • 2
3
votes
1 answer

jclouds support for newer vCloud APIs

We must support a number of different target clouds for our migration service (from AWS to Openstack to vCloud and more) so I thought I'd use jclouds at least for the part where we retrieve account attributes (such as regions, organizations,…
Marco Massenzio
  • 2,822
  • 1
  • 25
  • 37
2
votes
1 answer

create a standalone VM with vCloud Director API "createVm"

I'm trying to create a standalone VM with the API operation createVm. Here is my xml-template, which will be uploaded via my pythonscript after adding current datetime and StorageProfileHref:
Av3g3n
  • 51
  • 9
2
votes
0 answers

Logging in to vCloud Director API using PHP

I'm trying to use the vCloud director API for the first time using PHP. This is the first 2 steps in the documentation - https://pubs.vmware.com/vca/index.jsp#com.vmware.vcloud.api.doc_56/GUID-6DC15CF5-3BCF-4426-9988-C71E7A71CBD6.html Make an API…
japhfortin
  • 361
  • 4
  • 6
  • 18
2
votes
1 answer

How to change disk storage profile with vCloud API

I'm trying to change disk storage profile of one VM in the vCloud. I've found this link. I use the following xml document as the body of my REST request
KennyMacCormik
  • 105
  • 2
  • 10
2
votes
0 answers

Unable to create Isolated Network for VDC in vCloud director

When I try to post XML to vcloud director api for adding isolated net work i am getting the following error from api. Request XML
G V S Vinayak
  • 51
  • 1
  • 6
2
votes
0 answers

power on vmware(vCloud) instance on demand

We have several private vCloud vmware instances on which are deployed some java webaps. The instances are not corelated with each other. I am monitoring the usage of the apps and have some instances that are not used for days or even months. Is…
simonC
  • 4,101
  • 10
  • 50
  • 78
1
vote
1 answer

Terraform Vcloud provider is crashing when using terraform plan

I am trying to automate the deployment of VM's in Vcloud using terraform. The server that I am using doesn't have an internet connection so I had to install terraform and VCD provider offline. Terrafom init worked but when I use terraform plan is…
Mextos
  • 29
  • 2
1
vote
1 answer

What is the difference between SingleLogout and Logout?

I created a relying party trust for adfs and vcloud director. In my application, there is a button to click if the user wants to access his organizations, then he will be redirected to his selected organization in vcloud director. If the user wants…
Rogin Neil
  • 55
  • 1
  • 7
1
vote
0 answers

How to Mount ISOs, copy files to guests and invoke scripts on Cloud Server

I am trying to port/adapt some PowerCLI scripts previously used with vSphere to be used with a Cloud Server. Many of the cmdlets used with vCenter seem to have corresponding versions for cloud (Connect-CIServer, Get-CIVapp, Start-CIVM,…
Rob Davis
  • 1,299
  • 1
  • 10
  • 22
1
vote
0 answers

Use vCloud API Version 27.0 with .NET

I'm using the vCloud API to create an organization, organization user, virtual data center, edge gateway, and organization network. In vCloud Director 8.2, there are now global roles and organization roles. The roles I am getting back with my API…
t_m27
  • 103
  • 16
1
vote
0 answers

VMware VCloud REST API is not Working for deallocate public IPs from an edge gateway network

We are trying to call the following REST API to deallocate public IPs from an edge gateway network. PUT: https://myvcloud.com/api/admin/edgeGateway/{Id of the edge gateway}/action/manageExternalIpAddresses Request Header: Authorization: Basic…
Sougata
  • 97
  • 1
  • 7
1
vote
1 answer

Upload of Media via VMware API results in larger transferred size than file size

We're utilizing the V Cloud API to interact with virtual machines (create machines, perform actions, switch media, etc). One requested function is to be able to upload media (specifically ISO's) to a particular a catalog. The API guide (pg 67) is…
1
2 3 4