ArmSecurityCenterModelFactory.CustomAssessmentAutomationData Method

Definition

Initializes a new instance of CustomAssessmentAutomationData.

public static Azure.ResourceManager.SecurityCenter.CustomAssessmentAutomationData CustomAssessmentAutomationData (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, string assessmentKey = default);
static member CustomAssessmentAutomationData : 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 * string -> Azure.ResourceManager.SecurityCenter.CustomAssessmentAutomationData
Public Shared Function CustomAssessmentAutomationData (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, Optional assessmentKey As String = Nothing) As CustomAssessmentAutomationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

compressedQuery
String

GZip encoded KQL query representing the assessment automation results required.

supportedCloud
Nullable<CustomAssessmentAutomationSupportedCloud>

Relevant cloud for the custom assessment automation.

severity
Nullable<CustomAssessmentSeverity>

The severity to relate to the assessments generated by this assessment automation.

displayName
String

The display name of the assessments generated by this assessment automation.

description
String

The description to relate to the assessments generated by this assessment automation.

remediationDescription
String

The remediation description to relate to the assessments generated by this assessment automation.

assessmentKey
String

The assessment metadata key used when an assessment is generated for this assessment automation.

Returns

A new CustomAssessmentAutomationData instance for mocking.

Applies to