org.dasein.cloud.azure
Class AzureLocation

java.lang.Object
  extended by org.dasein.cloud.azure.AzureLocation
All Implemented Interfaces:
DataCenterServices

public class AzureLocation
extends Object
implements DataCenterServices

Displays the available locations for Microsoft Azure services.

Since:
2012.04.1
Version:
2012.04.1
Author:
George Reese (george.reese@imaginary.com)

Method Summary
 DataCenter getDataCenter(String providerDataCenterId)
           
 String getProviderTermForDataCenter(Locale locale)
           
 String getProviderTermForRegion(Locale locale)
           
 Region getRegion(String providerRegionId)
           
 boolean isSubscribed(AzureService toService)
           
 Collection<DataCenter> listDataCenters(String providerRegionId)
           
 Collection<Region> listRegions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDataCenter

@Nullable
public DataCenter getDataCenter(@Nonnull
                                         String providerDataCenterId)
                         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 providerRegionId)
                 throws InternalException,
                        CloudException
Specified by:
getRegion in interface DataCenterServices
Throws:
InternalException
CloudException

isSubscribed

public boolean isSubscribed(AzureService toService)
                     throws InternalException,
                            CloudException
Throws:
InternalException
CloudException

listDataCenters

@Nonnull
public Collection<DataCenter> listDataCenters(@Nonnull
                                                      String providerRegionId)
                                       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 © 2013 enStratus Networks Inc. All Rights Reserved.