Udostępnij za pośrednictwem


PolicyViolationCompensationAction Struct

Definition

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

public readonly struct PolicyViolationCompensationAction : IEquatable<Azure.ResourceManager.ServiceFabricManagedClusters.Models.PolicyViolationCompensationAction>
type PolicyViolationCompensationAction = struct
Public Structure PolicyViolationCompensationAction
Implements IEquatable(Of PolicyViolationCompensationAction)
Inheritance
PolicyViolationCompensationAction
Implements

Constructors

PolicyViolationCompensationAction(String)

Initializes a new instance of PolicyViolationCompensationAction.

Properties

Manual

The upgrade will switch to UnmonitoredManual upgrade mode. The value is 1.

Rollback

The upgrade will start rolling back automatically. The value is 0.

Methods

Equals(PolicyViolationCompensationAction)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(PolicyViolationCompensationAction, PolicyViolationCompensationAction)

Determines if two PolicyViolationCompensationAction values are the same.

Implicit(String to PolicyViolationCompensationAction)

Converts a string to a PolicyViolationCompensationAction.

Inequality(PolicyViolationCompensationAction, PolicyViolationCompensationAction)

Determines if two PolicyViolationCompensationAction values are not the same.

Applies to