CreateSoftwareComponentDetails

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

Bases: object

Details to create a component in an Exadata software stack.

Attributes

COMPONENT_TYPE_GI A constant which can be used with the component_type property of a CreateSoftwareComponentDetails.
COMPONENT_TYPE_GUEST_OS A constant which can be used with the component_type property of a CreateSoftwareComponentDetails.
component_type [Required] Gets the component_type of this CreateSoftwareComponentDetails.

Methods

__init__(**kwargs) Initializes a new CreateSoftwareComponentDetails 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.
COMPONENT_TYPE_GI = 'GI'

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

COMPONENT_TYPE_GUEST_OS = 'GUEST_OS'

A constant which can be used with the component_type property of a CreateSoftwareComponentDetails. This constant has a value of “GUEST_OS”

__init__(**kwargs)

Initializes a new CreateSoftwareComponentDetails 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:component_type (str) – The value to assign to the component_type property of this CreateSoftwareComponentDetails. Allowed values for this property are: “GI”, “GUEST_OS”
component_type

[Required] Gets the component_type of this CreateSoftwareComponentDetails. Type of component in an Exadata software stack.

Allowed values for this property are: “GI”, “GUEST_OS”

Returns:The component_type of this CreateSoftwareComponentDetails.
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.