Class ManagedClusterSecurityProfileDefender
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileDefender
Microsoft Defender settings for the security profile.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterSecurityProfileDefender class. -
Method Summary
Modifier and TypeMethodDescriptionGet the logAnalyticsWorkspaceResourceId property: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender.Get the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.voidvalidate()Validates the instance.withLogAnalyticsWorkspaceResourceId(String logAnalyticsWorkspaceResourceId) Set the logAnalyticsWorkspaceResourceId property: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender.withSecurityMonitoring(ManagedClusterSecurityProfileDefenderSecurityMonitoring securityMonitoring) Set the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.
-
Constructor Details
-
ManagedClusterSecurityProfileDefender
public ManagedClusterSecurityProfileDefender()Creates an instance of ManagedClusterSecurityProfileDefender class.
-
-
Method Details
-
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
public ManagedClusterSecurityProfileDefender withSecurityMonitoring(ManagedClusterSecurityProfileDefenderSecurityMonitoring securityMonitoring) 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.
-