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
Modifier and TypeMethodDescriptionappName()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.booleanisActive()Check whether the deployment is active.Gets JVM options of the deployment.Gets memory in GB.voidrestart()Restarts the deployment.Restarts the deployment.Gets runtimeVersion of the deployment.settings()Gets the deploy settings of the deployment.voidstart()Starts the deployment.Starts the deployment.status()Gets the status of the deployment.voidstop()Stops the deployment.Stops the deployment.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()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
DeploymentResourceStatus 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
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()Gets the log file url of the deployment.- Returns:
- the log file url of the deployment
-
getLogFileUrlAsync
Gets the log file url of the deployment.- Returns:
- the log file url of the deployment
-
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
-