ImageIdFsuTargetDetails¶
- class oci.fleet_software_update.models.ImageIdFsuTargetDetails(**kwargs)¶
Bases:
FsuGoalVersionDetailsThe Database service Database Software Image resource is required as goal version for the Exadata Fleet Update Maintenance Cycle when IMAGE_ID type is selected. Specify a Database Software Image of type DATABASE_IMAGE for a DB Collection. Specify a Database Software Image of type GRID_IMAGE for a GI Collection.
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 software_image_id of this ImageIdFsuTargetDetails.
[Required] Gets the type of this FsuGoalVersionDetails.
Methods:
__init__(**kwargs)Initializes a new ImageIdFsuTargetDetails 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 ImageIdFsuTargetDetails object with values from keyword arguments. The default value of the
typeattribute of this class isIMAGE_IDand it should not be changed. 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 ImageIdFsuTargetDetails. Allowed values for this property are: “VERSION”, “IMAGE_ID”, “EXADB_STACK”
is_older_version_acknowledged (bool) – The value to assign to the is_older_version_acknowledged property of this ImageIdFsuTargetDetails.
home_policy (str) – The value to assign to the home_policy property of this ImageIdFsuTargetDetails. Allowed values for this property are: “CREATE_NEW”, “USE_EXISTING”
new_home_prefix (str) – The value to assign to the new_home_prefix property of this ImageIdFsuTargetDetails.
software_image_id (str) – The value to assign to the software_image_id property of this ImageIdFsuTargetDetails.
- 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 software_image_id¶
[Required] Gets the software_image_id of this ImageIdFsuTargetDetails. The OCID of the goal database software image.
- Returns
The software_image_id of this ImageIdFsuTargetDetails.
- 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