AutonomousDatabase

class oci.database.models.AutonomousDatabase(**kwargs)

Bases: object

An Oracle Autonomous Database.

Attributes

DATA_SAFE_STATUS_DEREGISTERING A constant which can be used with the data_safe_status property of a AutonomousDatabase.
DATA_SAFE_STATUS_FAILED A constant which can be used with the data_safe_status property of a AutonomousDatabase.
DATA_SAFE_STATUS_NOT_REGISTERED A constant which can be used with the data_safe_status property of a AutonomousDatabase.
DATA_SAFE_STATUS_REGISTERED A constant which can be used with the data_safe_status property of a AutonomousDatabase.
DATA_SAFE_STATUS_REGISTERING A constant which can be used with the data_safe_status property of a AutonomousDatabase.
DB_WORKLOAD_AJD A constant which can be used with the db_workload property of a AutonomousDatabase.
DB_WORKLOAD_DW A constant which can be used with the db_workload property of a AutonomousDatabase.
DB_WORKLOAD_OLTP A constant which can be used with the db_workload property of a AutonomousDatabase.
INFRASTRUCTURE_TYPE_CLOUD A constant which can be used with the infrastructure_type property of a AutonomousDatabase.
INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER A constant which can be used with the infrastructure_type property of a AutonomousDatabase.
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE A constant which can be used with the license_model property of a AutonomousDatabase.
LICENSE_MODEL_LICENSE_INCLUDED A constant which can be used with the license_model property of a AutonomousDatabase.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_BACKUP_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_RECREATING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_RESTARTING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_RESTORE_FAILED A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_RESTORE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_SCALE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_STARTING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_STOPPED A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_STOPPING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_UNAVAILABLE A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
LIFECYCLE_STATE_UPGRADING A constant which can be used with the lifecycle_state property of a AutonomousDatabase.
OPEN_MODE_READ_ONLY A constant which can be used with the open_mode property of a AutonomousDatabase.
OPEN_MODE_READ_WRITE A constant which can be used with the open_mode property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_DISABLING A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_ENABLED A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_ENABLING A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_FAILED_DISABLING A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_FAILED_ENABLING A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
OPERATIONS_INSIGHTS_STATUS_NOT_ENABLED A constant which can be used with the operations_insights_status property of a AutonomousDatabase.
PERMISSION_LEVEL_RESTRICTED A constant which can be used with the permission_level property of a AutonomousDatabase.
PERMISSION_LEVEL_UNRESTRICTED A constant which can be used with the permission_level property of a AutonomousDatabase.
REFRESHABLE_MODE_AUTOMATIC A constant which can be used with the refreshable_mode property of a AutonomousDatabase.
REFRESHABLE_MODE_MANUAL A constant which can be used with the refreshable_mode property of a AutonomousDatabase.
REFRESHABLE_STATUS_NOT_REFRESHING A constant which can be used with the refreshable_status property of a AutonomousDatabase.
REFRESHABLE_STATUS_REFRESHING A constant which can be used with the refreshable_status property of a AutonomousDatabase.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a AutonomousDatabase.
ROLE_PRIMARY A constant which can be used with the role property of a AutonomousDatabase.
ROLE_STANDBY A constant which can be used with the role property of a AutonomousDatabase.
autonomous_container_database_id Gets the autonomous_container_database_id of this AutonomousDatabase.
available_upgrade_versions Gets the available_upgrade_versions of this AutonomousDatabase.
compartment_id [Required] Gets the compartment_id of this AutonomousDatabase.
connection_strings Gets the connection_strings of this AutonomousDatabase.
connection_urls Gets the connection_urls of this AutonomousDatabase.
cpu_core_count [Required] Gets the cpu_core_count of this AutonomousDatabase.
data_safe_status Gets the data_safe_status of this AutonomousDatabase.
data_storage_size_in_tbs [Required] Gets the data_storage_size_in_tbs of this AutonomousDatabase.
db_name [Required] Gets the db_name of this AutonomousDatabase.
db_version Gets the db_version of this AutonomousDatabase.
db_workload Gets the db_workload of this AutonomousDatabase.
defined_tags Gets the defined_tags of this AutonomousDatabase.
display_name Gets the display_name of this AutonomousDatabase.
failed_data_recovery_in_seconds Gets the failed_data_recovery_in_seconds of this AutonomousDatabase.
freeform_tags Gets the freeform_tags of this AutonomousDatabase.
id [Required] Gets the id of this AutonomousDatabase.
infrastructure_type Gets the infrastructure_type of this AutonomousDatabase.
is_auto_scaling_enabled Gets the is_auto_scaling_enabled of this AutonomousDatabase.
is_data_guard_enabled Gets the is_data_guard_enabled of this AutonomousDatabase.
is_dedicated Gets the is_dedicated of this AutonomousDatabase.
is_free_tier Gets the is_free_tier of this AutonomousDatabase.
is_preview Gets the is_preview of this AutonomousDatabase.
is_refreshable_clone Gets the is_refreshable_clone of this AutonomousDatabase.
license_model Gets the license_model of this AutonomousDatabase.
lifecycle_details Gets the lifecycle_details of this AutonomousDatabase.
lifecycle_state [Required] Gets the lifecycle_state of this AutonomousDatabase.
nsg_ids Gets the nsg_ids of this AutonomousDatabase.
open_mode Gets the open_mode of this AutonomousDatabase.
operations_insights_status Gets the operations_insights_status of this AutonomousDatabase.
permission_level Gets the permission_level of this AutonomousDatabase.
private_endpoint Gets the private_endpoint of this AutonomousDatabase.
private_endpoint_ip Gets the private_endpoint_ip of this AutonomousDatabase.
private_endpoint_label Gets the private_endpoint_label of this AutonomousDatabase.
refreshable_mode Gets the refreshable_mode of this AutonomousDatabase.
refreshable_status Gets the refreshable_status of this AutonomousDatabase.
role Gets the role of this AutonomousDatabase.
service_console_url Gets the service_console_url of this AutonomousDatabase.
source_id Gets the source_id of this AutonomousDatabase.
standby_db Gets the standby_db of this AutonomousDatabase.
subnet_id Gets the subnet_id of this AutonomousDatabase.
system_tags Gets the system_tags of this AutonomousDatabase.
time_created Gets the time_created of this AutonomousDatabase.
time_deletion_of_free_autonomous_database Gets the time_deletion_of_free_autonomous_database of this AutonomousDatabase.
time_maintenance_begin Gets the time_maintenance_begin of this AutonomousDatabase.
time_maintenance_end Gets the time_maintenance_end of this AutonomousDatabase.
time_of_last_failover Gets the time_of_last_failover of this AutonomousDatabase.
time_of_last_refresh Gets the time_of_last_refresh of this AutonomousDatabase.
time_of_last_refresh_point Gets the time_of_last_refresh_point of this AutonomousDatabase.
time_of_last_switchover Gets the time_of_last_switchover of this AutonomousDatabase.
time_of_next_refresh Gets the time_of_next_refresh of this AutonomousDatabase.
time_reclamation_of_free_autonomous_database Gets the time_reclamation_of_free_autonomous_database of this AutonomousDatabase.
used_data_storage_size_in_tbs Gets the used_data_storage_size_in_tbs of this AutonomousDatabase.
whitelisted_ips Gets the whitelisted_ips of this AutonomousDatabase.

Methods

__init__(**kwargs) Initializes a new AutonomousDatabase object with values from keyword arguments.
DATA_SAFE_STATUS_DEREGISTERING = 'DEREGISTERING'

A constant which can be used with the data_safe_status property of a AutonomousDatabase. This constant has a value of “DEREGISTERING”

DATA_SAFE_STATUS_FAILED = 'FAILED'

A constant which can be used with the data_safe_status property of a AutonomousDatabase. This constant has a value of “FAILED”

DATA_SAFE_STATUS_NOT_REGISTERED = 'NOT_REGISTERED'

A constant which can be used with the data_safe_status property of a AutonomousDatabase. This constant has a value of “NOT_REGISTERED”

DATA_SAFE_STATUS_REGISTERED = 'REGISTERED'

A constant which can be used with the data_safe_status property of a AutonomousDatabase. This constant has a value of “REGISTERED”

DATA_SAFE_STATUS_REGISTERING = 'REGISTERING'

A constant which can be used with the data_safe_status property of a AutonomousDatabase. This constant has a value of “REGISTERING”

DB_WORKLOAD_AJD = 'AJD'

A constant which can be used with the db_workload property of a AutonomousDatabase. This constant has a value of “AJD”

DB_WORKLOAD_DW = 'DW'

A constant which can be used with the db_workload property of a AutonomousDatabase. This constant has a value of “DW”

DB_WORKLOAD_OLTP = 'OLTP'

A constant which can be used with the db_workload property of a AutonomousDatabase. This constant has a value of “OLTP”

INFRASTRUCTURE_TYPE_CLOUD = 'CLOUD'

A constant which can be used with the infrastructure_type property of a AutonomousDatabase. This constant has a value of “CLOUD”

INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'

A constant which can be used with the infrastructure_type property of a AutonomousDatabase. This constant has a value of “CLOUD_AT_CUSTOMER”

LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'

A constant which can be used with the license_model property of a AutonomousDatabase. This constant has a value of “BRING_YOUR_OWN_LICENSE”

LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'

A constant which can be used with the license_model property of a AutonomousDatabase. This constant has a value of “LICENSE_INCLUDED”

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = 'AVAILABLE_NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “AVAILABLE_NEEDS_ATTENTION”

LIFECYCLE_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “BACKUP_IN_PROGRESS”

LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = 'MAINTENANCE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “MAINTENANCE_IN_PROGRESS”

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “PROVISIONING”

LIFECYCLE_STATE_RECREATING = 'RECREATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “RECREATING”

LIFECYCLE_STATE_RESTARTING = 'RESTARTING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “RESTARTING”

LIFECYCLE_STATE_RESTORE_FAILED = 'RESTORE_FAILED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “RESTORE_FAILED”

LIFECYCLE_STATE_RESTORE_IN_PROGRESS = 'RESTORE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “RESTORE_IN_PROGRESS”

LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = 'ROLE_CHANGE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “ROLE_CHANGE_IN_PROGRESS”

LIFECYCLE_STATE_SCALE_IN_PROGRESS = 'SCALE_IN_PROGRESS'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “SCALE_IN_PROGRESS”

LIFECYCLE_STATE_STARTING = 'STARTING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “STARTING”

LIFECYCLE_STATE_STOPPED = 'STOPPED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “STOPPED”

LIFECYCLE_STATE_STOPPING = 'STOPPING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “STOPPING”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “TERMINATING”

LIFECYCLE_STATE_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “UNAVAILABLE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “UPDATING”

LIFECYCLE_STATE_UPGRADING = 'UPGRADING'

A constant which can be used with the lifecycle_state property of a AutonomousDatabase. This constant has a value of “UPGRADING”

OPEN_MODE_READ_ONLY = 'READ_ONLY'

A constant which can be used with the open_mode property of a AutonomousDatabase. This constant has a value of “READ_ONLY”

OPEN_MODE_READ_WRITE = 'READ_WRITE'

A constant which can be used with the open_mode property of a AutonomousDatabase. This constant has a value of “READ_WRITE”

OPERATIONS_INSIGHTS_STATUS_DISABLING = 'DISABLING'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “DISABLING”

OPERATIONS_INSIGHTS_STATUS_ENABLED = 'ENABLED'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “ENABLED”

OPERATIONS_INSIGHTS_STATUS_ENABLING = 'ENABLING'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “ENABLING”

OPERATIONS_INSIGHTS_STATUS_FAILED_DISABLING = 'FAILED_DISABLING'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “FAILED_DISABLING”

OPERATIONS_INSIGHTS_STATUS_FAILED_ENABLING = 'FAILED_ENABLING'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “FAILED_ENABLING”

OPERATIONS_INSIGHTS_STATUS_NOT_ENABLED = 'NOT_ENABLED'

A constant which can be used with the operations_insights_status property of a AutonomousDatabase. This constant has a value of “NOT_ENABLED”

PERMISSION_LEVEL_RESTRICTED = 'RESTRICTED'

A constant which can be used with the permission_level property of a AutonomousDatabase. This constant has a value of “RESTRICTED”

PERMISSION_LEVEL_UNRESTRICTED = 'UNRESTRICTED'

A constant which can be used with the permission_level property of a AutonomousDatabase. This constant has a value of “UNRESTRICTED”

REFRESHABLE_MODE_AUTOMATIC = 'AUTOMATIC'

A constant which can be used with the refreshable_mode property of a AutonomousDatabase. This constant has a value of “AUTOMATIC”

REFRESHABLE_MODE_MANUAL = 'MANUAL'

A constant which can be used with the refreshable_mode property of a AutonomousDatabase. This constant has a value of “MANUAL”

REFRESHABLE_STATUS_NOT_REFRESHING = 'NOT_REFRESHING'

A constant which can be used with the refreshable_status property of a AutonomousDatabase. This constant has a value of “NOT_REFRESHING”

REFRESHABLE_STATUS_REFRESHING = 'REFRESHING'

A constant which can be used with the refreshable_status property of a AutonomousDatabase. This constant has a value of “REFRESHING”

ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

A constant which can be used with the role property of a AutonomousDatabase. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a AutonomousDatabase. This constant has a value of “PRIMARY”

ROLE_STANDBY = 'STANDBY'

A constant which can be used with the role property of a AutonomousDatabase. This constant has a value of “STANDBY”

__init__(**kwargs)

Initializes a new AutonomousDatabase 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 AutonomousDatabase.
  • compartment_id (str) – The value to assign to the compartment_id property of this AutonomousDatabase.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AutonomousDatabase. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “UNAVAILABLE”, “RESTORE_IN_PROGRESS”, “RESTORE_FAILED”, “BACKUP_IN_PROGRESS”, “SCALE_IN_PROGRESS”, “AVAILABLE_NEEDS_ATTENTION”, “UPDATING”, “MAINTENANCE_IN_PROGRESS”, “RESTARTING”, “RECREATING”, “ROLE_CHANGE_IN_PROGRESS”, “UPGRADING”, ‘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 AutonomousDatabase.
  • db_name (str) – The value to assign to the db_name property of this AutonomousDatabase.
  • is_free_tier (bool) – The value to assign to the is_free_tier property of this AutonomousDatabase.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AutonomousDatabase.
  • time_reclamation_of_free_autonomous_database (datetime) – The value to assign to the time_reclamation_of_free_autonomous_database property of this AutonomousDatabase.
  • time_deletion_of_free_autonomous_database (datetime) – The value to assign to the time_deletion_of_free_autonomous_database property of this AutonomousDatabase.
  • cpu_core_count (int) – The value to assign to the cpu_core_count property of this AutonomousDatabase.
  • data_storage_size_in_tbs (int) – The value to assign to the data_storage_size_in_tbs property of this AutonomousDatabase.
  • infrastructure_type (str) – The value to assign to the infrastructure_type property of this AutonomousDatabase. Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_dedicated (bool) – The value to assign to the is_dedicated property of this AutonomousDatabase.
  • autonomous_container_database_id (str) – The value to assign to the autonomous_container_database_id property of this AutonomousDatabase.
  • time_created (datetime) – The value to assign to the time_created property of this AutonomousDatabase.
  • display_name (str) – The value to assign to the display_name property of this AutonomousDatabase.
  • service_console_url (str) – The value to assign to the service_console_url property of this AutonomousDatabase.
  • connection_strings (AutonomousDatabaseConnectionStrings) – The value to assign to the connection_strings property of this AutonomousDatabase.
  • connection_urls (AutonomousDatabaseConnectionUrls) – The value to assign to the connection_urls property of this AutonomousDatabase.
  • license_model (str) – The value to assign to the license_model property of this AutonomousDatabase. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • used_data_storage_size_in_tbs (int) – The value to assign to the used_data_storage_size_in_tbs property of this AutonomousDatabase.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AutonomousDatabase.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AutonomousDatabase.
  • subnet_id (str) – The value to assign to the subnet_id property of this AutonomousDatabase.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this AutonomousDatabase.
  • private_endpoint (str) – The value to assign to the private_endpoint property of this AutonomousDatabase.
  • private_endpoint_label (str) – The value to assign to the private_endpoint_label property of this AutonomousDatabase.
  • private_endpoint_ip (str) – The value to assign to the private_endpoint_ip property of this AutonomousDatabase.
  • db_version (str) – The value to assign to the db_version property of this AutonomousDatabase.
  • is_preview (bool) – The value to assign to the is_preview property of this AutonomousDatabase.
  • db_workload (str) – The value to assign to the db_workload property of this AutonomousDatabase. Allowed values for this property are: “OLTP”, “DW”, “AJD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • whitelisted_ips (list[str]) – The value to assign to the whitelisted_ips property of this AutonomousDatabase.
  • is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this AutonomousDatabase.
  • data_safe_status (str) – The value to assign to the data_safe_status property of this AutonomousDatabase. Allowed values for this property are: “REGISTERING”, “REGISTERED”, “DEREGISTERING”, “NOT_REGISTERED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • operations_insights_status (str) – The value to assign to the operations_insights_status property of this AutonomousDatabase. Allowed values for this property are: “ENABLING”, “ENABLED”, “DISABLING”, “NOT_ENABLED”, “FAILED_ENABLING”, “FAILED_DISABLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_maintenance_begin (datetime) – The value to assign to the time_maintenance_begin property of this AutonomousDatabase.
  • time_maintenance_end (datetime) – The value to assign to the time_maintenance_end property of this AutonomousDatabase.
  • is_refreshable_clone (bool) – The value to assign to the is_refreshable_clone property of this AutonomousDatabase.
  • time_of_last_refresh (datetime) – The value to assign to the time_of_last_refresh property of this AutonomousDatabase.
  • time_of_last_refresh_point (datetime) – The value to assign to the time_of_last_refresh_point property of this AutonomousDatabase.
  • time_of_next_refresh (datetime) – The value to assign to the time_of_next_refresh property of this AutonomousDatabase.
  • open_mode (str) – The value to assign to the open_mode property of this AutonomousDatabase. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • refreshable_status (str) – The value to assign to the refreshable_status property of this AutonomousDatabase. Allowed values for this property are: “REFRESHING”, “NOT_REFRESHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • refreshable_mode (str) – The value to assign to the refreshable_mode property of this AutonomousDatabase. Allowed values for this property are: “AUTOMATIC”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • source_id (str) – The value to assign to the source_id property of this AutonomousDatabase.
  • permission_level (str) – The value to assign to the permission_level property of this AutonomousDatabase. Allowed values for this property are: “RESTRICTED”, “UNRESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_of_last_switchover (datetime) – The value to assign to the time_of_last_switchover property of this AutonomousDatabase.
  • time_of_last_failover (datetime) – The value to assign to the time_of_last_failover property of this AutonomousDatabase.
  • is_data_guard_enabled (bool) – The value to assign to the is_data_guard_enabled property of this AutonomousDatabase.
  • failed_data_recovery_in_seconds (int) – The value to assign to the failed_data_recovery_in_seconds property of this AutonomousDatabase.
  • standby_db (AutonomousDatabaseStandbySummary) – The value to assign to the standby_db property of this AutonomousDatabase.
  • role (str) – The value to assign to the role property of this AutonomousDatabase. Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • available_upgrade_versions (list[str]) – The value to assign to the available_upgrade_versions property of this AutonomousDatabase.
autonomous_container_database_id

Gets the autonomous_container_database_id of this AutonomousDatabase. The Autonomous Container Database OCID.

Returns:The autonomous_container_database_id of this AutonomousDatabase.
Return type:str
available_upgrade_versions

Gets the available_upgrade_versions of this AutonomousDatabase. List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.

Returns:The available_upgrade_versions of this AutonomousDatabase.
Return type:list[str]
compartment_id

[Required] Gets the compartment_id of this AutonomousDatabase. The OCID of the compartment.

Returns:The compartment_id of this AutonomousDatabase.
Return type:str
connection_strings

Gets the connection_strings of this AutonomousDatabase. The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value.

Returns:The connection_strings of this AutonomousDatabase.
Return type:AutonomousDatabaseConnectionStrings
connection_urls

Gets the connection_urls of this AutonomousDatabase.

Returns:The connection_urls of this AutonomousDatabase.
Return type:AutonomousDatabaseConnectionUrls
cpu_core_count

[Required] Gets the cpu_core_count of this AutonomousDatabase. The number of OCPU cores to be made available to the database.

Returns:The cpu_core_count of this AutonomousDatabase.
Return type:int
data_safe_status

Gets the data_safe_status of this AutonomousDatabase. Status of the Data Safe registration for this Autonomous Database.

Allowed values for this property are: “REGISTERING”, “REGISTERED”, “DEREGISTERING”, “NOT_REGISTERED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The data_safe_status of this AutonomousDatabase.
Return type:str
data_storage_size_in_tbs

[Required] Gets the data_storage_size_in_tbs of this AutonomousDatabase. The quantity of data in the database, in terabytes.

Returns:The data_storage_size_in_tbs of this AutonomousDatabase.
Return type:int
db_name

[Required] Gets the db_name of this AutonomousDatabase. The database name.

Returns:The db_name of this AutonomousDatabase.
Return type:str
db_version

Gets the db_version of this AutonomousDatabase. A valid Oracle Database version for Autonomous Database.

Returns:The db_version of this AutonomousDatabase.
Return type:str
db_workload

Gets the db_workload of this AutonomousDatabase. The Autonomous Database workload type. The following values are valid:

  • OLTP - indicates an Autonomous Transaction Processing database
  • DW - indicates an Autonomous Data Warehouse database
  • AJD - indicates an Autonomous JSON Database

Allowed values for this property are: “OLTP”, “DW”, “AJD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The db_workload of this AutonomousDatabase.
Return type:str
defined_tags

Gets the defined_tags of this AutonomousDatabase. 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 AutonomousDatabase.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this AutonomousDatabase. The user-friendly name for the Autonomous Database. The name does not have to be unique.

Returns:The display_name of this AutonomousDatabase.
Return type:str
failed_data_recovery_in_seconds

Gets the failed_data_recovery_in_seconds of this AutonomousDatabase. Indicates the number of seconds of data loss for a Data Guard failover.

Returns:The failed_data_recovery_in_seconds of this AutonomousDatabase.
Return type:int
freeform_tags

Gets the freeform_tags of this AutonomousDatabase. 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 AutonomousDatabase.
Return type:dict(str, str)
id

[Required] Gets the id of this AutonomousDatabase. The OCID of the Autonomous Database.

Returns:The id of this AutonomousDatabase.
Return type:str
infrastructure_type

Gets the infrastructure_type of this AutonomousDatabase. The infrastructure type this resource belongs to.

Allowed values for this property are: “CLOUD”, “CLOUD_AT_CUSTOMER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The infrastructure_type of this AutonomousDatabase.
Return type:str
is_auto_scaling_enabled

Gets the is_auto_scaling_enabled of this AutonomousDatabase. Indicates if auto scaling is enabled for the Autonomous Database CPU core count.

Returns:The is_auto_scaling_enabled of this AutonomousDatabase.
Return type:bool
is_data_guard_enabled

Gets the is_data_guard_enabled of this AutonomousDatabase. Indicates whether the Autonomous Database has Data Guard enabled.

Returns:The is_data_guard_enabled of this AutonomousDatabase.
Return type:bool
is_dedicated

Gets the is_dedicated of this AutonomousDatabase. True if the database uses dedicated Exadata infrastructure.

Returns:The is_dedicated of this AutonomousDatabase.
Return type:bool
is_free_tier

Gets the is_free_tier of this AutonomousDatabase. Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled.

Returns:The is_free_tier of this AutonomousDatabase.
Return type:bool
is_preview

Gets the is_preview of this AutonomousDatabase. Indicates if the Autonomous Database version is a preview version.

Returns:The is_preview of this AutonomousDatabase.
Return type:bool
is_refreshable_clone

Gets the is_refreshable_clone of this AutonomousDatabase. Indicates whether the Autonomous Database is a refreshable clone.

Returns:The is_refreshable_clone of this AutonomousDatabase.
Return type:bool
license_model

Gets the license_model of this AutonomousDatabase. The Oracle license model that applies to the Oracle Autonomous Database. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null because the attribute is already set at the Autonomous Exadata Infrastructure level. When using shared Exadata infrastructure, if a value is not specified, the system will supply the value of BRING_YOUR_OWN_LICENSE.

Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The license_model of this AutonomousDatabase.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AutonomousDatabase. Information about the current lifecycle state.

Returns:The lifecycle_details of this AutonomousDatabase.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AutonomousDatabase. The current state of the Autonomous Database.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “UNAVAILABLE”, “RESTORE_IN_PROGRESS”, “RESTORE_FAILED”, “BACKUP_IN_PROGRESS”, “SCALE_IN_PROGRESS”, “AVAILABLE_NEEDS_ATTENTION”, “UPDATING”, “MAINTENANCE_IN_PROGRESS”, “RESTARTING”, “RECREATING”, “ROLE_CHANGE_IN_PROGRESS”, “UPGRADING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this AutonomousDatabase.
Return type:str
nsg_ids

Gets the nsg_ids of this AutonomousDatabase. A list of the OCIDs of the network security groups (NSGs) that this resource belongs to. Setting this to an empty array after the list is created removes the resource from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - Autonomous Databases with private access require at least 1 Network Security Group (NSG). The nsgIds array cannot be empty.

Returns:The nsg_ids of this AutonomousDatabase.
Return type:list[str]
open_mode

Gets the open_mode of this AutonomousDatabase. The DATABASE OPEN mode. You can open the database in READ_ONLY or READ_WRITE mode.

Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The open_mode of this AutonomousDatabase.
Return type:str
operations_insights_status

Gets the operations_insights_status of this AutonomousDatabase. Status of the Operations Insights for this Autonomous Database.

Allowed values for this property are: “ENABLING”, “ENABLED”, “DISABLING”, “NOT_ENABLED”, “FAILED_ENABLING”, “FAILED_DISABLING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operations_insights_status of this AutonomousDatabase.
Return type:str
permission_level

Gets the permission_level of this AutonomousDatabase. The Autonomous Database permission level. Restricted mode allows access only to admin users.

Allowed values for this property are: “RESTRICTED”, “UNRESTRICTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The permission_level of this AutonomousDatabase.
Return type:str
private_endpoint

Gets the private_endpoint of this AutonomousDatabase. The private endpoint for the resource.

Returns:The private_endpoint of this AutonomousDatabase.
Return type:str
private_endpoint_ip

Gets the private_endpoint_ip of this AutonomousDatabase. The private endpoint Ip address for the resource.

Returns:The private_endpoint_ip of this AutonomousDatabase.
Return type:str
private_endpoint_label

Gets the private_endpoint_label of this AutonomousDatabase. The private endpoint label for the resource. Setting this to an empty string, after the private endpoint database gets created, will change the same private endpoint database to the public endpoint database.

Returns:The private_endpoint_label of this AutonomousDatabase.
Return type:str
refreshable_mode

Gets the refreshable_mode of this AutonomousDatabase. The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database.

Allowed values for this property are: “AUTOMATIC”, “MANUAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The refreshable_mode of this AutonomousDatabase.
Return type:str
refreshable_status

Gets the refreshable_status of this AutonomousDatabase. The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database.

Allowed values for this property are: “REFRESHING”, “NOT_REFRESHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The refreshable_status of this AutonomousDatabase.
Return type:str
role

Gets the role of this AutonomousDatabase. The role of the Autonomous Data Guard-enabled Autonomous Container Database.

Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The role of this AutonomousDatabase.
Return type:str
service_console_url

Gets the service_console_url of this AutonomousDatabase. The URL of the Service Console for the Autonomous Database.

Returns:The service_console_url of this AutonomousDatabase.
Return type:str
source_id

Gets the source_id of this AutonomousDatabase. The OCID of the source Autonomous Database that was cloned to create the current Autonomous Database.

Returns:The source_id of this AutonomousDatabase.
Return type:str
standby_db

Gets the standby_db of this AutonomousDatabase.

Returns:The standby_db of this AutonomousDatabase.
Return type:AutonomousDatabaseStandbySummary
subnet_id

Gets the subnet_id of this AutonomousDatabase. The OCID of the subnet the resource is associated with.

Subnet Restrictions: - For bare metal DB systems and for single node virtual machine DB systems, do not use a subnet that overlaps with 192.168.16.16/28. - For Exadata and virtual machine 2-node RAC systems, do not use a subnet that overlaps with 192.168.128.0/20. - For Autonomous Database, setting this will disable public secure access to the database.

These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and the backup subnet.

Returns:The subnet_id of this AutonomousDatabase.
Return type:str
system_tags

Gets the system_tags of this AutonomousDatabase. 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 AutonomousDatabase.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this AutonomousDatabase. The date and time the Autonomous Database was created.

Returns:The time_created of this AutonomousDatabase.
Return type:datetime
time_deletion_of_free_autonomous_database

Gets the time_deletion_of_free_autonomous_database of this AutonomousDatabase. The date and time the Always Free database will be automatically deleted because of inactivity. If the database is in the STOPPED state and without activity until this time, it will be deleted.

Returns:The time_deletion_of_free_autonomous_database of this AutonomousDatabase.
Return type:datetime
time_maintenance_begin

Gets the time_maintenance_begin of this AutonomousDatabase. The date and time when maintenance will begin.

Returns:The time_maintenance_begin of this AutonomousDatabase.
Return type:datetime
time_maintenance_end

Gets the time_maintenance_end of this AutonomousDatabase. The date and time when maintenance will end.

Returns:The time_maintenance_end of this AutonomousDatabase.
Return type:datetime
time_of_last_failover

Gets the time_of_last_failover of this AutonomousDatabase. The timestamp of the last failover operation.

Returns:The time_of_last_failover of this AutonomousDatabase.
Return type:datetime
time_of_last_refresh

Gets the time_of_last_refresh of this AutonomousDatabase. The date and time when last refresh happened.

Returns:The time_of_last_refresh of this AutonomousDatabase.
Return type:datetime
time_of_last_refresh_point

Gets the time_of_last_refresh_point of this AutonomousDatabase. The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh.

Returns:The time_of_last_refresh_point of this AutonomousDatabase.
Return type:datetime
time_of_last_switchover

Gets the time_of_last_switchover of this AutonomousDatabase. The timestamp of the last switchover operation for the Autonomous Database.

Returns:The time_of_last_switchover of this AutonomousDatabase.
Return type:datetime
time_of_next_refresh

Gets the time_of_next_refresh of this AutonomousDatabase. The date and time of next refresh.

Returns:The time_of_next_refresh of this AutonomousDatabase.
Return type:datetime
time_reclamation_of_free_autonomous_database

Gets the time_reclamation_of_free_autonomous_database of this AutonomousDatabase. The date and time the Always Free database will be stopped because of inactivity. If this time is reached without any database activity, the database will automatically be put into the STOPPED state.

Returns:The time_reclamation_of_free_autonomous_database of this AutonomousDatabase.
Return type:datetime
used_data_storage_size_in_tbs

Gets the used_data_storage_size_in_tbs of this AutonomousDatabase. The amount of storage that has been used, in terabytes.

Returns:The used_data_storage_size_in_tbs of this AutonomousDatabase.
Return type:int
whitelisted_ips

Gets the whitelisted_ips of this AutonomousDatabase. The client IP access control list (ACL). This feature is available for databases on shared Exadata infrastructure only. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. This is an array of CIDR (Classless Inter-Domain Routing) notations for a subnet or VCN OCID.

To add the whitelist VCN specific subnet or IP, use a semicoln ‘;’ as a deliminator to add the VCN specific subnets or IPs. For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry. Example: [“1.1.1.1”,”1.1.1.0/24”,”ocid1.vcn.oc1.sea.<unique_id>”,”ocid1.vcn.oc1.sea.<unique_id1>;1.1.1.1”,”ocid1.vcn.oc1.sea.<unique_id2>;1.1.0.0/16”]

Returns:The whitelisted_ips of this AutonomousDatabase.
Return type:list[str]