ArmSecurityCenterModelFactory.ComplianceResultData Method

Definition

Initializes a new instance of ComplianceResultData.

public static Azure.ResourceManager.SecurityCenter.ComplianceResultData ComplianceResultData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentResourceStatus? resourceStatus = default);
static member ComplianceResultData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentResourceStatus> -> Azure.ResourceManager.SecurityCenter.ComplianceResultData
Public Shared Function ComplianceResultData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceStatus As Nullable(Of SecurityAssessmentResourceStatus) = Nothing) As ComplianceResultData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resourceStatus
Nullable<SecurityAssessmentResourceStatus>

The status of the resource regarding a single assessment.

Returns

A new ComplianceResultData instance for mocking.

Applies to