ApplicationUpgradePolicyArgs

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

Describes the policy for a monitored application upgrade.

Constructors

Link copied to clipboard
constructor(applicationHealthPolicy: Output<ArmApplicationHealthPolicyArgs>? = null, forceRestart: Output<Boolean>? = null, recreateApplication: Output<Boolean>? = null, rollingUpgradeMonitoringPolicy: Output<ArmRollingUpgradeMonitoringPolicyArgs>? = null, upgradeMode: Output<Either<String, RollingUpgradeMode>>? = null, upgradeReplicaSetCheckTimeout: Output<String>? = 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 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 and it will result in availability loss.

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 UnmonitoredAuto, UnmonitoredManual, and Monitored.

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