SecurityZoneTargetDetails

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

Bases: oci.cloud_guard.models.target_details.TargetDetails

Target details for a security zone target.

Attributes

TARGET_RESOURCE_TYPE_COMPARTMENT str(object=’’) -> str
TARGET_RESOURCE_TYPE_ERPCLOUD str(object=’’) -> str
TARGET_RESOURCE_TYPE_HCMCLOUD str(object=’’) -> str
TARGET_RESOURCE_TYPE_SECURITY_ZONE str(object=’’) -> str
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'
TARGET_RESOURCE_TYPE_ERPCLOUD = 'ERPCLOUD'
TARGET_RESOURCE_TYPE_HCMCLOUD = 'HCMCLOUD'
TARGET_RESOURCE_TYPE_SECURITY_ZONE = '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.

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
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
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
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]