vCloud API Programming Guide
<Link rel="add" type="application/vnd.vmware.admin.vdc+xml"
<Link rel="add" type="application/vnd.vmware.admin.network+xml"
<Link rel="edit" type="application/vnd.vmware.admin.organization+xml"
<Link rel="remove" href="http://vcloud.example.com/api/v1.0/admin/org/26"/>
<Link rel="disable" href="http://vcloud.example.com/api/v1.0/admin/org/26/action/disable"/>
<Link rel="alternate" type="application/vnd.vmware.vcloud.org+xml"
<Description>Example Corporation's Finance Organization</Description>
<FullName>Finance</FullName>
<Settings>
<IsEnabled>false</IsEnabled>
<CanPublishCatalogs>true</CanPublishCatalogs>
<DeployedVMQuota>0</DeployedVMQuota>
<StoredVmQuota>0</StoredVmQuota>
<OrgLeaseSettings>
<DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
<DeploymentLeaseSeconds>604800</DeploymentLeaseSeconds>
<StorageLeaseSeconds>2592000</StorageLeaseSeconds>
</OrgLeaseSettings>
<OrgLdapMode>SYSTEM</OrgLdapMode>
<OrgEmailSettings>
<IsDefaultSmtpServer>true</IsDefaultSmtpServer>
<IsDefaultOrgEmail>true</IsDefaultOrgEmail>
<FromEmailAddress>Admin@example.com</FromEmailAddress>
<DefaultSubjectPrefix>Attention</DefaultSubjectPrefix>
<IsAlertEmailToAllAdmins>true</IsAlertEmailToAllAdmins>
<SmtpServerSettings>
</SmtpServerSettings>
</OrgEmailSettings>
</Settings>
</AdminOrg>
Get an Administrative View of an Organization
To see an administrative view of an organization, an administrator can make a GET request to the
organization's admin URL (the href element of the AdminOrg body), as shown in Example
exception of the HTTP response code (200 OK instead of 201 Created), the response to this request is identical
to the one returned in Example
Example 6-4. Get an Administrative View of an Organization
Request:
GET http://vcloud.example.com/api/v1.0/admin/org/26
Response:
200 OK
Content-Type:application/vnd.vmware.admin.organization+xml
...
<AdminOrg xmlns="http://www.vmware.com/vcloud/v1"
<Link rel="down" type="application/vnd.vmware.vcloud.tasksList+xml"
<Description>Example Corporation's Finance Organization</Description>
96
href="http://vcloud.example.com/api/v1.0/admin/org/26/vdcs"/>
href="http://vcloud.example.com/api/v1.0/admin/org/26/networks"/>
href="http://vcloud.example.com/api/v1.0/admin/org/26"/>
href="http://vcloud.example.com/api/v1.0/org/26"/>
<IsUseAuthentication>true</IsUseAuthentication>
<Host>smtp.example.com</Host>
<Username>admin@smtp.example.com</Username>
6‐3, so we omit most of it from the example.
href="http://vcloud.example.com/api/v1.0/admin/org/26" name="ExampleFinance"
type="application/vnd.vmware.admin.organization+xml">
href="http://vcloud.example.com/api/v1.0/tasksList/26"/>
6‐4. With the
VMware, Inc.
Need help?
Do you have a question about the VCLOUD API 1.0 - API and is the answer not in the manual?
Questions and answers