DefenderCspmAwsOfferingVmScannersConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.DefenderCspmAwsOfferingVmScannersConfiguration

public final class DefenderCspmAwsOfferingVmScannersConfiguration

configuration for Microsoft Defender for Server VM scanning.

Constructor Summary

Constructor Description
DefenderCspmAwsOfferingVmScannersConfiguration()

Creates an instance of DefenderCspmAwsOfferingVmScannersConfiguration class.

Method Summary

Modifier and Type Method and Description
String cloudRoleArn()

Get the cloudRoleArn property: The cloud role ARN in AWS for this feature.

Map<String,String> exclusionTags()

Get the exclusionTags property: VM tags that indicates that VM should not be scanned.

ScanningMode scanningMode()

Get the scanningMode property: The scanning mode for the VM scan.

void validate()

Validates the instance.

DefenderCspmAwsOfferingVmScannersConfiguration withCloudRoleArn(String cloudRoleArn)

Set the cloudRoleArn property: The cloud role ARN in AWS for this feature.

DefenderCspmAwsOfferingVmScannersConfiguration withExclusionTags(Map<String,String> exclusionTags)

Set the exclusionTags property: VM tags that indicates that VM should not be scanned.

DefenderCspmAwsOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

Set the scanningMode property: The scanning mode for the VM scan.

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:

the cloudRoleArn value.

exclusionTags

public Map exclusionTags()

Get the exclusionTags property: VM tags that indicates that VM should not be scanned.

Returns:

the exclusionTags value.

scanningMode

public ScanningMode scanningMode()

Get the scanningMode property: The scanning mode for the VM scan.

Returns:

the scanningMode value.

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:

cloudRoleArn - the cloudRoleArn value to set.

Returns:

the DefenderCspmAwsOfferingVmScannersConfiguration object itself.

withExclusionTags

public DefenderCspmAwsOfferingVmScannersConfiguration withExclusionTags(Map exclusionTags)

Set the exclusionTags property: VM tags that indicates that VM should not be scanned.

Parameters:

exclusionTags - the exclusionTags value to set.

Returns:

the DefenderCspmAwsOfferingVmScannersConfiguration object itself.

withScanningMode

public DefenderCspmAwsOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

Set the scanningMode property: The scanning mode for the VM scan.

Parameters:

scanningMode - the scanningMode value to set.

Returns:

the DefenderCspmAwsOfferingVmScannersConfiguration object itself.

Applies to