public class InfrastructureApi extends Object
public Iterable<DatacenterDto> listDatacenters()
public Iterable<DatacenterDto> listDatacenters(DatacenterListOptions options)
public Iterable<RackDto> listRacks(DatacenterDto datacenter)
public Iterable<DatacenterLimitsDto> listLimits(EnterpriseDto enterprise)
public DatacenterLimitsDto getEnterpriseLimitsForDatacenter(EnterpriseDto enterprise, DatacenterDto datacenter)
public Iterable<VLANNetworkDto> listExternalNetworks(DatacenterLimitsDto limits)
public DatacenterDto createDatacenter(String name, String location, List<RemoteServiceDto> remoteServices)
name - The new datacenter namelocation - The new datacenter locationremoteServices - The remote services the new datacenter needspublic PublicCloudRegionDto createPublicCloudRegion(String name, RegionDto region, List<RemoteServiceDto> remoteServices)
name - The new public cloud region nameregion - The new public cloud region provider's regiontype - The new public cloud region typeremoteServices - The remote services the new public cloud region needspublic PublicCloudRegionDto createPublicCloudDynamicRegion(String name, RegionDto region, List<RemoteServiceDto> remoteServices, String identity, String credential, String endpoint)
name - The new public cloud region nameregion - The new public cloud region provider's regiontype - The new public cloud region typeremoteServices - The remote services the new public cloud region needsidentity - X-Abiquo-PCR-Identity headercredential - X-Abiquo-PCR-Credential headerendpoint - X-Abiquo-PCR-Endpoint headerpublic Iterable<RemoteServiceDto> listRemoteServices(DatacenterDto datacenter)
public Iterable<RemoteServiceDto> listRemoteServices()
public RackDto createRack(DatacenterDto datacenter, String name)
@Deprecated public void addDatacenterToEnterprise(EnterpriseDto enterprise, DatacenterDto datacenter)
@Deprecated public void addPublicCloudRegionToEnterprise(EnterpriseDto enterprise, PublicCloudRegionDto pcr)
public DatacenterLimitsDto addLocationToEnterprise(EnterpriseDto enterprise, LocationDto location)
public MachinesDto discoverMachines(DatacenterDto datacenter, String type, String ip, String user, String password)
public MachinesDto discoverManagedMachines(DatacenterDto datacenter, String type, String ip, String managerIp, String managerUser, String managerPassword)
public MachineDto createMachine(RackDto rack, MachineDto machine)
public Iterable<NetworkServiceTypeDto> listNetworkServiceTypes(DatacenterDto datacenter)
public MachineLoadRuleDto createDatacenterLoadLevelRule(DatacenterDto datacenter, int cpuLoadPercentage, int ramLoadPercentage)
public MachineLoadRuleDto createRackLoadLevelRule(RackDto rack, int cpuLoadPercentage, int ramLoadPercentage)
public MachineLoadRuleDto createMachineLoadLevelRule(MachineDto machine, int cpuLoadPercentage, int ramLoadPercentage)
public DatastoreLoadRuleDto createDatacenterLoadLevelStorageRule(DatacenterDto datacenter, int storageLoadPercentage)
public DatastoreLoadRuleDto createDatastoreTierLoadLevelStorageRule(DatastoreTierDto datastoreTier, int storageLoadPercentage)
public DatastoreLoadRuleDto createDatastoreLoadLevelStorageRule(DatastoreDto datastore, int storageLoadPercentage)
public Iterable<StorageDeviceDto> listDevices(DatacenterDto datacenter)
public Iterable<StoragePoolDto> listPools(StorageDeviceDto device)
public Iterable<StoragePoolDto> listRemotePools(StorageDeviceDto device)
public StorageDeviceDto createStorageDevice(DatacenterDto datacenter, String name, String technology, String managementIp, int managementPort, String serviceIp, int servicePort, String username, String password)
public StoragePoolDto createPool(DatacenterDto datacenter, StorageDeviceDto storageDevice, String pool, String tierName)
public VLANNetworkDto createExternalNetwork(DatacenterDto datacenter, NetworkServiceTypeDto nst, EnterpriseDto enterprise, String name, String address, String gateway, int mask, int tag, com.google.common.base.Optional<DeviceDto> optDevice)
public VLANNetworkDto createUnmanagedNetwork(DatacenterDto datacenter, NetworkServiceTypeDto nst, EnterpriseDto enterprise, String name, String address, String gateway, int mask, int tag, com.google.common.base.Optional<DeviceDto> optDevice)
public Iterable<TierDto> listTiers(DatacenterDto datacenter)
public Iterable<PublicCloudRegionDto> listPublicCloudRegions(PublicCloudRegionListOptions options)
public Iterable<PublicCloudRegionDto> listPublicCloudRegions()
public Iterable<MachineDto> listMachines(RackDto rack)
public Iterable<VirtualMachineDto> listInfrastructureVirtualMachines(MachineDto machine)
public Iterable<VirtualMachineDto> listInfrastructureVirtualMachines(MachineDto machine, VirtualMachineInfrastructureListOptions options)
public VirtualMachineFlatDto getVirtualMachineFlat(VirtualMachineDto vm, VirtualMachineInfrastructureListOptions options)
public Iterable<ClusterDto> listClusters(RackDto rack)
public DeviceDto createDevice(DatacenterDto dc, DeviceTypeDto deviceType, String name, String endpoint, String user, String password, boolean vdcDefault)
public NatNetworkDto createNatNetwork(DatacenterDto dc, String name, String cidr, DeviceDto device)
public Iterable<NatNetworkDto> listNatNetworks(DatacenterDto dc)
public NatNetworkDto editNatNetwork(NatNetworkDto natNw)
public void deleteNatNetwork(NatNetworkDto natNw)
public void deleteRole(RoleDto role)
public RoleDto getRole(int roleId)
public Iterable<PrivilegeDto> listPrivilegesOfARole(RoleDto role)
public NatIpDto createNatIp(NatNetworkDto natNetwork, String ip)
public IpsBulkCreationDto createMultipleNatIps(NatNetworkDto natNetwork, String startingIP, int numips)
public Iterable<NatIpDto> listNatIPs(NatNetworkDto natNw)
public Iterable<NatIpDto> listNatIPs(NatNetworkDto natNw, NatIPsListOptions options)
public void deleteNatIp(NatIpDto natIP)
public HardwareProfileDto createHardwareProfile(DatacenterDto datacenter, HardwareProfileDto hardwareProfile)
public Iterable<HardwareProfileDto> listHardwareProfiles(DatacenterDto datacenter)
public Iterable<DatastoreTierDto> listDatastoreTiers(DatacenterDto datacenter)
Copyright © 2008–2020 Abiquo Holdings S.L.. All rights reserved.