AssessmentType Class

public final class AssessmentType
extends ExpandableStringEnum<AssessmentType>

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

Field Summary

Modifier and Type Field and Description
static final AssessmentType BUILT_IN

Microsoft Defender for Cloud managed assessments.

static final AssessmentType BUILT_IN_POLICY

Microsoft Defender for Cloud managed policies.

static final AssessmentType CUSTOM

User defined custom assessments.

static final AssessmentType CUSTOMER_MANAGED

User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud.

static final AssessmentType CUSTOM_POLICY

User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud.

static final AssessmentType DYNAMIC_BUILT_IN

Microsoft Defender for Cloud managed assessments that are dynamically created by the system.

static final AssessmentType MANUAL_BUILT_IN

Microsoft Defender for Cloud managed assessments that are manually created by the user.

static final AssessmentType MANUAL_BUILT_IN_POLICY

Microsoft Defender for Cloud managed policies that are manually created by the user.

static final AssessmentType MANUAL_CUSTOM_POLICY

User defined policies that are manually created by the user.

static final AssessmentType UNKNOWN

Unknown assessment type.

static final AssessmentType VERIFIED_PARTNER

Third party assessments that are verified by Microsoft Defender for Cloud.

Constructor Summary

Constructor Description
AssessmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssessmentType value.

Method Summary

Modifier and Type Method and Description
static AssessmentType fromString(String name)

Creates or finds a AssessmentType from its string representation.

static Collection<AssessmentType> values()

Gets known AssessmentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUILT_IN

public static final AssessmentType BUILT_IN

Microsoft Defender for Cloud managed assessments.

BUILT_IN_POLICY

public static final AssessmentType BUILT_IN_POLICY

Microsoft Defender for Cloud managed policies.

CUSTOM

public static final AssessmentType CUSTOM

User defined custom assessments.

CUSTOMER_MANAGED

public static final AssessmentType CUSTOMER_MANAGED

User assessments pushed directly by the user or other third party to Microsoft Defender for Cloud.

CUSTOM_POLICY

public static final AssessmentType CUSTOM_POLICY

User defined policies that are automatically ingested from Azure Policy to Microsoft Defender for Cloud.

DYNAMIC_BUILT_IN

public static final AssessmentType DYNAMIC_BUILT_IN

Microsoft Defender for Cloud managed assessments that are dynamically created by the system.

MANUAL_BUILT_IN

public static final AssessmentType MANUAL_BUILT_IN

Microsoft Defender for Cloud managed assessments that are manually created by the user.

MANUAL_BUILT_IN_POLICY

public static final AssessmentType MANUAL_BUILT_IN_POLICY

Microsoft Defender for Cloud managed policies that are manually created by the user.

MANUAL_CUSTOM_POLICY

public static final AssessmentType MANUAL_CUSTOM_POLICY

User defined policies that are manually created by the user.

UNKNOWN

public static final AssessmentType UNKNOWN

Unknown assessment type.

VERIFIED_PARTNER

public static final AssessmentType VERIFIED_PARTNER

Third party assessments that are verified by Microsoft Defender for Cloud.

Constructor Details

AssessmentType

@Deprecated
public AssessmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssessmentType value.

Method Details

fromString

public static AssessmentType fromString(String name)

Creates or finds a AssessmentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AssessmentType.

values

public static Collection<AssessmentType> values()

Gets known AssessmentType values.

Returns:

known AssessmentType values.

Applies to