ImageIdFsuTargetDetails

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

Bases: oci.fleet_software_update.models.fsu_goal_version_details.FsuGoalVersionDetails

The 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

HOME_POLICY_CREATE_NEW str(object=’’) -> str
HOME_POLICY_USE_EXISTING str(object=’’) -> str
TYPE_IMAGE_ID str(object=’’) -> str
TYPE_VERSION str(object=’’) -> str
home_policy Gets the home_policy of this FsuGoalVersionDetails.
new_home_prefix Gets the new_home_prefix of this FsuGoalVersionDetails.
software_image_id [Required] Gets the software_image_id of this ImageIdFsuTargetDetails.
type [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'
HOME_POLICY_USE_EXISTING = 'USE_EXISTING'
TYPE_IMAGE_ID = 'IMAGE_ID'
TYPE_VERSION = 'VERSION'
__init__(**kwargs)

Initializes a new ImageIdFsuTargetDetails object with values from keyword arguments. The default value of the type attribute of this class is IMAGE_ID and 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”
  • 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.

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
software_image_id

[Required] Gets the software_image_id of this ImageIdFsuTargetDetails. Target database software image OCID.

Returns:The software_image_id of this ImageIdFsuTargetDetails.
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