EnablePluggableDatabaseManagementDetails

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

Bases: object

Data to enable the Database Management service for the pluggable database.

Attributes:

PROTOCOL_TCP

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

PROTOCOL_TCPS

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

ROLE_NORMAL

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

ROLE_SYSDBA

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

ROLE_SYSDG

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

credential_details

[Required] Gets the credential_details of this EnablePluggableDatabaseManagementDetails.

port

Gets the port of this EnablePluggableDatabaseManagementDetails.

private_end_point_id

[Required] Gets the private_end_point_id of this EnablePluggableDatabaseManagementDetails.

protocol

Gets the protocol of this EnablePluggableDatabaseManagementDetails.

role

Gets the role of this EnablePluggableDatabaseManagementDetails.

service_name

[Required] Gets the service_name of this EnablePluggableDatabaseManagementDetails.

ssl_secret_id

Gets the ssl_secret_id of this EnablePluggableDatabaseManagementDetails.

Methods:

__init__(**kwargs)

Initializes a new EnablePluggableDatabaseManagementDetails object with values from keyword arguments.

PROTOCOL_TCP = 'TCP'

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

PROTOCOL_TCPS = 'TCPS'

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

ROLE_NORMAL = 'NORMAL'

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

ROLE_SYSDBA = 'SYSDBA'

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

ROLE_SYSDG = 'SYSDG'

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

__init__(**kwargs)

Initializes a new EnablePluggableDatabaseManagementDetails 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 EnablePluggableDatabaseManagementDetails.

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

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

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

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

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

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

property credential_details

[Required] Gets the credential_details of this EnablePluggableDatabaseManagementDetails.

Returns

The credential_details of this EnablePluggableDatabaseManagementDetails.

Return type

oci.database.models.DatabaseCredentialDetails

property port

Gets the port of this EnablePluggableDatabaseManagementDetails. The port used to connect to the pluggable database.

Returns

The port of this EnablePluggableDatabaseManagementDetails.

Return type

int

property private_end_point_id

[Required] Gets the private_end_point_id of this EnablePluggableDatabaseManagementDetails. The OCID of the private endpoint.

Returns

The private_end_point_id of this EnablePluggableDatabaseManagementDetails.

Return type

str

property protocol

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

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

Returns

The protocol of this EnablePluggableDatabaseManagementDetails.

Return type

str

property role

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

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

Returns

The role of this EnablePluggableDatabaseManagementDetails.

Return type

str

property service_name

[Required] Gets the service_name of this EnablePluggableDatabaseManagementDetails. The name of the Oracle Database service that will be used to connect to the database.

Returns

The service_name of this EnablePluggableDatabaseManagementDetails.

Return type

str

property ssl_secret_id

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

Returns

The ssl_secret_id of this EnablePluggableDatabaseManagementDetails.

Return type

str