ExternalDatabaseInstance¶
- class oci.database_management.models.ExternalDatabaseInstance(**kwargs)¶
Bases:
objectThe details of an external database instance.
Methods:
__init__(**kwargs)Initializes a new ExternalDatabaseInstance object with values from keyword arguments.
Attributes:
[Required] Gets the host_name of this ExternalDatabaseInstance.
[Required] Gets the instance_name of this ExternalDatabaseInstance.
[Required] Gets the instance_number of this ExternalDatabaseInstance.
- __init__(**kwargs)¶
Initializes a new ExternalDatabaseInstance object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
instance_number (int) – The value to assign to the instance_number property of this ExternalDatabaseInstance.
instance_name (str) – The value to assign to the instance_name property of this ExternalDatabaseInstance.
host_name (str) – The value to assign to the host_name property of this ExternalDatabaseInstance.
- property host_name¶
[Required] Gets the host_name of this ExternalDatabaseInstance. The name of the host machine.
- Returns
The host_name of this ExternalDatabaseInstance.
- Return type
str
- property instance_name¶
[Required] Gets the instance_name of this ExternalDatabaseInstance. The name of the database instance.
- Returns
The instance_name of this ExternalDatabaseInstance.
- Return type
str
- property instance_number¶
[Required] Gets the instance_number of this ExternalDatabaseInstance. The instance number of the database instance.
- Returns
The instance_number of this ExternalDatabaseInstance.
- Return type
int