public class EnterpriseApi extends Object
public EnterpriseDto createEnterprise(String name)
public EnterpriseDto createEnterprise(EnterpriseDto dto)
public EnterpriseDto editEnterprise(EnterpriseDto enterprise)
public PublicCloudCredentialsDto addPublicCloudCredentials(EnterpriseDto enterprise, PublicCloudCredentialsDto credentials)
public PublicCloudCredentialsDto addPublicCloudCredentials(ApiClient api, EnterpriseDto enterprise, String type, String access, String key)
public PublicCloudCredentialsListDto listPublicCloudCredentials(EnterpriseDto enterprise)
public AsyncTaskDto addPublicCloudCredentialsFromCreateAccount(EnterpriseDto enterprise, CreateAccountDto createAccount, Optional<PublicCloudRegionDto> region, HypervisorTypeDto hypervisorType)
region. - Required when the plugin requires endpoint (dynamic regions, eg. vcd)public EnterpriseDto getEnterprise(String id)
public Iterable<EnterpriseDto> listEnterprises()
public Iterable<EnterpriseDto> listEnterprises(EnterpriseListOptions options)
public void deleteUser(UserDto user)
public void deleteScope(ScopeDto scope)
public UserDto createUser(String name, String surname, String nick, String password, String email, String description, boolean active, String locale, AuthType authType, String publicSshKey, List<Integer> availableVirtualDatacentersIds, EnterpriseDto enterprise, RoleDto role, Optional<ScopeDto> scope)
public UserDto getCurrentUser()
public Iterable<UserDto> listUsers(EnterpriseDto enterprise)
public Iterable<UserDto> listUsers(EnterpriseDto enterprise, UserListOptions options)
public Iterable<PrivilegeDto> listPrivileges(RoleDto role)
public Iterable<DatacenterRepositoryDto> listDatacenterRepositories(EnterpriseDto enterprise)
public EnterprisePropertiesDto getEnterpriseProperties(EnterpriseDto enterprise)
public String getEnterpriseProperty(EnterpriseDto enterprise, String key)
public EnterprisePropertiesDto addEnterpriseProperties(EnterpriseDto enterprise, EnterprisePropertiesDto properties)
public EnterprisePropertiesDto deleteEnterpriseProperties(EnterpriseDto enterprise, List<String> keys)
public Iterable<PrivilegeDto> listAllPrivileges()
public Iterable<RoleDto> listRolesFromEnterprise(EnterpriseDto ent)
public Iterable<VirtualDatacenterDto> listVirtualDatacenters(EnterpriseDto enterprise)
Copyright © 2008–2020 Abiquo Holdings S.L.. All rights reserved.