DeploymentSettingsArgs

data class DeploymentSettingsArgs(val addonConfigs: Output<Map<String, Any>>? = null, val apms: Output<List<ApmReferenceArgs>>? = null, val containerProbeSettings: Output<ContainerProbeSettingsArgs>? = null, val environmentVariables: Output<Map<String, String>>? = null, val livenessProbe: Output<ProbeArgs>? = null, val readinessProbe: Output<ProbeArgs>? = null, val resourceRequests: Output<ResourceRequestsArgs>? = null, val scale: Output<ScaleArgs>? = null, val startupProbe: Output<ProbeArgs>? = null, val terminationGracePeriodSeconds: Output<Int>? = null) : ConvertibleToJava<DeploymentSettingsArgs>

Deployment settings payload

Constructors

Link copied to clipboard
constructor(addonConfigs: Output<Map<String, Any>>? = null, apms: Output<List<ApmReferenceArgs>>? = null, containerProbeSettings: Output<ContainerProbeSettingsArgs>? = null, environmentVariables: Output<Map<String, String>>? = null, livenessProbe: Output<ProbeArgs>? = null, readinessProbe: Output<ProbeArgs>? = null, resourceRequests: Output<ResourceRequestsArgs>? = null, scale: Output<ScaleArgs>? = null, startupProbe: Output<ProbeArgs>? = null, terminationGracePeriodSeconds: Output<Int>? = null)

Properties

Link copied to clipboard
val addonConfigs: Output<Map<String, Any>>? = null

Collection of addons

Link copied to clipboard
val apms: Output<List<ApmReferenceArgs>>? = null

Collection of ApmReferences

Link copied to clipboard

Container liveness and readiness probe settings

Link copied to clipboard
val environmentVariables: Output<Map<String, String>>? = null

Collection of environment variables

Link copied to clipboard
val livenessProbe: Output<ProbeArgs>? = null

Periodic probe of App Instance liveness. App Instance will be restarted if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Link copied to clipboard
val readinessProbe: Output<ProbeArgs>? = null

Periodic probe of App Instance service readiness. App Instance will be removed from service endpoints if the probe fails. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Link copied to clipboard

The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.

Link copied to clipboard
val scale: Output<ScaleArgs>? = null

Scaling properties for the Azure Spring Apps App Instance.

Link copied to clipboard
val startupProbe: Output<ProbeArgs>? = null

StartupProbe indicates that the App Instance has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a App Instance's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes

Link copied to clipboard
val terminationGracePeriodSeconds: Output<Int>? = null

Optional duration in seconds the App Instance needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the App Instance are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 90 seconds.

Functions

Link copied to clipboard
open override fun toJava(): DeploymentSettingsArgs