DefenderCspmAwsOfferingVmScannersConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. DefenderCspmAwsOfferingVmScannersConfiguration
- com.
public final class DefenderCspmAwsOfferingVmScannersConfiguration
configuration for Microsoft Defender for Server VM scanning.
Constructor Summary
Constructor | Description |
---|---|
DefenderCspmAwsOfferingVmScannersConfiguration() |
Creates an instance of Defender |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cloudRoleArn()
Get the cloud |
Map<String,String> |
exclusionTags()
Get the exclusion |
Scanning |
scanningMode()
Get the scanning |
void |
validate()
Validates the instance. |
Defender |
withCloudRoleArn(String cloudRoleArn)
Set the cloud |
Defender |
withExclusionTags(Map<String,String> exclusionTags)
Set the exclusion |
Defender |
withScanningMode(ScanningMode scanningMode)
Set the scanning |
Methods inherited from java.lang.Object
Constructor Details
DefenderCspmAwsOfferingVmScannersConfiguration
public DefenderCspmAwsOfferingVmScannersConfiguration()
Creates an instance of DefenderCspmAwsOfferingVmScannersConfiguration class.
Method Details
cloudRoleArn
public String cloudRoleArn()
Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.
Returns:
exclusionTags
public Map
Get the exclusionTags property: VM tags that indicates 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.
withCloudRoleArn
public DefenderCspmAwsOfferingVmScannersConfiguration withCloudRoleArn(String cloudRoleArn)
Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.
Parameters:
Returns:
withExclusionTags
public DefenderCspmAwsOfferingVmScannersConfiguration withExclusionTags(Map
Set the exclusionTags property: VM tags that indicates that VM should not be scanned.
Parameters:
Returns:
withScanningMode
public DefenderCspmAwsOfferingVmScannersConfiguration 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