Interface SpringAppDeployment

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource<SpringApp>, com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource<SpringAppDeployment,SpringApp>, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DeploymentResourceInner>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent<SpringApp>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.model.Refreshable<SpringAppDeployment>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SpringAppDeployment.Update>

public interface SpringAppDeployment extends com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource<SpringAppDeployment,SpringApp>, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DeploymentResourceInner>, com.azure.resourcemanager.resources.fluentcore.model.Updatable<SpringAppDeployment.Update>
An immutable client-side representation of an Azure Spring App Deployment.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Container interface for all the definitions that need to be implemented.
    static interface 
    Grouping of all the deployment definition stages.
    static interface 
    The template for an update operation, containing all the settings that can be modified.
    static interface 
    Grouping of deployment update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the app name of the deployment.
    Gets config file patterns.
    cpu()
    Gets CPU count.
    Gets the log file url of the deployment.
    Gets the log file url of the deployment.
    Gets all the instances of the deployment.
    boolean
    Check whether the deployment is active.
    Gets JVM options of the deployment.
    Gets memory in GB.
    void
    Restarts the deployment.
    Restarts the deployment.
    Gets runtimeVersion of the deployment.
    Gets the deploy settings of the deployment.
    void
    Starts the deployment.
    Starts the deployment.
    Gets the status of the deployment.
    void
    Stops the deployment.
    Stops the deployment.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

    update
  • 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