Interface SpringAppDeployment
- All Superinterfaces:
ChildResource<SpringApp>,ExternalChildResource<SpringAppDeployment,,SpringApp> HasInnerModel<DeploymentResourceInner>,HasName,HasParent<SpringApp>,Indexable,Refreshable<SpringAppDeployment>,Updatable<SpringAppDeployment.Update>
public interface SpringAppDeployment
extends ExternalChildResource<SpringAppDeployment,SpringApp>, HasInnerModel<DeploymentResourceInner>, Updatable<SpringAppDeployment.Update>
An immutable client-side representation of an Azure Spring App Deployment.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer interface for all the definitions that need to be implemented.static interfaceGrouping of all the deployment definition stages.static interfaceThe template for an update operation, containing all the settings that can be modified.static interfaceGrouping of deployment update stages. -
Method Summary
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource
idMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
appName
String appName()- Returns:
- the app name of the deployment
-
settings
DeploymentSettings settings()- Returns:
- the deploy settings of the deployment
-
status
DeploymentResourceStatus 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
Starts the deployment.- Returns:
- null
-
stop
void stop()Stops the deployment. -
stopAsync
Stops the deployment.- Returns:
- null
-
restart
void restart()Restarts the deployment. -
restartAsync
Restarts the deployment.- Returns:
- null
-
getLogFileUrl
String getLogFileUrl()- Returns:
- the log file url of the deployment
-
getLogFileUrlAsync
- Returns:
- the log file url of the deployment
-
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
-