ArmSecurityCenterModelFactory.HealthReportStatus Method
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 HealthReportStatus.
public static Azure.ResourceManager.SecurityCenter.Models.HealthReportStatus HealthReportStatus(Azure.ResourceManager.SecurityCenter.Models.HealthReportStatusName? code = default, string reason = default, DateTimeOffset? lastScannedOn = default, DateTimeOffset? statusChangeOn = default, DateTimeOffset? firstEvaluationOn = default);
static member HealthReportStatus : Nullable<Azure.ResourceManager.SecurityCenter.Models.HealthReportStatusName> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityCenter.Models.HealthReportStatus
Public Shared Function HealthReportStatus (Optional code As Nullable(Of HealthReportStatusName) = Nothing, Optional reason As String = Nothing, Optional lastScannedOn As Nullable(Of DateTimeOffset) = Nothing, Optional statusChangeOn As Nullable(Of DateTimeOffset) = Nothing, Optional firstEvaluationOn As Nullable(Of DateTimeOffset) = Nothing) As HealthReportStatus
Parameters
The status of the health report.
- reason
- String
The reason of the given status.
- lastScannedOn
- Nullable<DateTimeOffset>
The date of when the resource was scanned in the last time.
- statusChangeOn
- Nullable<DateTimeOffset>
The date of when the status of the health report was changed in the last time.
- firstEvaluationOn
- Nullable<DateTimeOffset>
The date of when the resource of the health report was scanned in the first time.
Returns
A new HealthReportStatus instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET