TargetResourceTypesSelected¶
-
class
oci.cloud_guard.models.
TargetResourceTypesSelected
(**kwargs)¶ Bases:
oci.cloud_guard.models.target_selected.TargetSelected
Target selection on basis of target resource types.
Attributes
KIND_ALL
str(object=’’) -> str KIND_TARGETIDS
str(object=’’) -> str KIND_TARGETTYPES
str(object=’’) -> str VALUES_COMPARTMENT
A constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_ERPCLOUD
A constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_HCMCLOUD
A constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_SECURITY_ZONE
A constant which can be used with the values property of a TargetResourceTypesSelected. kind
[Required] Gets the kind of this TargetSelected. values
Gets the values of this TargetResourceTypesSelected. Methods
__init__
(**kwargs)Initializes a new TargetResourceTypesSelected 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. -
KIND_ALL
= 'ALL'¶
-
KIND_TARGETIDS
= 'TARGETIDS'¶
-
KIND_TARGETTYPES
= 'TARGETTYPES'¶
-
VALUES_COMPARTMENT
= 'COMPARTMENT'¶ A constant which can be used with the values property of a TargetResourceTypesSelected. This constant has a value of “COMPARTMENT”
-
VALUES_ERPCLOUD
= 'ERPCLOUD'¶ A constant which can be used with the values property of a TargetResourceTypesSelected. This constant has a value of “ERPCLOUD”
-
VALUES_HCMCLOUD
= 'HCMCLOUD'¶ A constant which can be used with the values property of a TargetResourceTypesSelected. This constant has a value of “HCMCLOUD”
-
VALUES_SECURITY_ZONE
= 'SECURITY_ZONE'¶ A constant which can be used with the values property of a TargetResourceTypesSelected. This constant has a value of “SECURITY_ZONE”
-
__init__
(**kwargs)¶ Initializes a new TargetResourceTypesSelected object with values from keyword arguments. The default value of the
kind
attribute of this class isTARGETTYPES
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - kind (str) – The value to assign to the kind property of this TargetResourceTypesSelected. Allowed values for this property are: “ALL”, “TARGETTYPES”, “TARGETIDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- values (list[str]) – The value to assign to the values property of this TargetResourceTypesSelected. Allowed values for items in this list 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.
-
kind
¶ [Required] Gets the kind of this TargetSelected. Kind of target selection to be used
Allowed values for this property are: “ALL”, “TARGETTYPES”, “TARGETIDS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The kind of this TargetSelected. Return type: str
-
values
¶ Gets the values of this TargetResourceTypesSelected. Types of targets
Allowed values for items in this list 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 values of this TargetResourceTypesSelected. Return type: list[str]
-