TargetResourceTypesSelected¶
-
class
oci.cloud_guard.models.TargetResourceTypesSelected(**kwargs)¶ Bases:
oci.cloud_guard.models.target_selected.TargetSelectedTarget selection on basis of target resource types.
Attributes
KIND_ALLstr(object=’’) -> str KIND_TARGETIDSstr(object=’’) -> str KIND_TARGETTYPESstr(object=’’) -> str VALUES_COMPARTMENTA constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_ERPCLOUDA constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_HCMCLOUDA constant which can be used with the values property of a TargetResourceTypesSelected. VALUES_SECURITY_ZONEA constant which can be used with the values property of a TargetResourceTypesSelected. kind[Required] Gets the kind of this TargetSelected. valuesGets 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
kindattribute of this class isTARGETTYPESand 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]
-