UpdateAutonomousDatabaseDetails

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

Bases: object

Details to update an Oracle Autonomous Database.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'

A constant which can be used with the license_model property of a UpdateAutonomousDatabaseDetails. 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 UpdateAutonomousDatabaseDetails. This constant has a value of "LICENSE_INCLUDED"

__init__(**kwargs)

Initializes a new UpdateAutonomousDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • cpu_core_count (int) -- The value to assign to the cpu_core_count property of this UpdateAutonomousDatabaseDetails.
  • data_storage_size_in_tbs (int) -- The value to assign to the data_storage_size_in_tbs property of this UpdateAutonomousDatabaseDetails.
  • display_name (str) -- The value to assign to the display_name property of this UpdateAutonomousDatabaseDetails.
  • is_free_tier (bool) -- The value to assign to the is_free_tier property of this UpdateAutonomousDatabaseDetails.
  • admin_password (str) -- The value to assign to the admin_password property of this UpdateAutonomousDatabaseDetails.
  • db_name (str) -- The value to assign to the db_name property of this UpdateAutonomousDatabaseDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this UpdateAutonomousDatabaseDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this UpdateAutonomousDatabaseDetails.
  • license_model (str) -- The value to assign to the license_model property of this UpdateAutonomousDatabaseDetails. Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"
  • whitelisted_ips (list[str]) -- The value to assign to the whitelisted_ips property of this UpdateAutonomousDatabaseDetails.
  • is_auto_scaling_enabled (bool) -- The value to assign to the is_auto_scaling_enabled property of this UpdateAutonomousDatabaseDetails.
admin_password

Gets the admin_password of this UpdateAutonomousDatabaseDetails. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (") or the username "admin", regardless of casing. It must be different from the last four passwords and it must not be a password used within the last 24 hours.

Returns:The admin_password of this UpdateAutonomousDatabaseDetails.
Return type:str
cpu_core_count

Gets the cpu_core_count of this UpdateAutonomousDatabaseDetails. The number of CPU cores to be made available to the database.

Returns:The cpu_core_count of this UpdateAutonomousDatabaseDetails.
Return type:int
data_storage_size_in_tbs

Gets the data_storage_size_in_tbs of this UpdateAutonomousDatabaseDetails. The size, in terabytes, of the data volume that will be attached to the database.

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

Gets the db_name of this UpdateAutonomousDatabaseDetails. New name for this Autonomous Database. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. This is valid only for dedicated databases.

Returns:The db_name of this UpdateAutonomousDatabaseDetails.
Return type:str
defined_tags

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

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

Returns:The display_name of this UpdateAutonomousDatabaseDetails.
Return type:str
freeform_tags

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

Gets the is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails. Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is false. Note that auto scaling is available for serverless deployments only.

Returns:The is_auto_scaling_enabled of this UpdateAutonomousDatabaseDetails.
Return type:bool
is_free_tier

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

Returns:The is_free_tier of this UpdateAutonomousDatabaseDetails.
Return type:bool
license_model

Gets the license_model of this UpdateAutonomousDatabaseDetails. The Oracle license model that applies to the Oracle Autonomous Database. The default for Autonomous Database using the shared deployment] is BRING_YOUR_OWN_LICENSE. Note that when provisioning an Autonomous Database using the [dedicated deployment option, this attribute must be null because the attribute is already set on Autonomous Exadata Infrastructure level.

Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"

Returns:The license_model of this UpdateAutonomousDatabaseDetails.
Return type:str
whitelisted_ips

Gets the whitelisted_ips of this UpdateAutonomousDatabaseDetails. The client IP access control list (ACL). This feature is available for serverless deployments 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. To delete all the existing white listed IP’s, use an array with a single empty string entry.

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