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 |
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
Copyright © 2014 enStratus Networks Inc. All Rights Reserved.