DefenderForServersGcpOfferingVmScannersConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. DefenderForServersGcpOfferingVmScannersConfiguration
- com.
public final class DefenderForServersGcpOfferingVmScannersConfiguration
configuration for Microsoft Defender for Server VM scanning.
Constructor Summary
Constructor | Description |
---|---|
DefenderForServersGcpOfferingVmScannersConfiguration() |
Creates an instance of Defender |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
exclusionTags()
Get the exclusion |
Scanning |
scanningMode()
Get the scanning |
void |
validate()
Validates the instance. |
Defender |
withExclusionTags(Map<String,String> exclusionTags)
Set the exclusion |
Defender |
withScanningMode(ScanningMode scanningMode)
Set the scanning |
Methods inherited from java.lang.Object
Constructor Details
DefenderForServersGcpOfferingVmScannersConfiguration
public DefenderForServersGcpOfferingVmScannersConfiguration()
Creates an instance of DefenderForServersGcpOfferingVmScannersConfiguration class.
Method Details
exclusionTags
public Map
Get the exclusionTags property: VM tags that indicate that VM should not be scanned.
Returns:
scanningMode
public ScanningMode scanningMode()
Get the scanningMode property: The scanning mode for the VM scan.
Returns:
validate
public void validate()
Validates the instance.
withExclusionTags
public DefenderForServersGcpOfferingVmScannersConfiguration withExclusionTags(Map
Set the exclusionTags property: VM tags that indicate that VM should not be scanned.
Parameters:
Returns:
withScanningMode
public DefenderForServersGcpOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)
Set the scanningMode property: The scanning mode for the VM scan.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for