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()
      Returns:
      the app name of the deployment
    • settings

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

      Returns:
      the status of the deployment
    • isActive

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

      List<DeploymentInstance> instances()
      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()
      Returns:
      the log file url of the deployment
    • getLogFileUrlAsync

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

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

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

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

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

      String jvmOptions()
      Returns:
      JVM options of the deployment