DatabaseTargetSummary¶
- class oci.fleet_software_update.models.DatabaseTargetSummary(**kwargs)¶
Bases:
TargetDetailsDetails 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:
A constant which can be used with the entity_type property of a TargetDetails.
A constant which can be used with the entity_type property of a TargetDetails.
A constant which can be used with the entity_type property of a TargetDetails.
A constant which can be used with the entity_type property of a TargetDetails.
Gets the compartment_id of this TargetDetails.
Gets the db_home_id of this DatabaseTargetSummary.
[Required] Gets the entity_type of this TargetDetails.
Gets the id of this TargetDetails.
Gets the infrastructure_id of this DatabaseTargetSummary.
Gets the software_image_id of this DatabaseTargetSummary.
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'¶
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_EXADBVMCLUSTER = 'EXADBVMCLUSTER'¶
A constant which can be used with the entity_type property of a TargetDetails. This constant has a value of “EXADBVMCLUSTER”
- 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 DatabaseTargetSummary object with values from keyword arguments. The default value of the
entity_typeattribute of this class isDATABASEand 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”, “EXADBVMCLUSTER”
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.
- property compartment_id¶
Gets the compartment_id of this TargetDetails. Compartment identifier of the target.
- Returns
The compartment_id of this TargetDetails.
- Return type
str
- property 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
- property 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”, “EXADBVMCLUSTER”, ‘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.
- property 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
- property 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
- property 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
- property 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