Partager via


ArmSecurityCenterModelFactory.SubAssessmentStatus Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

code
Nullable<SubAssessmentStatusCode>

Code programmatique pour le status de l’évaluation.

cause
String

Code programmatique pour la cause du status d’évaluation.

description
String

Description lisible de l’status d’évaluation.

severity
Nullable<SecurityAssessmentSeverity>

Niveau de gravité de la sous-évaluation.

Retours

Une nouvelle SubAssessmentStatus instance de moqueries.

S’applique à