EasyManua.ls Logo

VMware VCLOUD API 1.0 - API

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
Loading...
VMware, Inc. 99
Chapter 6 Administrative Operations
Remove an Organization
AnorganizationadministratorcanusetheremovelinkinanAdminOrgbodytoremovetheorganizationfrom
thevCloud.Example 68doesthis,makingaDELETErequesttotheremovelinkreturnedinExample 64.
Example 6-8. Remove an Organization
Request:
DELETE http://vcloud.example.com/api/v1.0/admin/org/26
Response:
204 No Content
Network Administration
Anewlycreatedorganizationhasnonetworksinit.Anorganizationadministratormustcreatean
organizationnetworkfromresourcesprovidedbyoneoftheexternalnetworkslistedintheNetworkselement
oftheVCloudresponse(seeExample 62onpage 94).
View the Properties of an External Network
Tocreateanorganizationnetwork,andorganizationadministratormustchooseaparentnetworkfromoneof
thenetworksgroupedintheNetworkselementofthecloud.Togetmoreinformationaboutanyofthese
networks,anadministratorcanmakeaGETrequesttothenetwork’sURL(thehrefelementofthe
Network
element).Example 69makessucharequesttothehrefofaNetworkelementreturnedinExample 62on
page 94.TheresponseisanExternalNetworkelementthatshowstheConfigurationandotherproperties
ofthenetwork,includingaProviderInfoelementthatspecifiesdetailsoftheunderlyingvSpherenetwork.
The
ExternalNetworkelementisreadonly.
Example 6-9. View the Properties of an External Network
Request:
GET http://vcloud.example.com/api/v1.0/admin/network/7
Response:
200 OK
Content-Type:pplication/vnd.vmware.admin.network+xm
...
<ExternalNetwork xmlns="http://www.vmware.com/vcloud/v1"
href="http://vcloud.example.com/api/v1.0/admin/network/7"
name="ExternalNetwork-VC1" ...>
<Description>VLAN 7</Description>
<Configuration>
...
</Configuration>
<ProviderInfo>
NETWORK:dvportgroup-1587 on com.vmware.vcloud.entity.vimserver:1043863313
</ProviderInfo>
</ExternalNetwork>
NOTEBeforeyoucanremoveanorganization,youmustdisableitanddeleteorchangeownershipofall
objectsthattheorganizationusersown.

Table of Contents

Related product manuals