次の方法で共有


ManagedClusterUpgradePolicy Class

Definition

Describes the policy used when upgrading the cluster.

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

Constructors

ManagedClusterUpgradePolicy()

Initializes a new instance of ManagedClusterUpgradePolicy.

Properties

DeltaHealthPolicy

The cluster delta health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade.

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).

HealthPolicy

The cluster health policy defines a health policy used to evaluate the health of the cluster during a cluster upgrade.

MonitoringPolicy

The cluster monitoring policy describes the parameters for monitoring an upgrade in Monitored mode.

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. This value must be between 00:00:00 and 49710.06:28:15 (unsigned 32 bit integer for seconds)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ManagedClusterUpgradePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterUpgradePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterUpgradePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterUpgradePolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterUpgradePolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to