TargetEntry

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

Bases: object

Details to specify a target to add or remove from a Exadata Fleet Update Collection.

Attributes

ENTITY_TYPE_CLOUDVMCLUSTER A constant which can be used with the entity_type property of a TargetEntry.
ENTITY_TYPE_DATABASE A constant which can be used with the entity_type property of a TargetEntry.
ENTITY_TYPE_VMCLUSTER A constant which can be used with the entity_type property of a TargetEntry.
entity_type [Required] Gets the entity_type of this TargetEntry.
identifier [Required] Gets the identifier of this TargetEntry.

Methods

__init__(**kwargs) Initializes a new TargetEntry object with values from keyword arguments.
ENTITY_TYPE_CLOUDVMCLUSTER = 'CLOUDVMCLUSTER'

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

ENTITY_TYPE_DATABASE = 'DATABASE'

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

ENTITY_TYPE_VMCLUSTER = 'VMCLUSTER'

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

__init__(**kwargs)

Initializes a new TargetEntry object with values from keyword arguments. 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 TargetEntry. Allowed values for this property are: “DATABASE”, “VMCLUSTER”, “CLOUDVMCLUSTER”
  • identifier (str) – The value to assign to the identifier property of this TargetEntry.
entity_type

[Required] Gets the entity_type of this TargetEntry. Resource entity type

Allowed values for this property are: “DATABASE”, “VMCLUSTER”, “CLOUDVMCLUSTER”

Returns:The entity_type of this TargetEntry.
Return type:str
identifier

[Required] Gets the identifier of this TargetEntry. Resource identifier OCID

Returns:The identifier of this TargetEntry.
Return type:str