HealthEvent Class
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.
Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.
public sealed class HealthEvent
type HealthEvent = class
Public NotInheritable Class HealthEvent
- Inheritance
-
HealthEvent
Remarks
Health events are returned by health queries such as GetClusterHealthAsync(ClusterHealthQueryDescription). They contain HealthInformation sent to Health Manager in a HealthReport.
Properties
HealthInformation |
Gets the health information that was sent to health store in a HealthReport. |
IsExpired |
Gets a value that indicates whether the health event has expired. |
LastErrorTransitionAt |
If the current HealthState is Error, returns the time at which the health report was first reported with Error. For periodic reporting, many reports with the same state may have been generated. If the current HealthState is Ok or Warning, returns the time at which the health state was last in Error, before transitioning to a different state. If the HealthState has never been Error, the value will be System.DateTime.FromFileTimeUtc(0). |
LastModifiedUtcTimestamp |
Gets the date and time when the health report was last modified by the health store. |
LastOkTransitionAt |
If the current HealthState is Ok, returns the time at which the health report was first reported with Ok. For periodic reporting, many reports with the same state may have been generated. If the current HealthState is Error or Warning, returns the time at which the health state was last in Ok, before transitioning to a different state. If the HealthState has never been Ok, the value will be System.DateTime.FromFileTimeUtc(0). |
LastWarningTransitionAt |
If the current HealthState is Warning, returns the time at which the health report was first reported with Warning. For periodic reporting, many reports with the same state may have been generated. If the current HealthState is Ok or Error, returns the time at which the health state was last in Warning, before transitioning to a different state. If the HealthState has never been Warning, the value will be System.DateTime.FromFileTimeUtc(0). |
SourceUtcTimestamp |
Gets the date and time when the health report was sent by the source. |
Methods
ToString() |
Gets a string representation of the health event. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기