Class ManagedClusterSecurityProfileAzureDefender


  • public final class ManagedClusterSecurityProfileAzureDefender
    extends Object
    Azure Defender settings for the security profile.
    • Constructor Detail

      • ManagedClusterSecurityProfileAzureDefender

        public ManagedClusterSecurityProfileAzureDefender()
    • Method Detail

      • enabled

        public Boolean enabled()
        Get the enabled property: Whether to enable Azure Defender.
        Returns:
        the enabled value.
      • withEnabled

        public ManagedClusterSecurityProfileAzureDefender withEnabled​(Boolean enabled)
        Set the enabled property: Whether to enable Azure Defender.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the ManagedClusterSecurityProfileAzureDefender object itself.
      • logAnalyticsWorkspaceResourceId

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

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

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