Compartir a través de


ManagedClusterMonitoringPolicy Class

Definition

Describes the monitoring policies for the cluster upgrade.

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

Constructors

ManagedClusterMonitoringPolicy(TimeSpan, TimeSpan, String, String, String)

Initializes a new instance of ManagedClusterMonitoringPolicy.

Properties

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.

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.

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<ManagedClusterMonitoringPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterMonitoringPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterMonitoringPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterMonitoringPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterMonitoringPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to