Interface DeploymentSlot

All Superinterfaces:
DeploymentSlotBase<DeploymentSlot>, 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.HasParent<WebApp>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChild<AppServiceManager>, com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChildResource<AppServiceManager, SiteInner>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<DeploymentSlot>, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource, SupportsOneDeploy, com.azure.resourcemanager.resources.fluentcore.model.Updatable<DeploymentSlotBase.Update<DeploymentSlot>>, WebAppBase, WebDeploymentSlotBasic, WebSiteBase

public interface DeploymentSlot extends com.azure.resourcemanager.resources.fluentcore.arm.models.IndependentChildResource<AppServiceManager, SiteInner>, WebDeploymentSlotBasic, SupportsOneDeploy, DeploymentSlotBase<DeploymentSlot>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<DeploymentSlotBase.Update<DeploymentSlot>>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent<WebApp>
An immutable client-side representation of an Azure Web App deployment slot.
  • Method Details

    • warDeploy

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

      It is recommended to call deploymentSlot.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 deploymentSlot.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 deploymentSlot.deploy(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/ROOT"))

      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 deploymentSlot.deployAsync(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/ROOT"))

      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 deploymentSlot.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 deploymentSlot.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 deploymentSlot.deploy(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/<appName>"))

      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 deploymentSlot.deployAsync(DeployType.WAR, warFile, length, new DeployOptions().withPath("webapps/<appName>"))

      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