SecurityZoneTargetDetails

class oci.cloud_guard.models.SecurityZoneTargetDetails(**kwargs)

Bases: TargetDetails

Target details for a security zone target.

Attributes:

TARGET_RESOURCE_TYPE_COMPARTMENT

A constant which can be used with the target_resource_type property of a TargetDetails.

TARGET_RESOURCE_TYPE_ERPCLOUD

A constant which can be used with the target_resource_type property of a TargetDetails.

TARGET_RESOURCE_TYPE_HCMCLOUD

A constant which can be used with the target_resource_type property of a TargetDetails.

TARGET_RESOURCE_TYPE_SECURITY_ZONE

A constant which can be used with the target_resource_type property of a TargetDetails.

security_zone_display_name

Gets the security_zone_display_name of this SecurityZoneTargetDetails.

security_zone_id

Gets the security_zone_id of this SecurityZoneTargetDetails.

target_resource_type

[Required] Gets the target_resource_type of this TargetDetails.

target_security_zone_recipes

Gets the target_security_zone_recipes of this SecurityZoneTargetDetails.

Methods:

__init__(**kwargs)

Initializes a new SecurityZoneTargetDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

TARGET_RESOURCE_TYPE_COMPARTMENT = 'COMPARTMENT'

A constant which can be used with the target_resource_type property of a TargetDetails. This constant has a value of “COMPARTMENT”

TARGET_RESOURCE_TYPE_ERPCLOUD = 'ERPCLOUD'

A constant which can be used with the target_resource_type property of a TargetDetails. This constant has a value of “ERPCLOUD”

TARGET_RESOURCE_TYPE_HCMCLOUD = 'HCMCLOUD'

A constant which can be used with the target_resource_type property of a TargetDetails. This constant has a value of “HCMCLOUD”

TARGET_RESOURCE_TYPE_SECURITY_ZONE = 'SECURITY_ZONE'

A constant which can be used with the target_resource_type property of a TargetDetails. This constant has a value of “SECURITY_ZONE”

__init__(**kwargs)

Initializes a new SecurityZoneTargetDetails object with values from keyword arguments. The default value of the target_resource_type attribute of this class is SECURITY_ZONE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • target_resource_type (str) – The value to assign to the target_resource_type property of this SecurityZoneTargetDetails. Allowed values for this property are: “COMPARTMENT”, “ERPCLOUD”, “HCMCLOUD”, “SECURITY_ZONE”

  • security_zone_id (str) – The value to assign to the security_zone_id property of this SecurityZoneTargetDetails.

  • security_zone_display_name (str) – The value to assign to the security_zone_display_name property of this SecurityZoneTargetDetails.

  • target_security_zone_recipes (list[oci.cloud_guard.models.SecurityRecipe]) – The value to assign to the target_security_zone_recipes property of this SecurityZoneTargetDetails.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property security_zone_display_name

Gets the security_zone_display_name of this SecurityZoneTargetDetails. The name of the security zone to associate with this compartment.

Returns

The security_zone_display_name of this SecurityZoneTargetDetails.

Return type

str

property security_zone_id

Gets the security_zone_id of this SecurityZoneTargetDetails. The OCID of the security zone to associate with this compartment

Returns

The security_zone_id of this SecurityZoneTargetDetails.

Return type

str

property target_resource_type

[Required] Gets the target_resource_type of this TargetDetails. Target type, determined by the type of resource for which the target was created

Allowed values for this property are: “COMPARTMENT”, “ERPCLOUD”, “HCMCLOUD”, “SECURITY_ZONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The target_resource_type of this TargetDetails.

Return type

str

property target_security_zone_recipes

Gets the target_security_zone_recipes of this SecurityZoneTargetDetails. The list of security zone recipes to associate with this compartment

Returns

The target_security_zone_recipes of this SecurityZoneTargetDetails.

Return type

list[oci.cloud_guard.models.SecurityRecipe]