public class AzureClientFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_AVAILABLE_SUBSCRIPTION |
static String |
SUBSCRIPTION_NOT_FOUND |
static String |
SUBSCRIPTION_NOT_SPECIFIED |
private static String |
SUBSCRIPTION_TEMPLATE |
| Constructor and Description |
|---|
AzureClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
checkSubscription(com.microsoft.azure.management.Azure azure,
String targetSubscription) |
static com.microsoft.azure.management.Azure |
getAzureClient(AzureTokenWrapper azureTokenCredentials,
String subscriptionId,
String userAgent) |
private static final String SUBSCRIPTION_TEMPLATE
public static final String SUBSCRIPTION_NOT_FOUND
public static final String NO_AVAILABLE_SUBSCRIPTION
public static final String SUBSCRIPTION_NOT_SPECIFIED
public static com.microsoft.azure.management.Azure getAzureClient(AzureTokenWrapper azureTokenCredentials, String subscriptionId, String userAgent) throws IOException, AzureLoginFailureException
private static void checkSubscription(com.microsoft.azure.management.Azure azure,
String targetSubscription)
throws AzureLoginFailureException
AzureLoginFailureExceptionCopyright © 2020. All rights reserved.