Class ManagedClusterSecurityProfileDefenderSecurityMonitoring

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefenderSecurityMonitoring
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterSecurityProfileDefenderSecurityMonitoring>

public final class ManagedClusterSecurityProfileDefenderSecurityMonitoring extends Object implements com.azure.json.JsonSerializable<ManagedClusterSecurityProfileDefenderSecurityMonitoring>
Microsoft Defender settings for the security profile threat detection.
  • 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.
    • withEnabled

      Set the enabled property: Whether to enable Defender threat detection.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ManagedClusterSecurityProfileDefenderSecurityMonitoring object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ManagedClusterSecurityProfileDefenderSecurityMonitoring>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterSecurityProfileDefenderSecurityMonitoring fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.