ClusterUpgradePolicyArgs

data class ClusterUpgradePolicyArgs(val deltaHealthPolicy: Output<ClusterUpgradePolicyDeltaHealthPolicyArgs>? = null, val forceRestartEnabled: Output<Boolean>? = null, val healthCheckRetryTimeout: Output<String>? = null, val healthCheckStableDuration: Output<String>? = null, val healthCheckWaitDuration: Output<String>? = null, val healthPolicy: Output<ClusterUpgradePolicyHealthPolicyArgs>? = null, val upgradeDomainTimeout: Output<String>? = null, val upgradeReplicaSetCheckTimeout: Output<String>? = null, val upgradeTimeout: Output<String>? = null) : ConvertibleToJava<ClusterUpgradePolicyArgs>

Constructors

Link copied to clipboard
constructor(deltaHealthPolicy: Output<ClusterUpgradePolicyDeltaHealthPolicyArgs>? = null, forceRestartEnabled: Output<Boolean>? = null, healthCheckRetryTimeout: Output<String>? = null, healthCheckStableDuration: Output<String>? = null, healthCheckWaitDuration: Output<String>? = null, healthPolicy: Output<ClusterUpgradePolicyHealthPolicyArgs>? = null, upgradeDomainTimeout: Output<String>? = null, upgradeReplicaSetCheckTimeout: Output<String>? = null, upgradeTimeout: Output<String>? = null)

Properties

Link copied to clipboard

A delta_health_policy block as defined below

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

Indicates whether to restart the Service Fabric node even if only dynamic configurations have changed.

Link copied to clipboard
val healthCheckRetryTimeout: Output<String>? = null

Specifies the duration, in "hh:mm:ss" string format, after which Service Fabric retries the health check if the previous health check fails. Defaults to 00:45:00.

Link copied to clipboard
val healthCheckStableDuration: Output<String>? = null

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits in order to verify that the cluster is stable before it continues to the next upgrade domain or completes the upgrade. This wait duration prevents undetected changes of health right after the health check is performed. Defaults to 00:01:00.

Link copied to clipboard
val healthCheckWaitDuration: Output<String>? = null

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits before it performs the initial health check after it finishes the upgrade on the upgrade domain. Defaults to 00:00:30.

Link copied to clipboard

A health_policy block as defined below

Link copied to clipboard
val upgradeDomainTimeout: Output<String>? = null

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric takes to upgrade a single upgrade domain. After this period, the upgrade fails. Defaults to 02:00:00.

Link copied to clipboard

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric waits for a replica set to reconfigure into a safe state, if it is not already in a safe state, before Service Fabric proceeds with the upgrade. Defaults to 10675199.02:48:05.4775807.

Link copied to clipboard
val upgradeTimeout: Output<String>? = null

Specifies the duration, in "hh:mm:ss" string format, that Service Fabric takes for the entire upgrade. After this period, the upgrade fails. Defaults to 12:00:00.

Functions

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