다음을 통해 공유


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()
abstract List<String> configFilePatterns()
abstract Double cpu()
abstract String getLogFileUrl()
abstract Mono<String> getLogFileUrlAsync()
abstract List<DeploymentInstance> instances()
abstract boolean isActive()
abstract String jvmOptions()
abstract Double memoryInGB()
abstract void restart()

Restarts the deployment.

abstract Mono<Void> restartAsync()

Restarts the deployment.

abstract RuntimeVersion runtimeVersion()
abstract DeploymentSettings settings()
abstract void start()

Starts the deployment.

abstract Mono<Void> startAsync()

Starts the deployment.

abstract DeploymentResourceStatus status()
abstract void stop()

Stops the deployment.

abstract Mono<Void> stopAsync()

Stops the deployment.

Method Details

appName

public abstract String appName()

Returns:

the app name of the deployment

configFilePatterns

public abstract List configFilePatterns()

Returns:

(Enterprise Tier Only) config file patterns

cpu

public abstract Double cpu()

Returns:

cpu count, can be 0.5, 1, 2, etc

getLogFileUrl

public abstract String getLogFileUrl()

Returns:

the log file url of the deployment

getLogFileUrlAsync

public abstract Mono getLogFileUrlAsync()

Returns:

the log file url of the deployment

instances

public abstract List instances()

Returns:

all the instances of the deployment

isActive

public abstract boolean isActive()

Returns:

whether the deployment is active

jvmOptions

public abstract String jvmOptions()

Returns:

JVM options of the deployment

memoryInGB

public abstract Double memoryInGB()

Returns:

memory in GB, can be 0.5, 1, 2, etc

restart

public abstract void restart()

Restarts the deployment.

restartAsync

public abstract Mono restartAsync()

Restarts the deployment.

Returns:

null

runtimeVersion

public abstract RuntimeVersion runtimeVersion()

Returns:

RuntimeVersion of the deployment, only support Basic/Standard Tier, null for Enterprise Tier

settings

public abstract DeploymentSettings settings()

Returns:

the deploy settings of the deployment

start

public abstract void start()

Starts the deployment.

startAsync

public abstract Mono startAsync()

Starts the deployment.

Returns:

null

status

public abstract DeploymentResourceStatus status()

Returns:

the status of the deployment

stop

public abstract void stop()

Stops the deployment.

stopAsync

public abstract Mono stopAsync()

Stops the deployment.

Returns:

null

Applies to