Share via


ArmSecurityCenterModelFactory.SubAssessmentStatus Method

Definition

Initializes a new instance of SubAssessmentStatus.

public static Azure.ResourceManager.SecurityCenter.Models.SubAssessmentStatus SubAssessmentStatus (Azure.ResourceManager.SecurityCenter.Models.SubAssessmentStatusCode? code = default, string cause = default, string description = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity? severity = default);
static member SubAssessmentStatus : Nullable<Azure.ResourceManager.SecurityCenter.Models.SubAssessmentStatusCode> * string * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentSeverity> -> Azure.ResourceManager.SecurityCenter.Models.SubAssessmentStatus
Public Shared Function SubAssessmentStatus (Optional code As Nullable(Of SubAssessmentStatusCode) = Nothing, Optional cause As String = Nothing, Optional description As String = Nothing, Optional severity As Nullable(Of SecurityAssessmentSeverity) = Nothing) As SubAssessmentStatus

Parameters

code
Nullable<SubAssessmentStatusCode>

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.

severity
Nullable<SecurityAssessmentSeverity>

The sub-assessment severity level.

Returns

A new SubAssessmentStatus instance for mocking.

Applies to