Dela via


ManagedClusterMonitoringPolicy Constructor

Definition

Initializes a new instance of ManagedClusterMonitoringPolicy.

public ManagedClusterMonitoringPolicy (TimeSpan healthCheckWaitDuration, TimeSpan healthCheckStableDuration, string healthCheckRetryTimeout, string upgradeTimeout, string upgradeDomainTimeout);
new Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterMonitoringPolicy : TimeSpan * TimeSpan * string * string * string -> Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterMonitoringPolicy
Public Sub New (healthCheckWaitDuration As TimeSpan, healthCheckStableDuration As TimeSpan, healthCheckRetryTimeout As String, upgradeTimeout As String, upgradeDomainTimeout As String)

Parameters

healthCheckWaitDuration
TimeSpan

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.

healthCheckStableDuration
TimeSpan

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.

healthCheckRetryTimeout
String

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.

upgradeTimeout
String

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.

upgradeDomainTimeout
String

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.

Exceptions

healthCheckRetryTimeout, upgradeTimeout or upgradeDomainTimeout is null.

Applies to