Interface SpringAppDeployment

All Superinterfaces:
ChildResource<SpringApp>, ExternalChildResource<SpringAppDeployment,SpringApp>, HasInnerModel<DeploymentResourceInner>, HasName, HasParent<SpringApp>, Indexable, Refreshable<SpringAppDeployment>, Updatable<SpringAppDeployment.Update>

An immutable client-side representation of an Azure Spring App Deployment.
  • Method Details

    • appName

      String appName()
      Gets the app name of the deployment.
      Returns:
      the app name of the deployment
    • settings

      DeploymentSettings settings()
      Gets the deploy settings of the deployment.
      Returns:
      the deploy settings of the deployment
    • status

      Gets the status of the deployment.
      Returns:
      the status of the deployment
    • isActive

      boolean isActive()
      Check whether the deployment is active.
      Returns:
      whether the deployment is active
    • instances

      List<DeploymentInstance> instances()
      Gets all the instances of the deployment.
      Returns:
      all the instances of the deployment
    • start

      void start()
      Starts the deployment.
    • startAsync

      Mono<Void> startAsync()
      Starts the deployment.
      Returns:
      null
    • stop

      void stop()
      Stops the deployment.
    • stopAsync

      Mono<Void> stopAsync()
      Stops the deployment.
      Returns:
      null
    • restart

      void restart()
      Restarts the deployment.
    • restartAsync

      Mono<Void> restartAsync()
      Restarts the deployment.
      Returns:
      null
    • getLogFileUrl

      String getLogFileUrl()
      Gets the log file url of the deployment.
      Returns:
      the log file url of the deployment
    • getLogFileUrlAsync

      Mono<String> getLogFileUrlAsync()
      Gets the log file url of the deployment.
      Returns:
      the log file url of the deployment
    • configFilePatterns

      List<String> configFilePatterns()
      Gets config file patterns.
      Returns:
      (Enterprise Tier Only) config file patterns
    • cpu

      Double cpu()
      Gets CPU count.
      Returns:
      CPU count, can be 0.5, 1, 2, etc
    • memoryInGB

      Double memoryInGB()
      Gets memory in GB.
      Returns:
      memory in GB, can be 0.5, 1, 2, etc
    • runtimeVersion

      RuntimeVersion runtimeVersion()
      Gets runtimeVersion of the deployment.
      Returns:
      RuntimeVersion of the deployment, only support Basic/Standard Tier, null for Enterprise Tier
    • jvmOptions

      String jvmOptions()
      Gets JVM options of the deployment.
      Returns:
      JVM options of the deployment