Class FunctionApp
- java.lang.Object
-
- com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase>
-
- com.microsoft.azure.toolkit.lib.appservice.AppServiceAppBase<T,P,F>
-
- com.microsoft.azure.toolkit.lib.appservice.function.FunctionAppBase<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.FunctionApp>
-
- com.microsoft.azure.toolkit.lib.appservice.function.FunctionApp
-
- All Implemented Interfaces:
com.microsoft.azure.toolkit.lib.common.model.AzResource,com.microsoft.azure.toolkit.lib.common.model.AzResourceBase,com.microsoft.azure.toolkit.lib.common.model.Deletable,com.microsoft.azure.toolkit.lib.common.model.Refreshable,com.microsoft.azure.toolkit.lib.common.model.Startable
- Direct Known Subclasses:
FunctionAppDraft
public class FunctionApp extends FunctionAppBase<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.FunctionApp> implements com.microsoft.azure.toolkit.lib.common.model.Deletable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
-
-
Field Summary
Fields Modifier and Type Field Description private FunctionAppDeploymentSlotModuledeploymentModule-
Fields inherited from class com.microsoft.azure.toolkit.lib.appservice.function.FunctionAppBase
DEFAULT_REMOTE_DEBUG_JAVA_OPTS, DEFAULT_REMOTE_DEBUG_PORT, HTTP_PLATFORM_DEBUG_PORT, JAVA_OPTS, PREFER_IPV_4_STACK_TRUE, XDEBUG, XRUNJDWP
-
Fields inherited from class com.microsoft.azure.toolkit.lib.appservice.AppServiceAppBase
kuduManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFunctionApp(com.azure.resourcemanager.appservice.models.FunctionAppBasic remote, FunctionAppModule module)protectedFunctionApp(FunctionApp origin)copy constructorprotectedFunctionApp(String name, String resourceGroupName, FunctionAppModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableRemoteDebug()voidenableRemoteDebug()StringgetMasterKey()List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>>getSubModules()Map<String,String>listFunctionKeys(String functionName)List<FunctionEntity>listFunctions(boolean... force)FunctionAppDeploymentSlotModuleslots()voidswap(String slotName)voidsyncTriggers()voidtriggerFunction(String functionName, Object input)-
Methods inherited from class com.microsoft.azure.toolkit.lib.appservice.function.FunctionAppBase
deploy, deploy, getAdminClient, getDefaultDeployType, getDeployHandlerByType, getFileClient, getJavaOptsWithRemoteDebugDisabled, getJavaOptsWithRemoteDebugEnabled, getRemoteDebugPort, isRemoteDebugEnabled, ping, updateAdditionalProperties
-
Methods inherited from class com.microsoft.azure.toolkit.lib.appservice.AppServiceAppBase
createDirectory, deleteFile, execute, getAppServicePlan, getAppServiceTunnelStatus, getAppSettings, getDiagnosticConfig, getFileByPath, getFileContent, getFilesInDirectory, getFullRemote, getHostName, getKuduHostName, getKuduManager, getLinuxFxVersion, getProcessClient, getPublishingProfile, getRegion, getRuntime, listProcess, listPublishingProfileXmlWithSecrets, loadStatus, refreshRemoteFromAzure, restart, start, stop, streamAllLogsAsync, uploadFileToPath
-
Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource
canEqual, delete, deleteFromCache, doModify, doModify, equals, exists, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, reloadStatus, remoteOptional, setRemote, setStatus, toString, update
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource
getFullResourceType, getPortalUrl, getResourceTypeName, getSubscription, getSubscriptionId, id, name
-
-
-
-
Field Detail
-
deploymentModule
@Nonnull private final FunctionAppDeploymentSlotModule deploymentModule
-
-
Constructor Detail
-
FunctionApp
protected FunctionApp(@Nonnull String name, @Nonnull String resourceGroupName, @Nonnull FunctionAppModule module)
-
FunctionApp
protected FunctionApp(@Nonnull FunctionApp origin)
copy constructor
-
FunctionApp
protected FunctionApp(@Nonnull com.azure.resourcemanager.appservice.models.FunctionAppBasic remote, @Nonnull FunctionAppModule module)
-
-
Method Detail
-
getSubModules
@Nonnull public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>> getSubModules()
- Specified by:
getSubModulesin classcom.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.WebSiteBase>
-
getMasterKey
@Nullable public String getMasterKey()
- Specified by:
getMasterKeyin classFunctionAppBase<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.FunctionApp>
-
enableRemoteDebug
public void enableRemoteDebug()
- Specified by:
enableRemoteDebugin classFunctionAppBase<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.FunctionApp>
-
disableRemoteDebug
public void disableRemoteDebug()
- Specified by:
disableRemoteDebugin classFunctionAppBase<FunctionApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.FunctionApp>
-
listFunctions
@Nonnull public List<FunctionEntity> listFunctions(boolean... force)
-
swap
public void swap(String slotName)
-
syncTriggers
public void syncTriggers()
-
slots
@Nonnull public FunctionAppDeploymentSlotModule slots()
-
-