InfrastructureTargetVersion¶
- class oci.database.models.InfrastructureTargetVersion(**kwargs)¶
Bases:
objectInfrastructure target version details.
Attributes:
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion.
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion.
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion.
[Required] Gets the target_db_version_history_entry of this InfrastructureTargetVersion.
Gets the target_resource_id of this InfrastructureTargetVersion.
Gets the target_resource_type of this InfrastructureTargetVersion.
[Required] Gets the target_storage_version_history_entry of this InfrastructureTargetVersion.
Methods:
__init__(**kwargs)Initializes a new InfrastructureTargetVersion object with values from keyword arguments.
- TARGET_RESOURCE_TYPE_CLOUD_EXADATA_INFRASTRUCTURE = 'CLOUD_EXADATA_INFRASTRUCTURE'¶
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion. This constant has a value of “CLOUD_EXADATA_INFRASTRUCTURE”
- TARGET_RESOURCE_TYPE_EXACC_INFRASTRUCTURE = 'EXACC_INFRASTRUCTURE'¶
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion. This constant has a value of “EXACC_INFRASTRUCTURE”
- TARGET_RESOURCE_TYPE_EXADATA_DB_SYSTEM = 'EXADATA_DB_SYSTEM'¶
A constant which can be used with the target_resource_type property of a InfrastructureTargetVersion. This constant has a value of “EXADATA_DB_SYSTEM”
- __init__(**kwargs)¶
Initializes a new InfrastructureTargetVersion object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
target_db_version_history_entry (list[str]) – The value to assign to the target_db_version_history_entry property of this InfrastructureTargetVersion.
target_storage_version_history_entry (list[str]) – The value to assign to the target_storage_version_history_entry property of this InfrastructureTargetVersion.
target_resource_type (str) – The value to assign to the target_resource_type property of this InfrastructureTargetVersion. Allowed values for this property are: “EXADATA_DB_SYSTEM”, “CLOUD_EXADATA_INFRASTRUCTURE”, “EXACC_INFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
target_resource_id (str) – The value to assign to the target_resource_id property of this InfrastructureTargetVersion.
- property target_db_version_history_entry¶
[Required] Gets the target_db_version_history_entry of this InfrastructureTargetVersion. The history entry of the target system software version for the database server patching operation.
- Returns
The target_db_version_history_entry of this InfrastructureTargetVersion.
- Return type
list[str]
- property target_resource_id¶
Gets the target_resource_id of this InfrastructureTargetVersion. The OCID of the target Exadata Infrastructure resource that will receive the maintenance update.
- Returns
The target_resource_id of this InfrastructureTargetVersion.
- Return type
str
- property target_resource_type¶
Gets the target_resource_type of this InfrastructureTargetVersion. The resource type of the target Exadata infrastructure resource that will receive the system software update.
Allowed values for this property are: “EXADATA_DB_SYSTEM”, “CLOUD_EXADATA_INFRASTRUCTURE”, “EXACC_INFRASTRUCTURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The target_resource_type of this InfrastructureTargetVersion.
- Return type
str
- property target_storage_version_history_entry¶
[Required] Gets the target_storage_version_history_entry of this InfrastructureTargetVersion. The history entry of the target storage cell system software version for the storage cell patching operation.
- Returns
The target_storage_version_history_entry of this InfrastructureTargetVersion.
- Return type
list[str]