ModifyDatabaseManagementDetails

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

Bases: object

Data to update one or more attributes of the Database Management configuration for the database.

Attributes:

MANAGEMENT_TYPE_ADVANCED

A constant which can be used with the management_type property of a ModifyDatabaseManagementDetails.

MANAGEMENT_TYPE_BASIC

A constant which can be used with the management_type property of a ModifyDatabaseManagementDetails.

PROTOCOL_TCP

A constant which can be used with the protocol property of a ModifyDatabaseManagementDetails.

PROTOCOL_TCPS

A constant which can be used with the protocol property of a ModifyDatabaseManagementDetails.

ROLE_NORMAL

A constant which can be used with the role property of a ModifyDatabaseManagementDetails.

ROLE_SYSDBA

A constant which can be used with the role property of a ModifyDatabaseManagementDetails.

ROLE_SYSDG

A constant which can be used with the role property of a ModifyDatabaseManagementDetails.

credential_details

Gets the credential_details of this ModifyDatabaseManagementDetails.

management_type

Gets the management_type of this ModifyDatabaseManagementDetails.

port

Gets the port of this ModifyDatabaseManagementDetails.

private_end_point_id

Gets the private_end_point_id of this ModifyDatabaseManagementDetails.

protocol

Gets the protocol of this ModifyDatabaseManagementDetails.

role

Gets the role of this ModifyDatabaseManagementDetails.

service_name

Gets the service_name of this ModifyDatabaseManagementDetails.

ssl_secret_id

Gets the ssl_secret_id of this ModifyDatabaseManagementDetails.

Methods:

__init__(**kwargs)

Initializes a new ModifyDatabaseManagementDetails object with values from keyword arguments.

MANAGEMENT_TYPE_ADVANCED = 'ADVANCED'

A constant which can be used with the management_type property of a ModifyDatabaseManagementDetails. This constant has a value of “ADVANCED”

MANAGEMENT_TYPE_BASIC = 'BASIC'

A constant which can be used with the management_type property of a ModifyDatabaseManagementDetails. This constant has a value of “BASIC”

PROTOCOL_TCP = 'TCP'

A constant which can be used with the protocol property of a ModifyDatabaseManagementDetails. This constant has a value of “TCP”

PROTOCOL_TCPS = 'TCPS'

A constant which can be used with the protocol property of a ModifyDatabaseManagementDetails. This constant has a value of “TCPS”

ROLE_NORMAL = 'NORMAL'

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

ROLE_SYSDBA = 'SYSDBA'

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

ROLE_SYSDG = 'SYSDG'

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

__init__(**kwargs)

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

Parameters
  • credential_details (oci.database.models.DatabaseCredentialDetails) – The value to assign to the credential_details property of this ModifyDatabaseManagementDetails.

  • private_end_point_id (str) – The value to assign to the private_end_point_id property of this ModifyDatabaseManagementDetails.

  • management_type (str) – The value to assign to the management_type property of this ModifyDatabaseManagementDetails. Allowed values for this property are: “BASIC”, “ADVANCED”

  • service_name (str) – The value to assign to the service_name property of this ModifyDatabaseManagementDetails.

  • protocol (str) – The value to assign to the protocol property of this ModifyDatabaseManagementDetails. Allowed values for this property are: “TCP”, “TCPS”

  • port (int) – The value to assign to the port property of this ModifyDatabaseManagementDetails.

  • ssl_secret_id (str) – The value to assign to the ssl_secret_id property of this ModifyDatabaseManagementDetails.

  • role (str) – The value to assign to the role property of this ModifyDatabaseManagementDetails. Allowed values for this property are: “SYSDBA”, “NORMAL”, “SYSDG”

property credential_details

Gets the credential_details of this ModifyDatabaseManagementDetails.

Returns

The credential_details of this ModifyDatabaseManagementDetails.

Return type

oci.database.models.DatabaseCredentialDetails

property management_type

Gets the management_type of this ModifyDatabaseManagementDetails. The Database Management type.

Allowed values for this property are: “BASIC”, “ADVANCED”

Returns

The management_type of this ModifyDatabaseManagementDetails.

Return type

str

property port

Gets the port of this ModifyDatabaseManagementDetails. The port used to connect to the database.

Returns

The port of this ModifyDatabaseManagementDetails.

Return type

int

property private_end_point_id

Gets the private_end_point_id of this ModifyDatabaseManagementDetails. The OCID of the private endpoint.

Returns

The private_end_point_id of this ModifyDatabaseManagementDetails.

Return type

str

property protocol

Gets the protocol of this ModifyDatabaseManagementDetails. Protocol used by the database connection.

Allowed values for this property are: “TCP”, “TCPS”

Returns

The protocol of this ModifyDatabaseManagementDetails.

Return type

str

property role

Gets the role of this ModifyDatabaseManagementDetails. The role of the user that will be connecting to the database.

Allowed values for this property are: “SYSDBA”, “NORMAL”, “SYSDG”

Returns

The role of this ModifyDatabaseManagementDetails.

Return type

str

property service_name

Gets the service_name of this ModifyDatabaseManagementDetails. The name of the Oracle Database service that will be used to connect to the database.

Returns

The service_name of this ModifyDatabaseManagementDetails.

Return type

str

property ssl_secret_id

Gets the ssl_secret_id of this ModifyDatabaseManagementDetails. The OCID of the Oracle Cloud Infrastructure secret.

Returns

The ssl_secret_id of this ModifyDatabaseManagementDetails.

Return type

str