UpgradeDetails¶
- class oci.fleet_software_update.models.UpgradeDetails(**kwargs)¶
Bases:
objectDetails of supported upgrade options for DB or GI 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.
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_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 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”, “GUEST_OS”, “EXADB_STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- 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.