Compartilhar via


ManagedClusterSecurityProfileDefenderSecurityMonitoring Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefenderSecurityMonitoring

Implements

public final class ManagedClusterSecurityProfileDefenderSecurityMonitoring
implements JsonSerializable<ManagedClusterSecurityProfileDefenderSecurityMonitoring>

Microsoft Defender settings for the security profile threat detection.

Constructor Summary

Constructor Description
ManagedClusterSecurityProfileDefenderSecurityMonitoring()

Creates an instance of ManagedClusterSecurityProfileDefenderSecurityMonitoring class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Whether to enable Defender threat detection.

static ManagedClusterSecurityProfileDefenderSecurityMonitoring fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterSecurityProfileDefenderSecurityMonitoring from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterSecurityProfileDefenderSecurityMonitoring withEnabled(Boolean enabled)

Set the enabled property: Whether to enable Defender threat detection.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterSecurityProfileDefenderSecurityMonitoring

public ManagedClusterSecurityProfileDefenderSecurityMonitoring()

Creates an instance of ManagedClusterSecurityProfileDefenderSecurityMonitoring class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Whether to enable Defender threat detection.

Returns:

the enabled value.

fromJson

public static ManagedClusterSecurityProfileDefenderSecurityMonitoring fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterSecurityProfileDefenderSecurityMonitoring from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterSecurityProfileDefenderSecurityMonitoring if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ManagedClusterSecurityProfileDefenderSecurityMonitoring.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterSecurityProfileDefenderSecurityMonitoring withEnabled(Boolean enabled)

Set the enabled property: Whether to enable Defender threat detection.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterSecurityProfileDefenderSecurityMonitoring object itself.

Applies to