TargetDetails

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

Bases: object

Details specific to the target type.

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.
target_resource_type [Required] Gets the target_resource_type of this TargetDetails.

Methods

__init__(**kwargs) Initializes a new TargetDetails 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 TargetDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 TargetDetails. 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’.
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.

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