InstalledDatabaseDetails¶
- class oci.data_safe.models.InstalledDatabaseDetails(**kwargs)¶
Bases:
DatabaseDetailsThe details of the database running on-premises or on a compute instance.
Attributes:
A constant which can be used with the database_type property of a DatabaseDetails.
A constant which can be used with the database_type property of a DatabaseDetails.
A constant which can be used with the database_type property of a DatabaseDetails.
A constant which can be used with the infrastructure_type property of a DatabaseDetails.
A constant which can be used with the infrastructure_type property of a DatabaseDetails.
A constant which can be used with the infrastructure_type property of a DatabaseDetails.
A constant which can be used with the infrastructure_type property of a DatabaseDetails.
[Required] Gets the database_type of this DatabaseDetails.
[Required] Gets the infrastructure_type of this DatabaseDetails.
Gets the instance_id of this InstalledDatabaseDetails.
Gets the ip_addresses of this InstalledDatabaseDetails.
[Required] Gets the listener_port of this InstalledDatabaseDetails.
[Required] Gets the service_name of this InstalledDatabaseDetails.
Methods:
__init__(**kwargs)Initializes a new InstalledDatabaseDetails object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- DATABASE_TYPE_AUTONOMOUS_DATABASE = 'AUTONOMOUS_DATABASE'¶
A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “AUTONOMOUS_DATABASE”
- DATABASE_TYPE_DATABASE_CLOUD_SERVICE = 'DATABASE_CLOUD_SERVICE'¶
A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “DATABASE_CLOUD_SERVICE”
- DATABASE_TYPE_INSTALLED_DATABASE = 'INSTALLED_DATABASE'¶
A constant which can be used with the database_type property of a DatabaseDetails. This constant has a value of “INSTALLED_DATABASE”
- INFRASTRUCTURE_TYPE_CLOUD_AT_CUSTOMER = 'CLOUD_AT_CUSTOMER'¶
A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “CLOUD_AT_CUSTOMER”
- INFRASTRUCTURE_TYPE_NON_ORACLE_CLOUD = 'NON_ORACLE_CLOUD'¶
A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “NON_ORACLE_CLOUD”
- INFRASTRUCTURE_TYPE_ON_PREMISES = 'ON_PREMISES'¶
A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “ON_PREMISES”
- INFRASTRUCTURE_TYPE_ORACLE_CLOUD = 'ORACLE_CLOUD'¶
A constant which can be used with the infrastructure_type property of a DatabaseDetails. This constant has a value of “ORACLE_CLOUD”
- __init__(**kwargs)¶
Initializes a new InstalledDatabaseDetails object with values from keyword arguments. The default value of the
database_typeattribute of this class isINSTALLED_DATABASEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
database_type (str) – The value to assign to the database_type property of this InstalledDatabaseDetails. Allowed values for this property are: “DATABASE_CLOUD_SERVICE”, “AUTONOMOUS_DATABASE”, “INSTALLED_DATABASE”
infrastructure_type (str) – The value to assign to the infrastructure_type property of this InstalledDatabaseDetails. Allowed values for this property are: “ORACLE_CLOUD”, “CLOUD_AT_CUSTOMER”, “ON_PREMISES”, “NON_ORACLE_CLOUD”
instance_id (str) – The value to assign to the instance_id property of this InstalledDatabaseDetails.
ip_addresses (list[str]) – The value to assign to the ip_addresses property of this InstalledDatabaseDetails.
listener_port (int) – The value to assign to the listener_port property of this InstalledDatabaseDetails.
service_name (str) – The value to assign to the service_name property of this InstalledDatabaseDetails.
- property database_type¶
[Required] Gets the database_type of this DatabaseDetails. The database type.
Allowed values for this property are: “DATABASE_CLOUD_SERVICE”, “AUTONOMOUS_DATABASE”, “INSTALLED_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The database_type of this DatabaseDetails.
- Return type
str
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property infrastructure_type¶
[Required] Gets the infrastructure_type of this DatabaseDetails. The infrastructure type the database is running on.
Allowed values for this property are: “ORACLE_CLOUD”, “CLOUD_AT_CUSTOMER”, “ON_PREMISES”, “NON_ORACLE_CLOUD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The infrastructure_type of this DatabaseDetails.
- Return type
str
- property instance_id¶
Gets the instance_id of this InstalledDatabaseDetails. The OCID of the compute instance on which the database is running.
- Returns
The instance_id of this InstalledDatabaseDetails.
- Return type
str
- property ip_addresses¶
Gets the ip_addresses of this InstalledDatabaseDetails. The list of database host IP Addresses. Fully qualified domain names can be used if connectionType is ‘ONPREM_CONNECTOR’.
- Returns
The ip_addresses of this InstalledDatabaseDetails.
- Return type
list[str]
- property listener_port¶
[Required] Gets the listener_port of this InstalledDatabaseDetails. The port number of the database listener.
- Returns
The listener_port of this InstalledDatabaseDetails.
- Return type
int
- property service_name¶
[Required] Gets the service_name of this InstalledDatabaseDetails. The service name of the database registered as target database.
- Returns
The service_name of this InstalledDatabaseDetails.
- Return type
str