DatabasesSummary¶
- class oci.dblm.models.DatabasesSummary(**kwargs)¶
Bases:
objectSummary of a databases.
Attributes:
A constant which can be used with the database_type property of a DatabasesSummary.
A constant which can be used with the database_type property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
A constant which can be used with the lifecycle_state property of a DatabasesSummary.
Gets the additional_patches of this DatabasesSummary.
Gets the current_patch_watermark of this DatabasesSummary.
[Required] Gets the database_id of this DatabasesSummary.
Gets the database_name of this DatabasesSummary.
Gets the database_type of this DatabasesSummary.
[Required] Gets the defined_tags of this DatabasesSummary.
[Required] Gets the freeform_tags of this DatabasesSummary.
Gets the host_or_cluster of this DatabasesSummary.
[Required] Gets the image_details of this DatabasesSummary.
Gets the lifecycle_state of this DatabasesSummary.
Gets the oracle_home_path of this DatabasesSummary.
[Required] Gets the patch_activity_details of this DatabasesSummary.
[Required] Gets the patch_compliance_details of this DatabasesSummary.
Gets the patch_user of this DatabasesSummary.
Gets the release of this DatabasesSummary.
Gets the release_full_version of this DatabasesSummary.
Gets the sudo_file_path of this DatabasesSummary.
Gets the system_tags of this DatabasesSummary.
Gets the vulnerabilities_summary of this DatabasesSummary.
Methods:
__init__(**kwargs)Initializes a new DatabasesSummary object with values from keyword arguments.
- DATABASE_TYPE_RAC = 'RAC'¶
A constant which can be used with the database_type property of a DatabasesSummary. This constant has a value of “RAC”
- DATABASE_TYPE_SI = 'SI'¶
A constant which can be used with the database_type property of a DatabasesSummary. This constant has a value of “SI”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DatabasesSummary. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new DatabasesSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
database_id (str) – The value to assign to the database_id property of this DatabasesSummary.
database_name (str) – The value to assign to the database_name property of this DatabasesSummary.
database_type (str) – The value to assign to the database_type property of this DatabasesSummary. Allowed values for this property are: “SI”, “RAC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
release (str) – The value to assign to the release property of this DatabasesSummary.
release_full_version (str) – The value to assign to the release_full_version property of this DatabasesSummary.
oracle_home_path (str) – The value to assign to the oracle_home_path property of this DatabasesSummary.
current_patch_watermark (str) – The value to assign to the current_patch_watermark property of this DatabasesSummary.
host_or_cluster (str) – The value to assign to the host_or_cluster property of this DatabasesSummary.
image_details (oci.dblm.models.ImageDetails) – The value to assign to the image_details property of this DatabasesSummary.
patch_compliance_details (oci.dblm.models.PatchComplianceDetails) – The value to assign to the patch_compliance_details property of this DatabasesSummary.
patch_activity_details (oci.dblm.models.PatchActivityDetails) – The value to assign to the patch_activity_details property of this DatabasesSummary.
patch_user (str) – The value to assign to the patch_user property of this DatabasesSummary.
sudo_file_path (str) – The value to assign to the sudo_file_path property of this DatabasesSummary.
additional_patches (list[oci.dblm.models.AdditionalPatches]) – The value to assign to the additional_patches property of this DatabasesSummary.
vulnerabilities_summary (object) – The value to assign to the vulnerabilities_summary property of this DatabasesSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DatabasesSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DatabasesSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DatabasesSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DatabasesSummary.
- property additional_patches¶
Gets the additional_patches of this DatabasesSummary. List of additional patches on database.
- Returns
The additional_patches of this DatabasesSummary.
- Return type
- property current_patch_watermark¶
Gets the current_patch_watermark of this DatabasesSummary. This is the hashcode representing the list of patches applied.
- Returns
The current_patch_watermark of this DatabasesSummary.
- Return type
str
- property database_id¶
[Required] Gets the database_id of this DatabasesSummary. Database ocid.
- Returns
The database_id of this DatabasesSummary.
- Return type
str
- property database_name¶
Gets the database_name of this DatabasesSummary. Database name.
- Returns
The database_name of this DatabasesSummary.
- Return type
str
- property database_type¶
Gets the database_type of this DatabasesSummary. Database type.
Allowed values for this property are: “SI”, “RAC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The database_type of this DatabasesSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this DatabasesSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this DatabasesSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
[Required] Gets the freeform_tags of this DatabasesSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this DatabasesSummary.
- Return type
dict(str, str)
- property host_or_cluster¶
Gets the host_or_cluster of this DatabasesSummary. For SI, hosted on host and for RAC, host on cluster.
- Returns
The host_or_cluster of this DatabasesSummary.
- Return type
str
- property image_details¶
[Required] Gets the image_details of this DatabasesSummary.
- Returns
The image_details of this DatabasesSummary.
- Return type
- property lifecycle_state¶
Gets the lifecycle_state of this DatabasesSummary. The current state of the database.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this DatabasesSummary.
- Return type
str
- property oracle_home_path¶
Gets the oracle_home_path of this DatabasesSummary. Path to the Oracle home.
- Returns
The oracle_home_path of this DatabasesSummary.
- Return type
str
- property patch_activity_details¶
[Required] Gets the patch_activity_details of this DatabasesSummary.
- Returns
The patch_activity_details of this DatabasesSummary.
- Return type
- property patch_compliance_details¶
[Required] Gets the patch_compliance_details of this DatabasesSummary.
- Returns
The patch_compliance_details of this DatabasesSummary.
- Return type
- property patch_user¶
Gets the patch_user of this DatabasesSummary. Intermediate user to be used for patching, created and maintained by customers. This user requires sudo access to switch as Oracle home owner and root user
- Returns
The patch_user of this DatabasesSummary.
- Return type
str
- property release¶
Gets the release of this DatabasesSummary. Database release.
- Returns
The release of this DatabasesSummary.
- Return type
str
- property release_full_version¶
Gets the release_full_version of this DatabasesSummary. Database release full version.
- Returns
The release_full_version of this DatabasesSummary.
- Return type
str
- property sudo_file_path¶
Gets the sudo_file_path of this DatabasesSummary. Path to sudo binary (executable) file
- Returns
The sudo_file_path of this DatabasesSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this DatabasesSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this DatabasesSummary.
- Return type
dict(str, dict(str, object))
- property vulnerabilities_summary¶
Gets the vulnerabilities_summary of this DatabasesSummary. Summary of vulnerabilities found in registered resources grouped by severity.
- Returns
The vulnerabilities_summary of this DatabasesSummary.
- Return type
object