org.dasein.cloud.google
Class DataCenters
java.lang.Object
org.dasein.cloud.google.DataCenters
- All Implemented Interfaces:
- org.dasein.cloud.dc.DataCenterServices
public class DataCenters
- extends Object
- implements org.dasein.cloud.dc.DataCenterServices
Implementation of GCE Regions and Zones
- Since:
- 2014.03
- Version:
- 2014.03 initial version
- Author:
- Drew Lyall
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCapabilities
@Nonnull
public org.dasein.cloud.dc.DataCenterCapabilities getCapabilities()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getCapabilities in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getDataCenter
@Nullable
public org.dasein.cloud.dc.DataCenter getDataCenter(@Nonnull
String dataCenterId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getDataCenter in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getProviderTermForDataCenter
@Nonnull
public String getProviderTermForDataCenter(@Nonnull
Locale locale)
- Specified by:
getProviderTermForDataCenter in interface org.dasein.cloud.dc.DataCenterServices
getProviderTermForRegion
@Nonnull
public String getProviderTermForRegion(@Nonnull
Locale locale)
- Specified by:
getProviderTermForRegion in interface org.dasein.cloud.dc.DataCenterServices
getRegion
@Nullable
public org.dasein.cloud.dc.Region getRegion(@Nonnull
String providerRegionId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getRegion in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
listDataCenters
@Nonnull
public Collection<org.dasein.cloud.dc.DataCenter> listDataCenters(@Nonnull
String providerRegionId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listDataCenters in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
listRegions
public Collection<org.dasein.cloud.dc.Region> listRegions()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listRegions in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getRegionFromZone
@Nonnull
public String getRegionFromZone(@Nonnull
String zoneName)
throws org.dasein.cloud.CloudException,
org.dasein.cloud.InternalException
- Throws:
org.dasein.cloud.CloudException
org.dasein.cloud.InternalException
listResourcePools
public Collection<org.dasein.cloud.dc.ResourcePool> listResourcePools(String providerDataCenterId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listResourcePools in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
getResourcePool
public org.dasein.cloud.dc.ResourcePool getResourcePool(String providerResourcePoolId)
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
getResourcePool in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
listStoragePools
public Collection<org.dasein.cloud.dc.StoragePool> listStoragePools()
throws org.dasein.cloud.InternalException,
org.dasein.cloud.CloudException
- Specified by:
listStoragePools in interface org.dasein.cloud.dc.DataCenterServices
- Throws:
org.dasein.cloud.InternalException
org.dasein.cloud.CloudException
Copyright © 2014 Dell, Inc. All Rights Reserved.