|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataCenterServices
Describe the physical configuration of the underlying cloud provider so applications may determine how to create redundancies and protect jurisdictional concerns.
The logical structure of this API divides a cloud into multiple regions. A region is simply a boundary within a cloud across which no common infrastructure is shared. A region has a jurisdiction that describe what laws govern the data in that region as well as one or more data centers providing resources in that region.
Data centers share some resources yet provide some level of physical independence. The following rules should hold for any data center:
| Method Summary | |
|---|---|
DataCenter |
getDataCenter(String providerDataCenterId)
Provides access to the full data center information for the specified data center. |
String |
getProviderTermForDataCenter(Locale locale)
Provides the cloud-specific term for a data center (e.g. |
String |
getProviderTermForRegion(Locale locale)
Provides the cloud-specific term for a region. |
Region |
getRegion(String providerRegionId)
Provides the region matching the specified region ID. |
Collection<DataCenter> |
listDataCenters(String providerRegionId)
Lists all data centers, active and inactive, available and unavailable, for the specified region. |
Collection<Region> |
listRegions()
Lists all regions, active and inactive, available and unavailable. |
String |
matchDataCenter(CloudProvider withAccount,
String withProviderDataCenterId)
Matches the data center ID for a data center in an account with another account and returns the matching data center. |
| Method Detail |
|---|
DataCenter getDataCenter(String providerDataCenterId)
throws InternalException,
CloudException
providerDataCenterId - the provider-specific identifier that the provider uses to identify the data center
InternalException - an error occurred locally in processing the request
CloudException - an error occurred within the cloud provider or the cloud provider did not approve of the requestString getProviderTermForDataCenter(Locale locale)
locale - the locale into which the term should be translated
String getProviderTermForRegion(Locale locale)
locale - the locale into which the term should be translated
Region getRegion(String providerRegionId)
throws InternalException,
CloudException
providerRegionId - the provider-specified unique ID that identifies a region for the provider
InternalException - an error occurred locally in processing the request
CloudException - an error occurred within the cloud provider or the cloud provider did not approve of the request
Collection<DataCenter> listDataCenters(String providerRegionId)
throws InternalException,
CloudException
providerRegionId - the region in which you are searching for data centers
InternalException - an error occurred locally in processing the request
CloudException - an error occurred within the cloud provider or the cloud provider did not approve of the request
Collection<Region> listRegions()
throws InternalException,
CloudException
InternalException - an error occurred locally in processing the request
CloudException - an error occurred within the cloud provider or the cloud provider did not approve of the request
String matchDataCenter(CloudProvider withAccount,
String withProviderDataCenterId)
throws InternalException,
CloudException
withAccount - the provider containing context information for the account whose data center is being matchedwithProviderDataCenterId - the ID of the data center to be matched
InternalException - an error occurred locally in processing the request
CloudException - an error occurred within the cloud provider or the cloud provider did not approve of the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2009 enStratus Networks LLC – Available under the terms of the Artistic License 2.0.