EnableDatabaseManagementDetails¶
-
class
oci.database.models.
EnableDatabaseManagementDetails
(**kwargs)¶ Bases:
object
Data to enable the Database Management service for the database.
Attributes
MANAGEMENT_TYPE_ADVANCED
A constant which can be used with the management_type property of a EnableDatabaseManagementDetails. MANAGEMENT_TYPE_BASIC
A constant which can be used with the management_type property of a EnableDatabaseManagementDetails. PROTOCOL_TCP
A constant which can be used with the protocol property of a EnableDatabaseManagementDetails. PROTOCOL_TCPS
A constant which can be used with the protocol property of a EnableDatabaseManagementDetails. ROLE_NORMAL
A constant which can be used with the role property of a EnableDatabaseManagementDetails. ROLE_SYSDBA
A constant which can be used with the role property of a EnableDatabaseManagementDetails. ROLE_SYSDG
A constant which can be used with the role property of a EnableDatabaseManagementDetails. credential_details
[Required] Gets the credential_details of this EnableDatabaseManagementDetails. management_type
Gets the management_type of this EnableDatabaseManagementDetails. port
Gets the port of this EnableDatabaseManagementDetails. private_end_point_id
[Required] Gets the private_end_point_id of this EnableDatabaseManagementDetails. protocol
Gets the protocol of this EnableDatabaseManagementDetails. role
Gets the role of this EnableDatabaseManagementDetails. service_name
[Required] Gets the service_name of this EnableDatabaseManagementDetails. ssl_secret_id
Gets the ssl_secret_id of this EnableDatabaseManagementDetails. Methods
__init__
(**kwargs)Initializes a new EnableDatabaseManagementDetails object with values from keyword arguments. -
MANAGEMENT_TYPE_ADVANCED
= 'ADVANCED'¶ A constant which can be used with the management_type property of a EnableDatabaseManagementDetails. This constant has a value of “ADVANCED”
-
MANAGEMENT_TYPE_BASIC
= 'BASIC'¶ A constant which can be used with the management_type property of a EnableDatabaseManagementDetails. This constant has a value of “BASIC”
-
PROTOCOL_TCP
= 'TCP'¶ A constant which can be used with the protocol property of a EnableDatabaseManagementDetails. This constant has a value of “TCP”
-
PROTOCOL_TCPS
= 'TCPS'¶ A constant which can be used with the protocol property of a EnableDatabaseManagementDetails. This constant has a value of “TCPS”
-
ROLE_NORMAL
= 'NORMAL'¶ A constant which can be used with the role property of a EnableDatabaseManagementDetails. This constant has a value of “NORMAL”
-
ROLE_SYSDBA
= 'SYSDBA'¶ A constant which can be used with the role property of a EnableDatabaseManagementDetails. This constant has a value of “SYSDBA”
-
ROLE_SYSDG
= 'SYSDG'¶ A constant which can be used with the role property of a EnableDatabaseManagementDetails. This constant has a value of “SYSDG”
-
__init__
(**kwargs)¶ Initializes a new EnableDatabaseManagementDetails 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 EnableDatabaseManagementDetails.
- private_end_point_id (str) – The value to assign to the private_end_point_id property of this EnableDatabaseManagementDetails.
- management_type (str) – The value to assign to the management_type property of this EnableDatabaseManagementDetails. Allowed values for this property are: “BASIC”, “ADVANCED”
- service_name (str) – The value to assign to the service_name property of this EnableDatabaseManagementDetails.
- protocol (str) – The value to assign to the protocol property of this EnableDatabaseManagementDetails. Allowed values for this property are: “TCP”, “TCPS”
- port (int) – The value to assign to the port property of this EnableDatabaseManagementDetails.
- ssl_secret_id (str) – The value to assign to the ssl_secret_id property of this EnableDatabaseManagementDetails.
- role (str) – The value to assign to the role property of this EnableDatabaseManagementDetails. Allowed values for this property are: “SYSDBA”, “NORMAL”, “SYSDG”
-
credential_details
¶ [Required] Gets the credential_details of this EnableDatabaseManagementDetails.
Returns: The credential_details of this EnableDatabaseManagementDetails. Return type: oci.database.models.DatabaseCredentialDetails
-
management_type
¶ Gets the management_type of this EnableDatabaseManagementDetails. The Database Management type.
Allowed values for this property are: “BASIC”, “ADVANCED”
Returns: The management_type of this EnableDatabaseManagementDetails. Return type: str
-
port
¶ Gets the port of this EnableDatabaseManagementDetails. The port used to connect to the database.
Returns: The port of this EnableDatabaseManagementDetails. Return type: int
-
private_end_point_id
¶ [Required] Gets the private_end_point_id of this EnableDatabaseManagementDetails. The OCID of the private endpoint.
Returns: The private_end_point_id of this EnableDatabaseManagementDetails. Return type: str
-
protocol
¶ Gets the protocol of this EnableDatabaseManagementDetails. Protocol used by the database connection.
Allowed values for this property are: “TCP”, “TCPS”
Returns: The protocol of this EnableDatabaseManagementDetails. Return type: str
-
role
¶ Gets the role of this EnableDatabaseManagementDetails. 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 EnableDatabaseManagementDetails. Return type: str
-
service_name
¶ [Required] Gets the service_name of this EnableDatabaseManagementDetails. The name of the Oracle Database service that will be used to connect to the database.
Returns: The service_name of this EnableDatabaseManagementDetails. Return type: str
-