Class FunctionAppBase<T extends FunctionAppBase<T,​P,​F>,​P extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<P,​?,​?>,​F extends com.azure.resourcemanager.appservice.models.WebAppBase>

  • 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:
    FunctionApp, FunctionAppDeploymentSlot

    public abstract class FunctionAppBase<T extends FunctionAppBase<T,​P,​F>,​P extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<P,​?,​?>,​F extends com.azure.resourcemanager.appservice.models.WebAppBase>
    extends AppServiceAppBase<T,​P,​F>
    • Constructor Detail

      • FunctionAppBase

        protected FunctionAppBase​(@Nonnull
                                  String name,
                                  @Nonnull
                                  String resourceGroupName,
                                  @Nonnull
                                  com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,​P,​com.azure.resourcemanager.appservice.models.WebSiteBase> module)
      • FunctionAppBase

        protected FunctionAppBase​(@Nonnull
                                  String name,
                                  @Nonnull
                                  com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,​P,​com.azure.resourcemanager.appservice.models.WebSiteBase> module)
      • FunctionAppBase

        protected FunctionAppBase​(@Nonnull
                                  T origin)
    • Method Detail

      • deploy

        public void deploy​(File targetFile)
      • getMasterKey

        public abstract String getMasterKey()
      • isRemoteDebugEnabled

        public boolean isRemoteDebugEnabled()
      • enableRemoteDebug

        public abstract void enableRemoteDebug()
      • disableRemoteDebug

        public abstract void disableRemoteDebug()
      • ping

        public void ping()
      • getRemoteDebugPort

        protected String getRemoteDebugPort()
      • getJavaOptsWithRemoteDebugDisabled

        public String getJavaOptsWithRemoteDebugDisabled​(Map<String,​String> appSettings)
      • getJavaOptsWithRemoteDebugEnabled

        public String getJavaOptsWithRemoteDebugEnabled​(Map<String,​String> appSettings,
                                                        String debugPort)
      • updateAdditionalProperties

        protected void updateAdditionalProperties​(@Nullable
                                                  com.azure.resourcemanager.appservice.models.WebSiteBase newRemote,
                                                  @Nullable
                                                  com.azure.resourcemanager.appservice.models.WebSiteBase oldRemote)
        Overrides:
        updateAdditionalProperties in class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<T extends FunctionAppBase<T,​P,​F>,​P extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<P,​?,​?>,​com.azure.resourcemanager.appservice.models.WebSiteBase>
      • getIsRemoteDebuggingEnabled

        private boolean getIsRemoteDebuggingEnabled()