EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #114 background imageLoading...
Page #114 background image
vCloud API Programming Guide
114 VMware, Inc.
Response:
201 Created
Content-Type: application/vnd.vmware.admin.user+xml
...
<Group name="Engineering" type="application/vnd.vmware.admin.group+xml"
href="http://vcloud.example.com/api/v1.0/admin/group/44" ...>
<Link rel="edit" type="application/vnd.vmware.admin.group+xml"
href="http://vcloud.example.com/api/v1.0/admin/group/44"/>
<Link rel="remove" href="http://vcloud.example.com/api/v1.0/admin/group/44"/>
<Description>Research and development</Description>
...
<UsersList/>
<Role type="application/vnd.vmware.admin.role+xml" name="vApp Wrangler"
href="http://vcloud.example.com/api/v1.0/admin/role/102"/>
</Group>
View Group Metadata
EachgroupinanorganizationcanbereferencedbytheURLcontainedinoneofitsGroupReference
elements.TheseelementsarecontainedbytheGroupselementofanAdminOrgbody.Agroup’sURLalso
appearsintheresponsetotherequestthatimportsthegroup.AnadministratorcanGETagroup
URLtoview
theGroupbody.
Modify Group Metadata
AnadministratorcanmodifyaGroupbodytochangeitsDescriptionorRolebyPUTtingamodifiedGroup
bodytotheeditURLforthegroup.SeeExample 627foranexampleoftheworkflowforthistypeofrequest.
Remove a Group
AnadministratorcanusetheremovelinkinaGroupbodytoremoveagroupfromavCloud.Example 630
removesthegroupimportedinExample 629.
Example 6-30. Remove a Group
Request:
DELETE http://vcloud.example.com/api/v1.0/admin/group/44
Response:
204 No Content
Role Administration
Aroleassociatesthenameofauserorgroupwithasetofrights.RolenamesmustbeuniqueinavCloud
instance.
Create a Role
AsystemadministratorcancreatearolebyaggregatingasetofrightsinaRolebody,andthenPOSTingthe
bodytotheaddURLforroles.Example 631createsanewrolenamedvAppWranglerandaddsittothe
vCloudshowninExample 62. Theresponse,likeother
responsestorequeststhatcreateanobject,includes
thePOSTedcontent,alinktothenewobject,andlinksoftypeeditandremovethatanadministratorcanuse
tomanagethisrole.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals