SecurityZoneTargetDetails¶
- class oci.cloud_guard.models.SecurityZoneTargetDetails(**kwargs)¶
Bases:
TargetDetailsTarget details for a security zone target.
Attributes:
A constant which can be used with the target_resource_type property of a TargetDetails.
A constant which can be used with the target_resource_type property of a TargetDetails.
A constant which can be used with the target_resource_type property of a TargetDetails.
A constant which can be used with the target_resource_type property of a TargetDetails.
Gets the security_zone_display_name of this SecurityZoneTargetDetails.
Gets the security_zone_id of this SecurityZoneTargetDetails.
[Required] Gets the target_resource_type of this TargetDetails.
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_typeattribute of this class isSECURITY_ZONEand 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