ManagedClusterSecurityProfileDefender Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterSecurityProfileDefender
- com.
Implements
public final class ManagedClusterSecurityProfileDefender
implements JsonSerializable<ManagedClusterSecurityProfileDefender>
Microsoft Defender settings for the security profile.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterSecurityProfileDefender() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
logAnalyticsWorkspaceResourceId()
Get the log |
Managed |
securityMonitoring()
Get the security |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withLogAnalyticsWorkspaceResourceId(String logAnalyticsWorkspaceResourceId)
Set the log |
Managed |
withSecurityMonitoring(ManagedClusterSecurityProfileDefenderSecurityMonitoring securityMonitoring)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterSecurityProfileDefender
public ManagedClusterSecurityProfileDefender()
Creates an instance of ManagedClusterSecurityProfileDefender class.
Method Details
fromJson
public static ManagedClusterSecurityProfileDefender fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterSecurityProfileDefender from the JsonReader.
Parameters:
Returns:
Throws:
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:
securityMonitoring
public ManagedClusterSecurityProfileDefenderSecurityMonitoring securityMonitoring()
Get the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withSecurityMonitoring
public ManagedClusterSecurityProfileDefender withSecurityMonitoring(ManagedClusterSecurityProfileDefenderSecurityMonitoring securityMonitoring)
Set the securityMonitoring property: Microsoft Defender threat detection for Cloud settings for the security profile.
Parameters:
Returns:
Applies to
Azure SDK for Java