SpringAppDeployment Interface
Implements
public interface SpringAppDeployment
extends ExternalChildResource<SpringAppDeployment,SpringApp>, HasInnerModel<DeploymentResourceInner>, Updatable<Update>
An immutable client-side representation of an Azure Spring App Deployment.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
appName()
Gets the app name of the deployment. |
abstract List<String> |
configFilePatterns()
Gets config file patterns. |
abstract Double |
cpu()
Gets CPU count. |
abstract String |
getLogFileUrl()
Gets the log file url of the deployment. |
abstract Mono<String> |
getLogFileUrlAsync()
Gets the log file url of the deployment. |
abstract
List<Deployment |
instances()
Gets all the instances of the deployment. |
abstract boolean |
isActive()
Check whether the deployment is active. |
abstract String |
jvmOptions()
Gets JVM options of the deployment. |
abstract Double |
memoryInGB()
Gets memory in GB. |
abstract void |
restart()
Restarts the deployment. |
abstract Mono<Void> |
restartAsync()
Restarts the deployment. |
abstract
Runtime |
runtimeVersion()
Gets runtime |
abstract
Deployment |
settings()
Gets the deploy settings of the deployment. |
abstract void |
start()
Starts the deployment. |
abstract Mono<Void> |
startAsync()
Starts the deployment. |
abstract
Deployment |
status()
Gets the status of the deployment. |
abstract void |
stop()
Stops the deployment. |
abstract Mono<Void> |
stopAsync()
Stops the deployment. |
Method Details
appName
public abstract String appName()
Gets the app name of the deployment.
Returns:
configFilePatterns
public abstract List
Gets config file patterns.
Returns:
cpu
public abstract Double cpu()
Gets CPU count.
Returns:
getLogFileUrl
public abstract String getLogFileUrl()
Gets the log file url of the deployment.
Returns:
getLogFileUrlAsync
public abstract Mono
Gets the log file url of the deployment.
Returns:
instances
public abstract List
Gets all the instances of the deployment.
Returns:
isActive
public abstract boolean isActive()
Check whether the deployment is active.
Returns:
jvmOptions
public abstract String jvmOptions()
Gets JVM options of the deployment.
Returns:
memoryInGB
public abstract Double memoryInGB()
Gets memory in GB.
Returns:
restart
public abstract void restart()
Restarts the deployment.
restartAsync
public abstract Mono
Restarts the deployment.
Returns:
runtimeVersion
public abstract RuntimeVersion runtimeVersion()
Gets runtimeVersion of the deployment.
Returns:
settings
public abstract DeploymentSettings settings()
Gets the deploy settings of the deployment.
Returns:
start
public abstract void start()
Starts the deployment.
startAsync
public abstract Mono
Starts the deployment.
Returns:
status
public abstract DeploymentResourceStatus status()
Gets the status of the deployment.
Returns:
stop
public abstract void stop()
Stops the deployment.
stopAsync
public abstract Mono
Stops the deployment.
Returns: