DatabaseTargetSummary

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

Bases: oci.fleet_software_update.models.target_details.TargetDetails

Details of a Database target member of a Exadata Fleet Update Collection. Stored references of the resource documented in https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/

Attributes

ENTITY_TYPE_CLOUDVMCLUSTER str(object=’’) -> str
ENTITY_TYPE_DATABASE str(object=’’) -> str
ENTITY_TYPE_VMCLUSTER str(object=’’) -> str
compartment_id Gets the compartment_id of this TargetDetails.
db_home_id Gets the db_home_id of this DatabaseTargetSummary.
entity_type [Required] Gets the entity_type of this TargetDetails.
id Gets the id of this TargetDetails.
infrastructure_id Gets the infrastructure_id of this DatabaseTargetSummary.
software_image_id Gets the software_image_id of this DatabaseTargetSummary.
vm_cluster_id Gets the vm_cluster_id of this DatabaseTargetSummary.

Methods

__init__(**kwargs) Initializes a new DatabaseTargetSummary 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'
ENTITY_TYPE_DATABASE = 'DATABASE'
ENTITY_TYPE_VMCLUSTER = 'VMCLUSTER'
__init__(**kwargs)

Initializes a new DatabaseTargetSummary object with values from keyword arguments. The default value of the entity_type attribute of this class is DATABASE and it should not be changed. 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 DatabaseTargetSummary. Allowed values for this property are: “DATABASE”, “VMCLUSTER”, “CLOUDVMCLUSTER”
  • id (str) – The value to assign to the id property of this DatabaseTargetSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this DatabaseTargetSummary.
  • db_home_id (str) – The value to assign to the db_home_id property of this DatabaseTargetSummary.
  • vm_cluster_id (str) – The value to assign to the vm_cluster_id property of this DatabaseTargetSummary.
  • infrastructure_id (str) – The value to assign to the infrastructure_id property of this DatabaseTargetSummary.
  • software_image_id (str) – The value to assign to the software_image_id property of this DatabaseTargetSummary.
compartment_id

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

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

Gets the db_home_id of this DatabaseTargetSummary. OCID of the database home.

Returns:The db_home_id of this DatabaseTargetSummary.
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
infrastructure_id

Gets the infrastructure_id of this DatabaseTargetSummary. OCID of the related Exadata Infrastructure or Cloud Exadata Infrastructure resource.

Returns:The infrastructure_id of this DatabaseTargetSummary.
Return type:str
software_image_id

Gets the software_image_id of this DatabaseTargetSummary. OCID of the Database sofware image.

Returns:The software_image_id of this DatabaseTargetSummary.
Return type:str
vm_cluster_id

Gets the vm_cluster_id of this DatabaseTargetSummary. OCID of the related VM Cluster or Cloud VM Cluster.

Returns:The vm_cluster_id of this DatabaseTargetSummary.
Return type:str