org.jclouds.vcloud.director.v1_5.features.admin
Interface AdminOrgApi

All Superinterfaces:
OrgApi

public interface AdminOrgApi
extends OrgApi

Provides synchronous access to Org objects.

Author:
danikov, Adrian Cole
See Also:
AdminOrgAsyncApi

Method Summary
 OrgEmailSettings editEmailSettings(String orgUrn, OrgEmailSettings newSettings)
          Updates email policy settings for organization.
 OrgEmailSettings editEmailSettings(URI orgAdminHref, OrgEmailSettings newSettings)
           
 OrgGeneralSettings editGeneralSettings(String orgUrn, OrgGeneralSettings newSettings)
          Updates general organization settings.
 OrgGeneralSettings editGeneralSettings(URI orgAdminHref, OrgGeneralSettings newSettings)
           
 OrgPasswordPolicySettings editPasswordPolicy(String orgUrn, OrgPasswordPolicySettings newSettings)
          Updates password policy settings for organization.
 OrgPasswordPolicySettings editPasswordPolicy(URI orgAdminHref, OrgPasswordPolicySettings newSettings)
           
 OrgSettings editSettings(String orgUrn, OrgSettings newSettings)
          Updates organizational settings for this organization.
 OrgSettings editSettings(URI orgAdminHref, OrgSettings newSettings)
           
 OrgLeaseSettings editVAppLeaseSettings(String orgUrn, OrgLeaseSettings newSettings)
          Updates organization resource cleanup settings on the level of vApp.
 OrgLeaseSettings editVAppLeaseSettings(URI orgAdminHref, OrgLeaseSettings newSettings)
           
 OrgVAppTemplateLeaseSettings editVAppTemplateLeaseSettings(String orgUrn, OrgVAppTemplateLeaseSettings newSettings)
          Updates vApp template policy settings for organization.
 OrgVAppTemplateLeaseSettings editVAppTemplateLeaseSettings(URI orgAdminHref, OrgVAppTemplateLeaseSettings newSettings)
           
 AdminOrg get(String orgUrn)
          Retrieves an admin view of an organization.
 AdminOrg get(URI orgAdminHref)
           
 OrgEmailSettings getEmailSettings(String orgUrn)
          Retrieves email settings for an organization.
 OrgEmailSettings getEmailSettings(URI orgAdminHref)
           
 OrgGeneralSettings getGeneralSettings(String orgUrn)
          Gets general organization settings.
 OrgGeneralSettings getGeneralSettings(URI orgAdminHref)
           
 OrgLdapSettings getLdapSettings(String orgUrn)
          Retrieves LDAP settings for an organization.
 OrgLdapSettings getLdapSettings(URI orgAdminHref)
           
 OrgPasswordPolicySettings getPasswordPolicy(String orgUrn)
          Retrieves password policy settings for an organization.
 OrgPasswordPolicySettings getPasswordPolicy(URI orgAdminHref)
           
 OrgSettings getSettings(String orgUrn)
          Gets organizational settings for this organization.
 OrgSettings getSettings(URI orgAdminHref)
           
 OrgLeaseSettings getVAppLeaseSettings(String orgUrn)
          Gets organization resource cleanup settings on the level of vApp.
 OrgLeaseSettings getVAppLeaseSettings(URI orgAdminHref)
           
 OrgVAppTemplateLeaseSettings getVAppTemplateLeaseSettings(String orgUrn)
          Retrieves expiration and storage policy for vApp templates in an organization.
 OrgVAppTemplateLeaseSettings getVAppTemplateLeaseSettings(URI orgAdminHref)
           
 
Methods inherited from interface org.jclouds.vcloud.director.v1_5.features.OrgApi
list
 

Method Detail

get

AdminOrg get(String orgUrn)
Retrieves an admin view of an organization. The organization might be enabled or disabled. If enabled, the organization allows login and all other operations.
 GET /admin/org/{id}
 

Specified by:
get in interface OrgApi
Parameters:
orgUrn - the reference for the admin org
Returns:
the admin org

get

AdminOrg get(URI orgAdminHref)
Specified by:
get in interface OrgApi

getSettings

OrgSettings getSettings(String orgUrn)
Gets organizational settings for this organization.
 GET /admin/org/{id}/settings
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the settings

getSettings

OrgSettings getSettings(URI orgAdminHref)

editSettings

OrgSettings editSettings(String orgUrn,
                         OrgSettings newSettings)
Updates organizational settings for this organization.
 PUT /admin/org/{id}/settings
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editSettings

OrgSettings editSettings(URI orgAdminHref,
                         OrgSettings newSettings)

getEmailSettings

OrgEmailSettings getEmailSettings(String orgUrn)
Retrieves email settings for an organization.
 GET /admin/org/{id}/settings/email
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the email settings

getEmailSettings

OrgEmailSettings getEmailSettings(URI orgAdminHref)

editEmailSettings

OrgEmailSettings editEmailSettings(String orgUrn,
                                   OrgEmailSettings newSettings)
Updates email policy settings for organization.
 PUT /admin/org/{id}/settings/email
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editEmailSettings

OrgEmailSettings editEmailSettings(URI orgAdminHref,
                                   OrgEmailSettings newSettings)

getGeneralSettings

OrgGeneralSettings getGeneralSettings(String orgUrn)
Gets general organization settings.
 GET /admin/org/{id}/settings/general
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the lease settings

getGeneralSettings

OrgGeneralSettings getGeneralSettings(URI orgAdminHref)

editGeneralSettings

OrgGeneralSettings editGeneralSettings(String orgUrn,
                                       OrgGeneralSettings newSettings)
Updates general organization settings.
 PUT /admin/org/{id}/settings/general
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editGeneralSettings

OrgGeneralSettings editGeneralSettings(URI orgAdminHref,
                                       OrgGeneralSettings newSettings)

getLdapSettings

OrgLdapSettings getLdapSettings(String orgUrn)
Retrieves LDAP settings for an organization.
 GET /admin/org/{id}/settings/ldap
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the ldap settings

getLdapSettings

OrgLdapSettings getLdapSettings(URI orgAdminHref)

getPasswordPolicy

OrgPasswordPolicySettings getPasswordPolicy(String orgUrn)
Retrieves password policy settings for an organization.
 GET /admin/org/{id}/settings/passwordPolicy
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the lease settings

getPasswordPolicy

OrgPasswordPolicySettings getPasswordPolicy(URI orgAdminHref)

editPasswordPolicy

OrgPasswordPolicySettings editPasswordPolicy(String orgUrn,
                                             OrgPasswordPolicySettings newSettings)
Updates password policy settings for organization.
 PUT /admin/org/{id}/settings/passwordPolicy
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editPasswordPolicy

OrgPasswordPolicySettings editPasswordPolicy(URI orgAdminHref,
                                             OrgPasswordPolicySettings newSettings)

getVAppLeaseSettings

OrgLeaseSettings getVAppLeaseSettings(String orgUrn)
Gets organization resource cleanup settings on the level of vApp.
 GET /admin/org/{id}/settings/vAppLeaseSettings
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the lease settings

getVAppLeaseSettings

OrgLeaseSettings getVAppLeaseSettings(URI orgAdminHref)

editVAppLeaseSettings

OrgLeaseSettings editVAppLeaseSettings(String orgUrn,
                                       OrgLeaseSettings newSettings)
Updates organization resource cleanup settings on the level of vApp.
 PUT /admin/org/{id}/settings/vAppLeaseSettings
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editVAppLeaseSettings

OrgLeaseSettings editVAppLeaseSettings(URI orgAdminHref,
                                       OrgLeaseSettings newSettings)

getVAppTemplateLeaseSettings

OrgVAppTemplateLeaseSettings getVAppTemplateLeaseSettings(String orgUrn)
Retrieves expiration and storage policy for vApp templates in an organization.
 GET /admin/org/{id}/settings/vAppTemplateLeaseSettings
 

Parameters:
orgUrn - the reference for the admin org
Returns:
the lease settings

getVAppTemplateLeaseSettings

OrgVAppTemplateLeaseSettings getVAppTemplateLeaseSettings(URI orgAdminHref)

editVAppTemplateLeaseSettings

OrgVAppTemplateLeaseSettings editVAppTemplateLeaseSettings(String orgUrn,
                                                           OrgVAppTemplateLeaseSettings newSettings)
Updates vApp template policy settings for organization.
 PUT /admin/org/{id}/settings/vAppTemplateLeaseSettings
 

Parameters:
orgUrn - the reference for the admin org
newSettings - the requested edited settings
Returns:
the resultant settings

editVAppTemplateLeaseSettings

OrgVAppTemplateLeaseSettings editVAppTemplateLeaseSettings(URI orgAdminHref,
                                                           OrgVAppTemplateLeaseSettings newSettings)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.