你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedClusterMonitoringPolicy Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.