你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmSecurityCenterModelFactory.RegulatoryComplianceAssessmentData 方法

定义

初始化 RegulatoryComplianceAssessmentData 的新实例。

public static Azure.ResourceManager.SecurityCenter.RegulatoryComplianceAssessmentData RegulatoryComplianceAssessmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string assessmentType = default, string assessmentDetailsLink = default, Azure.ResourceManager.SecurityCenter.Models.RegulatoryComplianceState? state = default, int? passedResources = default, int? failedResources = default, int? skippedResources = default, int? unsupportedResources = default);
static member RegulatoryComplianceAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.RegulatoryComplianceState> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.SecurityCenter.RegulatoryComplianceAssessmentData
Public Shared Function RegulatoryComplianceAssessmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional assessmentType As String = Nothing, Optional assessmentDetailsLink As String = Nothing, Optional state As Nullable(Of RegulatoryComplianceState) = Nothing, Optional passedResources As Nullable(Of Integer) = Nothing, Optional failedResources As Nullable(Of Integer) = Nothing, Optional skippedResources As Nullable(Of Integer) = Nothing, Optional unsupportedResources As Nullable(Of Integer) = Nothing) As RegulatoryComplianceAssessmentData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

description
String

法规符合性评估的说明。

assessmentType
String

AssessmentDetailsLink 中包含的预期评估类型。

assessmentDetailsLink
String

指向更详细的评估结果数据的链接。 响应类型将取决于 assessmentType 字段。

state
Nullable<RegulatoryComplianceState>

基于评估的扫描资源状态的聚合状态。

passedResources
Nullable<Int32>

给定评估的相关资源计数为“已通过”状态。

failedResources
Nullable<Int32>

给定评估的相关资源计数为失败状态。

skippedResources
Nullable<Int32>

给定评估的相关资源计数为跳过状态。

unsupportedResources
Nullable<Int32>

给定评估的相关资源计数为不受支持的状态。

返回

用于模拟的新 RegulatoryComplianceAssessmentData 实例。

适用于