DatabaseSoftwareImageSummary¶
- class oci.database.models.DatabaseSoftwareImageSummary(**kwargs)¶
Bases:
objectThe Database service supports the creation of database software images for use in creating and patching DB systems and databases.
To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies.
For information about access control and compartments, see Overview of the Identity Service.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Attributes:
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_type property of a DatabaseSoftwareImageSummary.
A constant which can be used with the image_type property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary.
[Required] Gets the compartment_id of this DatabaseSoftwareImageSummary.
Gets the database_software_image_included_patches of this DatabaseSoftwareImageSummary.
Gets the database_software_image_one_off_patches of this DatabaseSoftwareImageSummary.
[Required] Gets the database_version of this DatabaseSoftwareImageSummary.
Gets the defined_tags of this DatabaseSoftwareImageSummary.
[Required] Gets the display_name of this DatabaseSoftwareImageSummary.
Gets the freeform_tags of this DatabaseSoftwareImageSummary.
[Required] Gets the id of this DatabaseSoftwareImageSummary.
[Required] Gets the image_shape_family of this DatabaseSoftwareImageSummary.
[Required] Gets the image_type of this DatabaseSoftwareImageSummary.
Gets the included_patches_summary of this DatabaseSoftwareImageSummary.
Gets the is_older_version_acknowledgment_required of this DatabaseSoftwareImageSummary.
Gets the is_upgrade_supported of this DatabaseSoftwareImageSummary.
Gets the lifecycle_details of this DatabaseSoftwareImageSummary.
[Required] Gets the lifecycle_state of this DatabaseSoftwareImageSummary.
Gets the ls_inventory of this DatabaseSoftwareImageSummary.
[Required] Gets the patch_set of this DatabaseSoftwareImageSummary.
Gets the system_tags of this DatabaseSoftwareImageSummary.
[Required] Gets the time_created of this DatabaseSoftwareImageSummary.
Methods:
__init__(**kwargs)Initializes a new DatabaseSoftwareImageSummary object with values from keyword arguments.
- IMAGE_SHAPE_FAMILY_BDBCC_SHAPE = 'BDBCC_SHAPE'¶
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary. This constant has a value of “BDBCC_SHAPE”
- IMAGE_SHAPE_FAMILY_EXACC_SHAPE = 'EXACC_SHAPE'¶
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary. This constant has a value of “EXACC_SHAPE”
- IMAGE_SHAPE_FAMILY_EXADATA_SHAPE = 'EXADATA_SHAPE'¶
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary. This constant has a value of “EXADATA_SHAPE”
- IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE = 'EXADBXS_SHAPE'¶
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary. This constant has a value of “EXADBXS_SHAPE”
- IMAGE_SHAPE_FAMILY_VM_BM_SHAPE = 'VM_BM_SHAPE'¶
A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary. This constant has a value of “VM_BM_SHAPE”
- IMAGE_TYPE_DATABASE_IMAGE = 'DATABASE_IMAGE'¶
A constant which can be used with the image_type property of a DatabaseSoftwareImageSummary. This constant has a value of “DATABASE_IMAGE”
- IMAGE_TYPE_GRID_IMAGE = 'GRID_IMAGE'¶
A constant which can be used with the image_type property of a DatabaseSoftwareImageSummary. This constant has a value of “GRID_IMAGE”
- LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “AVAILABLE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “PROVISIONING”
- LIFECYCLE_STATE_TERMINATED = 'TERMINATED'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “TERMINATED”
- LIFECYCLE_STATE_TERMINATING = 'TERMINATING'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “TERMINATING”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DatabaseSoftwareImageSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new DatabaseSoftwareImageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this DatabaseSoftwareImageSummary.
compartment_id (str) – The value to assign to the compartment_id property of this DatabaseSoftwareImageSummary.
database_version (str) – The value to assign to the database_version property of this DatabaseSoftwareImageSummary.
display_name (str) – The value to assign to the display_name property of this DatabaseSoftwareImageSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatabaseSoftwareImageSummary. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “DELETING”, “DELETED”, “FAILED”, “TERMINATING”, “TERMINATED”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this DatabaseSoftwareImageSummary.
time_created (datetime) – The value to assign to the time_created property of this DatabaseSoftwareImageSummary.
image_type (str) – The value to assign to the image_type property of this DatabaseSoftwareImageSummary. Allowed values for this property are: “GRID_IMAGE”, “DATABASE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
image_shape_family (str) – The value to assign to the image_shape_family property of this DatabaseSoftwareImageSummary. Allowed values for this property are: “VM_BM_SHAPE”, “EXADATA_SHAPE”, “EXACC_SHAPE”, “EXADBXS_SHAPE”, “BDBCC_SHAPE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
patch_set (str) – The value to assign to the patch_set property of this DatabaseSoftwareImageSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatabaseSoftwareImageSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatabaseSoftwareImageSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatabaseSoftwareImageSummary.
database_software_image_included_patches (list[str]) – The value to assign to the database_software_image_included_patches property of this DatabaseSoftwareImageSummary.
included_patches_summary (str) – The value to assign to the included_patches_summary property of this DatabaseSoftwareImageSummary.
database_software_image_one_off_patches (list[str]) – The value to assign to the database_software_image_one_off_patches property of this DatabaseSoftwareImageSummary.
ls_inventory (str) – The value to assign to the ls_inventory property of this DatabaseSoftwareImageSummary.
is_upgrade_supported (bool) – The value to assign to the is_upgrade_supported property of this DatabaseSoftwareImageSummary.
is_older_version_acknowledgment_required (bool) – The value to assign to the is_older_version_acknowledgment_required property of this DatabaseSoftwareImageSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this DatabaseSoftwareImageSummary. The OCID of the compartment.
- Returns
The compartment_id of this DatabaseSoftwareImageSummary.
- Return type
str
- property database_software_image_included_patches¶
Gets the database_software_image_included_patches of this DatabaseSoftwareImageSummary. List of one-off patches for Database Homes.
- Returns
The database_software_image_included_patches of this DatabaseSoftwareImageSummary.
- Return type
list[str]
- property database_software_image_one_off_patches¶
Gets the database_software_image_one_off_patches of this DatabaseSoftwareImageSummary. List of one-off patches for Database Homes.
- Returns
The database_software_image_one_off_patches of this DatabaseSoftwareImageSummary.
- Return type
list[str]
- property database_version¶
[Required] Gets the database_version of this DatabaseSoftwareImageSummary. The database version with which the database software image is to be built.
- Returns
The database_version of this DatabaseSoftwareImageSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DatabaseSoftwareImageSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this DatabaseSoftwareImageSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this DatabaseSoftwareImageSummary. The user-friendly name for the database software image. The name does not have to be unique.
- Returns
The display_name of this DatabaseSoftwareImageSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DatabaseSoftwareImageSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this DatabaseSoftwareImageSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DatabaseSoftwareImageSummary. The OCID of the database software image.
- Returns
The id of this DatabaseSoftwareImageSummary.
- Return type
str
- property image_shape_family¶
[Required] Gets the image_shape_family of this DatabaseSoftwareImageSummary. To what shape the image is meant for.
Allowed values for this property are: “VM_BM_SHAPE”, “EXADATA_SHAPE”, “EXACC_SHAPE”, “EXADBXS_SHAPE”, “BDBCC_SHAPE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The image_shape_family of this DatabaseSoftwareImageSummary.
- Return type
str
- property image_type¶
[Required] Gets the image_type of this DatabaseSoftwareImageSummary. The type of software image. Can be grid or database.
Allowed values for this property are: “GRID_IMAGE”, “DATABASE_IMAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The image_type of this DatabaseSoftwareImageSummary.
- Return type
str
- property included_patches_summary¶
Gets the included_patches_summary of this DatabaseSoftwareImageSummary. The patches included in the image and the version of the image.
- Returns
The included_patches_summary of this DatabaseSoftwareImageSummary.
- Return type
str
- property is_older_version_acknowledgment_required¶
Gets the is_older_version_acknowledgment_required of this DatabaseSoftwareImageSummary. True when selecting or applying this DB, Grid Infrastructure, or operating system software version requires older-version acknowledgment.
- Returns
The is_older_version_acknowledgment_required of this DatabaseSoftwareImageSummary.
- Return type
bool
- property is_upgrade_supported¶
Gets the is_upgrade_supported of this DatabaseSoftwareImageSummary. True if this Database software image is supported for Upgrade.
- Returns
The is_upgrade_supported of this DatabaseSoftwareImageSummary.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this DatabaseSoftwareImageSummary. Detailed message for the lifecycle state.
- Returns
The lifecycle_details of this DatabaseSoftwareImageSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DatabaseSoftwareImageSummary. The current state of the database software image.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “DELETING”, “DELETED”, “FAILED”, “TERMINATING”, “TERMINATED”, “UPDATING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this DatabaseSoftwareImageSummary.
- Return type
str
- property ls_inventory¶
Gets the ls_inventory of this DatabaseSoftwareImageSummary. The output from the OPatch lsInventory command, which is passed as a string.
- Returns
The ls_inventory of this DatabaseSoftwareImageSummary.
- Return type
str
- property patch_set¶
[Required] Gets the patch_set of this DatabaseSoftwareImageSummary. The PSU or PBP or Release Updates. To get a list of supported versions, use the
list_db_versions()operation.- Returns
The patch_set of this DatabaseSoftwareImageSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this DatabaseSoftwareImageSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The system_tags of this DatabaseSoftwareImageSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this DatabaseSoftwareImageSummary. The date and time the database software image was created.
- Returns
The time_created of this DatabaseSoftwareImageSummary.
- Return type
datetime