Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all articles
Browse latest Browse all 7719

Re: I want my VM to be on a particular storage profile through vCD REST API client

$
0
0

hi i have found a example in the VMware vCloud Director Documentation Center

Request:

PUT https://vcloud.example.com/api/vApp/vm-4 Content-type: application/vnd.vmware.vcloud.vm+xml

...

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

<Vm ...>

...

<StorageProfile type="application/vnd.vmware.vcloud.vdcStorageProfile+xml" name="Gold" href="https://vcloud.example.com/api/vdcStorageProfile/3" />

</Vm>

 

Response:

202 Accepted Content-Type: application/vnd.vmware.vcloud.task+xml

...

<Task ... operation="Updating Virtual Application Linux FTP server (7)" ...> ... </Task>


Viewing all articles
Browse latest Browse all 7719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>