CloudDatabaseInstance¶
- class oci.database_management.models.CloudDatabaseInstance(**kwargs)¶
Bases:
objectThe details of a cloud database instance.
Methods:
__init__(**kwargs)Initializes a new CloudDatabaseInstance object with values from keyword arguments.
Attributes:
[Required] Gets the host_name of this CloudDatabaseInstance.
[Required] Gets the instance_name of this CloudDatabaseInstance.
[Required] Gets the instance_number of this CloudDatabaseInstance.
- __init__(**kwargs)¶
Initializes a new CloudDatabaseInstance 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 CloudDatabaseInstance.
instance_name (str) – The value to assign to the instance_name property of this CloudDatabaseInstance.
host_name (str) – The value to assign to the host_name property of this CloudDatabaseInstance.
- property host_name¶
[Required] Gets the host_name of this CloudDatabaseInstance. The name of the host machine.
- Returns
The host_name of this CloudDatabaseInstance.
- Return type
str
- property instance_name¶
[Required] Gets the instance_name of this CloudDatabaseInstance. The name of the database instance.
- Returns
The instance_name of this CloudDatabaseInstance.
- Return type
str
- property instance_number¶
[Required] Gets the instance_number of this CloudDatabaseInstance. The instance number of the database instance.
- Returns
The instance_number of this CloudDatabaseInstance.
- Return type
int