共用方式為


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<DeploymentInstance> 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 RuntimeVersion runtimeVersion()

Gets runtimeVersion of the deployment.

abstract DeploymentSettings settings()

Gets the deploy settings of the deployment.

abstract void start()

Starts the deployment.

abstract Mono<Void> startAsync()

Starts the deployment.

abstract DeploymentResourceStatus 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:

the app name of the deployment

configFilePatterns

public abstract List configFilePatterns()

Gets config file patterns.

Returns:

(Enterprise Tier Only) config file patterns

cpu

public abstract Double cpu()

Gets CPU count.

Returns:

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

getLogFileUrl

public abstract String getLogFileUrl()

Gets the log file url of the deployment.

Returns:

the log file url of the deployment

getLogFileUrlAsync

public abstract Mono getLogFileUrlAsync()

Gets the log file url of the deployment.

Returns:

the log file url of the deployment

instances

public abstract List instances()

Gets all the instances of the deployment.

Returns:

all the instances of the deployment

isActive

public abstract boolean isActive()

Check whether the deployment is active.

Returns:

whether the deployment is active

jvmOptions

public abstract String jvmOptions()

Gets JVM options of the deployment.

Returns:

JVM options of the deployment

memoryInGB

public abstract Double memoryInGB()

Gets memory in GB.

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()

Gets runtimeVersion of the deployment.

Returns:

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

settings

public abstract DeploymentSettings settings()

Gets the deploy settings of the deployment.

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()

Gets the status of the deployment.

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