FsuGoalVersionDetails

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

Bases: object

Goal version or image details for the Exadata Fleet Update Cycle.

Attributes

HOME_POLICY_CREATE_NEW A constant which can be used with the home_policy property of a FsuGoalVersionDetails.
HOME_POLICY_USE_EXISTING A constant which can be used with the home_policy property of a FsuGoalVersionDetails.
TYPE_IMAGE_ID A constant which can be used with the type property of a FsuGoalVersionDetails.
TYPE_VERSION A constant which can be used with the type property of a FsuGoalVersionDetails.
home_policy Gets the home_policy of this FsuGoalVersionDetails.
new_home_prefix Gets the new_home_prefix of this FsuGoalVersionDetails.
type [Required] Gets the type of this FsuGoalVersionDetails.

Methods

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

A constant which can be used with the home_policy property of a FsuGoalVersionDetails. 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 FsuGoalVersionDetails. This constant has a value of “USE_EXISTING”

TYPE_IMAGE_ID = 'IMAGE_ID'

A constant which can be used with the type property of a FsuGoalVersionDetails. This constant has a value of “IMAGE_ID”

TYPE_VERSION = 'VERSION'

A constant which can be used with the type property of a FsuGoalVersionDetails. This constant has a value of “VERSION”

__init__(**kwargs)

Initializes a new FsuGoalVersionDetails 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:
  • type (str) – The value to assign to the type property of this FsuGoalVersionDetails. Allowed values for this property are: “VERSION”, “IMAGE_ID”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • home_policy (str) – The value to assign to the home_policy property of this FsuGoalVersionDetails. 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 FsuGoalVersionDetails.
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.

home_policy

Gets the home_policy of this FsuGoalVersionDetails. 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 FsuGoalVersionDetails.
Return type:str
new_home_prefix

Gets the new_home_prefix of this FsuGoalVersionDetails. 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 FsuGoalVersionDetails.
Return type:str
type

[Required] Gets the type of this FsuGoalVersionDetails. Type of goal target version specified

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

Returns:The type of this FsuGoalVersionDetails.
Return type:str