AdbDetail

class oci.dif.models.AdbDetail(**kwargs)

Bases: object

Details to create an Oracle Autonomous Database.

Attributes:

DB_WORKLOAD_DW

A constant which can be used with the db_workload property of a AdbDetail.

DB_WORKLOAD_OLTP

A constant which can be used with the db_workload property of a AdbDetail.

admin_password_id

[Required] Gets the admin_password_id of this AdbDetail.

data_storage_size_in_tbs

[Required] Gets the data_storage_size_in_tbs of this AdbDetail.

db_version

[Required] Gets the db_version of this AdbDetail.

db_workload

[Required] Gets the db_workload of this AdbDetail.

ecpu

[Required] Gets the ecpu of this AdbDetail.

instance_id

[Required] Gets the instance_id of this AdbDetail.

is_mtls_connection_required

Gets the is_mtls_connection_required of this AdbDetail.

is_public

Gets the is_public of this AdbDetail.

subnet_id

Gets the subnet_id of this AdbDetail.

tools_public_access

Gets the tools_public_access of this AdbDetail.

Methods:

__init__(**kwargs)

Initializes a new AdbDetail object with values from keyword arguments.

DB_WORKLOAD_DW = 'DW'

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

DB_WORKLOAD_OLTP = 'OLTP'

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

__init__(**kwargs)

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

Parameters
  • instance_id (str) – The value to assign to the instance_id property of this AdbDetail.

  • db_workload (str) – The value to assign to the db_workload property of this AdbDetail. Allowed values for this property are: “OLTP”, “DW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • ecpu (int) – The value to assign to the ecpu property of this AdbDetail.

  • data_storage_size_in_tbs (int) – The value to assign to the data_storage_size_in_tbs property of this AdbDetail.

  • admin_password_id (str) – The value to assign to the admin_password_id property of this AdbDetail.

  • is_mtls_connection_required (bool) – The value to assign to the is_mtls_connection_required property of this AdbDetail.

  • subnet_id (str) – The value to assign to the subnet_id property of this AdbDetail.

  • db_version (str) – The value to assign to the db_version property of this AdbDetail.

  • tools_public_access (str) – The value to assign to the tools_public_access property of this AdbDetail.

  • is_public (bool) – The value to assign to the is_public property of this AdbDetail.

property admin_password_id

[Required] Gets the admin_password_id of this AdbDetail. The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID for admin password.

Returns

The admin_password_id of this AdbDetail.

Return type

str

property data_storage_size_in_tbs

[Required] Gets the data_storage_size_in_tbs of this AdbDetail. The size, in terabytes, of the data volume that will be created and attached to the database.

Returns

The data_storage_size_in_tbs of this AdbDetail.

Return type

int

property db_version

[Required] Gets the db_version of this AdbDetail. A valid Oracle Database version for Autonomous Database.

Returns

The db_version of this AdbDetail.

Return type

str

property db_workload

[Required] Gets the db_workload of this AdbDetail. DB Workload to be used with ADB. Accepted values are OLTP, DW.

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

Returns

The db_workload of this AdbDetail.

Return type

str

property ecpu

[Required] Gets the ecpu of this AdbDetail. The compute amount (ECPUs) available to the database.

Returns

The ecpu of this AdbDetail.

Return type

int

property instance_id

[Required] Gets the instance_id of this AdbDetail. Id for the adw instance.

Returns

The instance_id of this AdbDetail.

Return type

str

property is_mtls_connection_required

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

Returns

The is_mtls_connection_required of this AdbDetail.

Return type

bool

property is_public

Gets the is_public of this AdbDetail. If true then subnetId should not be provided.

Returns

The is_public of this AdbDetail.

Return type

bool

property subnet_id

Gets the subnet_id of this AdbDetail. The OCID of the subnet the Autonomous Database is associated with.

Returns

The subnet_id of this AdbDetail.

Return type

str

property tools_public_access

Gets the tools_public_access of this AdbDetail. This is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Allowed only when subnetId is provided (private ADB).

Returns

The tools_public_access of this AdbDetail.

Return type

str