Class WebApp
- 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.webapp.WebAppBase<WebApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.WebApp>
-
- com.microsoft.azure.toolkit.lib.appservice.webapp.WebApp
-
- All Implemented Interfaces:
IOneDeploy,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:
WebAppDraft
public class WebApp extends WebAppBase<WebApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.WebApp> 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 WebAppDeploymentSlotModuledeploymentModule-
Fields inherited from class com.microsoft.azure.toolkit.lib.appservice.AppServiceAppBase
kuduManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWebApp(com.azure.resourcemanager.appservice.models.WebAppBasic remote, WebAppModule module)protectedWebApp(WebApp origin)copy constructorprotectedWebApp(String name, String resourceGroupName, WebAppModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>>getSubModules()WebAppDeploymentSlotModuleslots()voidswap(String slotName)-
Methods inherited from class com.microsoft.azure.toolkit.lib.appservice.webapp.WebAppBase
deploy, getDeploymentStatus, pushDeploy
-
Methods inherited from class com.microsoft.azure.toolkit.lib.appservice.AppServiceAppBase
createDirectory, deleteFile, execute, getAppServicePlan, getAppServiceTunnelStatus, getAppSettings, getDiagnosticConfig, getFileByPath, getFileClient, 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, 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
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase
getFormalStatus
-
Methods inherited from interface com.microsoft.azure.toolkit.lib.appservice.deploy.IOneDeploy
deploy, deploy, deploy, deploy
-
-
-
-
Field Detail
-
deploymentModule
@Nonnull private final WebAppDeploymentSlotModule deploymentModule
-
-
Constructor Detail
-
WebApp
protected WebApp(@Nonnull String name, @Nonnull String resourceGroupName, @Nonnull WebAppModule module)
-
WebApp
protected WebApp(@Nonnull com.azure.resourcemanager.appservice.models.WebAppBasic remote, @Nonnull WebAppModule module)
-
-
Method Detail
-
swap
public void swap(String slotName)
-
getSubModules
@Nonnull public List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,?,?>> getSubModules()
- Specified by:
getSubModulesin classcom.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<WebApp,AppServiceServiceSubscription,com.azure.resourcemanager.appservice.models.WebSiteBase>
-
slots
@Nonnull public WebAppDeploymentSlotModule slots()
-
-