UpgradeDbCollectionDetails

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

Bases: oci.fleet_software_update.models.upgrade_details.UpgradeDetails

Details of supported upgrade options for DB collection.

Attributes

COLLECTION_TYPE_DB str(object=’’) -> str
COLLECTION_TYPE_GI str(object=’’) -> str
collection_type [Required] Gets the collection_type of this UpgradeDetails.
is_recompile_invalid_objects Gets the is_recompile_invalid_objects of this UpgradeDbCollectionDetails.
is_time_zone_upgrade Gets the is_time_zone_upgrade of this UpgradeDbCollectionDetails.
max_drain_timeout_in_seconds 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'
COLLECTION_TYPE_GI = 'GI'
__init__(**kwargs)

Initializes a new UpgradeDbCollectionDetails object with values from keyword arguments. The default value of the collection_type attribute of this class is DB and 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”
  • 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.
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”, ‘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.

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
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
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