FailureAction

enum FailureAction : Enum<FailureAction> , ConvertibleToJava<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.

Entries

Link copied to clipboard

Indicates that a rollback of the upgrade will be performed by Service Fabric if the upgrade fails.

Link copied to clipboard

Indicates that a manual repair will need to be performed by the administrator if the upgrade fails. Service Fabric will not proceed to the next upgrade domain automatically.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: FailureAction
Link copied to clipboard
Link copied to clipboard

Functions

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

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.