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
Azure SDK for .NET