GiGoalSoftwareComponentDetails

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

Bases: oci.fleet_software_update.models.goal_software_component_details.GoalSoftwareComponentDetails

Details of goal version for ‘GI’ component in an ‘EXADB_STACK’ type Exadata Fleet Update Collection.

Attributes

COMPONENT_TYPE_GI str(object=’’) -> str
COMPONENT_TYPE_GUEST_OS str(object=’’) -> str
HOME_POLICY_CREATE_NEW A constant which can be used with the home_policy property of a GiGoalSoftwareComponentDetails.
HOME_POLICY_USE_EXISTING A constant which can be used with the home_policy property of a GiGoalSoftwareComponentDetails.
component_type [Required] Gets the component_type of this GoalSoftwareComponentDetails.
goal_version_details [Required] Gets the goal_version_details of this GiGoalSoftwareComponentDetails.
home_policy Gets the home_policy of this GiGoalSoftwareComponentDetails.
new_home_prefix Gets the new_home_prefix of this GiGoalSoftwareComponentDetails.

Methods

__init__(**kwargs) Initializes a new GiGoalSoftwareComponentDetails 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'
COMPONENT_TYPE_GUEST_OS = 'GUEST_OS'
HOME_POLICY_CREATE_NEW = 'CREATE_NEW'

A constant which can be used with the home_policy property of a GiGoalSoftwareComponentDetails. This constant has a value of “CREATE_NEW”

HOME_POLICY_USE_EXISTING = 'USE_EXISTING'

A constant which can be used with the home_policy property of a GiGoalSoftwareComponentDetails. This constant has a value of “USE_EXISTING”

__init__(**kwargs)

Initializes a new GiGoalSoftwareComponentDetails object with values from keyword arguments. The default value of the component_type attribute of this class is GI and it should not be changed. 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 GiGoalSoftwareComponentDetails. Allowed values for this property are: “GI”, “GUEST_OS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • goal_version_details (oci.fleet_software_update.models.GiGoalVersionDetails) – The value to assign to the goal_version_details property of this GiGoalSoftwareComponentDetails.
  • home_policy (str) – The value to assign to the home_policy property of this GiGoalSoftwareComponentDetails. Allowed values for this property are: “CREATE_NEW”, “USE_EXISTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • new_home_prefix (str) – The value to assign to the new_home_prefix property of this GiGoalSoftwareComponentDetails.
component_type

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

Allowed values for this property are: “GI”, “GUEST_OS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

goal_version_details

[Required] Gets the goal_version_details of this GiGoalSoftwareComponentDetails.

Returns:The goal_version_details of this GiGoalSoftwareComponentDetails.
Return type:oci.fleet_software_update.models.GiGoalVersionDetails
home_policy

Gets the home_policy of this GiGoalSoftwareComponentDetails. Goal home policy to use when Staging the Goal Version during patching. CREATE_NEW: Create a new DBHome (for Database Collections) for the specified image or version. USE_EXISTING: All database targets in the same VMCluster or CloudVmCluster will be moved to a shared database home.

If an existing home for the selected image or version is not found in the VM Cluster for a target database, then a new home will be created. If more than one existing home for the selected image is found, then the home with the least number of databases will be used. If multiple homes have the least number of databases, then a home will be selected at random.

Allowed values for this property are: “CREATE_NEW”, “USE_EXISTING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The home_policy of this GiGoalSoftwareComponentDetails.
Return type:str
new_home_prefix

Gets the new_home_prefix of this GiGoalSoftwareComponentDetails. Prefix name used for new DB home resources created as part of the Stage Action. Format: <specified_prefix>_<timestamp> If not specified, a default OCI DB home resource will be generated for the new DB home resources created.

Returns:The new_home_prefix of this GiGoalSoftwareComponentDetails.
Return type:str