Udostępnij za pośrednictwem


ClusterUpgradePolicy Class

Definition

Describes the policy used when upgrading the cluster.

public class ClusterUpgradePolicy
public class ClusterUpgradePolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabric.Models.ClusterUpgradePolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabric.Models.ClusterUpgradePolicy>
type ClusterUpgradePolicy = class
type ClusterUpgradePolicy = class
    interface IJsonModel<ClusterUpgradePolicy>
    interface IPersistableModel<ClusterUpgradePolicy>
Public Class ClusterUpgradePolicy
Public Class ClusterUpgradePolicy
Implements IJsonModel(Of ClusterUpgradePolicy), IPersistableModel(Of ClusterUpgradePolicy)
Inheritance
ClusterUpgradePolicy
Implements

Constructors

ClusterUpgradePolicy(TimeSpan, TimeSpan, TimeSpan, TimeSpan, TimeSpan, TimeSpan, ClusterHealthPolicy)

Initializes a new instance of ClusterUpgradePolicy.

Properties

DeltaHealthPolicy

The cluster delta health policy used when upgrading the cluster.

ForceRestart

If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).

HealthCheckRetryTimeout

The amount of time to retry health evaluation when the application or cluster is unhealthy before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

HealthCheckStableDuration

The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

HealthCheckWaitDuration

The length of time to wait after completing an upgrade domain before performing health checks. The duration can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

HealthPolicy

The cluster health policy used when upgrading the cluster.

UpgradeDomainTimeout

The amount of time each upgrade domain has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

UpgradeReplicaSetCheckTimeout

The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

UpgradeTimeout

The amount of time the overall upgrade has to complete before the upgrade rolls back. The timeout can be in either hh:mm:ss or in d.hh:mm:ss.ms format.

Explicit Interface Implementations

IJsonModel<ClusterUpgradePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ClusterUpgradePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClusterUpgradePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClusterUpgradePolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ClusterUpgradePolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to