VMware Cloud Director API - GET-Organization-AdminView
GET /admin/org/{id}
- Operation:
- GET /admin/org/{id}
- Description:
- Retrieve an administrative view of an organization.
- Since:
- 0.9
- Deprecated:
- 36.0
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
AdminOrgType
- Produce media type(s):
-
application/vnd.vmware.admin.organization+xml
application/vnd.vmware.admin.organization+json
- Output type:
- AdminOrgType
- Examples
-
- Request
-
HTTP 1.1
GET /api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a
Headers:
x-vcloud-authorization: eVBkZn2wahPAU+IvbURo7ekslpuoHERMB2DZEFlJuHs=
Body:
- Response
-
HTTP/1.1 200 OK
Headers:
Content-Length: 11966
Content-Type: application/vnd.vmware.admin.organization+xml;version=5.5
Vary: Accept-Encoding
Body:
<?xml version="1.0" encoding="UTF-8"?><AdminOrg
xmlns="http://www.vmware.com/vcloud/v1.5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
id="urn:vcloud:org:7b832bc5-3d65-45a2-8d35-da28388ab80a"
name="Default"
type="application/vnd.vmware.admin.organization+xml"
xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
<Link
href="https://vcloud.example.com/api/tasksList/7b832bc5-3d65-45a2-8d35-da28388ab80a"
rel="task:create"
type="application/vnd.vmware.vcloud.task"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/events"
rel="event:create"
type="application/vnd.vmware.admin.event+xml"/>
<Link
href="https://vcloud.example.com/api/tasksList/7b832bc5-3d65-45a2-8d35-da28388ab80a"
rel="down"
type="application/vnd.vmware.vcloud.tasksList+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/metadata"
rel="down"
type="application/vnd.vmware.vcloud.metadata+xml"/>
<Link
href="https://vcloud.example.com/api/supportedSystemsInfo/"
rel="down"
type="application/vnd.vmware.vcloud.supportedSystemsInfo+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/catalogs"
rel="add"
type="application/vnd.vmware.admin.catalog+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/users"
rel="add"
type="application/vnd.vmware.admin.user+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/groups"
rel="add"
type="application/vnd.vmware.admin.group+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/vdcs"
rel="add"
type="application/vnd.vmware.admin.vdc+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/vdcsparams"
rel="add"
type="application/vnd.vmware.admin.createVdcParams+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
rel="edit"
type="application/vnd.vmware.admin.organization+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/action/disable"
rel="disable"/>
<Link
href="https://vcloud.example.com/api/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
rel="alternate"
type="application/vnd.vmware.vcloud.org+xml"/>
<Description>Default organization description</Description>
<Tasks>
<Task
cancelRequested="false"
endTime="2013-02-14T13:12:08.617+02:00"
expiryTime="2013-05-15T13:12:08.617+03:00"
href="https://vcloud.example.com/api/task/de88f868-8402-4a66-aa7b-18a45223d640"
id="urn:vcloud:task:de88f868-8402-4a66-aa7b-18a45223d640"
name="task"
operation="External processing finished Organization Default(7b832bc5-3d65-45a2-8d35-da28388ab80a)"
operationName="jobCustom"
serviceNamespace="ServiceNamespace"
startTime="2013-02-14T13:12:08.617+02:00"
status="error"
type="application/vnd.vmware.vcloud.task+xml">
<Link
href="https://vcloud.example.com/api/task/de88f868-8402-4a66-aa7b-18a45223d640"
name="task"
rel="edit"
type="application/vnd.vmware.vcloud.task+xml"/>
<Owner
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
name="Default"
type="application/vnd.vmware.admin.organization+xml"/>
<Error
majorErrorCode="500"
message="The task is still in progress."
minorErrorCode="INTERNAL_SERVER_ERROR"
stackTrace="The task is still in progress."/>
<User
href="https://vcloud.example.com/api/admin/user/007a5dfd-32b4-42dd-813b-bfef3da70cb5"
name="user"
type="application/vnd.vmware.admin.user+xml"/>
<Organization
href="https://vcloud.example.com/api/org/7b832bc5-3d65-45a2-8d35-da28388ab80a"
name="Default"
type="application/vnd.vmware.vcloud.org+xml"/>
<Progress>20</Progress>
<Details>The task is still in progress.</Details>
</Task>
</Tasks>
<FullName>Default Organization</FullName>
<IsEnabled>true</IsEnabled>
<Settings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings"
type="application/vnd.vmware.admin.orgSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppTemplateLeaseSettings"
rel="down"
type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/email"
rel="down"
type="application/vnd.vmware.admin.organizationEmailSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppLeaseSettings"
rel="down"
type="application/vnd.vmware.admin.vAppLeaseSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/passwordPolicy"
rel="down"
type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/general"
rel="down"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/ldap"
rel="down"
type="application/vnd.vmware.admin.organizationLdapSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/guestPersonalizationSettings"
rel="down"
type="application/vnd.vmware.admin.guestPersonalizationSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/operationLimitsSettings"
rel="down"
type="application/vnd.vmware.admin.operationLimitsSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings"
rel="edit"
type="application/vnd.vmware.admin.orgSettings+xml"/>
<OrgGeneralSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/general"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/general"
rel="edit"
type="application/vnd.vmware.admin.organizationGeneralSettings+xml"/>
<CanPublishCatalogs>false</CanPublishCatalogs>
<CanPublishExternally>false</CanPublishExternally>
<CanSubscribe>false</CanSubscribe>
<DeployedVMQuota>0</DeployedVMQuota>
<StoredVmQuota>0</StoredVmQuota>
<UseServerBootSequence>false</UseServerBootSequence>
<DelayAfterPowerOnSeconds>0</DelayAfterPowerOnSeconds>
</OrgGeneralSettings>
<VAppLeaseSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppLeaseSettings"
type="application/vnd.vmware.admin.vAppLeaseSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppLeaseSettings"
rel="edit"
type="application/vnd.vmware.admin.vAppLeaseSettings+xml"/>
<DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
<DeploymentLeaseSeconds>604800</DeploymentLeaseSeconds>
<StorageLeaseSeconds>2592000</StorageLeaseSeconds>
</VAppLeaseSettings>
<VAppTemplateLeaseSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppTemplateLeaseSettings"
type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/vAppTemplateLeaseSettings"
rel="edit"
type="application/vnd.vmware.admin.vAppTemplateLeaseSettings+xml"/>
<DeleteOnStorageLeaseExpiration>false</DeleteOnStorageLeaseExpiration>
<StorageLeaseSeconds>2592000</StorageLeaseSeconds>
</VAppTemplateLeaseSettings>
<OrgLdapSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/ldap"
type="application/vnd.vmware.admin.organizationLdapSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/ldap"
rel="edit"
type="application/vnd.vmware.admin.organizationLdapSettings+xml"/>
<OrgLdapMode>NONE</OrgLdapMode>
</OrgLdapSettings>
<OrgEmailSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/email"
type="application/vnd.vmware.admin.organizationEmailSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/email"
rel="edit"
type="application/vnd.vmware.admin.organizationEmailSettings+xml"/>
<IsDefaultSmtpServer>true</IsDefaultSmtpServer>
<IsDefaultOrgEmail>true</IsDefaultOrgEmail>
<FromEmailAddress/>
<DefaultSubjectPrefix/>
<IsAlertEmailToAllAdmins>true</IsAlertEmailToAllAdmins>
<SmtpServerSettings>
<IsUseAuthentication>false</IsUseAuthentication>
<Host/>
<Port>25</Port>
<Username/>
</SmtpServerSettings>
</OrgEmailSettings>
<OrgPasswordPolicySettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/passwordPolicy"
type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/passwordPolicy"
rel="edit"
type="application/vnd.vmware.admin.organizationPasswordPolicySettings+xml"/>
<AccountLockoutEnabled>false</AccountLockoutEnabled>
<InvalidLoginsBeforeLockout>5</InvalidLoginsBeforeLockout>
<AccountLockoutIntervalMinutes>10</AccountLockoutIntervalMinutes>
</OrgPasswordPolicySettings>
<OrgOperationLimitsSettings
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/operationLimitsSettings"
type="application/vnd.vmware.admin.operationLimitsSettings+xml">
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings"
name="Default"
rel="up"
type="application/vnd.vmware.admin.orgSettings+xml"/>
<Link
href="https://vcloud.example.com/api/admin/org/7b832bc5-3d65-45a2-8d35-da28388ab80a/settings/operationLimitsSettings"
rel="edit"
type="application/vnd.vmware.admin.operationLimitsSettings+xml"/>
<ConsolesPerVmLimit>0</ConsolesPerVmLimit>
<OperationsPerUser>0</OperationsPerUser>
<OperationsPerOrg>0</OperationsPerOrg>
</OrgOperationLimitsSettings>
<OrgFederationSettings>
<Enabled>false</Enabled>
</OrgFederationSettings>
</Settings>
<Users>
<UserReference
href="https://vcloud.example.com/api/admin/user/b81e5f7f-e5a0-4bb8-b0ab-9fdd12409269"
name="orgadmin"
type="application/vnd.vmware.admin.user+xml"/>
</Users>
<Groups/>
<Catalogs>
<CatalogReference
href="https://vcloud.example.com/api/admin/catalog/39867ab4-04e0-4b13-b468-08abcc1de810"
name="Default catalog"
type="application/vnd.vmware.admin.catalog+xml"/>
</Catalogs>
<Vdcs>
<Vdc
href="https://vcloud.example.com/api/admin/vdc/afaafb99-228c-4838-ad07-5bf3aa649d42"
name="Default vDC"
type="application/vnd.vmware.admin.vdc+xml"/>
</Vdcs>
<Networks>
<Network
href="https://vcloud.example.com/api/admin/network/1fcc8a15-340d-43cc-a200-76c2cbbe70ba"
name="VM Network"
type="application/vnd.vmware.admin.network+xml"/>
</Networks>
</AdminOrg>