SecurityAssessmentMetadataResponse.DefinitionStages.WithAssessmentType Interface

public static interface SecurityAssessmentMetadataResponse.DefinitionStages.WithAssessmentType

The stage of the SecurityAssessmentMetadataResponse definition allowing to specify assessmentType.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withAssessmentType(AssessmentType assessmentType)

Specifies the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Method Details

withAssessmentType

public abstract SecurityAssessmentMetadataResponse.DefinitionStages.WithCreate withAssessmentType(AssessmentType assessmentType)

Specifies the assessmentType property: BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Parameters:

assessmentType - BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Returns:

the next definition stage.

Applies to