RollingUpgradeMonitoringPolicyArgs

data class RollingUpgradeMonitoringPolicyArgs(val failureAction: Output<Either<String, FailureAction>>, val healthCheckRetryTimeout: Output<String>, val healthCheckStableDuration: Output<String>, val healthCheckWaitDuration: Output<String>, val upgradeDomainTimeout: Output<String>, val upgradeTimeout: Output<String>) : ConvertibleToJava<RollingUpgradeMonitoringPolicyArgs>

The policy used for monitoring the application upgrade

Constructors

Link copied to clipboard
constructor(failureAction: Output<Either<String, FailureAction>>, healthCheckRetryTimeout: Output<String>, healthCheckStableDuration: Output<String>, healthCheckWaitDuration: Output<String>, upgradeDomainTimeout: Output<String>, upgradeTimeout: Output<String>)

Properties

Link copied to clipboard
val failureAction: Output<Either<String, FailureAction>>

The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode.

Link copied to clipboard

The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Link copied to clipboard

The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Link copied to clipboard

The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Link copied to clipboard

The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Link copied to clipboard
val upgradeTimeout: Output<String>

The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format "hh:mm:ss.fff".

Functions

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