DefenderForContainersGcpOffering Class

public final class DefenderForContainersGcpOffering
extends CloudOffering

The containers GCP offering.

Constructor Summary

Constructor Description
DefenderForContainersGcpOffering()

Creates an instance of DefenderForContainersGcpOffering class.

Method Summary

Modifier and Type Method and Description
DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection dataPipelineNativeCloudConnection()

Get the dataPipelineNativeCloudConnection property: The native cloud connection configuration.

Boolean enableAuditLogsAutoProvisioning()

Get the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Boolean enableDefenderAgentAutoProvisioning()

Get the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Boolean enablePolicyAgentAutoProvisioning()

Get the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

static DefenderForContainersGcpOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersGcpOffering from the JsonReader.

DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S()

Get the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender Container agentless discovery configuration.

DefenderForContainersGcpOfferingMdcContainersImageAssessment mdcContainersImageAssessment()

Get the mdcContainersImageAssessment property: The Microsoft Defender Container image assessment configuration.

DefenderForContainersGcpOfferingNativeCloudConnection nativeCloudConnection()

Get the nativeCloudConnection property: The native cloud connection configuration.

OfferingType offeringType()

Get the offeringType property: The type of the security offering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DefenderForContainersGcpOfferingVmScanners vmScanners()

Get the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

DefenderForContainersGcpOffering withDataPipelineNativeCloudConnection(DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection dataPipelineNativeCloudConnection)

Set the dataPipelineNativeCloudConnection property: The native cloud connection configuration.

DefenderForContainersGcpOffering withEnableAuditLogsAutoProvisioning(Boolean enableAuditLogsAutoProvisioning)

Set the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

DefenderForContainersGcpOffering withEnableDefenderAgentAutoProvisioning(Boolean enableDefenderAgentAutoProvisioning)

Set the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

DefenderForContainersGcpOffering withEnablePolicyAgentAutoProvisioning(Boolean enablePolicyAgentAutoProvisioning)

Set the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

DefenderForContainersGcpOffering withMdcContainersAgentlessDiscoveryK8S(DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S)

Set the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender Container agentless discovery configuration.

DefenderForContainersGcpOffering withMdcContainersImageAssessment(DefenderForContainersGcpOfferingMdcContainersImageAssessment mdcContainersImageAssessment)

Set the mdcContainersImageAssessment property: The Microsoft Defender Container image assessment configuration.

DefenderForContainersGcpOffering withNativeCloudConnection(DefenderForContainersGcpOfferingNativeCloudConnection nativeCloudConnection)

Set the nativeCloudConnection property: The native cloud connection configuration.

DefenderForContainersGcpOffering withVmScanners(DefenderForContainersGcpOfferingVmScanners vmScanners)

Set the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Methods inherited from CloudOffering

Methods inherited from java.lang.Object

Constructor Details

DefenderForContainersGcpOffering

public DefenderForContainersGcpOffering()

Creates an instance of DefenderForContainersGcpOffering class.

Method Details

dataPipelineNativeCloudConnection

public DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection dataPipelineNativeCloudConnection()

Get the dataPipelineNativeCloudConnection property: The native cloud connection configuration.

Returns:

the dataPipelineNativeCloudConnection value.

enableAuditLogsAutoProvisioning

public Boolean enableAuditLogsAutoProvisioning()

Get the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Returns:

the enableAuditLogsAutoProvisioning value.

enableDefenderAgentAutoProvisioning

public Boolean enableDefenderAgentAutoProvisioning()

Get the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Returns:

the enableDefenderAgentAutoProvisioning value.

enablePolicyAgentAutoProvisioning

public Boolean enablePolicyAgentAutoProvisioning()

Get the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

Returns:

the enablePolicyAgentAutoProvisioning value.

fromJson

public static DefenderForContainersGcpOffering fromJson(JsonReader jsonReader)

Reads an instance of DefenderForContainersGcpOffering from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DefenderForContainersGcpOffering if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DefenderForContainersGcpOffering.

mdcContainersAgentlessDiscoveryK8S

public DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S()

Get the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender Container agentless discovery configuration.

Returns:

the mdcContainersAgentlessDiscoveryK8S value.

mdcContainersImageAssessment

public DefenderForContainersGcpOfferingMdcContainersImageAssessment mdcContainersImageAssessment()

Get the mdcContainersImageAssessment property: The Microsoft Defender Container image assessment configuration.

Returns:

the mdcContainersImageAssessment value.

nativeCloudConnection

public DefenderForContainersGcpOfferingNativeCloudConnection nativeCloudConnection()

Get the nativeCloudConnection property: The native cloud connection configuration.

Returns:

the nativeCloudConnection value.

offeringType

public OfferingType offeringType()

Get the offeringType property: The type of the security offering.

Overrides:

DefenderForContainersGcpOffering.offeringType()

Returns:

the offeringType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DefenderForContainersGcpOffering.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DefenderForContainersGcpOffering.validate()

vmScanners

public DefenderForContainersGcpOfferingVmScanners vmScanners()

Get the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Returns:

the vmScanners value.

withDataPipelineNativeCloudConnection

public DefenderForContainersGcpOffering withDataPipelineNativeCloudConnection(DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection dataPipelineNativeCloudConnection)

Set the dataPipelineNativeCloudConnection property: The native cloud connection configuration.

Parameters:

dataPipelineNativeCloudConnection - the dataPipelineNativeCloudConnection value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withEnableAuditLogsAutoProvisioning

public DefenderForContainersGcpOffering withEnableAuditLogsAutoProvisioning(Boolean enableAuditLogsAutoProvisioning)

Set the enableAuditLogsAutoProvisioning property: Is audit logs data collection enabled.

Parameters:

enableAuditLogsAutoProvisioning - the enableAuditLogsAutoProvisioning value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withEnableDefenderAgentAutoProvisioning

public DefenderForContainersGcpOffering withEnableDefenderAgentAutoProvisioning(Boolean enableDefenderAgentAutoProvisioning)

Set the enableDefenderAgentAutoProvisioning property: Is Microsoft Defender for Cloud Kubernetes agent auto provisioning enabled.

Parameters:

enableDefenderAgentAutoProvisioning - the enableDefenderAgentAutoProvisioning value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withEnablePolicyAgentAutoProvisioning

public DefenderForContainersGcpOffering withEnablePolicyAgentAutoProvisioning(Boolean enablePolicyAgentAutoProvisioning)

Set the enablePolicyAgentAutoProvisioning property: Is Policy Kubernetes agent auto provisioning enabled.

Parameters:

enablePolicyAgentAutoProvisioning - the enablePolicyAgentAutoProvisioning value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withMdcContainersAgentlessDiscoveryK8S

public DefenderForContainersGcpOffering withMdcContainersAgentlessDiscoveryK8S(DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S mdcContainersAgentlessDiscoveryK8S)

Set the mdcContainersAgentlessDiscoveryK8S property: The Microsoft Defender Container agentless discovery configuration.

Parameters:

mdcContainersAgentlessDiscoveryK8S - the mdcContainersAgentlessDiscoveryK8S value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withMdcContainersImageAssessment

public DefenderForContainersGcpOffering withMdcContainersImageAssessment(DefenderForContainersGcpOfferingMdcContainersImageAssessment mdcContainersImageAssessment)

Set the mdcContainersImageAssessment property: The Microsoft Defender Container image assessment configuration.

Parameters:

mdcContainersImageAssessment - the mdcContainersImageAssessment value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withNativeCloudConnection

public DefenderForContainersGcpOffering withNativeCloudConnection(DefenderForContainersGcpOfferingNativeCloudConnection nativeCloudConnection)

Set the nativeCloudConnection property: The native cloud connection configuration.

Parameters:

nativeCloudConnection - the nativeCloudConnection value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

withVmScanners

public DefenderForContainersGcpOffering withVmScanners(DefenderForContainersGcpOfferingVmScanners vmScanners)

Set the vmScanners property: The Microsoft Defender for Container K8s VM host scanning configuration.

Parameters:

vmScanners - the vmScanners value to set.

Returns:

the DefenderForContainersGcpOffering object itself.

Applies to