UpgradeDbCollectionDetails¶
- class oci.fleet_software_update.models.UpgradeDbCollectionDetails(**kwargs)¶
Bases:
UpgradeDetailsDetails of supported upgrade options for DB collection.
Attributes:
A constant which can be used with the collection_type property of a UpgradeDetails.
A constant which can be used with the collection_type property of a UpgradeDetails.
A constant which can be used with the collection_type property of a UpgradeDetails.
A constant which can be used with the collection_type property of a UpgradeDetails.
[Required] Gets the collection_type of this UpgradeDetails.
Gets the is_recompile_invalid_objects of this UpgradeDbCollectionDetails.
Gets the is_time_zone_upgrade of this UpgradeDbCollectionDetails.
Gets the max_drain_timeout_in_seconds of this UpgradeDbCollectionDetails.
Methods:
__init__(**kwargs)Initializes a new UpgradeDbCollectionDetails 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.
- COLLECTION_TYPE_DB = 'DB'¶
A constant which can be used with the collection_type property of a UpgradeDetails. This constant has a value of “DB”
- COLLECTION_TYPE_EXADB_STACK = 'EXADB_STACK'¶
A constant which can be used with the collection_type property of a UpgradeDetails. This constant has a value of “EXADB_STACK”
- COLLECTION_TYPE_GI = 'GI'¶
A constant which can be used with the collection_type property of a UpgradeDetails. This constant has a value of “GI”
- COLLECTION_TYPE_GUEST_OS = 'GUEST_OS'¶
A constant which can be used with the collection_type property of a UpgradeDetails. This constant has a value of “GUEST_OS”
- __init__(**kwargs)¶
Initializes a new UpgradeDbCollectionDetails object with values from keyword arguments. The default value of the
collection_typeattribute of this class isDBand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
collection_type (str) – The value to assign to the collection_type property of this UpgradeDbCollectionDetails. Allowed values for this property are: “DB”, “GI”, “GUEST_OS”, “EXADB_STACK”
is_time_zone_upgrade (bool) – The value to assign to the is_time_zone_upgrade property of this UpgradeDbCollectionDetails.
is_recompile_invalid_objects (bool) – The value to assign to the is_recompile_invalid_objects property of this UpgradeDbCollectionDetails.
max_drain_timeout_in_seconds (int) – The value to assign to the max_drain_timeout_in_seconds property of this UpgradeDbCollectionDetails.
- property collection_type¶
[Required] Gets the collection_type of this UpgradeDetails. Type of Exadata Fleet Update collection being upgraded.
Allowed values for this property are: “DB”, “GI”, “GUEST_OS”, “EXADB_STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The collection_type of this UpgradeDetails.
- 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 is_recompile_invalid_objects¶
Gets the is_recompile_invalid_objects of this UpgradeDbCollectionDetails. Enables or disables the recompilation of invalid objects.
- Returns
The is_recompile_invalid_objects of this UpgradeDbCollectionDetails.
- Return type
bool
- property is_time_zone_upgrade¶
Gets the is_time_zone_upgrade of this UpgradeDbCollectionDetails. Enables or disables time zone upgrade.
- Returns
The is_time_zone_upgrade of this UpgradeDbCollectionDetails.
- Return type
bool
- property max_drain_timeout_in_seconds¶
Gets the max_drain_timeout_in_seconds of this UpgradeDbCollectionDetails. Service drain timeout specified in seconds.
- Returns
The max_drain_timeout_in_seconds of this UpgradeDbCollectionDetails.
- Return type
int