Share via


MonitoredRollingUpgradePolicyDescription Class

Definition

Specifies the behavior to use when performing a monitored application or cluster upgrade.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.MonitoredRollingApplicationUpgradePolicyDescription))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.MonitoredRollingFabricUpgradePolicyDescription))]
public abstract class MonitoredRollingUpgradePolicyDescription : System.Fabric.Description.RollingUpgradePolicyDescription
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.MonitoredRollingApplicationUpgradePolicyDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.MonitoredRollingFabricUpgradePolicyDescription))>]
type MonitoredRollingUpgradePolicyDescription = class
    inherit RollingUpgradePolicyDescription
Public MustInherit Class MonitoredRollingUpgradePolicyDescription
Inherits RollingUpgradePolicyDescription
Inheritance
MonitoredRollingUpgradePolicyDescription
Derived
Attributes

Constructors

MonitoredRollingUpgradePolicyDescription()

Initializes a new instance of the MonitoredRollingUpgradePolicyDescription class.

Properties

ForceRestart

Specifies if the service host should be restarted even when there are no code package changes as part of the upgrade. Set this flag to true if the service cannot dynamically accept config or data package changes.

(Inherited from RollingUpgradePolicyDescription)
InstanceCloseDelayDuration

Duration to wait before a stateless instance which is impacted by application/cluster upgrade is closed, to allow the active requests to drain gracefully. This wait duration is effective only for the instances of those services which have a non-zero value configured for the InstanceCloseDelayDuration, and will override the pre-configured value. For details: InstanceCloseDelayDuration

(Inherited from RollingUpgradePolicyDescription)
Kind

Gets the kind of fabric or application upgrade.

(Inherited from UpgradePolicyDescription)
MonitoringPolicy

Gets or sets the monitoring policy to use when performing an upgrade.

SortOrder

Gets or sets the sort order for upgrade domains. (Does not apply to by-node upgrade modes, such as unmonitored deferred))

(Inherited from RollingUpgradePolicyDescription)
UpgradeMode

Type: RollingUpgradeModeSpecifies the types of upgrade (RollingUpgradeMode) to be used for upgrading the application instance.

(Inherited from RollingUpgradePolicyDescription)
UpgradeReplicaSetCheckTimeout

Specifies the duration Service Fabric should wait before upgrading the services of an application instance on a node or in an upgrade domain if the services do not have quorum.

(Inherited from RollingUpgradePolicyDescription)

Applies to