Share via


RollingUpgradePolicyDescription Class

Definition

Description of the rolling upgrade policy.

public class RollingUpgradePolicyDescription : System.Fabric.Description.UpgradePolicyDescription
type RollingUpgradePolicyDescription = class
    inherit UpgradePolicyDescription
Public Class RollingUpgradePolicyDescription
Inherits UpgradePolicyDescription
Inheritance
RollingUpgradePolicyDescription
Derived

Constructors

RollingUpgradePolicyDescription()

Initializes a new instance of the RollingUpgradePolicyDescription 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.

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

Kind

Gets the kind of fabric or application upgrade.

(Inherited from UpgradePolicyDescription)
SortOrder

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

UpgradeMode

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

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.

Applies to