DefenderCspmGcpOfferingVmScannersConfiguration Class

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

public final class DefenderCspmGcpOfferingVmScannersConfiguration

configuration for Microsoft Defender for Server VM scanning.

Constructor Summary

Constructor Description
DefenderCspmGcpOfferingVmScannersConfiguration()

Creates an instance of DefenderCspmGcpOfferingVmScannersConfiguration class.

Method Summary

Modifier and Type Method and Description
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.

DefenderCspmGcpOfferingVmScannersConfiguration withExclusionTags(Map<String,String> exclusionTags)

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

DefenderCspmGcpOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

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

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmGcpOfferingVmScannersConfiguration

public DefenderCspmGcpOfferingVmScannersConfiguration()

Creates an instance of DefenderCspmGcpOfferingVmScannersConfiguration class.

Method Details

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.

withExclusionTags

public DefenderCspmGcpOfferingVmScannersConfiguration 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 DefenderCspmGcpOfferingVmScannersConfiguration object itself.

withScanningMode

public DefenderCspmGcpOfferingVmScannersConfiguration withScanningMode(ScanningMode scanningMode)

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

Parameters:

scanningMode - the scanningMode value to set.

Returns:

the DefenderCspmGcpOfferingVmScannersConfiguration object itself.

Applies to