FsuGoalVersionDetails¶
- class oci.fleet_software_update.models.FsuGoalVersionDetails(**kwargs)¶
Bases:
objectGoal version or image details for the Exadata Fleet Update Cycle.
Attributes:
A constant which can be used with the home_policy property of a FsuGoalVersionDetails.
A constant which can be used with the home_policy property of a FsuGoalVersionDetails.
A constant which can be used with the type property of a FsuGoalVersionDetails.
A constant which can be used with the type property of a FsuGoalVersionDetails.
A constant which can be used with the type property of a FsuGoalVersionDetails.
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.
Gets the is_older_version_acknowledged of this FsuGoalVersionDetails.
Gets the new_home_prefix of this FsuGoalVersionDetails.
[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_EXADB_STACK = 'EXADB_STACK'¶
A constant which can be used with the type property of a FsuGoalVersionDetails. This constant has a value of “EXADB_STACK”
- 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”, “EXADB_STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this FsuGoalVersionDetails.
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.
- property 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
- property is_older_version_acknowledged¶
Gets the is_older_version_acknowledged of this FsuGoalVersionDetails. Indicates whether the customer acknowledged the risk of selecting an older eligible software version for this Exadata Fleet Update Cycle. This value is used for downstream Database service APIs that requires older-version acknowledgement.
- Returns
The is_older_version_acknowledged of this FsuGoalVersionDetails.
- Return type
bool
- property 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
- property type¶
[Required] Gets the type of this FsuGoalVersionDetails. Type of goal version specified
Allowed values for this property are: “VERSION”, “IMAGE_ID”, “EXADB_STACK”, ‘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