Class ManagedClusterSecurityProfileDefender

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefender

public final class ManagedClusterSecurityProfileDefender extends Object
Microsoft Defender settings for the security profile.
  • Constructor Details

    • ManagedClusterSecurityProfileDefender

      public ManagedClusterSecurityProfileDefender()
      Creates an instance of ManagedClusterSecurityProfileDefender class.
  • Method Details

    • logAnalyticsWorkspaceResourceId

      public String logAnalyticsWorkspaceResourceId()
      Get the logAnalyticsWorkspaceResourceId property: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
      Returns:
      the logAnalyticsWorkspaceResourceId value.
    • withLogAnalyticsWorkspaceResourceId

      public ManagedClusterSecurityProfileDefender withLogAnalyticsWorkspaceResourceId(String logAnalyticsWorkspaceResourceId)
      Set the logAnalyticsWorkspaceResourceId property: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft Defender is disabled, leave the field empty.
      Parameters:
      logAnalyticsWorkspaceResourceId - the logAnalyticsWorkspaceResourceId value to set.
      Returns:
      the ManagedClusterSecurityProfileDefender object itself.
    • securityMonitoring

      Get the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.
      Returns:
      the securityMonitoring value.
    • withSecurityMonitoring

      Set the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.
      Parameters:
      securityMonitoring - the securityMonitoring value to set.
      Returns:
      the ManagedClusterSecurityProfileDefender object itself.
    • validate

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