org.dasein.cloud.vcloud
Class VDCServices
java.lang.Object
org.dasein.cloud.vcloud.VDCServices
- All Implemented Interfaces:
- DataCenterServices
public class VDCServices
- extends Object
- implements DataCenterServices
vCloud VDC support to describe the data centers in a specific vCloud-based cloud. Dasein Cloud maps your
vCloud organization to both an accountNumber and a Dasein Cloud region. Dasein Cloud data centers map to
vCloud VDCs. There's a further nuance in the ID format of regions and data centers. They can take the format
/org/ORG_ID and /vdc/VDC_ID, respectively, OR they can simply be ORG_ID and VDC_ID respectively. By default,
the Region.getProviderRegionId() == ORG_ID. However, if the ProviderContextCompat.getCustomProperties()
property "compat" or system property "vCloudCompat" are set to true, Dasein Cloud will mimic the old
Dasein Cloud + jclouds behavior in which Region.getProviderRegionId() == /org/ORG_ID.
Created by George Reese: 9/17/12 11:00 AM
- Since:
- 2012.09
- Version:
- 2012.09 initial version
- Author:
- George Reese
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCapabilities
@Nonnull
public DataCenterCapabilities getCapabilities()
throws InternalException,
CloudException
- Specified by:
getCapabilities in interface DataCenterServices
- Throws:
InternalException
CloudException
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
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
listResourcePools
public Collection<ResourcePool> listResourcePools(String providerDataCenterId)
throws InternalException,
CloudException
- Specified by:
listResourcePools in interface DataCenterServices
- Throws:
InternalException
CloudException
getResourcePool
public ResourcePool getResourcePool(String providerResourcePoolId)
throws InternalException,
CloudException
- Specified by:
getResourcePool in interface DataCenterServices
- Throws:
InternalException
CloudException
listStoragePools
public Collection<StoragePool> listStoragePools()
throws InternalException,
CloudException
- Specified by:
listStoragePools in interface DataCenterServices
- Throws:
InternalException
CloudException
Copyright © 2014 Dell, Inc.. All Rights Reserved.