org.dasein.cloud.azure
Class Azure

java.lang.Object
  extended by org.dasein.cloud.CloudProvider
      extended by org.dasein.cloud.AbstractCloud
          extended by org.dasein.cloud.azure.Azure

public class Azure
extends AbstractCloud

Core cloud provider implementation for the Microsoft Azure cloud.

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

Constructor Summary
Azure()
           
 
Method Summary
 String generateToken(int minLength, int maxLength)
           
 String getCloudName()
           
 AzureComputeServices getComputeServices()
           
 String getDataCenterId(String regionId)
           
 AzureLocation getDataCenterServices()
           
static org.apache.log4j.Logger getLogger(Class<?> cls)
           
 AzureNetworkServices getNetworkServices()
           
 String getProviderName()
           
 String getStorageEndpoint()
           
 String getStorageService()
           
 AzureStorageServices getStorageServices()
           
static org.apache.log4j.Logger getWireLogger(Class<?> cls)
           
 long parseTimestamp(String time)
           
 String testContext()
           
 
Methods inherited from class org.dasein.cloud.AbstractCloud
getAdminServices, getCIServices, getIdentityServices, getPlatformServices
 
Methods inherited from class org.dasein.cloud.CloudProvider
close, connect, connect, getComputeCloud, getContext, hasComputeServices, hasIdentityServices, hasNetworkServices, hasPlatformServices, hasStorageServices, hold, isConnected, matchesTags, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Azure

public Azure()
Method Detail

getLogger

@Nonnull
public static org.apache.log4j.Logger getLogger(@Nonnull
                                                        Class<?> cls)

getWireLogger

@Nonnull
public static org.apache.log4j.Logger getWireLogger(@Nonnull
                                                            Class<?> cls)

generateToken

@Nonnull
public String generateToken(int minLength,
                                    int maxLength)

getCloudName

@Nonnull
public String getCloudName()
Specified by:
getCloudName in class CloudProvider

getDataCenterId

public String getDataCenterId(String regionId)

getComputeServices

@Nonnull
public AzureComputeServices getComputeServices()
Overrides:
getComputeServices in class AbstractCloud

getDataCenterServices

@Nonnull
public AzureLocation getDataCenterServices()
Overrides:
getDataCenterServices in class AbstractCloud

getNetworkServices

@Nonnull
public AzureNetworkServices getNetworkServices()
Overrides:
getNetworkServices in class AbstractCloud

getStorageEndpoint

@Nonnull
public String getStorageEndpoint()
                          throws CloudException,
                                 InternalException
Throws:
CloudException
InternalException

getStorageService

@Nullable
public String getStorageService()
                         throws CloudException,
                                InternalException
Throws:
CloudException
InternalException

getStorageServices

@Nonnull
public AzureStorageServices getStorageServices()
Overrides:
getStorageServices in class CloudProvider

getProviderName

@Nonnull
public String getProviderName()
Specified by:
getProviderName in class CloudProvider

parseTimestamp

public long parseTimestamp(@Nullable
                           String time)
                    throws CloudException
Throws:
CloudException

testContext

@Nullable
public String testContext()
Overrides:
testContext in class CloudProvider


Copyright © 2013 enStratus Networks Inc. All Rights Reserved.