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

ArmSecurityCenterModelFactory.SecurityAssessmentData 方法

定义

初始化 SecurityAssessmentData 的新实例。

public static Azure.ResourceManager.SecurityCenter.SecurityAssessmentData SecurityAssessmentData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails resourceDetails = default, string displayName = default, System.Collections.Generic.IDictionary<string,string> additionalData = default, Uri linksAzurePortalUri = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties metadata = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner partnersData = default, Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusResult status = default);
static member SecurityAssessmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.SecurityCenter.Models.SecurityCenterResourceDetails * string * System.Collections.Generic.IDictionary<string, string> * Uri * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentMetadataProperties * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentPartner * Azure.ResourceManager.SecurityCenter.Models.SecurityAssessmentStatusResult -> Azure.ResourceManager.SecurityCenter.SecurityAssessmentData
Public Shared Function SecurityAssessmentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceDetails As SecurityCenterResourceDetails = Nothing, Optional displayName As String = Nothing, Optional additionalData As IDictionary(Of String, String) = Nothing, Optional linksAzurePortalUri As Uri = Nothing, Optional metadata As SecurityAssessmentMetadataProperties = Nothing, Optional partnersData As SecurityAssessmentPartner = Nothing, Optional status As SecurityAssessmentStatusResult = Nothing) As SecurityAssessmentData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

resourceDetails
SecurityCenterResourceDetails

已评估的资源的详细信息请注意 SecurityCenterResourceDetails 是基类。 根据方案,可能需要在此处分配基类的派生类,或者需要将此属性强制转换为可能的派生类之一。 可用的派生类包括 AzureResourceDetails(String)OnPremiseResourceDetailsOnPremiseSqlResourceDetails

displayName
String

评估的用户友好显示名称。

additionalData
IDictionary<String,String>

有关评估的其他数据。

linksAzurePortalUri
Uri

与评估相关的链接。

metadata
SecurityAssessmentMetadataProperties

描述评估元数据的属性。

partnersData
SecurityAssessmentPartner

有关第三方合作伙伴集成的数据。

status
SecurityAssessmentStatusResult

评估的结果。

返回

用于模拟的新 SecurityAssessmentData 实例。

适用于