CreateAutonomousDatabaseDetails

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

Bases: oci.database.models.create_autonomous_database_base.CreateAutonomousDatabaseBase

Details to create an Oracle Autonomous Database.

Attributes

AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_EARLY str(object=’’) -> str
AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_REGULAR str(object=’’) -> str
COMPUTE_MODEL_ECPU str(object=’’) -> str
COMPUTE_MODEL_OCPU str(object=’’) -> str
DB_WORKLOAD_AJD str(object=’’) -> str
DB_WORKLOAD_APEX str(object=’’) -> str
DB_WORKLOAD_DW str(object=’’) -> str
DB_WORKLOAD_OLTP str(object=’’) -> str
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE str(object=’’) -> str
LICENSE_MODEL_LICENSE_INCLUDED str(object=’’) -> str
SOURCE_BACKUP_FROM_ID str(object=’’) -> str
SOURCE_BACKUP_FROM_TIMESTAMP str(object=’’) -> str
SOURCE_CLONE_TO_REFRESHABLE str(object=’’) -> str
SOURCE_CROSS_REGION_DATAGUARD str(object=’’) -> str
SOURCE_CROSS_REGION_DISASTER_RECOVERY str(object=’’) -> str
SOURCE_DATABASE str(object=’’) -> str
SOURCE_NONE str(object=’’) -> str
SOURCE_UNDELETE_ADB str(object=’’) -> str
admin_password Gets the admin_password of this CreateAutonomousDatabaseBase.
are_primary_whitelisted_ips_used Gets the are_primary_whitelisted_ips_used of this CreateAutonomousDatabaseBase.
autonomous_container_database_id Gets the autonomous_container_database_id of this CreateAutonomousDatabaseBase.
autonomous_maintenance_schedule_type Gets the autonomous_maintenance_schedule_type of this CreateAutonomousDatabaseBase.
backup_retention_period_in_days Gets the backup_retention_period_in_days of this CreateAutonomousDatabaseBase.
byol_compute_count_limit Gets the byol_compute_count_limit of this CreateAutonomousDatabaseBase.
character_set Gets the character_set of this CreateAutonomousDatabaseBase.
compartment_id [Required] Gets the compartment_id of this CreateAutonomousDatabaseBase.
compute_count Gets the compute_count of this CreateAutonomousDatabaseBase.
compute_model Gets the compute_model of this CreateAutonomousDatabaseBase.
cpu_core_count Gets the cpu_core_count of this CreateAutonomousDatabaseBase.
customer_contacts Gets the customer_contacts of this CreateAutonomousDatabaseBase.
data_storage_size_in_gbs Gets the data_storage_size_in_gbs of this CreateAutonomousDatabaseBase.
data_storage_size_in_tbs Gets the data_storage_size_in_tbs of this CreateAutonomousDatabaseBase.
database_edition Gets the database_edition of this CreateAutonomousDatabaseBase.
db_name Gets the db_name of this CreateAutonomousDatabaseBase.
db_tools_details Gets the db_tools_details of this CreateAutonomousDatabaseBase.
db_version Gets the db_version of this CreateAutonomousDatabaseBase.
db_workload Gets the db_workload of this CreateAutonomousDatabaseBase.
defined_tags Gets the defined_tags of this CreateAutonomousDatabaseBase.
display_name Gets the display_name of this CreateAutonomousDatabaseBase.
encryption_key Gets the encryption_key of this CreateAutonomousDatabaseBase.
freeform_tags Gets the freeform_tags of this CreateAutonomousDatabaseBase.
in_memory_percentage Gets the in_memory_percentage of this CreateAutonomousDatabaseBase.
is_access_control_enabled Gets the is_access_control_enabled of this CreateAutonomousDatabaseBase.
is_auto_scaling_enabled Gets the is_auto_scaling_enabled of this CreateAutonomousDatabaseBase.
is_auto_scaling_for_storage_enabled Gets the is_auto_scaling_for_storage_enabled of this CreateAutonomousDatabaseBase.
is_data_guard_enabled Gets the is_data_guard_enabled of this CreateAutonomousDatabaseBase.
is_dedicated Gets the is_dedicated of this CreateAutonomousDatabaseBase.
is_dev_tier Gets the is_dev_tier of this CreateAutonomousDatabaseBase.
is_free_tier Gets the is_free_tier of this CreateAutonomousDatabaseBase.
is_local_data_guard_enabled Gets the is_local_data_guard_enabled of this CreateAutonomousDatabaseBase.
is_mtls_connection_required Gets the is_mtls_connection_required of this CreateAutonomousDatabaseBase.
is_preview_version_with_service_terms_accepted Gets the is_preview_version_with_service_terms_accepted of this CreateAutonomousDatabaseBase.
kms_key_id Gets the kms_key_id of this CreateAutonomousDatabaseBase.
license_model Gets the license_model of this CreateAutonomousDatabaseBase.
ncharacter_set Gets the ncharacter_set of this CreateAutonomousDatabaseBase.
nsg_ids Gets the nsg_ids of this CreateAutonomousDatabaseBase.
ocpu_count Gets the ocpu_count of this CreateAutonomousDatabaseBase.
private_endpoint_ip Gets the private_endpoint_ip of this CreateAutonomousDatabaseBase.
private_endpoint_label Gets the private_endpoint_label of this CreateAutonomousDatabaseBase.
resource_pool_leader_id Gets the resource_pool_leader_id of this CreateAutonomousDatabaseBase.
resource_pool_summary Gets the resource_pool_summary of this CreateAutonomousDatabaseBase.
scheduled_operations Gets the scheduled_operations of this CreateAutonomousDatabaseBase.
secret_id Gets the secret_id of this CreateAutonomousDatabaseBase.
secret_version_number Gets the secret_version_number of this CreateAutonomousDatabaseBase.
security_attributes Gets the security_attributes of this CreateAutonomousDatabaseBase.
source Gets the source of this CreateAutonomousDatabaseBase.
standby_whitelisted_ips Gets the standby_whitelisted_ips of this CreateAutonomousDatabaseBase.
subnet_id Gets the subnet_id of this CreateAutonomousDatabaseBase.
subscription_id Gets the subscription_id of this CreateAutonomousDatabaseBase.
vault_id Gets the vault_id of this CreateAutonomousDatabaseBase.
whitelisted_ips Gets the whitelisted_ips of this CreateAutonomousDatabaseBase.

Methods

__init__(**kwargs) Initializes a new CreateAutonomousDatabaseDetails 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.
AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_EARLY = 'EARLY'
AUTONOMOUS_MAINTENANCE_SCHEDULE_TYPE_REGULAR = 'REGULAR'
COMPUTE_MODEL_ECPU = 'ECPU'
COMPUTE_MODEL_OCPU = 'OCPU'
DB_WORKLOAD_AJD = 'AJD'
DB_WORKLOAD_APEX = 'APEX'
DB_WORKLOAD_DW = 'DW'
DB_WORKLOAD_OLTP = 'OLTP'
LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'
LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'
SOURCE_BACKUP_FROM_ID = 'BACKUP_FROM_ID'
SOURCE_BACKUP_FROM_TIMESTAMP = 'BACKUP_FROM_TIMESTAMP'
SOURCE_CLONE_TO_REFRESHABLE = 'CLONE_TO_REFRESHABLE'
SOURCE_CROSS_REGION_DATAGUARD = 'CROSS_REGION_DATAGUARD'
SOURCE_CROSS_REGION_DISASTER_RECOVERY = 'CROSS_REGION_DISASTER_RECOVERY'
SOURCE_DATABASE = 'DATABASE'
SOURCE_NONE = 'NONE'
SOURCE_UNDELETE_ADB = 'UNDELETE_ADB'
__init__(**kwargs)

Initializes a new CreateAutonomousDatabaseDetails object with values from keyword arguments. The default value of the source attribute of this class is NONE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • subscription_id (str) – The value to assign to the subscription_id property of this CreateAutonomousDatabaseDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateAutonomousDatabaseDetails.
  • character_set (str) – The value to assign to the character_set property of this CreateAutonomousDatabaseDetails.
  • ncharacter_set (str) – The value to assign to the ncharacter_set property of this CreateAutonomousDatabaseDetails.
  • db_name (str) – The value to assign to the db_name property of this CreateAutonomousDatabaseDetails.
  • cpu_core_count (int) – The value to assign to the cpu_core_count property of this CreateAutonomousDatabaseDetails.
  • backup_retention_period_in_days (int) – The value to assign to the backup_retention_period_in_days property of this CreateAutonomousDatabaseDetails.
  • compute_model (str) – The value to assign to the compute_model property of this CreateAutonomousDatabaseDetails. Allowed values for this property are: “ECPU”, “OCPU”
  • compute_count (float) – The value to assign to the compute_count property of this CreateAutonomousDatabaseDetails.
  • ocpu_count (float) – The value to assign to the ocpu_count property of this CreateAutonomousDatabaseDetails.
  • db_workload (str) – The value to assign to the db_workload property of this CreateAutonomousDatabaseDetails. Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”
  • data_storage_size_in_tbs (int) – The value to assign to the data_storage_size_in_tbs property of this CreateAutonomousDatabaseDetails.
  • data_storage_size_in_gbs (int) – The value to assign to the data_storage_size_in_gbs property of this CreateAutonomousDatabaseDetails.
  • is_free_tier (bool) – The value to assign to the is_free_tier property of this CreateAutonomousDatabaseDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this CreateAutonomousDatabaseDetails.
  • vault_id (str) – The value to assign to the vault_id property of this CreateAutonomousDatabaseDetails.
  • encryption_key (oci.database.models.AutonomousDatabaseEncryptionKeyDetails) – The value to assign to the encryption_key property of this CreateAutonomousDatabaseDetails.
  • admin_password (str) – The value to assign to the admin_password property of this CreateAutonomousDatabaseDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateAutonomousDatabaseDetails.
  • license_model (str) – The value to assign to the license_model property of this CreateAutonomousDatabaseDetails. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”
  • byol_compute_count_limit (float) – The value to assign to the byol_compute_count_limit property of this CreateAutonomousDatabaseDetails.
  • is_preview_version_with_service_terms_accepted (bool) – The value to assign to the is_preview_version_with_service_terms_accepted property of this CreateAutonomousDatabaseDetails.
  • is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this CreateAutonomousDatabaseDetails.
  • is_dev_tier (bool) – The value to assign to the is_dev_tier property of this CreateAutonomousDatabaseDetails.
  • is_dedicated (bool) – The value to assign to the is_dedicated property of this CreateAutonomousDatabaseDetails.
  • autonomous_container_database_id (str) – The value to assign to the autonomous_container_database_id property of this CreateAutonomousDatabaseDetails.
  • in_memory_percentage (int) – The value to assign to the in_memory_percentage property of this CreateAutonomousDatabaseDetails.
  • is_access_control_enabled (bool) – The value to assign to the is_access_control_enabled property of this CreateAutonomousDatabaseDetails.
  • whitelisted_ips (list[str]) – The value to assign to the whitelisted_ips property of this CreateAutonomousDatabaseDetails.
  • are_primary_whitelisted_ips_used (bool) – The value to assign to the are_primary_whitelisted_ips_used property of this CreateAutonomousDatabaseDetails.
  • standby_whitelisted_ips (list[str]) – The value to assign to the standby_whitelisted_ips property of this CreateAutonomousDatabaseDetails.
  • is_data_guard_enabled (bool) – The value to assign to the is_data_guard_enabled property of this CreateAutonomousDatabaseDetails.
  • is_local_data_guard_enabled (bool) – The value to assign to the is_local_data_guard_enabled property of this CreateAutonomousDatabaseDetails.
  • subnet_id (str) – The value to assign to the subnet_id property of this CreateAutonomousDatabaseDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateAutonomousDatabaseDetails.
  • private_endpoint_label (str) – The value to assign to the private_endpoint_label property of this CreateAutonomousDatabaseDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAutonomousDatabaseDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAutonomousDatabaseDetails.
  • security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this CreateAutonomousDatabaseDetails.
  • private_endpoint_ip (str) – The value to assign to the private_endpoint_ip property of this CreateAutonomousDatabaseDetails.
  • db_version (str) – The value to assign to the db_version property of this CreateAutonomousDatabaseDetails.
  • source (str) – The value to assign to the source property of this CreateAutonomousDatabaseDetails. Allowed values for this property are: “NONE”, “DATABASE”, “BACKUP_FROM_ID”, “BACKUP_FROM_TIMESTAMP”, “UNDELETE_ADB”, “CLONE_TO_REFRESHABLE”, “CROSS_REGION_DATAGUARD”, “CROSS_REGION_DISASTER_RECOVERY”
  • customer_contacts (list[oci.database.models.CustomerContact]) – The value to assign to the customer_contacts property of this CreateAutonomousDatabaseDetails.
  • is_mtls_connection_required (bool) – The value to assign to the is_mtls_connection_required property of this CreateAutonomousDatabaseDetails.
  • resource_pool_leader_id (str) – The value to assign to the resource_pool_leader_id property of this CreateAutonomousDatabaseDetails.
  • resource_pool_summary (oci.database.models.ResourcePoolSummary) – The value to assign to the resource_pool_summary property of this CreateAutonomousDatabaseDetails.
  • autonomous_maintenance_schedule_type (str) – The value to assign to the autonomous_maintenance_schedule_type property of this CreateAutonomousDatabaseDetails. Allowed values for this property are: “EARLY”, “REGULAR”
  • scheduled_operations (list[oci.database.models.ScheduledOperationDetails]) – The value to assign to the scheduled_operations property of this CreateAutonomousDatabaseDetails.
  • is_auto_scaling_for_storage_enabled (bool) – The value to assign to the is_auto_scaling_for_storage_enabled property of this CreateAutonomousDatabaseDetails.
  • database_edition (str) – The value to assign to the database_edition property of this CreateAutonomousDatabaseDetails.
  • db_tools_details (list[oci.database.models.DatabaseTool]) – The value to assign to the db_tools_details property of this CreateAutonomousDatabaseDetails.
  • secret_id (str) – The value to assign to the secret_id property of this CreateAutonomousDatabaseDetails.
  • secret_version_number (int) – The value to assign to the secret_version_number property of this CreateAutonomousDatabaseDetails.
admin_password

Gets the admin_password of this CreateAutonomousDatabaseBase. Important The adminPassword or secretId must be specified for all Autonomous Databases except for refreshable clones. 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.

This cannot be used in conjunction with with OCI vault secrets (secretId).

Returns:The admin_password of this CreateAutonomousDatabaseBase.
Return type:str
are_primary_whitelisted_ips_used

Gets the are_primary_whitelisted_ips_used of this CreateAutonomousDatabaseBase. This field will be null if the Autonomous Database is not Data Guard enabled or Access Control is disabled. It’s value would be TRUE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses primary IP access control list (ACL) for standby. It’s value would be FALSE if Autonomous Database is Data Guard enabled and Access Control is enabled and if the Autonomous Database uses different IP access control list (ACL) for standby compared to primary.

Returns:The are_primary_whitelisted_ips_used of this CreateAutonomousDatabaseBase.
Return type:bool
autonomous_container_database_id

Gets the autonomous_container_database_id of this CreateAutonomousDatabaseBase. The Autonomous Container Database OCID. Used only by Autonomous Database on Dedicated Exadata Infrastructure.

Returns:The autonomous_container_database_id of this CreateAutonomousDatabaseBase.
Return type:str
autonomous_maintenance_schedule_type

Gets the autonomous_maintenance_schedule_type of this CreateAutonomousDatabaseBase. The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle

Allowed values for this property are: “EARLY”, “REGULAR”

Returns:The autonomous_maintenance_schedule_type of this CreateAutonomousDatabaseBase.
Return type:str
backup_retention_period_in_days

Gets the backup_retention_period_in_days of this CreateAutonomousDatabaseBase. Retention period, in days, for long-term backups

Returns:The backup_retention_period_in_days of this CreateAutonomousDatabaseBase.
Return type:int
byol_compute_count_limit

Gets the byol_compute_count_limit of this CreateAutonomousDatabaseBase. The maximum number of CPUs allowed with a Bring Your Own License (BYOL), including those used for auto-scaling, disaster recovery, tools, etc. Any CPU usage above this limit is considered as License Included and billed.

Returns:The byol_compute_count_limit of this CreateAutonomousDatabaseBase.
Return type:float
character_set

Gets the character_set of this CreateAutonomousDatabaseBase. The character set for the autonomous database. The default is AL32UTF8. Allowed values for an Autonomous Database Serverless instance as as returned by List Autonomous Database Character Sets

For an Autonomous Database on dedicated infrastructure, the allowed values are:

AL32UTF8, AR8ADOS710, AR8ADOS720, AR8APTEC715, AR8ARABICMACS, AR8ASMO8X, AR8ISO8859P6, AR8MSWIN1256, AR8MUSSAD768, AR8NAFITHA711, AR8NAFITHA721, AR8SAKHR706, AR8SAKHR707, AZ8ISO8859P9E, BG8MSWIN, BG8PC437S, BLT8CP921, BLT8ISO8859P13, BLT8MSWIN1257, BLT8PC775, BN8BSCII, CDN8PC863, CEL8ISO8859P14, CL8ISO8859P5, CL8ISOIR111, CL8KOI8R, CL8KOI8U, CL8MACCYRILLICS, CL8MSWIN1251, EE8ISO8859P2, EE8MACCES, EE8MACCROATIANS, EE8MSWIN1250, EE8PC852, EL8DEC, EL8ISO8859P7, EL8MACGREEKS, EL8MSWIN1253, EL8PC437S, EL8PC851, EL8PC869, ET8MSWIN923, HU8ABMOD, HU8CWI2, IN8ISCII, IS8PC861, IW8ISO8859P8, IW8MACHEBREWS, IW8MSWIN1255, IW8PC1507, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE, JA16VMS, KO16KSC5601, KO16KSCCS, KO16MSWIN949, LA8ISO6937, LA8PASSPORT, LT8MSWIN921, LT8PC772, LT8PC774, LV8PC1117, LV8PC8LR, LV8RST104090, N8PC865, NE8ISO8859P10, NEE8ISO8859P4, RU8BESTA, RU8PC855, RU8PC866, SE8ISO8859P3, TH8MACTHAIS, TH8TISASCII, TR8DEC, TR8MACTURKISHS, TR8MSWIN1254, TR8PC857, US7ASCII, US8PC437, UTF8, VN8MSWIN1258, VN8VN3, WE8DEC, WE8DG, WE8ISO8859P1, WE8ISO8859P15, WE8ISO8859P9, WE8MACROMAN8S, WE8MSWIN1252, WE8NCR4970, WE8NEXTSTEP, WE8PC850, WE8PC858, WE8PC860, WE8ROMAN8, ZHS16CGB231280, ZHS16GBK, ZHT16BIG5, ZHT16CCDC, ZHT16DBT, ZHT16HKSCS, ZHT16MSWIN950, ZHT32EUC, ZHT32SOPS, ZHT32TRIS

Returns:The character_set of this CreateAutonomousDatabaseBase.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateAutonomousDatabaseBase. The OCID of the compartment of the Autonomous Database.

Returns:The compartment_id of this CreateAutonomousDatabaseBase.
Return type:str
compute_count

Gets the compute_count of this CreateAutonomousDatabaseBase. The compute amount (CPUs) available to the database. Minimum and maximum values depend on the compute model and whether the database is an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. The ‘ECPU’ compute model requires a minimum value of one, for databases in the elastic resource pool and minimum value of two, otherwise. Required when using the computeModel parameter. When using cpuCoreCount parameter, it is an error to specify computeCount to a non-null value. Providing computeModel and computeCount is the preferred method for both OCPU and ECPU.

Returns:The compute_count of this CreateAutonomousDatabaseBase.
Return type:float
compute_model

Gets the compute_model of this CreateAutonomousDatabaseBase. The compute model of the Autonomous Database. This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.

Allowed values for this property are: “ECPU”, “OCPU”

Returns:The compute_model of this CreateAutonomousDatabaseBase.
Return type:str
cpu_core_count

Gets the cpu_core_count of this CreateAutonomousDatabaseBase. The number of CPU cores to be made available to the database. For Autonomous Databases on dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

Note: This parameter cannot be used with the ocpuCount parameter.

Returns:The cpu_core_count of this CreateAutonomousDatabaseBase.
Return type:int
customer_contacts

Gets the customer_contacts of this CreateAutonomousDatabaseBase. Customer Contacts.

Returns:The customer_contacts of this CreateAutonomousDatabaseBase.
Return type:list[oci.database.models.CustomerContact]
data_storage_size_in_gbs

Gets the data_storage_size_in_gbs of this CreateAutonomousDatabaseBase. The size, in gigabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. The maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

Notes - This parameter is only supported for dedicated Exadata infrastructure. - This parameter cannot be used with the dataStorageSizeInTBs parameter.

Returns:The data_storage_size_in_gbs of this CreateAutonomousDatabaseBase.
Return type:int
data_storage_size_in_tbs

Gets the data_storage_size_in_tbs of this CreateAutonomousDatabaseBase. The size, in terabytes, of the data volume that will be created and attached to the database. This storage can later be scaled up if needed. For Autonomous Databases on dedicated Exadata infrastructure, the maximum storage value is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details. A full Exadata service is allocated when the Autonomous Database size is set to the upper limit (384 TB).

Note: This parameter cannot be used with the dataStorageSizeInGBs parameter.

Returns:The data_storage_size_in_tbs of this CreateAutonomousDatabaseBase.
Return type:int
database_edition

Gets the database_edition of this CreateAutonomousDatabaseBase. The Oracle Database Edition that applies to the Autonomous databases. This parameter accepts options STANDARD_EDITION and ENTERPRISE_EDITION.

Returns:The database_edition of this CreateAutonomousDatabaseBase.
Return type:str
db_name

Gets the db_name of this CreateAutonomousDatabaseBase. The database name. The name must begin with an alphabetic character and can contain a maximum of 30 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy. It is required in all cases except when creating a cross-region Autonomous Data Guard standby instance or a cross-region disaster recovery standby instance.

Returns:The db_name of this CreateAutonomousDatabaseBase.
Return type:str
db_tools_details

Gets the db_tools_details of this CreateAutonomousDatabaseBase. The list of database tools details.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, isLocalDataGuardEnabled, or isFreeTier.

Returns:The db_tools_details of this CreateAutonomousDatabaseBase.
Return type:list[oci.database.models.DatabaseTool]
db_version

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

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

Gets the db_workload of this CreateAutonomousDatabaseBase. 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
  • APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Allowed values for this property are: “OLTP”, “DW”, “AJD”, “APEX”

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

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

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

Returns:The display_name of this CreateAutonomousDatabaseBase.
Return type:str
encryption_key

Gets the encryption_key of this CreateAutonomousDatabaseBase.

Returns:The encryption_key of this CreateAutonomousDatabaseBase.
Return type:oci.database.models.AutonomousDatabaseEncryptionKeyDetails
freeform_tags

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

in_memory_percentage

Gets the in_memory_percentage of this CreateAutonomousDatabaseBase. The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform.

Returns:The in_memory_percentage of this CreateAutonomousDatabaseBase.
Return type:int
is_access_control_enabled

Gets the is_access_control_enabled of this CreateAutonomousDatabaseBase. Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the whitelistedIps property. While specifying whitelistedIps rules is optional,

if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the UpdateAutonomousDatabase API operation or edit option in console.

When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone.

This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. For Autonomous Database Serverless instances, whitelistedIps is used.

Returns:The is_access_control_enabled of this CreateAutonomousDatabaseBase.
Return type:bool
is_auto_scaling_enabled

Gets the is_auto_scaling_enabled of this CreateAutonomousDatabaseBase. Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is TRUE.

Returns:The is_auto_scaling_enabled of this CreateAutonomousDatabaseBase.
Return type:bool
is_auto_scaling_for_storage_enabled

Gets the is_auto_scaling_for_storage_enabled of this CreateAutonomousDatabaseBase. Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is FALSE.

Returns:The is_auto_scaling_for_storage_enabled of this CreateAutonomousDatabaseBase.
Return type:bool
is_data_guard_enabled

Gets the is_data_guard_enabled of this CreateAutonomousDatabaseBase. Deprecated. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

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

Gets the is_dedicated of this CreateAutonomousDatabaseBase. True if the database is on dedicated Exadata infrastructure.

Returns:The is_dedicated of this CreateAutonomousDatabaseBase.
Return type:bool
is_dev_tier

Gets the is_dev_tier of this CreateAutonomousDatabaseBase. Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database.

Returns:The is_dev_tier of this CreateAutonomousDatabaseBase.
Return type:bool
is_free_tier

Gets the is_free_tier of this CreateAutonomousDatabaseBase. 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.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isLocalDataGuardEnabled

Returns:The is_free_tier of this CreateAutonomousDatabaseBase.
Return type:bool
is_local_data_guard_enabled

Gets the is_local_data_guard_enabled of this CreateAutonomousDatabaseBase. Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.

Returns:The is_local_data_guard_enabled of this CreateAutonomousDatabaseBase.
Return type:bool
is_mtls_connection_required

Gets the is_mtls_connection_required of this CreateAutonomousDatabaseBase. Specifies if the Autonomous Database requires mTLS connections.

This may not be updated in parallel with any of the following: licenseModel, databaseEdition, cpuCoreCount, computeCount, dataStorageSizeInTBs, whitelistedIps, openMode, permissionLevel, db-workload, privateEndpointLabel, nsgIds, customerContacts, dbVersion, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Service Change: The default value of the isMTLSConnectionRequired attribute will change from true to false on July 1, 2023 in the following APIs: - CreateAutonomousDatabase - GetAutonomousDatabase - UpdateAutonomousDatabase Details: Prior to the July 1, 2023 change, the isMTLSConnectionRequired attribute default value was true. This applies to Autonomous Database Serverless. Does this impact me? If you use or maintain custom scripts or Terraform scripts referencing the CreateAutonomousDatabase, GetAutonomousDatabase, or UpdateAutonomousDatabase APIs, you want to check, and possibly modify, the scripts for the changed default value of the attribute. Should you choose not to leave your scripts unchanged, the API calls containing this attribute will continue to work, but the default value will switch from true to false. How do I make this change? Using either OCI SDKs or command line tools, update your custom scripts to explicitly set the isMTLSConnectionRequired attribute to true.

Returns:The is_mtls_connection_required of this CreateAutonomousDatabaseBase.
Return type:bool
is_preview_version_with_service_terms_accepted

Gets the is_preview_version_with_service_terms_accepted of this CreateAutonomousDatabaseBase. If set to TRUE, indicates that an Autonomous Database preview version is being provisioned, and that the preview version’s terms of service have been accepted. Note that preview version software is only available for Autonomous Database Serverless instances (https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/).

Returns:The is_preview_version_with_service_terms_accepted of this CreateAutonomousDatabaseBase.
Return type:bool
kms_key_id

Gets the kms_key_id of this CreateAutonomousDatabaseBase. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:The kms_key_id of this CreateAutonomousDatabaseBase.
Return type:str
license_model

Gets the license_model of this CreateAutonomousDatabaseBase. The Oracle license model that applies to the Oracle Autonomous Database. Bring your own license (BYOL) allows you to apply your current on-premises Oracle software licenses to equivalent, highly automated Oracle services in the cloud. License Included allows you to subscribe to new Oracle Database software licenses and the Oracle Database service. Note that when provisioning an Autonomous Database on dedicated Exadata infrastructure, this attribute must be null. It is already set at the Autonomous Exadata Infrastructure level. When provisioning an Autonomous Database Serverless] database, if a value is not specified, the system defaults the value to BRING_YOUR_OWN_LICENSE. Bring your own license (BYOL) also allows you to select the DB edition using the optional parameter.

This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, dataStorageSizeInTBs, adminPassword, isMTLSConnectionRequired, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”

Returns:The license_model of this CreateAutonomousDatabaseBase.
Return type:str
ncharacter_set

Gets the ncharacter_set of this CreateAutonomousDatabaseBase. The character set for the Autonomous Database. The default is AL32UTF8. Use List Autonomous Database Character Sets to list the allowed values for an Autonomous Database Serverless instance. For an Autonomous Database on dedicated Exadata infrastructure, the allowed values are: AL16UTF16 or UTF8.

Returns:The ncharacter_set of this CreateAutonomousDatabaseBase.
Return type:str
nsg_ids

Gets the nsg_ids of this CreateAutonomousDatabaseBase. The list of OCIDs for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see Security Rules. NsgIds restrictions: - A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty.

Returns:The nsg_ids of this CreateAutonomousDatabaseBase.
Return type:list[str]
ocpu_count

Gets the ocpu_count of this CreateAutonomousDatabaseBase. The number of OCPU cores to be made available to the database.

The following points apply: - For Autonomous Databases on Dedicated Exadata infrastructure, to provision less than 1 core, enter a fractional value in an increment of 0.1. For example, you can provision 0.3 or 0.4 cores, but not 0.35 cores. (Note that fractional OCPU values are not supported for Autonomous Database Serverless instances.) - To provision 1 or more cores, you must enter an integer between 1 and the maximum number of cores available for the infrastructure shape. For example, you can provision 2 cores or 3 cores, but not 2.5 cores. This applies to an Autonomous Database Serverless instance or an Autonomous Database on Dedicated Exadata Infrastructure. - For Autonomous Database Serverless instances, this parameter is not used.

For Autonomous Databases on Dedicated Exadata infrastructure, the maximum number of cores is determined by the infrastructure shape. See Characteristics of Infrastructure Shapes for shape details.

Note: This parameter cannot be used with the cpuCoreCount parameter.

Returns:The ocpu_count of this CreateAutonomousDatabaseBase.
Return type:float
private_endpoint_ip

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

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

Gets the private_endpoint_label of this CreateAutonomousDatabaseBase. The resource’s private endpoint label. - Setting the endpoint label to a non-empty string creates a private endpoint database. - Resetting the endpoint label to an empty string, after the creation of the private endpoint database, changes the private endpoint database to a public endpoint database. - Setting the endpoint label to a non-empty string value, updates to a new private endpoint database, when the database is disabled and re-enabled.

This setting cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.

Returns:The private_endpoint_label of this CreateAutonomousDatabaseBase.
Return type:str
resource_pool_leader_id

Gets the resource_pool_leader_id of this CreateAutonomousDatabaseBase. The unique identifier for leader autonomous database OCID OCID.

Returns:The resource_pool_leader_id of this CreateAutonomousDatabaseBase.
Return type:str
resource_pool_summary

Gets the resource_pool_summary of this CreateAutonomousDatabaseBase.

Returns:The resource_pool_summary of this CreateAutonomousDatabaseBase.
Return type:oci.database.models.ResourcePoolSummary
scheduled_operations

Gets the scheduled_operations of this CreateAutonomousDatabaseBase. The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:The scheduled_operations of this CreateAutonomousDatabaseBase.
Return type:list[oci.database.models.ScheduledOperationDetails]
secret_id

Gets the secret_id of this CreateAutonomousDatabaseBase. The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID.

This cannot be used in conjunction with adminPassword.

Returns:The secret_id of this CreateAutonomousDatabaseBase.
Return type:str
secret_version_number

Gets the secret_version_number of this CreateAutonomousDatabaseBase. The version of the vault secret. If no version is specified, the latest version will be used.

Returns:The secret_version_number of this CreateAutonomousDatabaseBase.
Return type:int
security_attributes

Gets the security_attributes of this CreateAutonomousDatabaseBase. Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}

Returns:The security_attributes of this CreateAutonomousDatabaseBase.
Return type:dict(str, dict(str, object))
source

Gets the source of this CreateAutonomousDatabaseBase. The source of the database: Use NONE for creating a new Autonomous Database. Use DATABASE for creating a new Autonomous Database by cloning an existing Autonomous Database. Use CROSS_REGION_DATAGUARD to create a standby Data Guard database in another region.

For Autonomous Database Serverless instances, the following cloning options are available: Use BACKUP_FROM_ID for creating a new Autonomous Database from a specified backup. Use BACKUP_FROM_TIMESTAMP for creating a point-in-time Autonomous Database clone using backups. For more information, see Cloning and Moving an Autonomous Database.

Allowed values for this property are: “NONE”, “DATABASE”, “BACKUP_FROM_ID”, “BACKUP_FROM_TIMESTAMP”, “UNDELETE_ADB”, “CLONE_TO_REFRESHABLE”, “CROSS_REGION_DATAGUARD”, “CROSS_REGION_DISASTER_RECOVERY”

Returns:The source of this CreateAutonomousDatabaseBase.
Return type:str
standby_whitelisted_ips

Gets the standby_whitelisted_ips of this CreateAutonomousDatabaseBase. The client IP access control list (ACL). This feature is available for Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is ‘TRUE’ then Autonomous Database uses this primary’s IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it’s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. 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”] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: [“1.1.1.1”,”1.1.1.0/24”,”1.1.2.25”]

For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

Returns:The standby_whitelisted_ips of this CreateAutonomousDatabaseBase.
Return type:list[str]
subnet_id

Gets the subnet_id of this CreateAutonomousDatabaseBase. 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 CreateAutonomousDatabaseBase.
Return type:str
subscription_id

Gets the subscription_id of this CreateAutonomousDatabaseBase. The OCID of the subscription with which resource needs to be associated with.

Returns:The subscription_id of this CreateAutonomousDatabaseBase.
Return type:str
vault_id

Gets the vault_id of this CreateAutonomousDatabaseBase. The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.

Returns:The vault_id of this CreateAutonomousDatabaseBase.
Return type:str
whitelisted_ips

Gets the whitelisted_ips of this CreateAutonomousDatabaseBase. The client IP access control list (ACL). This feature is available for Autonomous Database Serverless] and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. If arePrimaryWhitelistedIpsUsed is ‘TRUE’ then Autonomous Database uses this primary’s IP access control list (ACL) for the disaster recovery peer called standbywhitelistedips.

For Autonomous Database Serverless, this is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Multiple IPs and VCN OCIDs should be separate strings separated by commas, but if it’s other configurations that need multiple pieces of information then its each piece is connected with semicolon (;) as a delimiter. 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”] For Exadata Cloud@Customer, this is an array of IP addresses or CIDR notations. Example: [“1.1.1.1”,”1.1.1.0/24”,”1.1.2.25”]

For an update operation, if you want to delete all the IPs in the ACL, use an array with a single empty string entry.

This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

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