UpgradeDetails

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

Bases: object

Details of supported upgrade options for DB or GI collection.

Attributes

COLLECTION_TYPE_DB A constant which can be used with the collection_type property of a UpgradeDetails.
COLLECTION_TYPE_GI A constant which can be used with the collection_type property of a UpgradeDetails.
collection_type [Required] Gets the collection_type of this UpgradeDetails.

Methods

__init__(**kwargs) Initializes a new UpgradeDetails 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_GI = 'GI'

A constant which can be used with the collection_type property of a UpgradeDetails. This constant has a value of “GI”

__init__(**kwargs)

Initializes a new UpgradeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 UpgradeDetails. 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’.
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.