org.dasein.cloud.aws
Class RegionsAndZones

java.lang.Object
  extended by org.dasein.cloud.aws.RegionsAndZones
All Implemented Interfaces:
org.dasein.cloud.dc.DataCenterServices

public class RegionsAndZones
extends Object
implements org.dasein.cloud.dc.DataCenterServices


Field Summary
static String DESCRIBE_AVAILABILITY_ZONES
           
static String DESCRIBE_REGIONS
           
 
Method Summary
 org.dasein.cloud.dc.DataCenterCapabilities getCapabilities()
           
 org.dasein.cloud.dc.DataCenter getDataCenter(String zoneId)
           
 String getProviderTermForDataCenter(Locale locale)
          Deprecated. 
 String getProviderTermForRegion(Locale locale)
          Deprecated. 
 org.dasein.cloud.dc.Region getRegion(String regionId)
           
 org.dasein.cloud.dc.ResourcePool getResourcePool(String providerResourcePoolId)
           
 String isRegionEC2VPC(String regionId)
           
 Collection<org.dasein.cloud.dc.DataCenter> listDataCenters(String regionId)
           
 Collection<org.dasein.cloud.dc.Region> listRegions()
           
 Collection<org.dasein.cloud.dc.ResourcePool> listResourcePools(String providerDataCenterId)
           
 Collection<org.dasein.cloud.dc.StoragePool> listStoragePools()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIBE_AVAILABILITY_ZONES

public static final String DESCRIBE_AVAILABILITY_ZONES
See Also:
Constant Field Values

DESCRIBE_REGIONS

public static final String DESCRIBE_REGIONS
See Also:
Constant Field Values
Method Detail

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 zoneId)
                                             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

@Deprecated
public String getProviderTermForDataCenter(Locale locale)
Deprecated. 

Specified by:
getProviderTermForDataCenter in interface org.dasein.cloud.dc.DataCenterServices

getProviderTermForRegion

@Deprecated
public String getProviderTermForRegion(Locale locale)
Deprecated. 

Specified by:
getProviderTermForRegion in interface org.dasein.cloud.dc.DataCenterServices

getRegion

public org.dasein.cloud.dc.Region getRegion(String regionId)
                                     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

public Collection<org.dasein.cloud.dc.DataCenter> listDataCenters(String regionId)
                                                           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

isRegionEC2VPC

public String isRegionEC2VPC(String regionId)
                      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

@Nonnull
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 © 2009-2014 Dell, Inc.. All Rights Reserved.