TargetDetails

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

Bases: object

Details of target member of a Exadata Fleet Update Collection.

Attributes

ENTITY_TYPE_CLOUDVMCLUSTER A constant which can be used with the entity_type property of a TargetDetails.
ENTITY_TYPE_DATABASE A constant which can be used with the entity_type property of a TargetDetails.
ENTITY_TYPE_VMCLUSTER A constant which can be used with the entity_type property of a TargetDetails.
compartment_id Gets the compartment_id of this TargetDetails.
entity_type [Required] Gets the entity_type of this TargetDetails.
id Gets the id 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.
ENTITY_TYPE_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

A constant which can be used with the entity_type property of a TargetDetails. This constant has a value of “CLOUDVMCLUSTER”

ENTITY_TYPE_DATABASE = 'DATABASE'

A constant which can be used with the entity_type property of a TargetDetails. This constant has a value of “DATABASE”

ENTITY_TYPE_VMCLUSTER = 'VMCLUSTER'

A constant which can be used with the entity_type property of a TargetDetails. This constant has a value of “VMCLUSTER”

__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:
  • entity_type (str) – The value to assign to the entity_type property of this TargetDetails. Allowed values for this property are: “DATABASE”, “VMCLUSTER”, “CLOUDVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • id (str) – The value to assign to the id property of this TargetDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this TargetDetails.
compartment_id

Gets the compartment_id of this TargetDetails. Compartment identifier of the target.

Returns:The compartment_id of this TargetDetails.
Return type:str
entity_type

[Required] Gets the entity_type of this TargetDetails. Resource EntityType for the target in the Exadata Fleet Update Collection.

Allowed values for this property are: “DATABASE”, “VMCLUSTER”, “CLOUDVMCLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The entity_type of this TargetDetails.
Return type:str
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.

id

Gets the id of this TargetDetails. OCID of the target resource in the Exadata Fleet Update Collection.

Returns:The id of this TargetDetails.
Return type:str