public abstract class BaseRuntimeHandler<T extends com.microsoft.azure.management.appservice.WebAppBase> extends Object implements RuntimeHandler<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseRuntimeHandler.Builder<T extends BaseRuntimeHandler.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
protected String |
appName |
protected com.microsoft.azure.management.Azure |
azure |
protected String |
image |
protected com.microsoft.azure.management.appservice.PricingTier |
pricingTier |
protected com.microsoft.azure.management.resources.fluentcore.arm.Region |
region |
protected String |
registryUrl |
protected String |
resourceGroup |
protected String |
servicePlanName |
protected String |
servicePlanResourceGroup |
private static String |
TARGET_APP_SERVICE_PLAN_DO_NOT_EXIST |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRuntimeHandler(BaseRuntimeHandler.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
changeAppServicePlan(T app,
com.microsoft.azure.management.appservice.AppServicePlan appServicePlan) |
abstract com.microsoft.azure.management.appservice.WebAppBase.DefinitionStages.WithCreate |
defineAppWithRuntime() |
protected com.microsoft.azure.management.appservice.AppServicePlan |
getAppServicePlan() |
abstract com.microsoft.azure.management.appservice.WebAppBase.Update |
updateAppRuntime(T app) |
com.microsoft.azure.management.appservice.AppServicePlan |
updateAppServicePlan(T app) |
private static final String TARGET_APP_SERVICE_PLAN_DO_NOT_EXIST
protected String appName
protected String resourceGroup
protected com.microsoft.azure.management.resources.fluentcore.arm.Region region
protected com.microsoft.azure.management.appservice.PricingTier pricingTier
protected String servicePlanName
protected String servicePlanResourceGroup
protected com.microsoft.azure.management.Azure azure
protected String image
protected String registryUrl
protected BaseRuntimeHandler(BaseRuntimeHandler.Builder<?> builder)
public abstract com.microsoft.azure.management.appservice.WebAppBase.DefinitionStages.WithCreate defineAppWithRuntime()
throws AzureExecutionException
defineAppWithRuntime in interface RuntimeHandler<T extends com.microsoft.azure.management.appservice.WebAppBase>AzureExecutionExceptionpublic abstract com.microsoft.azure.management.appservice.WebAppBase.Update updateAppRuntime(T app) throws AzureExecutionException
updateAppRuntime in interface RuntimeHandler<T extends com.microsoft.azure.management.appservice.WebAppBase>AzureExecutionExceptionprotected abstract void changeAppServicePlan(T app, com.microsoft.azure.management.appservice.AppServicePlan appServicePlan) throws AzureExecutionException
AzureExecutionExceptionpublic com.microsoft.azure.management.appservice.AppServicePlan updateAppServicePlan(T app) throws AzureExecutionException
updateAppServicePlan in interface RuntimeHandler<T extends com.microsoft.azure.management.appservice.WebAppBase>AzureExecutionExceptionprotected com.microsoft.azure.management.appservice.AppServicePlan getAppServicePlan()
Copyright © 2020. All rights reserved.