public class ServiceDelegateHelper extends Object
| Constructor and Description |
|---|
ServiceDelegateHelper() |
| Modifier and Type | Method and Description |
|---|---|
static KeyStore |
createKeyStoreFromCertifcate(String certificate,
String keyStoreFilePath,
String passPhrase)
Loads certificate into keystore and also creates keystore file in user home
|
static com.microsoft.windowsazure.management.compute.ComputeManagementClient |
getComputeManagementClient(AzureSlave slave) |
static com.microsoft.windowsazure.management.compute.ComputeManagementClient |
getComputeManagementClient(com.microsoft.windowsazure.Configuration config) |
static com.microsoft.windowsazure.management.ManagementClient |
getManagementClient(com.microsoft.windowsazure.Configuration config) |
static com.microsoft.windowsazure.management.storage.StorageManagementClient |
getStorageManagementClient(com.microsoft.windowsazure.Configuration config) |
static com.microsoft.windowsazure.Configuration |
loadConfiguration(String subscriptionId,
String serviceManagementCert,
String passPhrase,
String serviceManagementURL)
Loads configuration object
|
public static com.microsoft.windowsazure.Configuration loadConfiguration(String subscriptionId, String serviceManagementCert, String passPhrase, String serviceManagementURL) throws IOException
subscriptionId - Azure subscription IDserviceManagementCert - Contents of base64 encoded pfx filepassPhrase - passPhrase for pfx file.serviceManagementURL - Azure service management URLIOExceptionpublic static com.microsoft.windowsazure.management.compute.ComputeManagementClient getComputeManagementClient(com.microsoft.windowsazure.Configuration config)
public static com.microsoft.windowsazure.management.compute.ComputeManagementClient getComputeManagementClient(AzureSlave slave) throws Exception
Exceptionpublic static com.microsoft.windowsazure.management.storage.StorageManagementClient getStorageManagementClient(com.microsoft.windowsazure.Configuration config)
public static com.microsoft.windowsazure.management.ManagementClient getManagementClient(com.microsoft.windowsazure.Configuration config)
public static KeyStore createKeyStoreFromCertifcate(String certificate, String keyStoreFilePath, String passPhrase) throws IOException
certificate - contents of base 64 encoded pfx filekeyStoreFilePath - path to keystore filepassPhrase - password for pfx fileIOExceptionCopyright © 2004-2014. All Rights Reserved.