Condividi tramite


MonitoredRollingApplicationUpgradePolicyDescription Class

Definition

Describes the behavior to use when performing an application upgrade.

public sealed class MonitoredRollingApplicationUpgradePolicyDescription : System.Fabric.Description.MonitoredRollingUpgradePolicyDescription
type MonitoredRollingApplicationUpgradePolicyDescription = class
    inherit MonitoredRollingUpgradePolicyDescription
Public NotInheritable Class MonitoredRollingApplicationUpgradePolicyDescription
Inherits MonitoredRollingUpgradePolicyDescription
Inheritance

Constructors

MonitoredRollingApplicationUpgradePolicyDescription()

Initializes a new instance of the MonitoredRollingApplicationUpgradePolicyDescription 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)
HealthPolicy

Gets or sets the health policy to use when performing health checks against an upgrading application.

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.

(Inherited from MonitoredRollingUpgradePolicyDescription)
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