DefenderCspmGcpOfferingVmScanners Class

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

public final class DefenderCspmGcpOfferingVmScanners

The Microsoft Defender for Server VM scanning configuration.

Constructor Summary

Constructor Description
DefenderCspmGcpOfferingVmScanners()

Creates an instance of DefenderCspmGcpOfferingVmScanners class.

Method Summary

Modifier and Type Method and Description
DefenderCspmGcpOfferingVmScannersConfiguration configuration()

Get the configuration property: configuration for Microsoft Defender for Server VM scanning.

Boolean enabled()

Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.

void validate()

Validates the instance.

DefenderCspmGcpOfferingVmScanners withConfiguration(DefenderCspmGcpOfferingVmScannersConfiguration configuration)

Set the configuration property: configuration for Microsoft Defender for Server VM scanning.

DefenderCspmGcpOfferingVmScanners withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender for Server VM scanning enabled.

Methods inherited from java.lang.Object

Constructor Details

DefenderCspmGcpOfferingVmScanners

public DefenderCspmGcpOfferingVmScanners()

Creates an instance of DefenderCspmGcpOfferingVmScanners class.

Method Details

configuration

public DefenderCspmGcpOfferingVmScannersConfiguration configuration()

Get the configuration property: configuration for Microsoft Defender for Server VM scanning.

Returns:

the configuration value.

enabled

public Boolean enabled()

Get the enabled property: Is Microsoft Defender for Server VM scanning enabled.

Returns:

the enabled value.

validate

public void validate()

Validates the instance.

withConfiguration

public DefenderCspmGcpOfferingVmScanners withConfiguration(DefenderCspmGcpOfferingVmScannersConfiguration configuration)

Set the configuration property: configuration for Microsoft Defender for Server VM scanning.

Parameters:

configuration - the configuration value to set.

Returns:

the DefenderCspmGcpOfferingVmScanners object itself.

withEnabled

public DefenderCspmGcpOfferingVmScanners withEnabled(Boolean enabled)

Set the enabled property: Is Microsoft Defender for Server VM scanning enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the DefenderCspmGcpOfferingVmScanners object itself.

Applies to