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(com.microsoft.azure.auth.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(com.microsoft.azure.auth.AzureTokenWrapper azureTokenCredentials,
String subscriptionId,
String userAgent)
throws IOException,
com.microsoft.azure.auth.exception.AzureLoginFailureException
IOExceptioncom.microsoft.azure.auth.exception.AzureLoginFailureExceptionprivate static void checkSubscription(com.microsoft.azure.management.Azure azure,
String targetSubscription)
throws com.microsoft.azure.auth.exception.AzureLoginFailureException
com.microsoft.azure.auth.exception.AzureLoginFailureExceptionCopyright © 2020. All rights reserved.