public class AppServiceUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static List<com.microsoft.azure.management.appservice.PricingTier> |
pricingTiers |
private static String |
SERVICE_PLAN_NOT_FOUND |
private static String |
UPDATE_APP_SERVICE_PLAN |
| Constructor and Description |
|---|
AppServiceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
convertPricingTierToString(com.microsoft.azure.management.appservice.PricingTier pricingTier) |
private static String |
generateRandomServicePlanName() |
static com.microsoft.azure.management.appservice.AppServicePlan |
getAppServicePlan(String servicePlanName,
com.microsoft.azure.management.Azure azureClient,
String resourceGroup,
String servicePlanResourceGroup) |
static com.microsoft.azure.management.appservice.AppServicePlan |
getAppServicePlanByAppService(com.microsoft.azure.management.appservice.WebAppBase webApp) |
static String |
getAppServicePlanName(String servicePlanName) |
static String |
getAppServicePlanResourceGroup(String resourceGroup,
String appServicePlanResGrp) |
static List<com.microsoft.azure.management.appservice.PricingTier> |
getAvailablePricingTiers(com.microsoft.azure.management.appservice.OperatingSystem operatingSystem) |
static DockerImageType |
getDockerImageType(String imageName,
boolean hasCredential,
String registryUrl) |
static com.microsoft.azure.management.appservice.PricingTier |
getPricingTierFromString(String pricingTierString) |
static boolean |
isEqualAppServicePlan(com.microsoft.azure.management.appservice.AppServicePlan first,
com.microsoft.azure.management.appservice.AppServicePlan second) |
static com.microsoft.azure.management.appservice.AppServicePlan |
updateAppServicePlan(com.microsoft.azure.management.appservice.AppServicePlan appServicePlan,
com.microsoft.azure.management.appservice.PricingTier pricingTier) |
private static final String SERVICE_PLAN_NOT_FOUND
private static final String UPDATE_APP_SERVICE_PLAN
private static final List<com.microsoft.azure.management.appservice.PricingTier> pricingTiers
public static com.microsoft.azure.management.appservice.AppServicePlan getAppServicePlan(String servicePlanName, com.microsoft.azure.management.Azure azureClient, String resourceGroup, String servicePlanResourceGroup)
public static String getAppServicePlanResourceGroup(String resourceGroup, String appServicePlanResGrp)
private static String generateRandomServicePlanName()
public static com.microsoft.azure.management.appservice.PricingTier getPricingTierFromString(String pricingTierString)
public static String convertPricingTierToString(com.microsoft.azure.management.appservice.PricingTier pricingTier)
public static List<com.microsoft.azure.management.appservice.PricingTier> getAvailablePricingTiers(com.microsoft.azure.management.appservice.OperatingSystem operatingSystem)
public static com.microsoft.azure.management.appservice.AppServicePlan getAppServicePlanByAppService(com.microsoft.azure.management.appservice.WebAppBase webApp)
public static com.microsoft.azure.management.appservice.AppServicePlan updateAppServicePlan(com.microsoft.azure.management.appservice.AppServicePlan appServicePlan,
com.microsoft.azure.management.appservice.PricingTier pricingTier)
throws AzureExecutionException
AzureExecutionExceptionpublic static boolean isEqualAppServicePlan(com.microsoft.azure.management.appservice.AppServicePlan first,
com.microsoft.azure.management.appservice.AppServicePlan second)
public static DockerImageType getDockerImageType(String imageName, boolean hasCredential, String registryUrl)
Copyright © 2020. All rights reserved.