Interface WebApp

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.GroupableResource<AppServiceManager, SiteInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<SiteInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<AppServiceManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<WebApp>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateLinkResource, SupportsOneDeploy, com.azure.resourcemanager.resources.fluentcore.collection.SupportsUpdatingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.model.Updatable<WebApp.Update>, WebAppBase, WebAppBasic, WebSiteBase

public interface WebApp extends WebAppBasic, SupportsOneDeploy, WebAppBase, com.azure.resourcemanager.resources.fluentcore.model.Updatable<WebApp.Update>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateLinkResource, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListingPrivateEndpointConnection, com.azure.resourcemanager.resources.fluentcore.collection.SupportsUpdatingPrivateEndpointConnection
An immutable client-side representation of an Azure Web App.
  • Method Details

    • deploymentSlots

      DeploymentSlots deploymentSlots()
      Gets the entry point to deployment slot management API under the web app.
      Returns:
      the entry point to deployment slot management API under the web app
    • warDeploy

      void warDeploy(File warFile)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deploy(DeployType.WAR, warFile, new DeployOptions().withPath("webapps/ROOT"))

      Parameters:
      warFile - the WAR file to upload
    • warDeployAsync

      Mono<Void> warDeployAsync(File warFile)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deployAsync(DeployType.WAR, warFile, new DeployOptions().withPath("webapps/ROOT"))

      Parameters:
      warFile - the WAR file to upload
      Returns:
      a completable of the operation
    • warDeploy

      void warDeploy(InputStream warFile, long length)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deploy(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/ROOT"))

      Retry by client is required if error happens, due to nature of the stream.

      Parameters:
      warFile - the WAR file to upload
      length - the length of the file
    • warDeployAsync

      Mono<Void> warDeployAsync(InputStream warFile, long length)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deployAsync(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/ROOT"))

      Retry by client is required if error happens, due to nature of the stream.

      Parameters:
      warFile - the WAR file to upload
      length - the length of the file
      Returns:
      a completable of the operation
    • warDeploy

      void warDeploy(File warFile, String appName)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deploy(DeployType.WAR, warFile, new DeployOptions().withPath("webapps/<appName>"))

      Parameters:
      warFile - the WAR file to upload
      appName - the name of the app, default to "ROOT" when not provided
    • warDeployAsync

      Mono<Void> warDeployAsync(File warFile, String appName)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deployAsync(DeployType.WAR, warFile, new DeployOptions().withPath("webapps/<appName>"))

      Parameters:
      warFile - the WAR file to upload
      appName - the name of the app, default to "ROOT" when not provided
      Returns:
      a completable of the operation
    • warDeploy

      void warDeploy(InputStream warFile, long length, String appName)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deploy(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/<appName>"))

      Retry by client is required if error happens, due to nature of the stream.

      Parameters:
      warFile - the WAR file to upload
      length - the length of the file
      appName - the name of the app, default to "ROOT" when not provided
    • warDeployAsync

      Mono<Void> warDeployAsync(InputStream warFile, long length, String appName)
      Deploys a WAR file onto the Azure specialized Tomcat on this web app.

      It is recommended to call webApp.deployAsync(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/<appName>"))

      Retry by client is required if error happens, due to nature of the stream.

      Parameters:
      warFile - the WAR file to upload
      length - the length of the file
      appName - the name of the app, default to "ROOT" when not provided
      Returns:
      a completable of the operation