Share via


ArmSecurityCenterModelFactory.SecurityHealthReportData Method

Definition

Initializes a new instance of SecurityHealthReportData.

public static Azure.ResourceManager.SecurityCenter.SecurityHealthReportData SecurityHealthReportData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.HealthReportResourceDetails resourceDetails = default, Azure.ResourceManager.SecurityCenter.Models.EnvironmentDetails environmentDetails = default, Azure.ResourceManager.SecurityCenter.Models.HealthDataClassification healthDataClassification = default, Azure.ResourceManager.SecurityCenter.Models.HealthReportStatus status = default, System.Collections.Generic.IEnumerable<string> affectedDefendersPlans = default, System.Collections.Generic.IEnumerable<string> affectedDefendersSubPlans = default, System.Collections.Generic.IReadOnlyDictionary<string,string> reportAdditionalData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.SecurityHealthReportIssue> issues = default);
static member SecurityHealthReportData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.HealthReportResourceDetails * Azure.ResourceManager.SecurityCenter.Models.EnvironmentDetails * Azure.ResourceManager.SecurityCenter.Models.HealthDataClassification * Azure.ResourceManager.SecurityCenter.Models.HealthReportStatus * seq<string> * seq<string> * System.Collections.Generic.IReadOnlyDictionary<string, string> * seq<Azure.ResourceManager.SecurityCenter.Models.SecurityHealthReportIssue> -> Azure.ResourceManager.SecurityCenter.SecurityHealthReportData
Public Shared Function SecurityHealthReportData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceDetails As HealthReportResourceDetails = Nothing, Optional environmentDetails As EnvironmentDetails = Nothing, Optional healthDataClassification As HealthDataClassification = Nothing, Optional status As HealthReportStatus = Nothing, Optional affectedDefendersPlans As IEnumerable(Of String) = Nothing, Optional affectedDefendersSubPlans As IEnumerable(Of String) = Nothing, Optional reportAdditionalData As IReadOnlyDictionary(Of String, String) = Nothing, Optional issues As IEnumerable(Of SecurityHealthReportIssue) = Nothing) As SecurityHealthReportData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resourceDetails
HealthReportResourceDetails

The resource details of the health report.

environmentDetails
EnvironmentDetails

The environment details of the resource.

healthDataClassification
HealthDataClassification

The classification of the health report.

status
HealthReportStatus

The status of the health report.

affectedDefendersPlans
IEnumerable<String>

The affected defenders plans by unhealthy report.

affectedDefendersSubPlans
IEnumerable<String>

The affected defenders sub plans by unhealthy report.

reportAdditionalData
IReadOnlyDictionary<String,String>

Additional data for the given health report, this field can include more details on the resource and the health scenario.

issues
IEnumerable<SecurityHealthReportIssue>

A collection of the issues in the report.

Returns

A new SecurityHealthReportData instance for mocking.

Applies to