ApplicationUpgradePolicyArgs

data class ApplicationUpgradePolicyArgs(val applicationHealthPolicy: Output<ApplicationHealthPolicyArgs>? = null, val forceRestart: Output<Boolean>? = null, val instanceCloseDelayDuration: Output<Double>? = null, val recreateApplication: Output<Boolean>? = null, val rollingUpgradeMonitoringPolicy: Output<RollingUpgradeMonitoringPolicyArgs>? = null, val upgradeMode: Output<Either<String, RollingUpgradeMode>>? = null, val upgradeReplicaSetCheckTimeout: Output<Double>? = null) : ConvertibleToJava<ApplicationUpgradePolicyArgs>

Describes the policy for a monitored application upgrade.

Constructors

Link copied to clipboard
constructor(applicationHealthPolicy: Output<ApplicationHealthPolicyArgs>? = null, forceRestart: Output<Boolean>? = null, instanceCloseDelayDuration: Output<Double>? = null, recreateApplication: Output<Boolean>? = null, rollingUpgradeMonitoringPolicy: Output<RollingUpgradeMonitoringPolicyArgs>? = null, upgradeMode: Output<Either<String, RollingUpgradeMode>>? = null, upgradeReplicaSetCheckTimeout: Output<Double>? = null)

Properties

Link copied to clipboard

Defines a health policy used to evaluate the health of an application or one of its children entities.

Link copied to clipboard
val forceRestart: Output<Boolean>? = null

If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).

Link copied to clipboard
val instanceCloseDelayDuration: Output<Double>? = null

Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description.

Link copied to clipboard
val recreateApplication: Output<Boolean>? = null

Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed.

Link copied to clipboard

The policy used for monitoring the application upgrade

Link copied to clipboard
val upgradeMode: Output<Either<String, RollingUpgradeMode>>? = null

The mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.

Link copied to clipboard

The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).

Functions

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