org.dasein.cloud.vsphere
Class Dc
java.lang.Object
org.dasein.cloud.vsphere.Dc
- All Implemented Interfaces:
- DataCenterServices
public class Dc
- extends Object
- implements DataCenterServices
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCapabilities
@Nonnull
public DataCenterCapabilities getCapabilities()
throws InternalException,
CloudException
- Specified by:
getCapabilities in interface DataCenterServices
- Throws:
InternalException
CloudException
getDataCenter
@Nullable
public DataCenter getDataCenter(@Nonnull
String dcId)
throws InternalException,
CloudException
- Specified by:
getDataCenter in interface DataCenterServices
- Throws:
InternalException
CloudException
getProviderTermForDataCenter
@Nonnull
public String getProviderTermForDataCenter(@Nonnull
Locale locale)
- Specified by:
getProviderTermForDataCenter in interface DataCenterServices
getProviderTermForRegion
@Nonnull
public String getProviderTermForRegion(@Nonnull
Locale locale)
- Specified by:
getProviderTermForRegion in interface DataCenterServices
getRegion
@Nullable
public Region getRegion(@Nonnull
String regionId)
throws InternalException,
CloudException
- Specified by:
getRegion in interface DataCenterServices
- Throws:
InternalException
CloudException
getResourcePoolFromClusterId
@Nullable
public com.vmware.vim25.mo.ResourcePool getResourcePoolFromClusterId(@Nonnull
com.vmware.vim25.mo.ServiceInstance service,
@Nonnull
String dcId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
getVmwareDatacenterFromVDCId
@Nullable
public com.vmware.vim25.mo.Datacenter getVmwareDatacenterFromVDCId(@Nonnull
com.vmware.vim25.mo.ServiceInstance service,
@Nonnull
String dcId)
throws CloudException,
InternalException
- Throws:
CloudException
InternalException
listDataCenters
@Nonnull
public Collection<DataCenter> listDataCenters(@Nonnull
String regionId)
throws InternalException,
CloudException
- Specified by:
listDataCenters in interface DataCenterServices
- Throws:
InternalException
CloudException
listRegions
@Nonnull
public Collection<Region> listRegions()
throws InternalException,
CloudException
- Specified by:
listRegions in interface DataCenterServices
- Throws:
InternalException
CloudException
listResourcePools
public Collection<ResourcePool> listResourcePools(String providerDataCenterId)
throws InternalException,
CloudException
- Specified by:
listResourcePools in interface DataCenterServices
- Throws:
InternalException
CloudException
getResourcePool
public ResourcePool getResourcePool(String providerResourcePoolId)
throws InternalException,
CloudException
- Specified by:
getResourcePool in interface DataCenterServices
- Throws:
InternalException
CloudException
listStoragePools
public Collection<StoragePool> listStoragePools()
throws InternalException,
CloudException
- Specified by:
listStoragePools in interface DataCenterServices
- Throws:
InternalException
CloudException
getStoragePool
@Nonnull
public StoragePool getStoragePool(String providerStoragePoolId)
throws InternalException,
CloudException
- Specified by:
getStoragePool in interface DataCenterServices
- Throws:
InternalException
CloudException
listVMFolders
@Nonnull
public Collection<Folder> listVMFolders()
throws InternalException,
CloudException
- Specified by:
listVMFolders in interface DataCenterServices
- Throws:
InternalException
CloudException
getVMFolder
@Nonnull
public Folder getVMFolder(String providerVMFolderId)
throws InternalException,
CloudException
- Specified by:
getVMFolder in interface DataCenterServices
- Throws:
InternalException
CloudException
getVMWareResourcePool
public com.vmware.vim25.mo.ResourcePool getVMWareResourcePool(String providerResourcePoolId)
throws InternalException,
CloudException
- Throws:
InternalException
CloudException
getIdForResourcePool
public String getIdForResourcePool(com.vmware.vim25.mo.ResourcePool rp)
Copyright © 2015 enStratus Networks Inc. All Rights Reserved.