public abstract class FunctionRuntimeHandler extends BaseRuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>
| Modifier and Type | Class and Description |
|---|---|
static class |
FunctionRuntimeHandler.Builder<T extends FunctionRuntimeHandler.Builder<T>> |
| Modifier and Type | Field and Description |
|---|---|
protected IDockerCredentialProvider |
dockerCredentialProvider |
protected FunctionExtensionVersion |
functionExtensionVersion |
protected com.microsoft.azure.management.appservice.JavaVersion |
javaVersion |
protected RuntimeConfiguration |
runtimeConfiguration |
private static String |
TARGET_CONFIGURATION_SOURCE_SLOT_NOT_EXIST |
private static String |
UNKNOWN_CONFIGURATION_SOURCE |
appName, azure, image, pricingTier, region, registryUrl, resourceGroup, servicePlanName, servicePlanResourceGroup| Modifier | Constructor and Description |
|---|---|
protected |
FunctionRuntimeHandler(FunctionRuntimeHandler.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeAppServicePlan(com.microsoft.azure.management.appservice.FunctionApp app,
com.microsoft.azure.management.appservice.AppServicePlan appServicePlan) |
com.microsoft.azure.management.appservice.FunctionDeploymentSlot.DefinitionStages.WithCreate |
createDeploymentSlot(com.microsoft.azure.management.appservice.FunctionApp functionApp,
DeploymentSlotSetting deploymentSlotSetting) |
abstract com.microsoft.azure.management.appservice.FunctionApp.DefinitionStages.WithCreate |
defineAppWithRuntime() |
protected com.microsoft.azure.management.appservice.FunctionApp.DefinitionStages.Blank |
defineFunction() |
protected com.microsoft.azure.management.resources.ResourceGroup |
getResourceGroup() |
abstract com.microsoft.azure.management.appservice.FunctionApp.Update |
updateAppRuntime(com.microsoft.azure.management.appservice.FunctionApp app) |
abstract com.microsoft.azure.management.appservice.WebAppBase.Update<com.microsoft.azure.management.appservice.FunctionDeploymentSlot> |
updateDeploymentSlot(com.microsoft.azure.management.appservice.FunctionDeploymentSlot deploymentSlot) |
getAppServicePlan, updateAppServicePlanprivate static final String TARGET_CONFIGURATION_SOURCE_SLOT_NOT_EXIST
private static final String UNKNOWN_CONFIGURATION_SOURCE
protected FunctionExtensionVersion functionExtensionVersion
protected RuntimeConfiguration runtimeConfiguration
protected IDockerCredentialProvider dockerCredentialProvider
protected com.microsoft.azure.management.appservice.JavaVersion javaVersion
protected FunctionRuntimeHandler(FunctionRuntimeHandler.Builder<?> builder)
public abstract com.microsoft.azure.management.appservice.FunctionApp.DefinitionStages.WithCreate defineAppWithRuntime()
throws AzureExecutionException
defineAppWithRuntime in interface RuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>defineAppWithRuntime in class BaseRuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>AzureExecutionExceptionpublic abstract com.microsoft.azure.management.appservice.FunctionApp.Update updateAppRuntime(com.microsoft.azure.management.appservice.FunctionApp app)
throws AzureExecutionException
updateAppRuntime in interface RuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>updateAppRuntime in class BaseRuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>AzureExecutionExceptionpublic abstract com.microsoft.azure.management.appservice.WebAppBase.Update<com.microsoft.azure.management.appservice.FunctionDeploymentSlot> updateDeploymentSlot(com.microsoft.azure.management.appservice.FunctionDeploymentSlot deploymentSlot)
throws AzureExecutionException
AzureExecutionExceptionpublic com.microsoft.azure.management.appservice.FunctionDeploymentSlot.DefinitionStages.WithCreate createDeploymentSlot(com.microsoft.azure.management.appservice.FunctionApp functionApp,
DeploymentSlotSetting deploymentSlotSetting)
throws AzureExecutionException
AzureExecutionExceptionprotected void changeAppServicePlan(com.microsoft.azure.management.appservice.FunctionApp app,
com.microsoft.azure.management.appservice.AppServicePlan appServicePlan)
throws AzureExecutionException
changeAppServicePlan in class BaseRuntimeHandler<com.microsoft.azure.management.appservice.FunctionApp>AzureExecutionExceptionprotected com.microsoft.azure.management.appservice.FunctionApp.DefinitionStages.Blank defineFunction()
protected com.microsoft.azure.management.resources.ResourceGroup getResourceGroup()
Copyright © 2020. All rights reserved.