EnableDatabaseManagementDetails¶
- class oci.database.models.EnableDatabaseManagementDetails(**kwargs)¶
Bases:
objectData to enable the Database Management service for the database.
Attributes:
A constant which can be used with the management_type property of a EnableDatabaseManagementDetails.
A constant which can be used with the management_type property of a EnableDatabaseManagementDetails.
A constant which can be used with the protocol property of a EnableDatabaseManagementDetails.
A constant which can be used with the protocol property of a EnableDatabaseManagementDetails.
A constant which can be used with the role property of a EnableDatabaseManagementDetails.
A constant which can be used with the role property of a EnableDatabaseManagementDetails.
A constant which can be used with the role property of a EnableDatabaseManagementDetails.
[Required] Gets the credential_details of this EnableDatabaseManagementDetails.
Gets the management_type of this EnableDatabaseManagementDetails.
Gets the port of this EnableDatabaseManagementDetails.
[Required] Gets the private_end_point_id of this EnableDatabaseManagementDetails.
Gets the protocol of this EnableDatabaseManagementDetails.
Gets the role of this EnableDatabaseManagementDetails.
[Required] Gets the service_name of this EnableDatabaseManagementDetails.
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”
- property credential_details¶
[Required] Gets the credential_details of this EnableDatabaseManagementDetails.
- Returns
The credential_details of this EnableDatabaseManagementDetails.
- Return type
- property 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
- property port¶
Gets the port of this EnableDatabaseManagementDetails. The port used to connect to the database.
- Returns
The port of this EnableDatabaseManagementDetails.
- Return type
int
- property 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
- property 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
- property 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
- property 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