public interface EnterpriseApi
http://community.abiquo.com/display/ABI20/API+Reference
,
EnterpriseAsyncApi
Modifier and Type | Method and Description |
---|---|
com.abiquo.server.core.enterprise.EnterpriseDto |
createEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Create a new enterprise.
|
com.abiquo.server.core.enterprise.DatacenterLimitsDto |
createLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
Allows the given enterprise to use the given datacenter with the given limits.
|
com.abiquo.server.core.appslibrary.TemplateDefinitionListDto |
createTemplateDefinitionList(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
Create a new template definition list in apps library in the given enterprise.
|
com.abiquo.server.core.enterprise.UserDto |
createUser(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.enterprise.UserDto user)
Create a new user in the given enterprise.
|
void |
deleteEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Deletes an existing enterprise.
|
void |
deleteLimits(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
Deletes existing limits for a pair enterprise-datacenter.
|
void |
deleteTemplateDefinitionList(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
Deletes existing user.
|
void |
deleteUser(com.abiquo.server.core.enterprise.UserDto user)
Deletes existing user.
|
com.abiquo.server.core.appslibrary.DatacenterRepositoryDto |
getDatacenterRepository(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
Integer datacenterRepositoryId)
Get the given datacenter repository from the given enterprise.
|
com.abiquo.server.core.enterprise.EnterpriseDto |
getEnterprise(Integer enterpriseId)
Get the given enterprise.
|
com.abiquo.server.core.enterprise.EnterprisePropertiesDto |
getEnterpriseProperties(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Get defined properties of the given enterprise.
|
com.abiquo.server.core.enterprise.DatacentersLimitsDto |
getLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
Retreives the limits for the given enterprise and datacenter.
|
com.abiquo.server.core.appslibrary.TemplateDefinitionListDto |
getTemplateDefinitionList(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
Integer templateListId)
Get the given template definition list from the given enterprise.
|
com.abiquo.server.core.enterprise.UserDto |
getUser(com.abiquo.server.core.enterprise.EnterpriseDto enterprise,
Integer idUser)
Get the given user from the given enterprise.
|
com.abiquo.server.core.infrastructure.DatacentersDto |
listAllowedDatacenters(Integer enterpriseId)
List the allowed datacenters to the given enterprise.
|
com.abiquo.server.core.enterprise.EnterprisesDto |
listEnterprises()
List all enterprises.
|
com.abiquo.server.core.enterprise.EnterprisesDto |
listEnterprises(com.abiquo.server.core.infrastructure.DatacenterDto datacenter,
EnterpriseOptions options)
List filtered enterprises by datacenter.
|
com.abiquo.server.core.enterprise.EnterprisesDto |
listEnterprises(EnterpriseOptions options)
List enterprises with options.
|
com.abiquo.server.core.infrastructure.network.VLANNetworksDto |
listExternalNetworks(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List external networks of the enterprise
|
com.abiquo.server.core.enterprise.DatacentersLimitsDto |
listLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Retreives limits for the given enterprise and any datacenter.
|
com.abiquo.server.core.infrastructure.MachinesDto |
listReservedMachines(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List reserved machines for the enterprise
|
com.abiquo.server.core.appslibrary.TemplateDefinitionListsDto |
listTemplateDefinitionLists(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List all template definitions in apps library.
|
com.abiquo.am.model.TemplatesStateDto |
listTemplateListStatus(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList,
com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
Get the list of status of a template definition list in a datacenter.
|
com.abiquo.server.core.enterprise.UsersDto |
listUsers(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Retreives users of the given enterprise.
|
com.abiquo.server.core.cloud.VirtualAppliancesDto |
listVirtualAppliances(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Retrieves list of virtual appliances by the given enterprise.
|
com.abiquo.server.core.cloud.VirtualDatacentersDto |
listVirtualDatacenters(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List all virtual datacenters of an enterprise.
|
com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto |
listVirtualMachines(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
List virtual machines for the enterprise
|
com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto |
listVirtualMachines(com.abiquo.server.core.enterprise.UserDto user)
Retrieves list of virtual machines by user.
|
void |
refreshTemplateRepository(Integer enterpriseId,
Integer datacenterRepositoryId)
Refreshes database with virtual machine templates existing in the repository filesystem.
|
com.abiquo.server.core.enterprise.EnterpriseDto |
updateEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
Updates an existing enterprise.
|
com.abiquo.server.core.enterprise.EnterprisePropertiesDto |
updateEnterpriseProperties(com.abiquo.server.core.enterprise.EnterprisePropertiesDto properties)
Updates the given enterprise properties set.
|
com.abiquo.server.core.enterprise.DatacenterLimitsDto |
updateLimits(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
Updates an existing enterprise-datacenter limits.
|
com.abiquo.server.core.appslibrary.TemplateDefinitionListDto |
updateTemplateDefinitionList(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
Update an existing template definition list in apps library.
|
com.abiquo.server.core.enterprise.UserDto |
updateUser(com.abiquo.server.core.enterprise.UserDto user)
Updates an existing user.
|
com.abiquo.server.core.enterprise.EnterprisesDto listEnterprises()
com.abiquo.server.core.enterprise.EnterprisesDto listEnterprises(EnterpriseOptions options)
options
- Filtering options.com.abiquo.server.core.enterprise.EnterprisesDto listEnterprises(com.abiquo.server.core.infrastructure.DatacenterDto datacenter, EnterpriseOptions options)
datacenter
- The given datacenter.options
- Filtering options.com.abiquo.server.core.enterprise.EnterpriseDto createEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise to be created.com.abiquo.server.core.enterprise.EnterpriseDto getEnterprise(Integer enterpriseId)
enterpriseId
- The id of the enterprise.null
if it does not exist.com.abiquo.server.core.enterprise.EnterpriseDto updateEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The new attributes for the enterprise.void deleteEnterprise(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise to delete.com.abiquo.server.core.infrastructure.DatacentersDto listAllowedDatacenters(Integer enterpriseId)
enterpriseId
- The id of the enterprise.com.abiquo.server.core.cloud.VirtualDatacentersDto listVirtualDatacenters(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The given enterprise.com.abiquo.server.core.enterprise.EnterprisePropertiesDto getEnterpriseProperties(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterpriseId
- The enterprise id.com.abiquo.server.core.enterprise.EnterprisePropertiesDto updateEnterpriseProperties(com.abiquo.server.core.enterprise.EnterprisePropertiesDto properties)
properties
- The properties set.com.abiquo.server.core.enterprise.DatacenterLimitsDto createLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, com.abiquo.server.core.infrastructure.DatacenterDto datacenter, com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
enterprise
- The enterprise.datacenter
- The datacenter to allow to the given enterprise.limits
- The usage limits for the enterprise in the given datacenter.com.abiquo.server.core.enterprise.DatacentersLimitsDto getLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
enterprise
- The enterprise.datacenter
- The datacenter.com.abiquo.server.core.enterprise.DatacentersLimitsDto listLimits(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.enterprise.DatacenterLimitsDto updateLimits(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
limits
- The new set of limits.void deleteLimits(com.abiquo.server.core.enterprise.DatacenterLimitsDto limits)
limits
- The limits to delete.com.abiquo.server.core.enterprise.UsersDto listUsers(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.enterprise.UserDto createUser(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, com.abiquo.server.core.enterprise.UserDto user)
enterprise
- The enterprise.user
- The user to be created.com.abiquo.server.core.enterprise.UserDto getUser(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, Integer idUser)
enterprise
- The enterprise.userId
- The id of the user.null
if it does not exist.com.abiquo.server.core.enterprise.UserDto updateUser(com.abiquo.server.core.enterprise.UserDto user)
enterprise
- The new attributes for the user.void deleteUser(com.abiquo.server.core.enterprise.UserDto user)
user
- The user to delete.com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto listVirtualMachines(com.abiquo.server.core.enterprise.UserDto user)
user
- The user.com.abiquo.server.core.appslibrary.DatacenterRepositoryDto getDatacenterRepository(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, Integer datacenterRepositoryId)
enterprise
- The enterprise.datacenterRepositoryId
- The id of the datacenter repository.null
if it does not exist.void refreshTemplateRepository(Integer enterpriseId, Integer datacenterRepositoryId)
enterpriseId
- Id of the enterprise which information will be refreshed.datacenterRepositoryId
- Id of the datacenter repository contaning the templates.com.abiquo.server.core.infrastructure.network.VLANNetworksDto listExternalNetworks(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.cloud.VirtualAppliancesDto listVirtualAppliances(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.cloud.VirtualMachinesWithNodeExtendedDto listVirtualMachines(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.infrastructure.MachinesDto listReservedMachines(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.appslibrary.TemplateDefinitionListsDto listTemplateDefinitionLists(com.abiquo.server.core.enterprise.EnterpriseDto enterprise)
enterprise
- The enterprise.com.abiquo.server.core.appslibrary.TemplateDefinitionListDto createTemplateDefinitionList(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
enterprise
- The enterprise.template
- The template to be created.com.abiquo.server.core.appslibrary.TemplateDefinitionListDto updateTemplateDefinitionList(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
template
- The template to be update.void deleteTemplateDefinitionList(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList)
user
- The user to delete.com.abiquo.server.core.appslibrary.TemplateDefinitionListDto getTemplateDefinitionList(com.abiquo.server.core.enterprise.EnterpriseDto enterprise, Integer templateListId)
enterprise
- The enterprise.templateListId
- The id of the template definition list.null
if it does not exist.com.abiquo.am.model.TemplatesStateDto listTemplateListStatus(com.abiquo.server.core.appslibrary.TemplateDefinitionListDto templateList, com.abiquo.server.core.infrastructure.DatacenterDto datacenter)
templateList
- The template definition list.datacenter
- The given datacenter.Copyright © 2009-2013 jclouds. All Rights Reserved.