Class AppServiceAppBase<T extends AppServiceAppBase<T,P,F>,P extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<P,?,?>,F extends com.azure.resourcemanager.appservice.models.WebAppBase>
- 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>
-
- 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:
FunctionAppBase,WebAppBase
public abstract class AppServiceAppBase<T extends AppServiceAppBase<T,P,F>,P extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<P,?,?>,F extends com.azure.resourcemanager.appservice.models.WebAppBase> extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase> implements com.microsoft.azure.toolkit.lib.common.model.Startable, 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 protected AppServiceKuduClientkuduManager
-
Constructor Summary
Constructors Modifier Constructor Description protectedAppServiceAppBase(String name, com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase> module)protectedAppServiceAppBase(String name, String resourceGroupName, com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase> module)protectedAppServiceAppBase(T origin)copy constructor
-
Method Summary
-
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, getSubModules, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, reloadStatus, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
-
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
-
kuduManager
protected AppServiceKuduClient kuduManager
-
-
Constructor Detail
-
AppServiceAppBase
protected AppServiceAppBase(@Nonnull String name, @Nonnull String resourceGroupName, @Nonnull com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase> module)
-
AppServiceAppBase
protected AppServiceAppBase(@Nonnull String name, @Nonnull com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<T,P,com.azure.resourcemanager.appservice.models.WebSiteBase> module)
-
-
Method Detail
-
refreshRemoteFromAzure
@Nullable protected com.azure.resourcemanager.appservice.models.WebSiteBase refreshRemoteFromAzure(@Nonnull com.azure.resourcemanager.appservice.models.WebSiteBase remote)
-
start
public void start()
- Specified by:
startin interfacecom.microsoft.azure.toolkit.lib.common.model.Startable
-
stop
public void stop()
- Specified by:
stopin interfacecom.microsoft.azure.toolkit.lib.common.model.Startable
-
restart
public void restart()
- Specified by:
restartin interfacecom.microsoft.azure.toolkit.lib.common.model.Startable
-
getPublishingProfile
@Nullable public PublishingProfile getPublishingProfile()
-
getDiagnosticConfig
@Nullable public DiagnosticConfig getDiagnosticConfig()
-
getFileContent
@Nonnull public reactor.core.publisher.Flux<ByteBuffer> getFileContent(String path)
-
getFilesInDirectory
@Nonnull public List<? extends AppServiceFile> getFilesInDirectory(String dir)
-
getFileByPath
@Nullable public AppServiceFile getFileByPath(String path)
-
createDirectory
public void createDirectory(String path)
-
deleteFile
public void deleteFile(String path)
-
listProcess
@Nonnull public List<ProcessInfo> listProcess()
-
execute
@Nullable public CommandOutput execute(String command, String dir)
-
listPublishingProfileXmlWithSecrets
public InputStream listPublishingProfileXmlWithSecrets()
-
getAppServiceTunnelStatus
@Nullable public TunnelStatus getAppServiceTunnelStatus()
-
getAppServicePlan
@Nullable public AppServicePlan getAppServicePlan()
-
getRegion
@Nullable public com.microsoft.azure.toolkit.lib.common.model.Region getRegion()
-
loadStatus
@Nonnull public String loadStatus(@Nonnull com.azure.resourcemanager.appservice.models.WebSiteBase remote)
-
getFileClient
@Nullable protected IFileClient getFileClient()
-
getProcessClient
@Nullable protected IProcessClient getProcessClient()
-
getKuduManager
@Nullable protected AppServiceKuduClient getKuduManager()
-
-