TargetResourceTypesSelected

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

Bases: oci.cloud_guard.models.target_selected.TargetSelected

Target selection on basis of TargetResourceTypes.

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.
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”

__init__(**kwargs)

Initializes a new TargetResourceTypesSelected object with values from keyword arguments. The default value of the kind attribute of this class is TARGETTYPES 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”, ‘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. Target selection.

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”, ‘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]