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

ArmSecurityCenterModelFactory.CustomAssessmentAutomationCreateOrUpdateContent 方法

定义

初始化 CustomAssessmentAutomationCreateOrUpdateContent 的新实例。

public static Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentAutomationCreateOrUpdateContent CustomAssessmentAutomationCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string compressedQuery = default, Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentAutomationSupportedCloud? supportedCloud = default, Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentSeverity? severity = default, string displayName = default, string description = default, string remediationDescription = default);
static member CustomAssessmentAutomationCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentAutomationSupportedCloud> * Nullable<Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentSeverity> * string * string * string -> Azure.ResourceManager.SecurityCenter.Models.CustomAssessmentAutomationCreateOrUpdateContent
Public Shared Function CustomAssessmentAutomationCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional compressedQuery As String = Nothing, Optional supportedCloud As Nullable(Of CustomAssessmentAutomationSupportedCloud) = Nothing, Optional severity As Nullable(Of CustomAssessmentSeverity) = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional remediationDescription As String = Nothing) As CustomAssessmentAutomationCreateOrUpdateContent

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

compressedQuery
String

基本 64 编码 KQL 查询,表示所需的评估自动化结果。

supportedCloud
Nullable<CustomAssessmentAutomationSupportedCloud>

自定义评估自动化的相关云。

severity
Nullable<CustomAssessmentSeverity>

与此评估自动化生成的评估相关的严重性。

displayName
String

此评估自动化生成的评估的显示名称。

description
String

与此评估自动化生成的评估相关的说明。

remediationDescription
String

与此评估自动化生成的评估相关的修正说明。

返回

用于模拟的新 CustomAssessmentAutomationCreateOrUpdateContent 实例。

适用于