ArmSecurityCenterModelFactory.SecurityAssessmentStatusResult 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 SecurityAssessmentStatusResult.
public static Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusResult SecurityAssessmentStatusResult (Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusCode code = default, string cause = default, string description = default, DateTimeOffset? firstEvaluatedOn = default, DateTimeOffset? statusChangeOn = default);
static member SecurityAssessmentStatusResult : Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusCode * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusResult
Public Shared Function SecurityAssessmentStatusResult (Optional code As SecurityAssessmentStatusCode = Nothing, Optional cause As String = Nothing, Optional description As String = Nothing, Optional firstEvaluatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional statusChangeOn As Nullable(Of DateTimeOffset) = Nothing) As SecurityAssessmentStatusResult
Parameters
Programmatic code for the status of the assessment.
- cause
- String
Programmatic code for the cause of the assessment status.
- description
- String
Human readable description of the assessment status.
- firstEvaluatedOn
- Nullable<DateTimeOffset>
The time that the assessment was created and first evaluated. Returned as UTC time in ISO 8601 format.
- statusChangeOn
- Nullable<DateTimeOffset>
The time that the status of the assessment last changed. Returned as UTC time in ISO 8601 format.
Returns
A new SecurityAssessmentStatusResult instance for mocking.
Applies to
Azure SDK for .NET